Process file list from Automator in Filemaker
Process file list from Automator in Filemaker
- Subject: Process file list from Automator in Filemaker
- From: email@hidden
- Date: Thu, 19 Jul 2007 13:40:20 -0700
I have an Automator Workflow which obtains a list of file names and passes
it to a "Run Applescript" step
The AppleScript should rename each file to 'temp.txt' which will then be
processed by a script in FileMaker 8.5. I now get the error "AppleScript
Error: No result was returned from some part of this expression"
What am I doing wrong?
Dennis
-----------------------
(The script in "Run AppleScript" step of Automator.)
on run {input, parameters}
repeat with i from 1 to number of items of the input
set this_file to item i of the input
do shell script "cd ~/OpsumCharts/RawOpsum; cp this_file
temp.txt"
tell window "OpsumTest" of application "FileMaker Pro"
activate
do script "second"
end tell
end repeat
set done to 0
return input
end run
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden