Re: new venerability on macosxhints through Safari
Re: new venerability on macosxhints through Safari
- Subject: Re: new venerability on macosxhints through Safari
- From: Sander Tekelenburg <email@hidden>
- Date: Thu, 20 May 2004 07:21:00 +0200
At 02:02 +0100 UTC, on 2004/05/20, Martin Orpen wrote:
[...]
>
Yeah, what has it got to do with AppleScript?
>
>
I mean, it's just using this AppleScript:
>
>
>
on +event helphdhp; (completeParam)
>
-- localizable text
>
set cancelBtn to "Cancel"
>
set errorText to "The item cannot be opened. It may be disabled or not
>
installed."
>
--end localizable text
>
>
try
>
tell application "Finder"
>
open file completeParam of the startup disk
>
end tell
>
>
on error errMsg number errNum
>
display dialog errorText buttons {cancelBtn} default button 1 with
>
icon 0
>
return
>
end try
>
end +event helphdhp;
>
>
>
To execute any shell command it chooses via a web page.
Look at the script. All it does is use Finder.app to open a file (even if
that file happens to be a cli executable). That's not "executing any shell
command".
[...]
>
Oh, and the bugfix is an amended version of the above script:
Only if you bother to apply this to all your copies and make sure you don't
install unpatched copies.
--
Sander Tekelenburg, <
http://www.euronet.nl/~tekelenb/>
_______________________________________________
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.