Re: creating pulldown menu
Re: creating pulldown menu
- Subject: Re: creating pulldown menu
- From: Rob Jorgensen <email@hidden>
- Date: Tue, 12 Mar 2002 15:39:31 -0500
On 3/12/02, Matt Binkowski commented:
i'm trying to incorporate what i've already got (below) with yours and it's
not working.
this is what i already have for one of the scripts:
set searching_window to display dialog ,
"Search Google for:" default answer ,
" " buttons {"Search", "Cancel"} default button "Search"
set button_name to button returned of searching_window
if button_name is "search" then
set search_string to text returned of searching_window
tell application "Internet Explorer"
Activate
OpenURL "http://www.google.com/search?hl=en&q=" & search_string & ""
end tell
else
close +class Dlg;
end if
The code above works fine for me, either as a freestanding script or
when plugged into the script I suggested earlier. If you'd like, I'll
send a compiled version privately.
FYI, tested with IE 5.1/OS 9.1/AppleScript 1.6.
--
Later,
Rob Jorgensen
Ohio, USA
_______________________________________________
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.