September 12, 200520 yr I would like to click on a button in Filemaker and send text from a field to the Google Search WSDL-defined web service. I would expect the behavior to be similar to the "Open URL" action and open a window to show the results of the invocation.
September 16, 200520 yr Author OK this is not what I was specifically trying to do so my question still stands; however, I figured I would share this AppleScript code. This code is what I currently use as a FM Calculated Applescript to open a Google search page in the Safari (MacOS X) browser. The search query is comprised of text from fields in the database which are used as keywords. "tell application" & ""Safari"" & ¶ & "make new document at end of documents" & ¶ & "set URL of document 1 to "http://www.google.com/search?hl=en&lr=&c2coff=1&client=safari&rls=en&q=" & FooTO::BarData & "+" & FooTO::NeetData & "&btnG=Search"" & ¶ & "end tell"
September 17, 200520 yr Author The only tiny difference is that this will explicitly open Safari. Edited September 17, 200520 yr by Guest
Create an account or sign in to comment