Re: Keep a launched app in background
Re: Keep a launched app in background
- Subject: Re: Keep a launched app in background
- From: Martin Orpen <email@hidden>
- Date: Thu, 08 Jul 2004 23:23:53 +0100
on 8/7/04 9:14 pm, Laine Lee at email@hidden wrote:
>
In Panther you can run a compiled script with a command like this:
>
>
osascript "/path/to/scriptfile.scpt"
This works for me and, if anybody is interested, it offers the *feature* of
running multiple instances of the same script.
I made the mistake of running a script that spoke a phrase, but messed the
crontab up so that the script launched every minute - and I ended up with a
rather interesting sound collage :-)
One thing about running scripts as cron tasks bothers me: I can't seem to
get the scripts to "beep" :-(
If I make a script that does this:
repeat 5 times
beep
delay 1
end repeat
It will work from the shell by running:
$ osascript /path/to/beep5.scpt
But if I run it from cron - nothing happens.
Why's that?
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.