Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 2:37 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Open File with script
PostPosted: March 30th, 2020, 1:37 pm 
Offline

Joined: March 9th, 2016, 12:39 pm
Posts: 9
Location: Hampshire
Opus: Creator 9 and Pro 9.75
OS: Windows 10
System: Windows 10 Home, Laptop, Acer Aspire x64, RAM 4 Memory
Hi

Have been looking through forum whilst on Lock Down and thinking about using scripts in addition to may triggers, action etc approach.

Downloaded Interactive Ticker Tape imp but having problem with highlighted pathway

I want to direct the pathway to a folder called Opus Ticker, and within it to a file Opus.text. The folder is in My Documents

Studied the help files but still no joy. Only error messages

Attached the code screen shot.

Can someone give the exact pathway following the last letter of the openfile command

Thanks in advance

Megdan


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: Open File with script
PostPosted: March 30th, 2020, 3:19 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Code:
var tickerObject = OpenFile(SYSTEM_DOCUMENTS_DIR + "Opus Ticker\\Opus.txt")

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


For this message mackavi has been thanked by : Megdan


Top
 Profile Visit website  
 
 Post subject: Re: Open File with script
PostPosted: April 1st, 2020, 11:27 am 
Offline

Joined: March 9th, 2016, 12:39 pm
Posts: 9
Location: Hampshire
Opus: Creator 9 and Pro 9.75
OS: Windows 10
System: Windows 10 Home, Laptop, Acer Aspire x64, RAM 4 Memory
Hi Mack

Worked a treat!

Many thanks

Megdan


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group