Jump to content

MattH

Members
  • Posts

    18
  • Joined

  • Last visited

MattH's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thank you for your help. I'll give the no compression a try and see if that improves the McAfee scan time.
  2. I'm sorry for my ignorance, but UPX does encryption, too? I thought it only compressed the file. In the AutoIt Help, it states that "the compiled script is compressed and encrypted".
  3. AutoIt3Wrapper automatically encrypts the compiled exe. The McAfee virus scan at my work spends about 30 seconds per file any time I view or copy or move one of these encrypted files. Is there a way to compile the au3 code without it being encrypted. Thanks in advance for your help.
  4. After I compile a script and open windows explorer to view or copy the exe to a new location, Windows XP hangs and the processor cpu jumps up to 100% with Windows Explorer as the highest running process. After about two minutes, the cpu drops back down and I'm able to view, copy, or run the exe. Also, I notice that it takes about 45 or 50 seconds for the autoit icon for the exe file to load. Is this because the exe is encrypted?
  5. Yes, the file is a .lnk. I knew that. What I'm asking is how do I make FileOpenDialog show C:\docs and set\user\desktop\file.lnk instead of where the file.lnk is pointing?
  6. I'm using FileOpenDialog to select some files, save them to a file. I'm using XP and when I select a shortcut or .lnk file using FileOpenDialog, it returns the path to the file that the link refers to. I want it to return the path to the lnk file and the lnk file name as it does for non-lnk files. Any suggestions?
  7. It works great. Thank you so much for your help.
  8. THanks. I'll give that code a try and let you know.
  9. Thanks, but I can't figure out how to use that to accomplish what I need. I'm trying to find the path to a file somewhere on the c drive. Is there a function or macro already built that will do that? Ideally, it would be something like FileFindPath("file name",[flag]) and the return would be an array containing all the directories in which that file was found. FileFindPath("test.txt") 0|3 1|c:\temp\ 2|c:\program files\gadget\ 3|c:\windows\ Like that.
  10. I can confirm the presence of a file using filefind but how can i determine which directory or folder it's in?
  11. I've tried changing that and I have tried not using it. Neither seem to make any difference.
  12. Just trying different things, I just closed Outlook and Yahoo chat, and I'm getting a winexists = 0. I reopened these two apps and still getting the 0. Could be timing, or one of them might be cashing wintitles for fun!
  13. If I go to new app, winexists, winactivate, etc. work fine. So, I plug in notepad again and it will fail. The wintitle is being held in memory somewhere.
  14. I can have notepad up, and it won't type hey. Also, I can close notepad, add $chk = winexists("Untitled - Notepad"), msgbox(0,"",$chk) to the script, run it, and I get a 1, meaning it found it. Log off and back on, run the same script and i get 0.
  15. It does it with any window, even notepad. I even try using the recorder, which is what produced the code below. #region --- ScriptWriter generated code Start --- Opt("WinWaitDelay",100) Opt("WinTitleMatchMode",4) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) WinWait("Untitled - Notepad","") If Not WinActive("Untitled - Notepad","") Then WinActivate("Untitled - Notepad","") WinWaitActive("Untitled - Notepad","") Send("hey") #endregion --- ScriptWriter generated code End ---
×
×
  • Create New...