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


Click here to return to the 'Quoted Form!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Quoted Form!
Authored by: dhawes on Oct 04, '03 08:20:14PM

Note from this hint:
http://www.macosxhints.com/article.php?story=20030805175235977
>quoted form of "/path/to/some/cool file"
> Returns: "'/path/to/some/cool file'"

so it would look like this:

#!/bin/sh
FILEPATH=`osascript -e "tell application \"Finder\" to return quoted form of POSIX path of (desktop picture as alias)"`
/sw/bin/Esetroot -scale -center $FILEPATH

---
-----
www.cocoaobjects.com



[ Reply to This | # ]