• 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
popup button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

popup button


  • Subject: popup button
  • From: peter <email@hidden>
  • Date: Fri, 11 Apr 2003 12:47:56 +0200

does anybody know why a popup button would stop working?
I don't remember changing anything in my script or in the popup's
properties
it worked fine but now all I get are "NSReceiverEvaluationScriptError:
3 (1)" errors
every time I try to select a menu item

btw. the button resides in a drawer of an applescript studio document
based application
As usual, I have probably done something really daft......
thanks for any suggestions
Peter
here is my script:


on choose menu item theObject
if the name of theObject is "stars" then
set theImage to load image "transparent"

set image of image view "backgroundimage" of window "main" to theImage
set image of image view "tabbackground1" of tab view item "editor" of
tab view "tabs" of window "main" to theImage
set image of image view "tabbackground2" of tab view item "files" of
tab view "tabs" of window "main" to theImage
set image of image view "tabbackground3" of tab view item "help" of
tab view "tabs" of window "main" to theImage
set image of image view "tabbackground4" of tab view item "web" of
tab view "tabs" of window "main" to theImage

else if the name of theObject is "stars" then

set theImage to load image "windowtest"

set image of image view "backgroundimage" of window "main" to theImage
set image of image view "tabbackground1" of tab view item "editor" of
tab view "tabs" of window "main" to theImage
set image of image view "tabbackground2" of tab view item "files" of
tab view "tabs" of window "main" to theImage
set image of image view "tabbackground3" of tab view item "help" of
tab view "tabs" of window "main" to theImage
set image of image view "tabbackground4" of tab view item "web" of
tab view "tabs" of window "main" to theImage
else if the name of theObject is "nature" then
set theImage to load image "illustrated leaf"


set image of image view "backgroundimage" of window "main" to theImage
set image of image view "tabbackground1" of tab view item "editor" of
tab view "tabs" of window "main" to theImage
set image of image view "tabbackground2" of tab view item "files" of
tab view "tabs" of window "main" to theImage
set image of image view "tabbackground3" of tab view item "help" of
tab view "tabs" of window "main" to theImage
set image of image view "tabbackground4" of tab view item "web" of
tab view "tabs" of window "main" to theImage
end if
end choose menu item
_______________________________________________
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.

  • Prev by Date: Re: Mystical Arcane Loginwindow events!
  • Next by Date: Re: getting the user's download folder - Veering OFF
  • Previous by thread: Combo Box query
  • Next by thread: Importing a 1 bit image into Quark 5
  • Index(es):
    • Date
    • Thread