tell application "Fake"
open "/Users/therapy/Library/Workflows/FakeWorkflows/PassVariables.fakeworkflow"
run workflow
wait until done with timeout (60 * 15)
display dialog "done"
tell application "System Events"
tell process "Fake"
keystroke "w" using command down
end tell
end tell
end tell
with timeout of (30 * 60) seconds
tell application "Fake"
open "/Users/therapy/Library/Workflows/FakeWorkflows/PassVariablesNext.fakeworkflow"
run workflow
wait until done
display dialog "done"
tell application "System Events"
tell process "Fake"
end tell
end tell
end tell
end timeout