Hi,
I try to build a flow with automator, but it does not work:
A first automator step works: automtator takes a PDF and extracts the text. Within automator it is defined to save the text on the desktop. Switch pick up the resulting text and places it as expected on the defined internal switch-folder.
A second automator action fails:
Automator opens the text with text edit and AppleScript searches and replaces text in the document. Now the modified text does not find the way back to switch. I've tried different things: leave the text open, save the text (with Applescript), close the text (with Applescript), save and close (with Applescript). But switch does not recognize the modified text.
Any ideas?
Kind regards,
Jörg
Applescript-Textedit-Automator
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
Applescript-Textedit-Automator
Is your AppleScript returning the path to the modified text file?
-
- Member
- Posts: 30
- Joined: Mon Mar 21, 2011 2:30 pm
Applescript-Textedit-Automator
Is your AppleScript returning the path to the modified text file?
No, the file is opened (by switch?) under
/Library/Application Support/Enfocus/PowerSwitch Server/temp
and by AppleScript stored there.
Does switch need this path (or a different location) as return value?
Kind regard,
Jörg
No, the file is opened (by switch?) under
/Library/Application Support/Enfocus/PowerSwitch Server/temp
and by AppleScript stored there.
Does switch need this path (or a different location) as return value?
Kind regard,
Jörg
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
Applescript-Textedit-Automator
According to the page, the Applescript must return the path of the saved file.
http://www.enfocus.com/Manuals/UserGuid ... tions.html
http://www.enfocus.com/Manuals/UserGuid ... tions.html