• 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: open a url in camino
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open a url in camino


  • Subject: Re: open a url in camino
  • From: kai <email@hidden>
  • Date: Thu, 28 Oct 2004 01:05:58 +0100


On Wed, 27 Oct 2004 22:20:56 +1000, olli wrote:

On 27/10/2004, at 3:11 AM, jj wrote:

tell application "Camino" <<event GURLGURL>> "http://www.google.com"; end tell

how does this work? i copy and pasted the three lines above into script editor and i get a compile error.

That middle line should be:

«event GURLGURL» "http://www.google.com";

The double angle brackets, or chevrons («») signify script information in raw format. You can enter these characters directly into a script by typing Option-Backslash and Shift-Option-Backslash.

However, since the raw code refers to a Standard (Internet suite) scripting addition, compiling it in a script should cause it to be interpreted as:

open location "http://www.google.com";

(Of course, you could just try typing/pasting the translated version instead.)

I believe the chevron characters should now turn up correctly in your email. However, the server here used to translate them into something like "+" & ";" respectively (IIRC). In an effort to clarify their meaning, many list regulars got into the habit of typing angle brackets (less-than or greater-than signs) twice - to simulate the appearance of the required brackets. I guess some habits may take a while to break. ;-)

---
kai

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Code Completion suggestion
  • Next by Date: Inheritance and Loaded Libraries
  • Previous by thread: Re: open a url in camino
  • Next by thread: Setting the default signature in Entourage
  • Index(es):
    • Date
    • Thread