Jump to content

Recommended Posts

HotKeySet ("{F2}", "WhatLine")

Global $iNowLine

Func WhatLine ()
  MsgBox (0, "DEBUG", "Now line is " & $iNowLine)

; Code starts here
$iNowLine = 10
WinWait ("my window", "")
$iNowLine = 12
WinSetTitle ("my window", "", "my new window")
$iNowLine = 14

[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

Link to post
Share on other sites

...and don't forget about Opt("TrayIconDebug", 1)

Run this code and mouse over the AutoIt icon once the traytips stop:

Opt("TrayIconDebug", 1)
; Code starts here
WinWait("my window", "", 2)
WinWait("my window", "text", 2)
TrayTip("", "", 1)

Func TrayInfo($info)
    TrayTip("", "Line " & $info, 3)
EndFunc   ;==>TrayInfo


Link to post
Share on other sites

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