Simple (?) Applescript Question

Durbrow

Registered
People: I tried the AppleScript published in the latest MacWorld to open multiple URLs with one click. Here it is:

try
tell application "Internet Explorer"
GetURL "http://maccentral.macworld.com/"
Activate
end tell
on error
end try

This works for IE but when I replace "Internet Explorer" with "Navigator" (chimera) I get an end of line error after GetURL. I tried OpenURL but that did not seem to work. Any ideas? Thanks!
 
AppleScript works with apps that have applescript support, and each app tends to use different commands (though they try and stick to a standard when they can).

So, in the script above, the GetURL is actually a command recognised by internet explorer.

What you need to do is find out what the command is for Chimera. In the AppleScript editor, go to the file menu and select "Open Dictionary ...". Then, choose Chimera Navigator.

Once you've opened this dictionary you can click through to the GetURL or OpenURL command to find out exactly what parameters the command uses.
 
Back
Top