
autoguy100
Active Members-
Posts
24 -
Joined
-
Last visited
Everything posted by autoguy100
-
Script won't run when not logged in
autoguy100 replied to banging's topic in AutoIt General Help and Support
Autoit needs console for executing the script, I had same problem. I changed the remote host to autologin mode then through psexec i am able to execute the scripts in windows 2003 and windows xp machine. http://support.microsoft.com/kb/315231 - Details to setup autologin. -
PSEXEC Using Local Service account in XP SP2
autoguy100 replied to autoguy100's topic in AutoIt General Help and Support
I am trying to execute the Autoit scripts in remote PC without physically logging to PC. -
PSEXEC Using Local Service account in XP SP2
autoguy100 replied to autoguy100's topic in AutoIt General Help and Support
Thanks for the info, I tried all comibinations. For Ex: If i execute CMD in remote PC and in the dos promt if run SET command the profile point to Local service because of this my filemove, filecopy to shared drive does not work. -
Hi, I am using PSEXEC to excute the Auto IT scripts in Remote PC, PSEXEC is using Local Service profile to execute the scripts in remote PC, I would like to Use Administrator account instead of Local Service account FYI: Local Service and Network Service is hidden profile in XP SP2 and 2003 Note : I tried using -s and -u -p option in PSEXEC. Any help would be great.
-
Unless the console is open the script will not run, you can change to Autologon in remote PC, then your scripts will run.
-
Just Wondering About Remote Connections
autoguy100 replied to iHonda's topic in AutoIt General Help and Support
One important issue to not while executing Autoit scripts remotely, The remote PC should be logged ie console should be running or the remote PC should in autologin mode, otherwise your scripts will not be executed. -
I have used PSEXEC tools to execute, If i execute mstsc.exe /console and if the console is open the PSEXEC executes the script in remote machine. Otherwise the scripts fails. I have admin account in remote PC.
-
Script Running On Remote Desktop
autoguy100 replied to schnikies79's topic in AutoIt General Help and Support
Win_ functions are important since since winactive or winactivate are important to get focus of window. -
I want to execute my autoit executable scripts in remote PC.
-
Hi, I am trying to execute the script in remote PC without logon to PC. Please let me know how can i attach a process to console since without console is open the scripts does not execute the remote PC.
-
Scheduler does not work, it needs active console for executing autoit scripts.
-
Script Running On Remote Desktop
autoguy100 replied to schnikies79's topic in AutoIt General Help and Support
Auto IT does not execute the scripts remotely, the console needs to open for execution. If you check my post by my username : autoguy100 you can see my post. This is something Autoit can include in next version. Note: Remote execution is possible if you set Autologon, but i don't want to do that because of security issue. -
Hello Guys, Is it possible to autoit execute scripts in remote PC without logging to remote PC? With out console it fails, any solution for this problem? Thanks for your help. regards Nazeer.A
-
hi, I am trying to do the samething but the problem is unless console is open the scripts fail to run, Do you think Controls commands can be used always in the scripts? For example this script can not be changed with control commands Run("notepad.exe") WinWaitActive("Untitled - Notepad") Send("This is some text.") WinClose("Untitled - Notepad") WinWaitActive("Notepad", "The text in the Untitled file has changed") Send("!y") WinWaitActive("Save As","") send("simple.txt") send("!s") Let me know if you have any other thoughts on this.
-
Runasset Will Work In Xp Sp2 And 2003 Server?
autoguy100 replied to autoguy100's topic in AutoIt General Help and Support
RUNASSET does not work in BETA and in current version, I am trying to execute my Autoit script remotely and I used first line in my script as RUNASSET. runas("comp1", "RU","AUTOIT123") Run("notepad.exe") WinWaitActive("Untitled - Notepad") Send("This is some text.") WinClose("Untitled - Notepad") WinWaitActive("Notepad", "The text in the Untitled file has changed") Send("!y") WinWaitActive("Save As","") send("simple.txt") send("!s") http://www.autoitscript.com/forum/index.ph...topic=25852&hl= -
Running Autoit Scripts Remotely
autoguy100 replied to autoguy100's topic in AutoIt General Help and Support
I used user name and password for remote PC Psexec -u <USER>, -p< Password> -i -d \\<HOSTNAME> Autoit script name I i don't use user name and password , i will get error process id will not be generated. -
Hi, I am trying to execute my AutoIT Script in remote PC without Logging to remote PC, The script does not execute unless i am logged in remote PC via RDP. Is there any way to overcome this problem. BTW i execute the scripts using PSEXEC from system internals. Attached Simple script which opens notepad, type some text and saves the text file. When I execute with the following command psexec i d \\<REMTORE PC NAME> <AUTOITSCRIPTS.exe> Along with this I tried MSTSC.exe /console. I see a process id generated for my script in remote PC, but it does not create the text file. The moment i log in remote desktop i see Just Notepad is open as per first step in my script. I am using WMIC to check process running in remote PC, I tried with WMIC same issue process id is generated but i don't see results. Note: I am to create script to RDP to remote PC, I am not able to get focus in remote PC while entering password. Attached Scripts. Need help on this issue. Run("notepad.exe") WinWaitActive("Untitled - Notepad") Send("This is some text.") WinClose("Untitled - Notepad") WinWaitActive("Notepad", "The text in the Untitled file has changed") Send("!y") WinWaitActive("Save As","") send("simple.txt") send("!s") I just created simple script to check so that i can execute other scripts.
-
Hi All, How i replace text in edit box, for example during installation, I would like to replace "c:\program files\XXX\XX" to "E"\\program files\XXX\XX". Help Please.
-
Hi All, I am currently developing script for our product install, the package is developed using install shield, I don't see shortcuts and I don't see Controls Under Mouse like Size: Control ID: ClassNameNN: Text: so I am not able to select the Radio button, enter username, password, port number and other details. please help how to proceed with this. Attached image of Install shield and AutoIT window Info.
-
Hi, How do i pass a date in the calendar window. Attached calendar window from my application. The following code is generated by Macro generator, Opt("WinTitleMatchMode", 4) WinWait("Defer To Date","Project") ControlClick("Defer To Date","Project","DTPicker20WndClass1") ControlClick("Defer To Date","Project","DTPicker20WndClass1") WinWait("classname=msvb_lib_monthview","") ControlClick("classname=msvb_lib_monthview","","msvb_lib_monthview0") WinWait("Defer To Date","Project") ControlClick("Defer To Date","Project","DTPicker20WndClass2") WinWait("classname=msvb_lib_monthview","") ControlClick("classname=msvb_lib_monthview","","msvb_lib_monthview0")
-
Hi, I am new to Autoit, why there is difference in scripts generated by AutoIT macro generator Vs Au3 recorder. Is there any recorder available in AutoIT to generate script in the following format as used in examples. Note: The scripts recorded using AutoIt Macro generator does not work in most of the situations. Any help is appreciated.java script:emoticon('', 'smid_24') ; ; AutoIt Version: 3.0 ; Language: English ; Platform: Win9x/NT ; Author: Jonathan Bennett ; ; Script Function: ; Plays with the calculator. ; ; Prompt the user to run the script - use a Yes/No prompt (4 - see help file) $answer = MsgBox(4, "AutoIt Example (English Only)", "This script will run the calculator and type in 2 x 4 x 8 x 16 and then quit. Run?") ; Check the user's answer to the prompt (see the help file for MsgBox return values) ; If "No" was clicked (7) then exit the script If $answer = 7 Then MsgBox(0, "AutoIt", "OK. Bye!") Exit EndIf ; Run the calculator Run("calc.exe") ; Wait for the calulator become active - it is titled "Calculator" on English systems WinWaitActive("Calculator") ; Now that the calc window is active type 2 x 4 x 8 x 16 ; Use AutoItSetOption to slow down the typing speed so we can see it AutoItSetOption("SendKeyDelay", 400) Send("2*4*8*16=") Sleep(2000) ; Now quit by sending a "close" request to the calc WinClose("Calculator") ; Now wait for calc to close before continuing WinWaitClose("Calculator") ; Finished!