Tinkerz Posted May 25, 2013 Share Posted May 25, 2013 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 Link to comment Share on other sites More sharing options...
careca Posted May 25, 2013 Share Posted May 25, 2013 Hi, not sure, maybe "Send" key, to wake it up, run script... Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. 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. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
Tinkerz Posted May 25, 2013 Author Share Posted May 25, 2013 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? Link to comment Share on other sites More sharing options...
Developers Jos Posted May 25, 2013 Developers Share Posted May 25, 2013 Something like this maybe: SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Tinkerz Posted May 25, 2013 Author Share Posted May 25, 2013 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 Link to comment Share on other sites More sharing options...
Developers Jos Posted May 25, 2013 Developers Share Posted May 25, 2013 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 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Gianni Posted May 25, 2013 Share Posted May 25, 2013 (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 May 25, 2013 by Pincopanco Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
Tinkerz Posted May 25, 2013 Author Share Posted May 25, 2013 http://www.sevenforums.com/tutorials/67503-task-create-run-program-startup-log.html I just set it up from the instructions above Link to comment Share on other sites More sharing options...
Tinkerz Posted May 25, 2013 Author Share Posted May 25, 2013 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? Link to comment Share on other sites More sharing options...
Gianni Posted May 25, 2013 Share Posted May 25, 2013 http://www.sevenforums.com/tutorials/67503-task-create-run-program-startup-log.html I just set it up from the instructions above 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. Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
Tinkerz Posted May 26, 2013 Author Share Posted May 26, 2013 http://www.vistax64.com/tutorials/166809-task-scheduler-wake-up-computer.html Sorry it was this post. What I do is first run a trigger and a autoit script to press the up arrow, this wakes the PC and monitors in plentry of time to run my other script I set 1 min later Link to comment Share on other sites More sharing options...
careca Posted May 26, 2013 Share Posted May 26, 2013 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. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. 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. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now