Getting all running programs on the mac
tkuypers at pandora.be
tkuypers at pandora.be
Mon Jan 13 17:09:01 EST 2003
:-))
Solved it!
I just needed a string to see if the program I needed was ruiing and this
does the job:
put "tell application" & quote & "Finder" & quote & cr into vScript
put "set procList to the processes" & cr after vScript
put "end tell" after vScript
do vScript as applescript
put the result into vResult
Everybody thanks for your help.
Ton Kuypers
> From: "Ken Ray" <kray at sonsothunder.com>
> Organization: Sons of Thunder Software
> Reply-To: use-revolution at lists.runrev.com
> Date: Mon, 13 Jan 2003 14:30:25 -0600
> To: <use-revolution at lists.runrev.com>
> Subject: Re: Getting all running programs on the mac
>
> Ton,
>
> Here's a way to do it:
>
> http://www.sonsothunder.com/devres/revolution/revolution.htm?_proc002
>
> Have fun!
>
> Ken Ray
> Sons of Thunder Software
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
>
> ----- Original Message -----
> From: <tkuypers at pandora.be>
> To: <use-revolution at lists.runrev.com>
> Sent: Monday, January 13, 2003 2:27 PM
> Subject: Re: Getting all running programs on the mac
>
>
>> Aaaargggg
>> You're right, in the beta of SC4 I've got it's gone... :-((
>>
>> Is there an other way to do it? We've left SuperCard development, because
> we
>> need XML, Database connections and cross-platform, so now I'm trying to
> find
>> my way in Rev...
>>
>> Tnx
>> Ton
>>
>>> From: Richard Gaskin <ambassador at fourthworld.com>
>>> Reply-To: use-revolution at lists.runrev.com
>>> Date: Mon, 13 Jan 2003 12:14:47 -0800
>>> To: <use-revolution at lists.runrev.com>
>>> Subject: Re: Getting all running programs on the mac
>>>
>>> tkuypers at pandora.be wrote:
>>>
>>>> In Supercard there is a command to get all running programs on the mac,
>>>> before
>>>> sending Apple-Events to it.
>>>> How do I determine is a program is running in Revolution?
>>>
>>> My understanding is that SuperCard's "answer programs" command relies on
> an
>>> OS API call that is no longer supported (I don't think it's even in the
> OS X
>>> version of SC 4, is it?), so it's not likely to find its way into the
> Rev
>>> engine. It's a handy dialog, though; would be nice if Apple could be
> talked
>>> into reinstating it.
>>>
>>> --
>>> Richard Gaskin
>>> Fourth World Media Corporation
>>> Developer of WebMerge 2.1: Publish any database on any site
>>> ___________________________________________________________
>>> Ambassador at FourthWorld.com http://www.FourthWorld.com
>>> Tel: 323-225-3717 AIM: FourthWorldInc
>>>
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> _______________________________________________
> 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