sarcasteak Posted December 21, 2009 Share Posted December 21, 2009 (edited) Hi, so I am new to using AutoIt but I have some experience in using other programming languages, mostly Java. I am looking for a way to run a program on another computer by executing it on my computer. Ideally this would be done without being logged on to the secondary computer. I assume this would use TCP but I can't think of a way to do it. My computer would have the credentials to execute. I don't have much knowledge working with server/client setups or anything like that so I don't know if my thinking is flawed. Any ideas of what I should look into? Also, is there a way to simulate mouse clicks, etc. without being logged into the computer? Edited December 21, 2009 by sarcasteak Link to comment Share on other sites More sharing options...
gcue Posted December 21, 2009 Share Posted December 21, 2009 try using psexec.exe (bundled with MS pstools). Link to comment Share on other sites More sharing options...
gcue Posted December 21, 2009 Share Posted December 21, 2009 also look at controlsend in the help file Link to comment Share on other sites More sharing options...
sarcasteak Posted December 21, 2009 Author Share Posted December 21, 2009 Thanks, I am checking this out, having some issues with permissions atm, keep ya updated. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted December 21, 2009 Share Posted December 21, 2009 also look at controlsend in the help fileI believe you mean ControlClick() .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
gcue Posted December 21, 2009 Share Posted December 21, 2009 oops thanks admiral Link to comment Share on other sites More sharing options...
sarcasteak Posted December 22, 2009 Author Share Posted December 22, 2009 Is the only difference between control click and mousedown is that you can assign it to a specific button? I created a script to create a text document. I then used psexec to call the script remotely, however it doesn't successfully execute (no txt file is created), is it even possible to simulate mouse clicks without being logged into the system? #region --- ScriptWriter generated code Start --- Opt("WinWaitDelay",100) Opt("WinTitleMatchMode",4) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) WinWait("Program Manager","FolderView") If Not WinActive("Program Manager","FolderView") Then WinActivate("Program Manager","FolderView") WinWaitActive("Program Manager","FolderView") MouseMove(1025,322) MouseDown("right") MouseUp("right") MouseMove(1075,472) sleep(1000) MouseMove(899,757) MouseDown("left") MouseUp("left") WinWait("Program Manager","New Text document.tx") If Not WinActive("Program Manager","New Text document.tx") Then WinActivate("Program Manager","New Text document.tx") WinWaitActive("Program Manager","New Text document.tx") Send("testau.txt{ENTER}") #endregion --- ScriptWriter generated code End --- 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