Re: iTunes play - pause script
Re: iTunes play - pause script
- Subject: Re: iTunes play - pause script
- From: Jon Pugh <email@hidden>
- Date: Fri, 26 Jul 2002 08:07:21 -0700
At 11:37 PM +1000 7/26/02, Kelvin Aitken wrote:
>
I found that what was causing the problem was saving the applet with the "Stay Open" option selected. Both of the above scripts work fine as long as the applet closes each time. I assume that keeping an applet open speeds up the operation. Is there some way to make this script work with an open applet?
Use the "reopen" handler instead. It gets called when you double click a running stay open applet.
on reopen
tell app "iTunes"
playpause
end
end
Good luck.
Jon
_______________________________________________
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.