On 12/14/05, Preston Shea <[EMAIL PROTECTED]> wrote:
> I pasted the doMenu example from the documentation:
>
> on mouseUp
> do menuItem "New Card" of menu "Object"
> end mouseUp
>
> And this error results:
>
> Type Chunk: error in chunk expression
> Object Button 1
> Line do menuItem "New Card" of menu "Object"
> Hint (&Object Inspector
>
> Can anyone tell me what the "Hint" means and/or why this script doesn't work?

Hi Preston,

Here is an example of a script I use to activate a menu item through a script:
send "menuPick " & quote & "Stack Inspector" & quote to btn "Object"
of stack "revMenuBar"

However if you are just trying to make a new card, I suggest you use
"create card" instead as that will work even in a standalone where the
revMenubar will not be present and so cannot be used.

HTH,
Sarah
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to