Newbie question re path names

Terry Judd tsj at unimelb.edu.au
Thu Jan 8 21:53:34 EST 2009


Hi Tim,

You can use applescript (from within Rev) to do this...

put "tell application "&quote&"firefox-bin"&quote&" to quit" into tScript
do tScript as applescript

HTH,

Terry...


On 9/1/09 1:40 PM, "Timothy Miller" <gandalf at doctorTimothyMiller.com> wrote:

> Thanks everyone! It works now.
> 
> Is it okay to use the "Open Process" command instead? (It seems to
> work.)
> 
> Can I also use a Rev command to quit an application?
> 
> I messed around with closeProcess but couldn't get it to work.
> 
> 
> with:
> 
> answer there is a process "/Applications/Firefox.app"
> 
> I get "True"
> 
> with:
> 
>   close process "/Applications/Firefox.app"
>   answer the result
> 
> I get an empty result, but Firefox doesn't quit. What am I doing wrong?
> 
> 
> 
> Thanks in advance,
> 
> Tim
> 
> 
> On Jan 8, 2009, at 5:37 PM, Jim Ault wrote:
> 
>> Quick tip that should work on all platforms:
>> In the message box type
>>    answer file "choose the one you like"; put it
>> 
>> The result will appear as the correct Rev syntax that refers to the
>> file
>> 
>> Do this for folders.
>>    answer folder "choose the one you like"; put it
>> 
>> Hope this helps
>> 
>> Jim Ault
>> Las Vegas
>> 
>> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

-- 
Dr Terry Judd
Lecturer in Educational Technology (Design)
Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Parkville VIC 3052
AUSTRALIA

61-3 8344 0187




More information about the Use-livecode mailing list