Administrators Jon Posted February 25, 2004 Administrators Posted February 25, 2004 Yeah, Random. Oops. So Random.txt is what gets edited and that drives the html? That's why the superscripting disappears. Ok I can work on it.Yeah, it works great and it stops any consistency errors with different people have different html styles. It's also a useful test that I've compiled AutoIt correctly (as autoit is used to run these scripts )
trids Posted February 26, 2004 Posted February 26, 2004 In the ..\AutoIt3\Extra\Editors\TextPad\_install_syntax_files.au3, there is a little bug: $anwer v $answer (see below)Line 33: $anwer = MsgBox(4096+4, "TextPLine 34: If $answer = 7 Then Exit
trids Posted February 26, 2004 Posted February 26, 2004 Opt is mentioned only as an aside in the AutoItSetOption topic .. should appear in the Function Reference topic, even if it links to the same AutoItSetOption topic from there.It's also missing from the TextPad SYN file, which is kindly included with the install.
trids Posted February 26, 2004 Posted February 26, 2004 (edited) Sluggie .. (?)You may also want to update the "..\AutoIt3\Extra\Editors\TextPad\Manual Install and Notes.htm" file regarding setting up Context Sensitive Help for AU3 in TP .. with a simplified method that is independent of KeyHH.exe Edited February 26, 2004 by trids
CyberSlug Posted February 26, 2004 Author Posted February 26, 2004 Have posted Feb 26 updates that cover most stuff and am going to bedChangeLog sortaJon reserves the right to shorten my HotKeySet remarks--but I'll reserve the right to harass Jon if he removes anything that is later asked in the support forum Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Developers Jos Posted February 26, 2004 Developers Posted February 26, 2004 Sluggie .. (?)You may also want to update the "..\AutoIt3\Extra\Editors\TextPad\Manual Install and Notes.htm" file regarding setting up Context Sensitive Help for AU3 in TP .. with a simplified method that is independent of KeyHH.exe Trids, I have submited it to Jon a while ago together with the Crimson description, and updated it this week with the path to find keyhh.Since its your base doc, why don't you take the version in the Extras and and sent an updated one to Jon ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
trids Posted February 26, 2004 Posted February 26, 2004 Since its your base doc, why don't you take the version in the Extras and and sent an updated one to Jon ?Sure - no problem
Bartokv Posted February 26, 2004 Posted February 26, 2004 Noticed a (very) small error within the current helpfile for BitAND:Example$x = BitAND(13, 7) ;x == 5 because 1101 AND 0110 = 0101...Should read:Example$x = BitAND(13, 7) ;x == 5 because 1101 AND 0111 = 0101
Administrators Jon Posted February 26, 2004 Administrators Posted February 26, 2004 Noticed a (very) small error within the current helpfile for BitAND:Example$x = BitAND(13, 7) ;x == 5 because 1101 AND 0110 = 0101...Should read:Example$x = BitAND(13, 7) ;x == 5 because 1101 AND 0111 = 0101Oops
CyberSlug Posted February 26, 2004 Author Posted February 26, 2004 FAQ is quite nice One note: Add 'Opt' to the contents of the AutoIt.hhp file. It would go under the "Misc Functions" section and point to the same page as AutoItSetOption. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Administrators Jon Posted February 26, 2004 Administrators Posted February 26, 2004 FAQ is quite nice I like the bit about the Time Bandits.
Nutster Posted February 26, 2004 Posted February 26, 2004 Noticed a (very) small error within the current helpfile for BitAND:Example$x = BitAND(13, 7) ;x == 5 because 1101 AND 0110 = 0101...Should read:Example$x = BitAND(13, 7) ;x == 5 because 1101 AND 0111 = 0101Actually it should be $x = BitAnd(12, 6) == 4 because 1100 AND 0110 = 0100And in BitOr$x = BitOr(12, 6) == 14 because 1100 AND 0110 = 1110I meant to use the same numbers when I came up with the examples to show what happens for each bit pattern (00, 01, 10, 11). David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd...
CyberSlug Posted February 26, 2004 Author Posted February 26, 2004 (edited) I'll have one more batch of fixes: Mostly cross-referenceing things like FileGetTime and FileSetTime but also important fixes.Note on Random Function: We need an example that generates a random leter of the alphabet!Suggest for UDFs:Function: _ColorGetRed( $color ) Description: Get the red component of a given color. Parameter(s): $Color - The RGB color to work with (numeric). Requirement(s): should you put #include <Color.au3> here?....That's all for now Edited February 26, 2004 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Bartokv Posted February 26, 2004 Posted February 26, 2004 (edited) Note on Random Function: We need an example that generates a random leter of the alphabet!Would this work? ;Randomly pick an integer between 1 and 26 $value = Int(Random(1, 27)) ;Randomly pick case of the resulting letter IF Random(0,1) < .51 Then ;Assigns uppercase value to $letter $letter = (64 + $value) Else ;Assigns lowercase value to $letter $letter = (96 + $value) EndIf ;Display the result MsgBox(4096, "Result", "The random letter is '" & Chr($letter) & "'") Edit: Changed maximum value in first random statement to 27, after realizing that 26 would never be a result. Note: It may be less confusing to use the code: $value = Round(Random(1,26)) Edited February 26, 2004 by Bartokv
CyberSlug Posted February 26, 2004 Author Posted February 26, 2004 I was thinking of something a bit simpler: $randomUpperCase = Chr( Random(Asc("A"),Asc("Z") ) $randomLowerCase = Chr( Random(Asc("a"),Asc("z") ) Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Administrators Jon Posted February 26, 2004 Administrators Posted February 26, 2004 I was thinking of something a bit simpler:$randomUpperCase = Chr( Random(Asc("A"),Asc("Z") )$randomLowerCase = Chr( Random(Asc("a"),Asc("z") )You'll never get Z with that.
CyberSlug Posted February 26, 2004 Author Posted February 26, 2004 You'll never get Z with that.:iamstupid: This is why I'm not directly messing with the Random func docs Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Bartokv Posted February 26, 2004 Posted February 26, 2004 I was thinking of something a bit simpler: $randomUpperCase = Chr( Random(Asc("A"),Asc("Z") ) $randomLowerCase = Chr( Random(Asc("a"),Asc("z") )Unfortunately "Z" nor "z" would never be returned as a result... I realized this after I made my initial post, since the upper limit is never actually returned as a value of the random function. However, the following code would work: $randomUpperCase = Chr( Round(Random(Asc("A"),Asc("Z"))) $randomLowerCase = Chr( Round(Random(Asc("a"),Asc("z")))
Bartokv Posted February 26, 2004 Posted February 26, 2004 D'oh! Forgot the final parenthesis: $randomUpperCase = Chr(Round(Random(Asc("A"),Asc("Z")))) $randomLowerCase = Chr(Round(Random(Asc("a"),Asc("z")))) :iamstupid:
CyberSlug Posted February 26, 2004 Author Posted February 26, 2004 Help file "Installation Directory" page should list the registry keys that AutoIt writes to. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
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