ApplescriptGetURL ( URLtoGet ; FieldtoSet )
Getting a web page via Applescript
Average rating: 4.3 (39 votes) Log in to vote
Jim Main Main Solutions http://www.mainsolutions.org |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
You can use plugins to download a web page to a field, or you can use Applescripting on the Mac. Using the custom functions gives you a centralized place to store the Applescript without having to create a special calculation field.
Comments
Edward Aug 19, 2010 |
||
The CF's syntax is quite wrong. I copied and pasted it into FM Pro Advanced v.10 and had to change the syntax around in order to have it working. Another useful AppleScript using the shell command "Curl" is: set the_source to do shell script "curl <-your url here->" "set the clipboard to the_source" Copy the 2 lines above into Script Editor, change the <-your url here-> to an actual URL (this page, for example), and you will see the results. This AS actually copies the URL's HTML code into the clipboard, which can be pasted into a solution's field via the "paste" script. Happy Applescripting |
||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.