• 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
Re: using applications over the web
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using applications over the web


  • Subject: Re: using applications over the web
  • From: LE STANG Jean-Baptiste <email@hidden>
  • Date: Fri, 17 Jan 2003 17:58:17 +0100

It seems to have to deal with SOAP requests, what OS are you using, and wich version of Applescript?
The best documentation I've found on SOAP and XML-RPC is there :
http://developer.apple.com/techpubs/macosx/Carbon/interapplicationcomm/ soapXMLRPC/index.html

jean-baptiste LE STANG

Le jeudi, 16 jan 2003, ` 22:59 Europe/Paris, Malcolm Fitzgerald a icrit :

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.
_______________________________________________
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: Gary Lists <email@hidden>
References: 
 >using applications over the web (From: Malcolm Fitzgerald <email@hidden>)

  • Prev by Date: Re: Routines for review: Hex <-> String
  • Next by Date: Mail.app - Delete Rule Condition - Works - My Mistake!
  • Previous by thread: using applications over the web
  • Next by thread: Re: using applications over the web
  • Index(es):
    • Date
    • Thread