botanic Posted January 11, 2007 Share Posted January 11, 2007 i need to make a hotkey that tells me what line im on however if i set a function it tells me the kine of the function... Link to comment Share on other sites More sharing options...
herewasplato Posted January 11, 2007 Share Posted January 11, 2007 Try adding a few traytips throughout your code. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
CoePSX Posted January 11, 2007 Share Posted January 11, 2007 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 More sharing options...
herewasplato Posted January 11, 2007 Share Posted January 11, 2007 ...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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now