|
#1
| ||||
| ||||
| Simple Applescript Studio question... I have really no AppleScript experience, so I figure I should ask for some help before my head explodes. I'm trying to change the title of a menu item when a drawer opens. Code: on opened theObject if name of theObject = "theDrawer" then tell window "mainWindow" to set title of button "drawerButton" to "Hide Drawer" tell menu "mainMenu" to set title of menu item "drawerMenuItem" to "Hide Drawer" end if end opened |
|
#2
| ||||
| ||||
| I've done some scripting, no Applescript studio though. Still, taking a wild guess ... If the menu is called "viewMenu" shouldn't the statement say: tell menu "viewMenu" to set title of menu item "drawerMenuItem" to "Hide Drawer" Just a thought. Like I say, haven't tried AS-Studio.
__________________ OS X 10.4 G5 Dual 2GHZ / 160GB / 1GB RAM / Superdrive Apple 20" Cinema Display SmartDrive 120GB Firewire HD Maxtor 250GB SATA Visit my wife's eBay store !! http://stores.ebay.com/Catchy-Creations-by-brendaonline Now pining for a MacBook Pro... |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simple AppleScript question... | Trip | Software Programming & Web Scripting | 2 | January 16th, 2003 06:50 AM |
| Simple (?) Applescript Question | Durbrow | Mac OS X System & Mac Software | 1 | November 27th, 2002 10:30 PM |
| Applescript Studio Application | chief | Software Programming & Web Scripting | 2 | November 25th, 2002 04:42 PM |
| HELP! I _DESPERATELY_ need AppleScript Studio help! | simX | Apple News, Rumors & Discussion | 3 | February 22nd, 2002 07:09 PM |
| AppleScript Studio? Is this our new HyperCard? | rharder | Apple News, Rumors & Discussion | 5 | September 27th, 2001 11:44 AM |