convert PS action from windows to osx?

bubblecatcher

Suspended / Banned
Messages
340
Name
Michael
Edit My Images
Yes
Hi, i am editing a windows photoshop action to work with osx.

I need to change the path for temp files from

c:\temp

to a folder in my user account

tried using

/Users/michael/temp

but when loaded in PS it give file damaged on disk error?

any ideas?

thanks
 
Does the folder exist?

Easiest way is open a picture then double click on the save step. This will allow you to execute the step and choose the parameters. Navigate to where you want to save and hit save.

That will amend the action for future runs.
 
Hi and thanks for reply, tried that and it amended path in action in PS, but not in the atn file on disk?

It did also show i was using incorrect path syntax as when change in PS it showed

OSX:Users:michael:temp

which hfs path syntax

the problem is the action requires 40+ save location edits, if i do search and replace in textwrangler i get the damaged on disk error?

don't fancy going doing the 40+ edits individually :(

thanks
 
Thanks for reply,

it seems that editing the atn file is not an easy option as it is binary, did find couple of java solutions for doing string replacement in atn file, but could not get either to work.

modifyatn.jar - could not get to work on OSX
atn-action-translator - this one ran, but baulked on find string to replace

I have tried going through the action and editing each step that requires a path change, this works for save, but when i need to change a Replace stage i get error:

Code:
The command “Replace Contents” is not currently available.

Thing is if run action from the start and choose file to Replace when it reaches this stage it works fine, it just does not save this correct path for Replace?

any ideas?

thanks
 
Well I never knew that....

Yeah looks like you can save actions to text files but not (easily) load them back in.

Google through up this post which looks promising - http://forums.adobe.com/thread/696989

There's a script to convert an action to an XML file and one to convert it back. In between you should be able to edit it with TextWrangler.
 
Forgot to say i also tried those scripts, but got an error trying to convert to xml

Code:
Error 9200: Bad ActionItem definition: ActionItem.id

Line: 22712
->      Error.runtimeError(ActionStream.ERROR_CODE,


Well I never knew that....

Yeah looks like you can save actions to text files but not (easily) load them back in.

Google through up this post which looks promising - http://forums.adobe.com/thread/696989

There's a script to convert an action to an XML file and one to convert it back. In between you should be able to edit it with TextWrangler.
 
Sorry - don't know then :(

At this point I'd either give up, rerecord the action (yeah, I know) or hire somebody off PeoplePerHour to do it for me.
 
Thanks for reply,

can't re-record as this is paid for action that is for windows, it needs to write temporary files so the windows path c:\temp does not work with OSX. They tell you what needs to be changed for OSX, but after that you are on your own.

For life of me i don't know why i can't edit the replace stage?

thanks
 
Back
Top