Jump to content

Recommended Posts

  • Moderators
Posted (edited)

[sarcasim]SciTe + F5 or Alt+F5 [/sarcasim]:whistle:

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

[sarcasim]SciTe + F5 or Alt+F5 [/sarcasim]:whistle:

Funny, now that i read what i wrote i deserve that. I meant more like after one line of code happens the script halts, hit a button it reads the next line of code. I am trying to hook a control and i wanted to see where the cursor ends up at before text goes in it. I mean i could just make a giant comment block for everything after that, but...

Posted

Funny, now that i read what i wrote i deserve that. I meant more like after one line of code happens the script halts, hit a button it reads the next line of code. I am trying to hook a control and i wanted to see where the cursor ends up at before text goes in it. I mean i could just make a giant comment block for everything after that, but...

Sure, do this

;Code Line 1
Sleep(5000)
;Code Line 2
Sleep(5000)
;Code Line 3
Sleep(5000)
;Code Line 4
Sleep(5000)
;Code Line 5
Sleep(5000)
Posted

...i wanted to see where the cursor ends up at before text goes in it...

I would put an "exit" right above the code sending the text you mentioned

-or-

slow the script down using AutoItSetOption settings for WinWaitDelay and SendKeyDelay

[size="1"][font="Arial"].[u].[/u][/font][/size]

Posted

he means like an debugger kan step tru the code, nice idea.

*If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip...
Posted

well there is no buildin compiler option as far as i know

so maby you can post the idea in ideas to together with a option to watch your variables :whistle:

*If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip...
Posted

A debugger would be hard to make, because each script needs it's own special way of debugging, and you'll have to make the script know how to edit the code to make like a tooltip ot msgbox catch each variable and display it to use it as a debugger

as far as i know, debuggers are too individual to write a script to automate

Posted

thats not what i mean.

its another way of compiling.

it compiles the script first

the runs line 1

waits for you to press a button

and goes to the next

and so on

meanwhile you can see the values of all the variables (displays NULL if its not made yet, but is being used in the code)

sort of debug mode.

this would be really handy to find bugs.

*If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip...
Posted

lol, thanks for the link. i think thats just whats needed XD

*If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip...

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...