Jump to content

Recommended Posts

Posted

I have a ~1000 line script. Everything is working just great. Once the last line if executed, the AutoIt tray icon disappears and right after the CPU usage rise to 100%. The process using the 100% CPU is AutoIt.exe. Please note that during the run, the CPU usage is 20% or even less.

How come? My script is over!

10x

Posted

I dont' seem to get autoIt to use over 10% CPU when I try, unless I accidentally loop my functions. Only the one script? I have tried to reproduce it on my comp while watching my CPU usage, but nothing wierd happens like that.

AutoIt3, the MACGYVER Pocket Knife for computers.

Posted

ive get that sometimes when i loop a WinActive followed by WinGetPos with a sleep of 250, probley just my shitty computer tho...

and i cant view half the forums

Posted (edited)

HotKeySet ( "{f1}" ,"test")
For $i = 1 to 2
$i=1
Next

Func test()
exitloop
$pos = MouseGetPos()
msgbox(0, "x & y", $pos[0] & "," & $pos[1])
EndFunc

that little sucker right there will not exit. i have to get task manager to exit it.

it will complete the reported task but it will not exit. stays active in memory and stays there. so who knows if you have multiple loops running maybe they are not exiting to. just performing the task but not exiting.

Edited by beerman
Posted

HotKeySet ( "{f1}" ,"test")
For $i = 1 to 2
if $i = 3 then exitloop
$i=1
Next

Func test()
$i=3
$pos = MouseGetPos()
msgbox(0, "x & y", $pos[0] & "," & $pos[1])
EndFunc

yeah i figured it out with that unstable beta.

also found out that it won't allow a using of the function keys either as hotkeys.

so i went back to the previous

yes i found my folly in what i did wrong.

just a question for you john even tho you wanted to put a limiter on the hot key functions, 1-0 a-z. to stop key logger worries, but are you and why is there a limit on a single function keys. besides they aren't working in that unstable version i tried. well i was trying !{f1}

Posted (edited)

I'm having the same problem with {END}, {PAUSE}, etc.

-FunkyDo

EDIT: Also, Control+Pause only triggers {CTRLBREAK} and not ^{PAUSE}.

Edited by FunkyDo

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...