02-02-2021, 11:12 PM
(This post was last modified: 02-02-2021, 11:15 PM by Remotehorst23.)
For my Siri Remote Control (https://www.quickmacros.com/forum/showth...p?tid=7062) to work properly,
I need to be able to start QM and Python before the user login.
I already googled a lot but can't get this part to work, except when I log off after being logged in so all the programs already run.
Some suggested to use the system Autostart folder which I did, but it seems to start the programs after login and not before.
Maybe its only Python that doesnt want to start, because QM is a Service and as far as i know they should start before logging in?
I also used Task Scheduler to start the Programs on System Start but that also didnt solve the problem.
Can i somehow let QM start Python after booting and in the login screen?
If so it would be super cool if someone can tell me how.
Please also tell me how to start a specific python script directly after launching pyhton.
And do you think i need the cmd to be started too if i launch a .bat with that python script?
(Python reads my Gmail Notes and then trigger .bat files who launches the macros)
I hope to explain it good enough. All that should happen before the first user logs in after booting.
The actual problem with QM is, that my login macro should send a message via telegram when logged in.
I guess, for this to work as intended i would need this "Macro unlock Windows" function to behave different.
If I choose "If computer locked" it doesn't allow me to run the macro in Background. It always activates "Don't run in background" too.
That means if the log in via macro was successful, it stops the macro because of that and doesn't finish the task to say hello in telegram.
Probably there is an easy way to fix this with a second macro or so, but I don't know how to set it up.
When logged in, the Remotecontrol with Siri works pretty well and its super useful. I can only recommend to try it yourself!
I need to be able to start QM and Python before the user login.
I already googled a lot but can't get this part to work, except when I log off after being logged in so all the programs already run.
Some suggested to use the system Autostart folder which I did, but it seems to start the programs after login and not before.
Maybe its only Python that doesnt want to start, because QM is a Service and as far as i know they should start before logging in?
I also used Task Scheduler to start the Programs on System Start but that also didnt solve the problem.
Can i somehow let QM start Python after booting and in the login screen?
If so it would be super cool if someone can tell me how.
Please also tell me how to start a specific python script directly after launching pyhton.
And do you think i need the cmd to be started too if i launch a .bat with that python script?
(Python reads my Gmail Notes and then trigger .bat files who launches the macros)
I hope to explain it good enough. All that should happen before the first user logs in after booting.
The actual problem with QM is, that my login macro should send a message via telegram when logged in.
out "start"
opt slowkeys 1; spe 100
key (44) ;; DRUCK
opt slowkeys 0
run "C:\Users\username\AppData\Roaming\Telegram Desktop\Telegram.exe"
wait 5
key Z ;; ESC
wait 0.2
key telechannel ;; H 2 6 4 G UMSCHALT+O
wait 0.2
key D ;; NACH-UNTEN
wait 0.2
key Y ;; EINGABE
wait 0.2
key loggedVinY ;; L O G G E D LEER I N EINGABE
wait 0.2
min "Telegram"
end
I guess, for this to work as intended i would need this "Macro unlock Windows" function to behave different.
If I choose "If computer locked" it doesn't allow me to run the macro in Background. It always activates "Don't run in background" too.
That means if the log in via macro was successful, it stops the macro because of that and doesn't finish the task to say hello in telegram.
Probably there is an easy way to fix this with a second macro or so, but I don't know how to set it up.
When logged in, the Remotecontrol with Siri works pretty well and its super useful. I can only recommend to try it yourself!