June 11, 200817 yr Hi, Here is my requirement. I have a mail received, its body contains a link to some executable file. e.g. /Macintosh HD/Host Folder/samplefile.sh samplefile.sh is a shell script file created for Mac (OSX). In samplefile.sh I am using...osascript to call an Apple Script. The Apple script in turn should invoke a FileMaker script and pass some parameter to it as well. Currently I am facing the following problems:: 1. This whole logic should run on a click of the above mentioned link....which is not achieved. 2. How to invoke a FileMaker script through an Apple script? 3. How to pass parameters to the invoked FileMaker script, while calling it from an Apple script? I am not sure about whether .sh file will serve my purpose? If any other alternative please suggest.... Should this can be achieved other way, instead of using apple script?...I dont want to use any plugins or any other external applications. Consider the whole environment where this logic has to be implemented is Macintosh. Regards Pushkraj Edited June 11, 200817 yr by Guest
June 11, 200817 yr Re points #2 & #3 see: http://www.fmforums.com/forum/showtopic.php?tid/195241/ I am not sure about whether .sh file will serve my purpose? If any other alternative please suggest.... Hard to answer without knowing your purpose. If you want to trigger Filemaker scripts by e-mails, I believe you could set up the Mail application's rules to go over the received messages and run a specific Applescript when specific conditions have been met, e.g. If all of the following conditions are met: •From: is equal to: [email protected] •Message Content: Contains: Drop the big one! Perform the following actions: •Run AppleScript: ~/Documents/BombsAway.scpt Of course, some security measures would be in order.
January 20, 200916 yr Can any please suggest me to "How we can write the apple script" and "How we can import the apple script to filemaler.. could any one know about this implementing process... make the reply fast.. Many thanks in advance.
January 20, 200916 yr make the reply fast.. You are hijacking another thread aren't you, but Filemaker have several options in that direction. It largely depends on the task at hand if the script as such should be embedded or called as a compiled executed script via Send Event... http://fmpscripting.blogspot.com/2008/09/filemaker-perform-applescript-mac-os.html Start a new thread and let us know why you think you would need applescript? --sd
Create an account or sign in to comment