Jump to content

roodbwoy

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Location
    The Netherlands

roodbwoy's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. l used aut2exe that was not the problem.. the problem was that I uploaded it to my webserver and forgot that I installed a utility which disabled the executables uploaded which leaves my friend downloading a 0 byte exe :-/ silly me
  2. Hey all! it's me again! the lazy sysadmin, this time at home ;-) anyways, I am really intreeged by AutoIt and I am playing around with it, only have some exprience in Kix32 but I managed to made a bot for Castle Defender Game by reading through the help file, forums and learning from other sourcecodes... ofcourse I want to show it of to friends so I compiled the script to an executable and send it to my friend but unfortantly he get's an error message that the executable is not W32 compatible or something like that :-P here's the code Global $Pause HotKeySet("{PAUSE}", "TogglePause") HotKeySet("{ESC}", "Quit") While 1 $coord = PixelSearch(315, 492, 620, 621, 0x001300) If IsArray($coord) = 1 Then MouseMove($coord[0], $coord[1], 0) MouseClickDrag('left', $coord[0], $coord[1], 370, 240) sleep(1100) EndIf WEnd Func TogglePause() $Pause = NOT $Pause While $Pause sleep(100) ToolTip('paused',0,0) WEnd ToolTip("") EndFunc Func Quit() Exit 0 EndFunc is there something I need to include so people without autoit can run it?
  3. gracias senor
  4. Goodmorning! #1 Last night I wrote a bunch of scripts which install various applications automated. The programs that don't need any reboot work fine except the ones that need a reboot like ASNA AS/400 Client Express. This program needs to reboot after the first initial instal, then installs a update, needs to reboot again and then install another update. I fixed this problem by dividing the installation in 3 scripts. when script 1 ends (after the first installation) it places a shortcut in the startup folder to installation 2 for the first update en then the same for the second setup. I am not completly happy with this solution, is there a way to do this in an other (better, efficienter) way? #2 Is there a way to automate the windows update? The sequence of the update changes alot thanks in advance... your lazy sysadmin :-)
  5. Thanks alot BigDod, I'll look into it!
  6. Hi! I recently discovered this wonderfull scripting program and I have to say that I am having a blast with it! Now I have this idea and searched the forums for some answers but couldn't find any direct answers to my problem. I have automated a lot of program installers and combined them in a single executable, this makes me the lazy sysadmin that I am juts run the script at a users PC and go for some coffee and a smoke Now I have this idea, the installers work great the only downside is that he users where I install it see the installation screens on their screen and I want to fix that. Is it possible to make a screen/gui that hides those installation windows and only show some text + maybe even a progress bar... and is it possible to disable user keyboard/mouse input while the script is running? thanks in advance The lazy sysadmin... btw here is the source for the automated VNC installer that I use #cs ---------------------------------------------------------------------------- AutoIt Version: 3.1.1.0 Author: Erik Jan van de Wal Script Function: VNC Automated Install Script. #ce ---------------------------------------------------------------------------- ; Script Start ; Run the VNC installer Run("vnc-4_1_2-x86_win32.exe") ; Welcome Screen WinWaitActive("Setup - VNC") Send("!n") ; License Agreement WinWaitActive("Setup - VNC") Send("!a") Send("!n") ; Install Location WinWaitActive("Setup - VNC") Send("!n") ; Components to install WinWaitActive("Setup - VNC") Send("!n") ; Folder Creation WinWaitActive("Setup - VNC") Send("!n") ; Icons Etcetera WinWaitActive("Setup - VNC") Send("!n") ; Start Install WinWaitActive("Setup - VNC") Send("!i") ; Configure WinWaitActive("VNC Server Properties (Service-Mode)") Send("{Tab}") Send("{ENTER}") Send("password") Send("{Tab}") Send("password") Send("{ENTER}") Send("{Tab}") Send("{Tab}") Send("{ENTER}") ; Summary WinActivate("Setup - VNC") Send("!n") ; Finish WinWaitActive("Setup - VNC") Send("!f") Exit
×
×
  • Create New...