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: dwyer on Jul 17, '07 04:36:46PM

I've never run a script before, and Was thrilled to find this applescript. But it didn't work- I turned the last option (for multiple entries) to false, as reccomended, however the script got to some part about "touch" and was looking for the csv file on the desktop. I thought it was going to create the csv file. Any help?
thanks!



[ Reply to This | # ]
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 | # ]