• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
re: Process file list from Automator in Filemaker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Finding Filenames that contain a certain string
  • Next by Date: Re: Finding Filenames that contain a certain string
  • Previous by thread: Process file list from Automator in Filemaker
  • Next by thread: Choose from list goes out of screen range
  • Index(es):
    • Date
    • Thread