Jump to content

Jmtyra

Active Members
  • Posts

    32
  • Joined

  • Last visited

Jmtyra's Achievements

Seeker

Seeker (1/7)

1

Reputation

  1. Gee, I don't think you should have either.
  2. Thank you! While I'm not the OP, I was looking for an answer to something similar like this. Appreciate it! =^.^= PS -- And who says no-one uses the forum 'search' function? ::grin::
  3. Ditto, works great. http://www.autoitscript.com/forum/index.php?showtopic=20546
  4. I'm currently using defs '9/20/2006 rev. 52' and it's not flagging AutoIt anymore. This is with SAV version 10
  5. Same here, "AutoItSC.bin" as a "Downloader", which I know is completely bogus. I'll be reporting this to Symantec as a false-positive...hopefully they can get their AV defs updated soon...
  6. Sorry, wrong thread. :"> (Guess I should quit browsing the forums while 1/2 asleep. )
  7. Impressive, even though I don't understand all the code.
  8. Heh, thought I'd run this for fun, results here: [3.2Ghz HT & 2GB DDR RAM]
  9. I'm still learning AutoIt myself, but this took me a bit and I hope I can save someone else the headache. Guess you could use it as a function and pass it the time as an argument if you'd like. Enjoy! Note: Should work ok, I ran a few 'tests' with different numbers and it seemed to work ok. ; timelimit is in seconds $Timelimit = 130 $Timeleft = $Timelimit Do ; if we've got more then 60s & less then 120s, then it's only 1 whole min left + sec(s) If $Timeleft > 60 And $Timeleft < 120 Then ; if it's a whole min, no sec If Int($Timeleft/60) = $Timeleft/60 Then ProgressOn("", "Installer Time Left...", Int($Timeleft/60) & " Minute", -1, -1, 1) ; if it's got trailing sec, *still* single whole min left Else ; if we've got single case sec If ($Timeleft - (Int($Timeleft/60) * 60)) <= 1 Then ProgressOn("", "Installer Time Left...", Int($Timeleft/60) & " Minute " & ($Timeleft - (Int($Timeleft/60) * 60)) & " Second", -1, -1, 1) ; or plural sec(s) Else ProgressOn("", "Installer Time Left...", Int($Timeleft/60) & " Minute " & ($Timeleft - (Int($Timeleft/60) * 60)) & " Seconds", -1, -1, 1) EndIf EndIf ; if we've got more then 1 whole min ElseIf $Timeleft > 60 Then ; checking for whole min only, no sec... If Int($Timeleft/60) = $Timeleft/60 Then ProgressOn("", "Installer Time Left...", Int($Timeleft/60) & " Minutes", -1, -1, 1) ; if we have multiple min & sec Else ; if we've got single case sec If ($Timeleft - (Int($Timeleft/60) * 60)) <= 1 Then ProgressOn("", "Installer Time Left...", Int($Timeleft/60) & " Minutes " & ($Timeleft - (Int($Timeleft/60) * 60)) & " Second", -1, -1, 1) ; or plural sec(s) Else ProgressOn("", "Installer Time Left...", Int($Timeleft/60) & " Minutes " & ($Timeleft - (Int($Timeleft/60) * 60)) & " Seconds", -1, -1, 1) EndIf EndIf ; if we've got less then 1 min, only sec left + we can just use the var now Else If $Timeleft <= 1 Then ProgressOn("", "Installer Time Left...", $Timeleft & " Second", -1, -1, 1) Else ProgressOn("", "Installer Time Left...", $Timeleft & " Seconds", -1, -1, 1) EndIf EndIf ProgressSet(($Timeleft / $Timelimit) * 100) Sleep(1000) $Timeleft = $Timeleft - 1 Until $Timeleft < 0 PS - I left the notes for logic flow
  10. There's a freeware command-line resolution changer: http://www.12noon.com/reschange.htm I've used it before, it's only 48kb, works good.
  11. Great links in here everyone, it has helped me a bunch to learn this COM structure. Thanks!
  12. LxP, You saved me as well! I was having issues running an Msiexec command to uninstall and then install some stuff, and this was the answer! :D Note to anyone who uses vars in their run command and has this issue, you may want to do the following, it worked wonders for me! $MsiExec = StringUpper(@WindowsDir) & "\SYSTEM32\MSIEXEC /I " $SMSPoint = "\\server\share\folder" Run($MsiExec & '"' & $SMSPoint & "\msi installer with spaces in the name.msi" & '"') Enjoy, and thanks! edit: heh, mistyped my example, lol
  13. Dude, that's pretty pimp. I don't do fishing on WoW myself, but still...very nice...
  14. Thanks SvenP, I'll check out those links and go from there.
×
×
  • Create New...