Re: Running an application -- dock question
Re: Running an application -- dock question
- Subject: Re: Running an application -- dock question
- From: Adam Hinshaw <email@hidden>
- Date: Thu, 24 Apr 2003 10:47:28 +1000
save your script as a compiled script and use the osascript command tool to
launch it in your cron job.
eg: osascript ~/Library/Scripts/MySigMaker.scpt
Works pretty well, i've got a fews jobs running regularly with this combo.
It wont show up in the dock either.
thanks for brining my attention to fortune. looks fun.
hth
adam
on 24/4/03 5:18 AM, David G. Simmons at email@hidden wrote:
>
I have written a small (very small) Applescript to do random signature
>
generation, and have a question about it.
>
>
The first version ran in a repeat loop, with a delay in it, but running
>
it this way seemed to use a TON of CPU time (consistently ran my CPU
>
meter at about 80% on a 1 GHz G4), so I changed tactics and now it runs
>
as a cron job every minute or so. However, every time it runs, it pops
>
up in the Dock, then goes away. I wonder if either a) there is a way
>
to stop it from popping up in the dock or b) have it not suck up so
>
much cpu time in a delay.
>
>
I know, I can use the 'random' signature feature of Mail, but, well, it
>
you want to pull your sigs out of somethign like fortune, as I do, then
>
that means creating THOUSANDS of signatures and then randomizing them.
>
Not something I want to do, frankly.
>
>
Any ideas?
>
>
dg
_______________________________________________
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.