Launching WinXP applications

Roger.E.Eller at sealedair.com Roger.E.Eller at sealedair.com
Tue Jun 24 13:24:00 EDT 2003


Try this... It should open ANY kind of document in the application that 
Windows has designated for it to use.

on mouseUp
  set the hideConsoleWindows to true
  answer file "Open which document?"
  put QUOTE & it & QUOTE into tPath
  get shell(tPath)
end mouseUp

Roger Eller
roger.e.eller at sealedair.com


On Tuesday, June 24, 2003, at 02:35  AM, Robert J. Earp wrote:

> I need to allow users to open a number of types of documents/media
> etc. from within a stack.  That is, have the native application, such
> as Word, Acrobat, Excel (and others) launch and then open the
> appropriate data file.  And I need this to happen on whatever Win
> machine the stack is running on.
>
> Launch does not seem to work within WinXP as it doesn't seem to know
> where the apps are located.  I have the feeling I should be using the
> queryRegistry command to locate the full path of the app, but my
> problem is I don't know enough about the Registry to be able to find
> the appropriate entries to query.
>
> Also, should I be checking for an app already being open ? That is, am
> I going to risk having many copies of the same app open at the same
> time ?  If so, any ideas how to do this ?
>
> Can anybody help please ??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20030624/a1e4cfe4/attachment.html>


More information about the use-livecode mailing list