September 22, 200916 yr Can I take the outcome of an AppleScript script step directly to a viable in any way. I am using do shell script "curl http://myserver/someinfo.php" and would like to perform a calculation on the result without having to take the result to a field. Thanks, ft.
September 22, 200916 yr You can certainly continue to process the result within AppleScript, using either Unix tools or AppleScript itself (the former preferred). You can "pipe" the result and continue processing using Unix command line, or you can set it into an AppleScript variable, and continue processing that. When you've got it down to more or less what you want, you can set the result into a FileMaker field, then continue to process with FileMaker native functions and/or a script. For example, the title line of my web page (yeah, I know, dumb example, but you didn't give us much to work with :-). do shell script "curl 'http://fentonjones.com' | grep ''"
September 23, 200916 yr Have you tried using Let to assign the result of the curl statement to a local var within the script?
September 23, 200916 yr If there was a way to refer to the result of Applescript within Filemaker, you could set a script variable directly using Set Variable[]. Don't see how using Let() can get around this.
Create an account or sign in to comment