Code: Select all
on menuPick pWhich
switch pWhich
case "Open Project File..."
If this card is "browse" then
Send "mouseup" to button "Open Project"
else if this card is "record" then
Send "mouseup" to button "recordOpenProject"
end if
break
case "New Project file..."
....
break
I have tried the same script withType Chunk: source is not a container
Object File
Line If this card is "browse" then
Hint menuPick
Code: Select all
'If the current card is "browse" then'
...
How do I determine in a menu script what the current card is. Any suggestions?
[/code]