Jump to content

icecom3

Members
  • Posts

    9
  • Joined

  • Last visited

icecom3's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. FYI, as of windows 7, trying to make a registry entry that is initiated by anything other than the user clicking on a .bat or .reg file is difficult. Example, make a bat that launches REGEDIT /S and it will work. Now compile that bat to an exe (but change nothing in the script) and notice it will not work. Even if you make the exe call another .bat file which then calls REGEDIT /S...it still does not work. Many people are having this problem, as it relates to the added security in windows 7. Try "reg import [path to reg file]" instead of REGEDIT /S If that don't work, try running the .reg file that is being launched from the %temp% directory. Both of these are permissions friendly.
  2. its a screen minimizer that works on a few games, but mainly for Wolfenstein ET
  3. Yes, the script starts the application, it just does not run all of the key functions. Sometimes it will TAB TAB...but the ENTER will fail. Its different each time. ah...that makes sense. Well I added a batch file, at startup which points to the autoIT script, and I added a delay. That helps a lot but occasionally it still misses the whole TAB TAB ENTER. I figured that something related to the startup process is getting in the way, so delaying it a few seconds helped. I might just add more delay. #region ---Au3Recorder generated code Start (v3.3.7.0) --- #region --- Internal functions Au3Recorder Start --- Func _Au3RecordSetup() Opt('WinWaitDelay',100) Opt('WinDetectHiddenText',1) Opt('MouseCoordMode',0) EndFunc Func _WinWaitActivate($title,$text,$timeout=0) WinWait($title,$text,$timeout) If Not WinActive($title,$text) Then WinActivate($title,$text) WinWaitActive($title,$text,$timeout) EndFunc _AU3RecordSetup() #endregion --- Internal functions Au3Recorder End --- Run('C:Program FilesETWCetwc.exe') _WinWaitActivate("ETWC","") Send("{TAB}{TAB}{ENTER}") #endregion --- Au3Recorder generated code End ---
  4. I'm a bit noob at this autoIT biz so I apologize in advance. I have a small script compiled into an exe. It works and does what it is supposed to (which is tab a couple times and press enter). However I need this file to launch at startup (in windows startup folder) . The file does start after booting...but the program opens and the script does not seem to perform the TAB-TAB-ENTER task. It just sits there. Is there a service that autoIT is dependent upon, which perhaps has not loaded before the startup folder? Also, this is a really noob question but... Does anything AutoIT related need to be installed for compiled exes to run on other computers. I ask because this file will be going on several computers.
  5. that seems to work thanks:) oh one last quick question... how do I add the copyright,internal name, description...etc when i compile ? does it go in script?
  6. im not sure but I think my av is attacking this file I compiled. When I launch it, avg says that it is a threat. I assume this is a false alert?
  7. umm...wait on that. It seems to compile x86 like every 3rd try...so weird
  8. dang that was easy. thanks. the script now runs, but now when I try to compile x86 it will not. is that because im on a 64bit os? I am assuming that the "compile x86" option makes a 32bit binary?
  9. Please, I am a noob at this autoit stuff, apologies... I am trying to make a simple autoit script/exe It simply records a few key strokes when using an application. I am getting an error... I'm using Windows 7 SP1 64bit AU3Record 3.3 CompileScript to exe (x86) Once compiled I run the .exe and get this... Line 13 (file "c:pathfile"): Error: Unknown function name. line 13 on my script shows only "WinWaitActive($title,$text,$timeout)" I should probably mention, the application being recorded is a hotkey application Are there steps I have to take to edit this before I compile it? scipt below... #region ---Au3Recorder generated code Start (v3.3.7.0) --- #region --- Internal functions Au3Recorder Start --- Func _Au3RecordSetup() Opt('WinWaitDelay',100) Opt('WinDetectHiddenText',1) Opt('MouseCoordMode',0) EndFunc Func _WinWaitActivate($title,$text,$timeout=0) WinWait($title,$text,$timeout) If Not WinActive($title,$text) Then WinActivate($title,$text) WinWaitActive($title,$text,$timeout) EndFunc AU3RecordSetup() #endregion --- Internal functions Au3Recorder End --- Run('C:etwc.exe') _WinWaitActivate("ETWC","&Enable Hotkey") Send("z{TAB}{LEFT}{LEFT}{TAB}{ENTER}") #endregion --- Au3Recorder generated code End ---
×
×
  • Create New...