• 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
Process file list from Automator in Filemaker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Applescript Help...
  • Next by Date: Re: RAM and CPU hogging
  • Previous by thread: RE: UI Scripting of Acrobat Pro
  • Next by thread: re: Process file list from Automator in Filemaker
  • Index(es):
    • Date
    • Thread