Re: Simulate a popup menu button

2012-07-18 Thread dunbarx
a popup menu button On 7/18/12 12:03 PM, Lars Brehmer wrote: > Thanks once again Craig! > > But again no. > > The popup button is already in place. It has 7 menu items, and 6 of > those have a submenu with several choices. I simply want to (in a > script) simulate click

Re: Simulate a popup menu button

2012-07-18 Thread J. Landman Gay
On 7/18/12 4:02 PM, Bob Sneidar wrote: Disabling the button on top will allow the mouseClick to pass through. I always forget about that. Must make note. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com

Re: Simulate a popup menu button

2012-07-18 Thread Bob Sneidar
Also, I wonder why he does not just move the mouse, unless the user is interacting with the real mouse. Bob On Jul 18, 2012, at 1:47 PM, J. Landman Gay wrote: > On 7/18/12 3:33 PM, Bob Sneidar wrote: >> But I tried it and it did work. > > Did you use two buttons? He has one button with a cur

Re: Simulate a popup menu button

2012-07-18 Thread Bob Sneidar
Disabling the button on top will allow the mouseClick to pass through. Bob On Jul 18, 2012, at 1:47 PM, J. Landman Gay wrote: > On 7/18/12 3:33 PM, Bob Sneidar wrote: >> But I tried it and it did work. > > Did you use two buttons? He has one button with a cursor icon to simulate the > mouse.

Re: Simulate a popup menu button

2012-07-18 Thread J. Landman Gay
On 7/18/12 3:33 PM, Bob Sneidar wrote: But I tried it and it did work. Did you use two buttons? He has one button with a cursor icon to simulate the mouse. A second button at a lower layer is the popup button. When the "cursor" button moves over the popup, clicking at the loc of the cursor b

Re: Simulate a popup menu button

2012-07-18 Thread Bob Sneidar
But I tried it and it did work. Bob On Jul 18, 2012, at 10:58 AM, J. Landman Gay wrote: > On 7/18/12 12:02 PM, J. Landman Gay wrote: >> On 7/18/12 12:03 PM, Lars Brehmer wrote: >>> Thanks once again Craig! >>> >>> But again no. >>> >>> The popup button is already in place. It has 7 menu item

Re: Simulate a popup menu button

2012-07-18 Thread Bob Sneidar
That works jacque, only no cursor. He will have to set the mouseLoc to that first I believe. After that, he can set the mouseLoc, then use the arrow keys to navigate the menus. It's klunky but it ought to work. Bob On Jul 18, 2012, at 10:02 AM, J. Landman Gay wrote: > On 7/18/12 12:03 PM, La

Re: Simulate a popup menu button

2012-07-18 Thread J. Landman Gay
On 7/18/12 12:02 PM, J. Landman Gay wrote: On 7/18/12 12:03 PM, Lars Brehmer wrote: Thanks once again Craig! But again no. The popup button is already in place. It has 7 menu items, and 6 of those have a submenu with several choices. I simply want to (in a script) simulate clicking on it (done

Re: Simulate a popup menu button

2012-07-18 Thread J. Landman Gay
On 7/18/12 12:03 PM, Lars Brehmer wrote: Thanks once again Craig! But again no. The popup button is already in place. It has 7 menu items, and 6 of those have a submenu with several choices. I simply want to (in a script) simulate clicking on it (done) then hiliting one of the items and then sh

Re: Simulate a popup menu button

2012-07-18 Thread Lars Brehmer
Thanks once again Craig! But again no. The popup button is already in place. It has 7 menu items, and 6 of those have a submenu with several choices. I simply want to (in a script) simulate clicking on it (done) then hiliting one of the items and then show that items submenu and hiliting one o

Re: Simulate a popup menu button

2012-07-17 Thread dunbarx
p. Craig Newman -Original Message- From: Lars Brehmer To: use-livecode Sent: Tue, Jul 17, 2012 3:55 pm Subject: Re: Simulate a popup menu button Thanks Craig! But I still haven't got it figured out. This ia a popUp button with several cascading items. What I am trying to do is

Re: Simulate a popup menu button

2012-07-17 Thread dunbarx
aig Newman -Original Message- From: Lars Brehmer To: use-livecode Sent: Tue, Jul 17, 2012 3:55 pm Subject: Re: Simulate a popup menu button Thanks Craig! But I still haven't got it figured out. This ia a popUp button with several cascading items. What I am trying to do is in a tut

Re: Simulate a popup menu button

2012-07-17 Thread Lars Brehmer
Thanks Bob! But no, I will not go this way. I have and use Snapz Pro and other screen capture apps, but they just won't do here for several reasons. First of all, just using RunRev with commands like - move this to that, send mouseEnter to this, send mouseUp to this, send mouseLeave to this, mo

Re: Simulate a popup menu button

2012-07-17 Thread Bob Sneidar
I hate to be the one to say it, but my suggestion is, don't do it like that. Have you considered using a screen capture utility like Snapz Pro to do create short video animations in your tutorial? Maybe I do not know what you are really up to. Bob On Jul 17, 2012, at 12:59 PM, Lars Brehmer w

Re: Simulate a popup menu button

2012-07-17 Thread Lars Brehmer
Thanks Craig! But I still haven't got it figured out. This ia a popUp button with several cascading items. What I am trying to do is in a tutorial animation. 1. move the cursor onto the button and then have the meunu appear (click at the buttonLoc). 2. move the cursor to the menu choice an

Re: Simulate a popup menu button

2012-07-17 Thread dunbarx
Hi. Are you using an actual pop-up style button, like a PullDown or cascade? Or are you rolling your own, as it seems, when you said 'simulate'? If you are making your own, what is the reason to do that? If you are using one of the standard button styles, the usual method is something like