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


Click here to return to the '10.4: Make any folder a burn folder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Make any folder a burn folder
Authored by: jacobolus on Sep 25, '05 04:01:52AM
I ran into the same problem trying to make an action that would run "mdls" and display the results in a text file. Somehow "get selected finder items" doesn't send the right thing to shell scripts. So an intermediate step, if you add an applescript which does:
on run {input, parameters}
	set myList to {}
	repeat with myItem in input
		set myItemPath to POSIX path of myItem as text
		set myList to myList & {myItemPath}
	end repeat
	return myList
end run
That should straighten everything out. Hope that helps.

[ Reply to This | # ]