HI,
i am trying to use the 'Unlock Computer' feature under Macro Properties:
- i select the checkbox "if computer locked, temporarily unlock" and then click "How" button but nothing happens.
no window opens when i click the How button. As a result, i could not set specific settings to use this feature.
Any idea why is this happening or what should i do? am i missing something?
should i re-install or what?
Try this: Open qm folder and run qmtul.exe.
It must show dialog 'Temporarily Unlock Computer'.
EDITED:
It is a bug in QM 2.3.2. On some XP computers does not show the dialog. Will be fixed in next version.
Or download new qmtul.exe and move to QM folder, replacing the old version.
thanks a lot for the reply.
im still not able to show the window.. anyway i got it to work on another computer but now im facing another problem.
I dont know how to use this feature.
Everytime the pc is locked i find an error written to the QM console:"My macro cannot run on non-interactive desktop".
i need to use this Unlock computer feature but i just can't get it to work.
Any idea what im missing?
Quote:im still not able to show the window.. anyway i got it to work on another computer
The 'Temporarily Unlock Computer' dialog should work on all computers. It is just a simple program (qmtul.exe) that shows the dialog. The 'How' button simply launches the program.
What is Windows version on the computer where the dialog does not work?
Also, is it 32 or 64 bit?
Also, is it Administrator or User?
__________________________________
Quote:but now im facing another problem.
I dont know how to use this feature.
Everytime the pc is locked i find an error written to the QM console:"My macro cannot run on non-interactive desktop".
i need to use this Unlock computer feature but i just can't get it to work.
Any idea what im missing?
QM failed to unlock computer.
Possible reasons:
Incorrect keys or other settings specified in 'Temporarily Unlock Computer' dialog.
Try to use Logging to find the reason. Post log file contents here.
<10/15 14:50:00> Started.
<10/15 14:50:05> Finished.
--------------------------------------------------
I attached a screenshot of my settings in the unlock feature window.
Am i doing something wrong?
I am using Windows XP 32-bit / Administrator
Please bear with me as i am a beginner with QM and using the unlock feature is essential for my macro to do what it's intended for.
The log file shows that unlocking fails for an unknown reason.
I reviewed QM unlocking code. In all places when it fails, it logs error message. But your log does not contain errors.
What is your QM version?
if there is a workaround i would be happy to know it.
like some code i can place in my macro itself that can perform the same task (i.e. unlocks the pc)?
moaly Wrote:if there is a workaround i would be happy to know it.
like some code i can place in my macro itself that can perform the same task (i.e. unlocks the pc)?
so what should i do now?
without this feature, my macro is useless. it is one of the most essential features i bought QM for to be honest.
Appreciate if you can assist me.
It works on all computers and OS that I tested. It is difficult to debug when I don't have a computer where it does not work.
But we can try to debug. As I wrote in previous post. If you want to test, and have time.
i am ready!
and hopefully my programming skills would help..
please send me the file and let me know if you want to take this conversation somewhere else other than the forum
and if we reached a solution we can post it here later on hopefully..
It is possible that QM fails to decrypt password.
Try to erase Password field in the dialog.
Then let the macro run (when PC is locked).
Then look at the log file. Does it contain some new info?
1. Windows 2000/XP, when shows dialog with user name and password fields:
Au (USERNAME) Ap (PASSWORD) Y
2. Windows XP, welcome screen, when initially shows password field:
(PASSWORD) Y
3. Windows XP, welcome screen, when initially does not show password field. Examples for user 1, 2 and 3:
TT (PASSWORD) Y
TTD (PASSWORD) Y
TTDD (PASSWORD) Y
4. Windows Vista/7. Examples for user 1, 2 and 3:
V (0.5) B (PASSWORD) Y
R V (0.5) B (PASSWORD) Y
RR V (0.5) B (PASSWORD) Y
5. Windows Vista/7, when initially shows password field:
(PASSWORD) Y
now when i try to run the code you gave me:
the macro does not run at all...
give me this error in the console window: "Warning: Macro cannot run on non-interactive desktop."
i think there is something wrong with qmtul.exe module..
now when i click How button or try to run qmtul.exe, it doesnt run and doesn't show the "Unlock" window in QM...
moaly Wrote:now when i try to run the code you gave me:
the macro does not run at all...
give me this error in the console window: "Warning: Macro cannot run on non-interactive desktop."
This code does not run macros. It just locks and unlocks PC.
The error is probably from other macro. Temporarily disable its trigger.
okay i deleted all macros that i had in QM.
The problem now is the "Unlock Window" is not showing...when i click the How button, it doesnt do anything..so i could not set the username and password
for the code you gave me, I created a New Macro file and pasted it there. tried to run it. it only locks the pc but doesnt unlock.
I don't know what's wrong, the unlock settings window does not show in QM...thats a problem now..
function event pid pidparent $name ;event: 1 started, 2 ended, 4 running out"%i %i %s %i" event pid name timeGetTime
Create this function. Paste the trigger ($p 0x3 "") in the Trigger field on the toolbar.
It shows started and ended processes.
Does it show qmtul (in QM output pane) when you run it (press How, or from Explorer)?
Post here everything that is in QM output pane.
i didnt change anything..i even deinstalled and reinstalled...
i ran the macro you just gave me..nothing changed..
still unable to open the Unlock window..
I can't believe. The program simply shows dialog (calls DialogBoxParam). Such code never fails.
Like something automatically closes the dialog. Other QM macro or other macro program.
Today I don't have more ideas. Tomorrow will post qmtul.exe for debugging.