Jump to content

hetkey help


botanic
 Share

Recommended Posts

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

Global $iNowLine

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

; 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 comment
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
TrayInfo(3)
WinWait("my window", "", 2)
TrayInfo(5)
WinWait("my window", "text", 2)
TrayInfo(7)
Sleep(3000)
TrayTip("", "", 1)
Sleep(30000)

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

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

Link to comment
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
 Share

  • Recently Browsing   0 members

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