jinbaba Posted September 29, 2008 Share Posted September 29, 2008 Hello Folks,I have a autoIt script that I want to run daily on my Windows Vista. I compiled my script to executable and added it to scheduler it invokes my executable(Visible in task manager) but nothing is performed by my script. My script automates GUI operations of some bittorrent clients. Any help?Thanx,JinBaba Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 29, 2008 Share Posted September 29, 2008 Hello Folks,I have a autoIt script that I want to run daily on my Windows Vista. I compiled my script to executable and added it to scheduler it invokes my executable(Visible in task manager) but nothing is performed by my script. My script automates GUI operations of some bittorrent clients. Any help?Thanx,JinBabaBy default, a scheduled task has no access to the desktop, so GUI functions don't work. I'm not sure how Vista controls granting interface to the desktop for a scheduled task. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
DW1 Posted September 29, 2008 Share Posted September 29, 2008 I think there is an interactive switch that allows the task to interact with the desktop though. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Anteaus Posted September 30, 2008 Share Posted September 30, 2008 Scheduled tasks can interact with the desktop if this option is ticked, BUT the desktop they interact with is that of the useraccount under which they run. (default is system) Thus to make this work you need to run the process under the user and password of the logged-on desktop. The danger here is that any change of logon or password will knock this out, so it's not a reliable arrangement. Best solution is to make the script run all the time, and 'schedule' itself. Link to comment Share on other sites More sharing options...
Zedna Posted September 30, 2008 Share Posted September 30, 2008 Look at my FAQ here:Â http://www.autoitscript.com/forum/index.ph...st&p=571221 Resources UDF Â ResourcesEx UDF Â AutoIt Forum Search Link to comment Share on other sites More sharing options...
chamach Posted November 14, 2008 Share Posted November 14, 2008 (edited) Hello,Finally, there is a way to make AutoIt3 to interact with the desktop, when the AutoIt3 script is run through a scheduled task : psexec.exe, a PSToolMy script sauvegarde-BIAR.au3 does a BIAR export (Business Object database) by running an application that cannot be automated through command-line parameters (what a shame !). AutoIt3 scripts do not interact with the desktop when they are run from a scheduled task and when another user is already connected. I just create a scheduled task that runs this ms-dos batch file :psexec -i -s "%~dp0autoit3.exe" "%~dp0sauvegarde-BIAR.au3"-i indicates that psexec as to run with destop interaction and -s means that the command is run on the system account. Both parameters are mandatory to make this to work, even with a locked session.PS : I do not have the opportunity to test the scheduled task with no session opened, but the should work to.PPS : You have to run psexec.exe from a command-line once, because there is a EULA to accept. Edited November 14, 2008 by chamach Cervélo Soloist 2004 & Cervélo P3C 2007 Link to comment Share on other sites More sharing options...
dbzfanatic Posted November 14, 2008 Share Posted November 14, 2008 Try my TaskScheduler UDF. There are two versions, one written by me and one not. Use whichever you'd like. The link is in my signature. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
chamach Posted November 17, 2008 Share Posted November 17, 2008 Try my TaskScheduler UDF. There are two versions, one written by me and one not. Use whichever you'd like. The link is in my signature.Apart from telling that you can write a script, you did not say anything useful for anybody since the answer is in the previous message. Cervélo Soloist 2004 & Cervélo P3C 2007 Link to comment Share on other sites More sharing options...
bluechipps Posted December 23, 2008 Share Posted December 23, 2008 (edited) Apart from telling that you can write a script, you did not say anything useful for anybody since the answer is in the previous message. apart from telling you that you are a dick, i found both yours and dbzfanatic's posts to be extremely helpful as will others im sure. thanks Edited December 23, 2008 by bluechipps Link to comment Share on other sites More sharing options...
wosteen Posted February 12, 2009 Share Posted February 12, 2009 PPS : You have to run psexec.exe from a command-line once, because there is a EULA to accept.Just to add a note, you can add the /accepteula command to PSEXEC to bypass the EULA screen. Link to comment Share on other sites More sharing options...
AutoitExplorer Posted March 22, 2010 Share Posted March 22, 2010 Hi, I am new to autoit and trying to automate the GUI operation of bittorrent client. Can you help me?Hello Folks,I have a autoIt script that I want to run daily on my Windows Vista. I compiled my script to executable and added it to scheduler it invokes my executable(Visible in task manager) but nothing is performed by my script. My script automates GUI operations of some bittorrent clients. Any help?Thanx,JinBaba Link to comment Share on other sites More sharing options...
PsaltyDS Posted March 22, 2010 Share Posted March 22, 2010 Hi, I am new to autoit and trying to automate the GUI operation of bittorrent client. Can you help me?Don't hijack existing topics.Don't resurrect old topics.Start your own topic for your issue. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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