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

Click here to return to the 'problem with applescript?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
problem with applescript?
Authored by: chyna4xena on Jul 19, '07 05:14:06PM

The touch command will create a file that doesn't exist, but it cannot create directories. The script as written points to a file on the desktop of a user (and hence a user folder) called "gb". This folder (/Users/gb/) is unlikely to exist on your system. You'll need to substitute your own username for "gb".

If you're unsure what your username is, just look inside the Users folder of your hard drive. The name of the folder which has the "house" icon is your username.

Re-write the "set saveCVSExport" variable at the the top of the script to point to /Users/(your user name)/Desktop/contacts.csv instead of /Users/gb/Desktop/contacts.csv and you should be right, it worked for me.

[ Reply to This | # ]