Helge Posted January 11, 2006 Share Posted January 11, 2006 This is just some stuff I stumbled over while I was scripting this Christmas,and which I copied to a file....as I know jpm likes this kind of work.The three first are typos, the rest are direct comments by me.. have to go !Have a nice day !HWnd Example :- "Local $hWnd = WinGetHandle("Untitle - Notepad")"(Tip : You should also add a Sleep or a WinWait after Run)PixelSearch :- "Performing a search of a region can be time consuming,so use the smallest region you are able to reduce CPU load."Default :- "AutoIt will not detect such situation because too much performance penalty."GUICtrlGetHandle :- controlID is "optional".BitRotate :- shift is "optional".FileDelete :- Doesn't return 0 when failing to delete locked files.GUI Reference :- "Graphic" is missing in the list of supported controls in AutoIt._GUICtrlTabSetUnicodeFormat :- There's a graphical bug in the example, at the "label0". Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 11, 2006 Moderators Share Posted January 11, 2006 Are you sure you're not the 'Grinch' Helge?... Nice Catches! 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. Link to comment Share on other sites More sharing options...
GaryFrost Posted January 11, 2006 Share Posted January 11, 2006 (edited) This is just some stuff I stumbled over while I was scripting this Christmas,and which I copied to a file....as I know jpm likes this kind of work.The three first are typos, the rest are direct comments by me.. have to go !Have a nice day !HWnd Example :- "Local $hWnd = WinGetHandle("Untitle - Notepad")"(Tip : You should also add a Sleep or a WinWait after Run)PixelSearch :- "Performing a search of a region can be time consuming,so use the smallest region you are able to reduce CPU load."Default :- "AutoIt will not detect such situation because too much performance penalty."GUICtrlGetHandle :- controlID is "optional".BitRotate :- shift is "optional".FileDelete :- Doesn't return 0 when failing to delete locked files.GUI Reference :- "Graphic" is missing in the list of supported controls in AutoIt._GUICtrlTabSetUnicodeFormat :- There's a graphical bug in the example, at the "label0". _GUICtrlTabSetUnicodeFormatjust add GUICtrlSetState($tab0,$GUI_SHOW) before the line GUISetState()looks like the labels are on top of each other initially. Edited January 11, 2006 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...
jpm Posted January 11, 2006 Share Posted January 11, 2006 This is just some stuff I stumbled over while I was scripting this Christmas, and which I copied to a file....as I know jpm likes this kind of work. The three first are typos, the rest are direct comments by me.. have to go ! Have a nice day ! HWnd Example : - "Local $hWnd = WinGetHandle("Untitle - Notepad")" (Tip : You should also add a Sleep or a WinWait after Run) [\quote] OK Link to comment Share on other sites More sharing options...
Helge Posted January 13, 2006 Author Share Posted January 13, 2006 @SmOke_N: Nope, Grinch (isn't it Gretchen ?) is German only I believe...or at least it's not in Norway.. Ich bin keine Gretchen deine Dumkopf !! @jpm:- Thanks.- Nope, it's PixelSearch.- It's in the documention for the Default-keyword.- Yes, exactly...but the docs says otherwise.- Same as above.- You know that stupid XP-thingie, when it for some reason locks a file so you can't doanything with it.... so I tried to FileDelete such a file, and it failed. THIS, is what I mean.Btw, because my graphics-card got a constant cold in the Winter-season, I'm then forcedto do other things than gaming...this basically means a lot of Au3, so today I found another thing :FileSaveDialog :$var = FileSaveDialog( "Choose a name.", $MyDocsFolder, "Scripts (*.aut;*.au3)", 3)(; option 3 = dialog remains until valid path/file selected)(There's no option 3... it should be a combination of 1 and 2, but in the docs only 2 and 16are listed...man, you must think I'm such a nitpicker ) Link to comment Share on other sites More sharing options...
jpm Posted January 13, 2006 Share Posted January 13, 2006 @SmOke_N: Nope, Grinch (isn't it Gretchen ?) is German only I believe...or at least it's not in Norway.. Ich bin keine Gretchen deine Dumkopf !! @jpm:- Thanks.- Nope, it's PixelSearch.- It's in the documention for the Default-keyword.- Yes, exactly...but the docs says otherwise.- Same as above.- You know that stupid XP-thingie, when it for some reason locks a file so you can't doanything with it.... so I tried to FileDelete such a file, and it failed. THIS, is what I mean.Btw, because my graphics-card got a constant cold in the Winter-season, I'm then forcedto do other things than gaming...this basically means a lot of Au3, so today I found another thing :FileSaveDialog :$var = FileSaveDialog( "Choose a name.", $MyDocsFolder, "Scripts (*.aut;*.au3)", 3)(; option 3 = dialog remains until valid path/file selected)(There's no option 3... it should be a combination of 1 and 2, but in the docs only 2 and 16are listed...man, you must think I'm such a nitpicker )For Pixelsearch which version of autoit are you refering too. The beta has been changed by Larry a couple of week agofor the filedelete if you have a script that reproduce it I will be glad to solve the problem. I cannot find it just rereading the codeThanks 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