revGoURL on 10.2.3

Ken Ray kray at sonsothunder.com
Mon Jan 5 17:08:20 EST 2004


> I know that GURL is broken in Panther, but does the following 
> fail as well?
> 
> on mouseUp
>   answer file "Locate HTML:"
>   if it is empty then exit mouseUp
>   put it into tPath
>   put \
>       "tell application" && quote & "Finder" & quote & cr &\
>       "open location" && quote & "file://" & tPath & quote & cr &\
>       "end tell" into S
>   do S as AppleScript
> end mouseUp

Unfortunately, yes... in 10.3.2 you can't send this appleScript to the
Finder without getting an error. You can send it to *other* apps,
though, but they get launched. For a workaround right now, I'm sending
the message to "System Events" (which is always open).

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 




More information about the use-livecode mailing list