launch

yoy yoy at comcast.net
Thu Jun 24 06:11:51 EDT 2004


Richard,

There may be a mechanism to launch a doc to an already open app on OS/X with
applescript, etc., but no way on W2k.

If anyone on the Mac side remembers CE Software's DiskTop Launch (back in
the late 80's), this is exactly what I'm trying to accomplish on Windows.
And it's not possible.

I had my ClawLaunch stack that needed this functionality. It had two list
fields. One "Apps" had a list of apps that you could add to (storing the
path to the app in a pref file), scroll to and press enter to launch the
app.

The other field "Docs" held documents that you could add/associate to an app
in field "apps", storing it after the app path in the prefs file. Mechanized
so you could add/remove apps and/or selected docs with ease.

In this way you could either launch the app or scroll to the app and the doc
field would list the docs you assigned to that app. Pressing tab from app to
doc field, scrolling to the doc you want and pressing enter would launch
that app with that doc.

But if the app is already running it doesn't work.

I'm very familiar with launch.

The bane of my existence!

Andy


----- Original Message ----- 
From: "Richard Gaskin" <ambassador at fourthworld.com>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: Wednesday, June 23, 2004 8:50 PM
Subject: Re: launch


> yoy wrote:
>  > tuviah wrote:
>  >> Launch has been well documented, if the app is already open launch
>  >> will fail. This is what is happening? As Klaus mentioned, you
>  >> should check the result.
>  >>
>  >> This was fixed in 2.2.
>  >>
>  >> Tuviah
>  >
>  > I don't see that mentioned in the 2.2 transcript help. I'm needing
>  > to open a document in an app (W2k) that is already running.
>  >
>  > I think you're mistaken.
>
>  From the Transcript Dictionary entry for the launch command, v2.2:
>
>     When the launch command executes, the application being
>     launched comes to the foreground. When the user quits,
>     Revolution comes to the foreground.
>
>     If the application is already running, the launch command
>     does nothing, and "Process is already open." is placed in
>     the result function.
>
>
> Tuviah is rarely mistaken when it comes to Transcript.  He writes the
> engine that drives it. :)
>
> -- 
>   Richard Gaskin
>   Fourth World Media Corporation
>   ___________________________________________________
>   Rev tools and more:  http://www.fourthworld.com/rev
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list