• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
using applications over the web
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using applications over the web


  • Subject: using applications over the web
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Fri, 17 Jan 2003 08:59:09 +1100

I've just d/l a script from <http://www.designweenie.com> which uses an odd tell block. It addresses an URL. Needless to say, this isn't working for me and I'm trying to find out what is going on. Here's the code, would someone enlighten me?

-----
on google_Search(in_maxResults, in_start, in_filter, in_q, in_restrict, in_safeSearch)

set in_lr to "" -- language restrict
set in_ie to "latin1" -- input encoding
set in_oe to "latin1" -- output encoding
set in_key to googleKey -- my google key (defined as a script property)

tell application "http://api.google.com/search/beta2";
set mn to "doGoogleSearch"
set sa to "urn:GoogleSearchAction"
set mns to "urn:GoogleSearch"
set params to {}
set params to {oe:in_oe} & params
set params to {ie:in_ie} & params
set params to {lr:in_lr} & params
set params to {|safeSearch|:in_safeSearch} & params
set params to {restrict:in_restrict} & params
set params to {filter:in_filter} & params
set params to {|maxResults|:in_maxResults} & params
set params to {start:in_start} & params
set params to {q:in_q} & params
set params to {|key|:in_key} & params
return <<event rpc SOAP>> {<<class meth>>:mn, <<class parm>>:params, <<class sact>>:sa, <<class mspu>>:mns}
end tell
end google_Search

--
--
Malcolm Fitzgerald email@hidden
Database Manager http://www.asauthors.org
The Australian Society of Authors ph: 02 93180877 fax: 02 93180530
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: using applications over the web
      • From: Emmanuel <email@hidden>
    • Re: using applications over the web
      • From: LE STANG Jean-Baptiste <email@hidden>
  • Prev by Date: Fm Insert movie
  • Next by Date: Re: Input for Upcoming Book
  • Previous by thread: Re: Fm Insert movie
  • Next by thread: Re: using applications over the web
  • Index(es):
    • Date
    • Thread