re: Process file list from Automator in Filemaker
re: Process file list from Automator in Filemaker
- Subject: re: Process file list from Automator in Filemaker
- From: David Crowe <email@hidden>
- Date: Thu, 19 Jul 2007 20:31:05 -0600
I think your problem might be in the lines
set this_file to item i of the input
do shell script "cd ~/OpsumCharts/RawOpsum; cp this_file
temp.txt"
You're setting an applescript variable "this_file" in the first line
and including it as text within quotes in the second line.
If you change it to
set this_file to item i of the input
do shell script "cd ~/OpsumCharts/RawOpsum; cp " &
this_file & " temp.txt"
You might be one step closer to a working script. I assume that
'input' is a list of strings. If not, you may have to cast
'this_file' to string (i.e. set this_file to (item i of the input) as
string ).
I don't see the purpose of the line 'set done to 0'. I'd also avoid
activating FileMaker in order to operate the script unless you have
to.
- David Crowe
_______________________________________________
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