Hi,
I would like to pass the original path of a file to an AppleScript via PowerSwtich, so that i can act on the original file
Kind Regards
Marc de Blanck
Automator flow
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
Automator flow
Hello, you can't pass arguments, like the filename of the original(s), to an Automator. Switch simply passes the input files to Automator as a Finder selection.
You could create a wrapper AppleScript (or Javascript) that calls your Automator script.
You could create a wrapper AppleScript (or Javascript) that calls your Automator script.
-
- Newbie
- Posts: 3
- Joined: Thu Feb 03, 2011 12:23 pm
Automator flow
Hello,
I could use an AppleScript Script Element, but i can't find how to get the Job Hierarchy
mostly i use JavaScript to get things done in Switch
Kind Regards
Marc
I could use an AppleScript Script Element, but i can't find how to get the Job Hierarchy
mostly i use JavaScript to get things done in Switch
Kind Regards
Marc
-
- Newbie
- Posts: 3
- Joined: Thu Feb 03, 2011 12:23 pm
Automator flow
nevermind
i found an old example i used with an AppleScript srcipt element
Thanks anyway
i found an old example i used with an AppleScript srcipt element
Thanks anyway