Jump to content

Phlegm

Active Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by Phlegm

  1. This works.... ControlFocus("NextGen", "&Yes", "6") ControlClick("NextGen", "", "[iD:6]") Thanks all....
  2. I was told the Control function will work even if the pc is at teh CTL ALT DEl id this correct? Thanks
  3. Darn, These did not work. I think need to add command to make the window active: ControlFocus("NextGen", "Your computer must be restarted to complete the update. Restart now?", "65535") ControlSend("NextGen", "Your computer must be restarted to complete the update. Restart now?", "65535", "{!Y}") Still doen't work any sugestions?
  4. I have a window I need to send an ENTER key to finsih an install. I need to do this while the PC is not logged in (the PC will be at the CTL ALT DEL screen) The Autoit v3 Window info shows the following: Title: NexGen Class: #32770 Under the Control Tab Class: Static Text: "Your computer must be.." ID: 65535 Under the Window Tab Title: NextGen Class: #32770 I have this as the command ControlSend("NextGen", "Your computer must be restarted to complete the update. Restart now?", "65535", "{ENTER}") Please let me know what I'm missing... Thanks
  5. Quick question on BlockInput: Does the "Blockinput" function block all inputs from the keyboard and mouse? "Clt Alt Del", windows key, Mouse clicks, wheel scrolls ect?? Just want to make sure. Thanks
  6. I have a script I need to run using Altiris. I noticed in the script it's looking for window titles. If the PC is at the CTL-ALT-Del screen I don't think the script will run. Am I right? Is there a way around this? Thanks
  7. Okay I understand. Is there a special "WinNet_UseConnection" for ID and Password when trying to map a drive? I think I need a #Include <WinNet.au3> to make it work too. Any helpful tips or insight on this for me? Thanks
  8. Thanks for pointing me to the Youtube Tutorials. I found them , for me at least, more helpful than some of the other documentations. I have a question: On my little excersise I want to create a GUI for a user to enter an IP address or a share name and use it to map a drive. I noticed I can use GUICtrlCreateLabel or GUICtrlCreateInput to create an input box for the information to be used later to map a drive. Please tell me which one I should use and what the diffrences are or perhaps there is a better way. thanks
  9. Why yes I am, hopefully not for long. Never even thought about checking YouTube for tutorials thanks!
  10. Ahh so I need another command to "read" the $addres ($strAddr = GuiCtrlRead($Address)) What is "$straddr"? Is this made up or there some where I readup on it?
  11. This is my first attempt at scripting; I have used Autoit in the past to automate settings and installing programs. But now I want to try to use Autoit to create a GUI to create a user interface for a user to map a drive. This should be an easy enough exercise and a good way to start learning. So I was able to create a GUI interface using KODA. I read thru some of the tutorials and have general idea of how things work but have no clue as to how to use or implement any of it. So if you all could be so kind as to comment on how to accomplish this. First off I do not understand how to take input from a user and use it to map a drive or access a share, I understand that you have to first declare a variable like $address to represent the user‘s input. But where do you put it in the script to start mapping the drive? Is there a proper format? Do you use something like “net use Y: \\$address\” ? or do you use DriveMapAdd (“Y:\\$address, 0, “domain\$username”, “password”? I know these are a lot of basic question but I would like to know how to correctly write using Autoit. Also, I see stuff indented in the scripts is there rules to follow on when to do this? Thanks for your patient on this. test Logon.au3
  12. Thanks, So compile, Deploy, and Go..... nothing to install first. Thanks
  13. Quick question, On a PC that has never had Autoit installed or anything using Autoit scrips or Exe. What Autoit files and setting are required to run a script? Any needed to run a Exe? If I want to deploy the shell out, what would be the bare minimum I need to run any Autoit Script or EXE? Thanks P.S. Can Autoit create and or modify a XLM file? Thanks again
  14. Thanks, Looks like file install is good for a few files. And I think the winrar may be the way for directories or a larger amount of files since it looks like I need to create folders and call individual files out. Is this a correct assesment? Thanks again.
  15. Thanks but I was looking to include files into the EXE package so I have them to copy/replace/register ect. without calling out to a source since some deploys the end user may not have access to the network. Any suggestions? Thanks
  16. I there a way to add files to the compiled exe so that I have a script and the file in one exe? I don't see an option in the compiler. Perhaps there is another program to do this? Thanks
  17. That's it thanks!
  18. I seem to remember a utility for sample GUIs does anyone know where I can get it again? There's a picture of it on the home page. Thanks
  19. Okay I found out what the problem was. It seems Autoit script renames the file too quickly and moves on. So I change the type speed and added some sleep time. Now it runs more smoothly. Thanks
  20. My script renames a file but it will not "take" until the window is refreshed. Is there a comnand there to do this? F5 doesn't seem to be available. The script hangs until it does refresh to take the new name. Thanks
  21. Thanks, I tried it but it still doesn't work. I think it's the ( symbol in the password may be causing the problem any ideas? Thanks again I also tried the ControlSend command with no luck.
  22. I have problems sending passwords with special characters like @-($!% ect. I've tried the send keys command and the Control send commandsit fails. If I type it in or if I cut and paste it in from notepad it works fine. What gives? Thanks
  23. Thanks, I see there's a @ComputerName in the macro section that will help if I can get the computer name and use it like %computername%\administrator to populate a runas window. So how can I use @ComputerName to insert it into %computername%\administrator?. Thanks for help a newbie on this.
  24. Is there a @ or a % OSLang value for the default Local administrator account? Thanks
  25. I do not know how you did that, but it is slick! Thanks so much!
×
×
  • Create New...