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


Click here to return to the '10.4: 10.4.3 update may break Automator workflows' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: 10.4.3 update may break Automator workflows
Authored by: jacobolus on Nov 06, '05 11:42:28PM
The conversions between these types of inputs are really buggy in Automator. According to the documentation (maybe the developer documentation on making new actions, I don't remember), Automator is supposed to automatically convert applescript file references to POSIX paths for shell scripts, etc. It isn't happening now, and it's really annoying. Thanks for the tip about the labels though. I had been using an applescript like this:
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
to do the conversions previously. It looks like this no longer works. I'll try the labels thing now.

[ Reply to This | # ]
10.4: 10.4.3 update may break Automator workflows
Authored by: windfate on Dec 01, '05 11:48:17AM

I was able to get POSIX paths working again under 10.4.3 by adding "as Unicode text" as below:

set itemPath to (quoted form of POSIX path of (a_file as Unicode text))



[ Reply to This | # ]