• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: creating pulldown menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: creating pulldown menu
      • From: Matt Binkowski <email@hidden>
References: 
 >Re: creating pulldown menu (From: Matt Binkowski <email@hidden>)

  • Prev by Date: Re: FMPro Image Import problem
  • Next by Date: Re: file size and creation date
  • Previous by thread: Re: creating pulldown menu
  • Next by thread: Re: creating pulldown menu
  • Index(es):
    • Date
    • Thread