rossnixon Posted July 21, 2005 Share Posted July 21, 2005 Here is part of an old v2 script which does not convert to v3 correctly with the supplied convertor. I haven't included the whole script, but think that the error is in here. ;Find & delete multiple occurrences of 6 lines that start with 'contrast' myloop: Send, !SF contrast{ENTER} IfWinActive, Notepad,, Goto, finished Send, {ESC}{HOME}{SHIFTDOWN}{DOWN 6}{SHIFTUP}{DEL} Goto, myloop How is that best written in v3? Thanks, Ross Link to comment Share on other sites More sharing options...
GaryFrost Posted July 21, 2005 Share Posted July 21, 2005 (edited) While 1 Send, !SF contrast{ENTER} If WinActive("Notepad") then ExitLoop Send, {ESC}{HOME}{SHIFTDOWN}{DOWN 6}{SHIFTUP}{DEL} WEnd Edited July 21, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
buzz44 Posted July 21, 2005 Share Posted July 21, 2005 I think Gary means... :"> While 1 Send("!SF contrast{ENTER}") If WinActive("Notepad") then ExitLoop Send("{ESC}{HOME}{SHIFTDOWN}{DOWN 6}{SHIFTUP}{DEL}") WEnd qq Link to comment Share on other sites More sharing options...
GaryFrost Posted July 21, 2005 Share Posted July 21, 2005 Yep, forgot to convert that line, thanks Burrup. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. 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