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


Click here to return to the 'An AppleScript to periodically check all IMAP folders' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to periodically check all IMAP folders
Authored by: applesjgtl on Aug 30, '08 01:16:18AM
I'm trying to write a script to launch Adium upon launching iChat, so I modified your AppleScript to do so. Now I would like to add it to the UNIX crontab. Can you explain how, and in what program, is this done? Is it done in Terminal? When I entered your code (the second piece) into terminal, it gave me an error.
    What am I doing wrong?
And yes, I did adjust the path and name to fit my script.

[ Reply to This | # ]
An AppleScript to periodically check all IMAP folders
Authored by: applesjgtl on Aug 30, '08 01:20:36AM
oh, also I would like to shorten the periodic checks to 2 minutes apart. My script is as follows. tell application "System Events" set procCount to name of every process whose name is "iChat" end tell if procCount is {"iChat"} then delay 45 tell application "Adium" to run delay 15 tell application "Adium" to quit else end if

[ Reply to This | # ]