Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A script to refresh daily audio feeds in iTunes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to refresh daily audio feeds in iTunes
Authored by: LaRoche02 on May 17, '05 02:07:18PM

Useful script, exactly the program I want to use it for. However, I can't get the script to compile in Tiger Script Editor 2.1. I get the error "Expected expression but found unknown token". I think the problem is with the "%''s in the following line.
do shell script "date "+%Y-%m%d""

I copied and pasted the code directly with no modifications. I'm not that handy with Applescript. Does anyone have any suggestions?

Thanks, LaRoche



[ Reply to This | # ]
A script to refresh daily audio feeds in iTunes
Authored by: rmiller021 on May 17, '05 02:42:28PM
to use a " in a string you have to use \"
do shell script "date \"+%Y-%m%d\""

---
Do you think at 900 char system call is a problem? I love embedding applescripts in c++ :)

[ Reply to This | # ]

A script to refresh daily audio feeds in iTunes
Authored by: rjbailey on May 17, '05 05:06:12PM

Thanks for pointing this out. The backslashes were in the script I submitted but they got lost along the way somehow.



[ Reply to This | # ]