Re: Solver: Play sounds via script
Re: Solver: Play sounds via script
- Subject: Re: Solver: Play sounds via script
- From: Christopher Stone <email@hidden>
- Date: Sun, 24 Mar 2013 09:16:02 -0500
On Mar 23, 2013, at 22:07, Robert Poland < email@hidden> wrote: It occurred to me that the version of Smile was far from new. The Migration Assistant probably installed an over three year old version. No, I didn't think to find out what version.
I installed the latest version of Smile and the afplay script works as it should.
I hope, someday, the Smile people will be more forthcoming about upgrades, among other things.
______________________________________________________________________
Hey Bob,
I would be nice if Smile did version-checking, but don't wait for them. Write your own start-up script for Smile that does version-checking.
Here's the basics:
-------------------------------------------------------------------------------------------
| perl -wlne 'if (m!(?ims)(<a href="" {print \"$1\"}'; " set remoteSmileVersion to do shell script _cmd
tell application "Finder" set smileApp to application file id "com.satimage.Smile" as alias set localSmileVersion to version of smileApp end tell
-------------------------------------------------------------------------------------------
I leave it up to you to parse the above, check the online-status of the computer, and build in a reasonable timeout.
-- Best Regards, Chris
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden