mweiss Posted November 17, 2006 Posted November 17, 2006 I have a Filemaker script that sets a variable $tempvariable and then performs an Applescript. I would like to pass the value stored in $tempvariable to the Applescript -- something like tell application "Filemaker Pro" set thePassedValue to the variable "$tempvariable" end tell but this doesn't work. I know that I could accomplish essentially the same thing by using a global field instead of a variable, but using a variable seems conceptually more appropriate.
Ohgo_Ohgo Posted November 17, 2006 Posted November 17, 2006 I have a Filemaker script that sets a variable $tempvariable and then performs an Applescript. I would like to pass the value stored in $tempvariable to the Applescript -- something like tell application "Filemaker Pro" set thePassedValue to the variable "$tempvariable" end tell but this doesn't work. I know that I could accomplish essentially the same thing by using a global field instead of a variable, but using a variable seems conceptually more appropriate. Yes it works but You have to do a calculated script! Which looks very wired because You have to include all the "" and "" and """ so after native filmmaker calculation Your Apple Script look's as it looks in a script editor. Make Yourself a little Help file with calculated script ( all the ""...) and the result of the calculation. (Advanced data viewer does this too !!) Before filmmaker performs a script it translates it ( calculates it). Have a look at the solution forum, my file apple script printer switch to get an idea. http://fmforums.com/forum/showtopic.php?tid/175183/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now