Posts: 2
Threads: 1
%%TYL_NUMTHANKEDLIKED%%
Joined: Dec 2012
Hello,
yesterday I was crazy with my Windows 7 installation and sandboxie.
I use sandboxie to navigate, and the keyboard lag was annoying. Chrome executed in the sandbox was lagged while using the mouse too (just drag and drop the right navigation scrollbar in a large page to see what i mean).
After exit Quick Macros, the navigator back to life. Keyboard is responsive like when chrome is executed outside the sandbox. I have to close the execution from the tray, does not worked to disable all the macros, i have to exit the process.
This morning i tryed to reproduce this behaviour with my windows xp computer, and I have the same problem.
Anybody else can reproduce this?
sandboxie is this software:
http://www.sandboxie.com its a sandbox that isolates the execution of another application.
thanks in advance.
Posts: 12,302
Threads: 144
%%TYL_NUMTHANKEDLIKED%%
Joined: Dec 2002
I'll test it.
Try to uncheck low level hooks in Options -> triggers.
Posts: 2
Threads: 1
%%TYL_NUMTHANKEDLIKED%%
Joined: Dec 2012
I tryed this already... but it not worked. :?
Posts: 12,302
Threads: 144
%%TYL_NUMTHANKEDLIKED%%
Joined: Dec 2002
The problem actually is in Sandboxie. It intercepts/disables keyboard, mouse and other hooks that are loaded into the sandboxed process, and does it too slowly. Hooks are essential part of triggers and some other QM features. Next QM version will have better compatibility with Sandboxie. Will need to check all low-level hooks checkboxes in Options/Triggers. Next beta will be released this month, maybe tomorrow.
Posts: 197
Threads: 60
%%TYL_NUMTHANKEDLIKED%%
Joined: Dec 2013
Sorry for resurrecting an old thread, but has a fix been found?
Sandboxie still slows down my macro. I tried:
options > triggers tab > uncheck mouse and keyboard under "use low level hooks"
options > triggers tab > check on "other" under "use low level hooks"
Posts: 12,302
Threads: 144
%%TYL_NUMTHANKEDLIKED%%
Joined: Dec 2002
If key is slow with sandboxed programs, try
opt keysync 2
Macro
Macro2760
act "Chrome"
opt keysync 2 ;;or 1, but it is less reliable in most cases
key "The quick brown fox" T "jumps over the lazy dog"
By default QM uses a hook to make key more reliable, ie to synchronize it with the target program. But Sandboxie disables the hook, and it makes key slow.
Hooks are not used with opt keysync 2. Next QM probably will have an option to use this synchronization method as default.
Posts: 197
Threads: 60
%%TYL_NUMTHANKEDLIKED%%
Joined: Dec 2013
It works great. Thank you, Gintaras!!
Posts: 12,302
Threads: 144
%%TYL_NUMTHANKEDLIKED%%
Joined: Dec 2002
Quote:Next QM probably will have an option to use this synchronization method as default.
I forgot about RtOptions. Put this code in function init2 or in some other function that runs at QM startup. It makes opt keysync 2 default. Don't need in exe.
RTOPTIONS x
x.opt_macro_function.keysync=2
x.opt_autotext.keysync=2
x.opt_menu_toolbar.keysync=2
RtOptions 64 x
Posts: 197
Threads: 60
%%TYL_NUMTHANKEDLIKED%%
Joined: Dec 2013
Oh, interesting. Will this affect my other existing macros that are not inside Sandboxie?
Posts: 12,302
Threads: 144
%%TYL_NUMTHANKEDLIKED%%
Joined: Dec 2002
Posts: 197
Threads: 60
%%TYL_NUMTHANKEDLIKED%%
Joined: Dec 2013
Sorry for my dumb reply. I meant to ask - will this change break any of my existing macros?
Posts: 12,302
Threads: 144
%%TYL_NUMTHANKEDLIKED%%
Joined: Dec 2002
Possibly. Unlikely. But if you have many macros, some of them possibly will become less reliable.
Posts: 197
Threads: 60
%%TYL_NUMTHANKEDLIKED%%
Joined: Dec 2013