Newbie external maker questions
Posted: Fri Mar 16, 2012 11:09 pm
I finally built an extremely simple external that actually works! (yay!) All it does is click the mouse at its current location. As it sits I take no arguments and return no results from the command, it just does its thing and works.
First question.. Is returning nothing from an external command a bad thing? Even with something this simple?
Second question. The current method of the external, just to get something to work, I have both the mouse click and mouse release in the same command. I'll probably change this soon so that it matches the state of a remote (meaning android) button on a home built android remote control app. If anyone has done similar before, do I need to worry about the mouse getting "stuck" down? (say if I have a button that when clicked and held sends a mouse down to remote machine.. if I drag off the button before releasing, the mouseup is NOT sent to the button correct?) Ok, this one I can just test. *doh*
Third question. From what I can tell, using a scroll wheel is just a rawkeydown event. So if I wish to have the ability remote scroll I should be able to have the external simulate that keypress, or am I way off base?
Any other things I might watch out for that could come back to get me?
First question.. Is returning nothing from an external command a bad thing? Even with something this simple?
Second question. The current method of the external, just to get something to work, I have both the mouse click and mouse release in the same command. I'll probably change this soon so that it matches the state of a remote (meaning android) button on a home built android remote control app. If anyone has done similar before, do I need to worry about the mouse getting "stuck" down? (say if I have a button that when clicked and held sends a mouse down to remote machine.. if I drag off the button before releasing, the mouseup is NOT sent to the button correct?) Ok, this one I can just test. *doh*
Third question. From what I can tell, using a scroll wheel is just a rawkeydown event. So if I wish to have the ability remote scroll I should be able to have the external simulate that keypress, or am I way off base?
Any other things I might watch out for that could come back to get me?