This App is No Longer Maintained. Visit the Replacement at

StrokesPlus Forum
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 Lua Scripts
 General Action Scripts
 How to get mouse button status?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  


4 Posts

Posted - 11/02/2015 :  08:23:06  Show Profile  Reply with Quote
I'm trying to make a TabTip caller via LEFT CLICK while Cursor is IBEAM.
currently have:

if acGetMouseCursorType() == "IBEAM"
then acShellExecute("open", "C:\\TeT\\TabTip.exe")
until acGetMouseCursorType() == ""

After gesture an IBEAM will call TabTip always.

How can I make it call TabTip via LEFT CLICK while IBEAM.
Can't figure how to get mouse button status or register button down?


2606 Posts

Posted - 11/03/2015 :  13:36:15  Show Profile  Visit Rob's Homepage  Reply with Quote
In the Preferences tab, check the option Allow Left Click Script.

Then go to the Global Lua tab and see if you already have a function named sp_left_mouse_up(x, y, fwKeys). If you do, just add your call to TabTip in there. If not, simply add the function. Here's what I used for testing and it seemed to work fine for me:
function sp_left_mouse_up(x, y, fwKeys)
	if acGetMouseCursorType() == "IBEAM" then 
		acDisplayBalloonTip("IBEAM", "Hello!", 1) --display a balloon tip
Go to Top of Page


4 Posts

Posted - 11/07/2015 :  18:58:49  Show Profile  Reply with Quote
Hi Rob.
Wasn't quite what I was after, but it helped me figure it out.

Had to update for the Allow Left Click Script option.

Managed to get my Surface Pro 3 to give me the TabTip when I touch any text/text boxes. It can be gestured on/off (for when using a physical mouse & kbd).

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000