Sign in to follow this  
Followers 0
Tinkerz

'wake pc and run autoit script'

12 posts in this topic

I am not by any means an expert on PC's but it looks like autoit is the best scripting tool for running macro's

What is the best way to wake a PC and run the tiny script I have written?

Thanks

Tinkerz

 

Share this post


Link to post
Share on other sites



Hi, not sure, maybe "Send" key, to wake it up, run script...


Spoiler

Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

 

Share this post


Link to post
Share on other sites

I am not sure, either send the PC to sleep or hibernate, wake it at a certain time and run .exe file, what do most people do?

Share this post


Link to post
Share on other sites

I am using the ms taskscheduler to wake the PC, but script needs to delay a bit so the sleep function can work through the process,

Looking at the help menu I can find a pause script or wait command.

Any help please

Share this post


Link to post
Share on other sites

I am using the ms taskscheduler to wake the PC, but script needs to delay a bit so the sleep function can work through the process,

Looking at the help menu I can find a pause script or wait command.

Any help please

 

Guess you meant you can't find it?

Look for sleep()

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

hi Tinkerz

do you wake up the PC from an ibernation or sleep state with taskscheduler?

please, show how do you do it?

or maybe, if you want to wake your powered off PC via LAN card, then have a look here:

bye

Edited by Pincopanco

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites

But I cant get it to work, the pc wakes from sleep but the screens dont turn on so I cant see if the code runs properly

The script runs when I double click it, but when i run as a task, it starts, but produces an error.

Has any one else been succesful with Ms task scheduler?

Share this post


Link to post
Share on other sites

 

if I'm not wrong, this link explains how to run a program when a user performs a logon, and not how to wake the PC from hibernation.

Also, you say that the PC wakes up, but the monitor remains black?? how do you know that the PC is awake when the monitor is black? maybe you hear the hum of fans or see flashing LEDs on the computer??

I'm unclear on your question.


small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites

Sugestion: in the script you send the up arrow, set a sleep with 60000, and then have the second script in this one, the first. no need for 2 scripts to something like that.

Send("{UP}")
Sleep(60000)
;Second script here.

:thumbsup:


Spoiler

Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0