Skip to content

Instantly share code, notes, and snippets.

@itod
Created February 5, 2016 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itod/400e8cd6ca1bae45471e to your computer and use it in GitHub Desktop.
Save itod/400e8cd6ca1bae45471e to your computer and use it in GitHub Desktop.
Runn all Fake Workflows in a Folder
tell application "Finder"
set path_ to (get path to desktop as string) & "workflows"
set dir_ to folder path_
set ext_ to "fakeworkflow"
set files_ to items of dir_ whose name of it ends with ext_
tell application "Fake"
repeat with file_ in files_
--display dialog (get title of file_)
open file_
delay 1
run workflow
wait until done
close front window
delay 1
end repeat
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment