help on open file
revdan at danshafer.com
Sat Aug 27 13:06:30 CDT 2005
You will need to do one of two things:
1. Include the name of the app to launch the document with (including
launch "textfile.doc" with "C:/Program Files/Microsoft/Word.exe" (or
2. Use the system scripting language (shell command) or in the case
of OS X AppleScript as an alternative, to do this outside the app.
There's no way for Rev to open a Word doc itself without launching Word.
On Aug 26, 2005, at 10:14 PM, Paul Salyers wrote:
> Dear RunRev programmers
> I have the need to open a word file from the app. I have the word
> file on my same path as my rev app. but using the suggested command
> it do not work, any reason why?
> This is the programming line I'm using:
> on mouseUp
> launch "textfile.doc"
> end mouseUp
> the textfile.doc will not open from within the app.
> Anyone know why?
> Paul Salyers
> PS1 - Senior Rep.
> PS1 at softseven.org
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
Dan Shafer, Information Product Consultant and Author
Get my book, "Revolution: Software at the Speed of Thought"
More information about the use-livecode