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

 All Forums
 General Discussion
 General Discussion
 acDisable via SendMessage
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

plunt

Italy
88 Posts

Posted - 06/17/2019 :  11:06:27  Show Profile  Reply with Quote
Do it is possible to fire acDisable via a external SendMessage?
SendMessage("c=STROKESPLUS", 0x0111, 0x1007A, 0)
but it only toggle it and i would only disable.
I know about keystroke.
In general, do it is not possible to send a LUA command via SendMessage?

Rob

USA
2579 Posts

Posted - 06/17/2019 :  11:25:13  Show Profile  Visit Rob's Homepage  Reply with Quote
You could try sending a WM_COMMAND (0x0111) / 0x007A message, that is what the Disable tray menu item posts when you click it.
Go to Top of Page

plunt

Italy
88 Posts

Posted - 06/17/2019 :  11:28:58  Show Profile  Reply with Quote
I use already it.
But i would to bure sure to disable StrokesPlus also if it is already.
Toggle can enable it if is already disabled.
Go to Top of Page

Rob

USA
2579 Posts

Posted - 06/17/2019 :  11:37:14  Show Profile  Visit Rob's Homepage  Reply with Quote
Oh I see, no it would only toggle.

There's no way to send a message to execute a script.
Go to Top of Page

Rob

USA
2579 Posts

Posted - 06/17/2019 :  15:34:12  Show Profile  Visit Rob's Homepage  Reply with Quote
I know you're using the original StrokesPlus, but your post did inspire me to add that functionality to the new StrokesPlus.net via sending a WM_COPYDATA message.

https://forum.strokesplus.net/posts/m6271-Using-Windows-Messages-to-Execute-Scripts
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