0 Replies Latest reply on May 30, 2012 8:48 AM by kayakjunkie

    Filemaker Field Values / Variables in Applescript

    kayakjunkie

      Title

      Filemaker Field Values / Variables in Applescript

      Post

      I've written an Applescript calling a Bash command to unzip files then delete the original .zip file.  I have source and temp paths in my solution's Preferences table.  I'd like to be able to use those values in the bash command.  First need to know how to get those values into a calculated Applescript.

      do shell script "for z in users/jesse/dropbox/databases/portfoliocenter/temp/*.ZIP; do unzip $z -d users/jesse/dropbox/databases/portfoliocenter/temp/;rm $z; done"

      I'd like to be able to pass the path (users/jesse/dropbox/databases/portfoliocenter/temp/) through to the script as a variable.

      Jesse