02-20-2019, 04:36 PM
In the Mouse dialog under How to click I can see the options press and release but this doesn't seem to keep the left mouse button pressed (in order to drag things) and release it afterwards. How do I do that?
Keeping left mouse button pressed ( and release)
|
02-20-2019, 04:36 PM
In the Mouse dialog under How to click I can see the options press and release but this doesn't seem to keep the left mouse button pressed (in order to drag things) and release it afterwards. How do I do that?
02-20-2019, 06:07 PM
lef ;;mouse left button click
lef+ ;;mouse left button down lef- ;;mouse left button up
some basic examples
int w=win("" "Notepad")
02-21-2019, 04:31 PM
Thanks both, but lef+ only seems to perform a left click it doesn't seem to keep the left mouse button pressed (for dragging around items on the desktop for instance). Also I would like it to be window or application independent is that possible?
Another question, the following left clicks in the center of the screen, but is it also possible to only move the mouse to the center of the screen (no clicking)?
not sure what's going on but
int w=win("" "Notepad") lef+ 10 10 w will left click down and hold on notepad window think i figured out your issue. don't put commands in a Macro. For some reason must be a function to move the mouse to center of screen use mou 0.5 0.5 this works Function LeftClicknHold this doesn't Macro LeftClicknHold2 why the commands don't work as a macro i have no idea Gintaras is this a bug?
02-21-2019, 06:23 PM
Thanks! Yes as a function it works. Good to know.
02-21-2019, 07:00 PM
02-21-2019, 10:20 PM
Macros run in a more safe way than functions. When a macro ends, the program releases mouse buttons and Ctrl etc pressed by the macro.
02-22-2019, 12:48 AM
(This post was last modified: 02-22-2019, 12:49 AM by InterestedNewbie.)
Gintaras,
How is the development of the new QM version that will run on C# going? I take it that rendered executables with that version will need the net framework? I noticed that compiled QM dialogs run slightly faster than similar dialogs made with Visual Studio which seems odd considering QM executables would have to load their own framework/runtime first?
02-22-2019, 05:56 AM
> How is the development of the new QM version that will run on C# going?
About 50% done. > I take it that rendered executables with that version will need the net framework? Yes. > I noticed that compiled QM dialogs run slightly faster than similar dialogs made with Visual Studio ... Yes, C# programs start slower, because of JIT compiling and very slow loading of assemblies. But QM3 scripts will start fast in most cases. |
« Next Oldest | Next Newest »
|