Re: Raw Data or ?
Re: Raw Data or ?
- Subject: Re: Raw Data or ?
- From: Emmanuel <email@hidden>
- Date: Mon, 22 Apr 2002 12:22:23 +0200
At 1:27 AM +0200 21/4/02, Jay Young wrote:
>
Okay, let's say you're writing a script for someone else and it's going
>
to open up Internet Explorer. And I don't want to use the default
>
browser (open location...). But what if this person you're writing the
>
script for has changed the name of Internet Explorer to something else.
>
>
--------------------------------------------
>
global appName
>
tell application "Finder"
>
set appName to name of application file id "MSIE" as string
>
end tell
>
tell application appName
>
OpenURL "http://www.yahoo.com"
>
end tell
>
--------------------------------------------
>
I'm also wondering if there's Raw Data for Internet Explorer. For
>
example, I think <class cdis> stands for 'disk' (< and > are actually
>
chevrons). Is there something else I could use that would point to
>
Internet Explorer on any machine without actually having to type in the
>
name? Is it possible for Netscape too?
The code you posted should do. All you have to do, as you mention, is
writing the script for "appName" as raw code. Smile (available for OSX at
<
http://homepage.mac.com/satimage>) includes helping features for this.
Also, Smile includes helping information on the topic.
Emmanuel
_______________________________________________
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.