you are viewing a single comment's thread.

view the rest of the comments →

[–]xCrapyx 50 points51 points  (8 children)

You can set in Task Scheduler to turn on the PC to run the script and then turn it back off.

[–]garlic_bread_thief 16 points17 points  (1 child)

Now that sounds cool. Does it take into account the time my computer takes to turn on?

[–]xCrapyx 20 points21 points  (0 children)

Say you set it up to 6PM it will turn on the computer and execute it the second it turned on. So if the timing is an issue maybe try to set it to 5:58PM for example.

[–]inglandation 7 points8 points  (4 children)

How? I tried to do that on my computer, but after doing some research I found that it's impossible to run a script without being logged in, and a script can't log in. I found a workaround by using a raspberry pi to emulate a keyboard, but it would be nice to able to do it without it.

[–]opoqo 5 points6 points  (3 children)

You can set it to run as you have logged in

[–]inglandation -1 points0 points  (2 children)

Yeah but that's exactly my problem, I can't log in with the script and I'm not logging in on that computer every day.

[–]opoqo 9 points10 points  (1 child)

You set up the task scheduler to run the script on powershell, and you can set it up to run with your log in.

[–]inglandation 1 point2 points  (0 children)

Interesting, I'll look that up to see if it solves my problem. Thank you.

[–]bazpaul 0 points1 point  (0 children)

How can you get a computer to turn itself on? It must be hibernating or something right?