
Wiliat87
Active Members-
Posts
41 -
Joined
-
Last visited
Wiliat87's Achievements

Seeker (1/7)
2
Reputation
-
Wiliat87 reacted to a post in a topic: Convert Unicode string to ANSI (WIN-12xx)
-
Wiliat87 reacted to a post in a topic: Shunting-Yard algorithm
-
Wiliat87 reacted to a post in a topic: GDI+ animated loading screens build 2014-06-20 (32 examples)
-
Wiliat87 reacted to a post in a topic: IUIAutomation MS framework automate chrome, FF, IE, ....
-
Wiliat87 reacted to a post in a topic: Advanced Encryption Standard (AES/Rijndael) UDF
-
Wiliat87 reacted to a post in a topic: OutlookEX UDF
-
Wiliat87 reacted to a post in a topic: Update the Excel UDF that comes with AutoIt
-
Wiliat87 reacted to a post in a topic: Set Acl permissions UDF
-
Wiliat87 reacted to a post in a topic: _FileGetMimeType UDF
-
Why is documentation of official UDFs missing?
Wiliat87 replied to Wiliat87's topic in AutoIt Technical Discussion
Ok, thank you. Case closed. -
Why is documentation of official UDFs missing?
Wiliat87 replied to Wiliat87's topic in AutoIt Technical Discussion
Thank you, and a question as always, those .txt files are output of the parser of UDF headers or were written by hand? -
Why is documentation of official UDFs missing?
Wiliat87 replied to Wiliat87's topic in AutoIt Technical Discussion
And could you please point me to their location? -
Why is documentation of official UDFs missing?
Wiliat87 replied to Wiliat87's topic in AutoIt Technical Discussion
but is has a plugin for LUA and LUA has very similar syntax to AutoIt so I think that it could be a good place to start. -
Why is documentation of official UDFs missing?
Wiliat87 replied to Wiliat87's topic in AutoIt Technical Discussion
yes, maybe Doxygen or kind of that if you want to generat those html/pdf files, but as Melba cleared up, it's fully on the devs. -
Why is documentation of official UDFs missing?
Wiliat87 replied to Wiliat87's topic in AutoIt Technical Discussion
Thank you very much, @guiness, not for removing the headers, but for such a fully appropriate post. -
Why is documentation of official UDFs missing?
Wiliat87 replied to Wiliat87's topic in AutoIt Technical Discussion
Because if you want to have it simple to mainatin why do you to put the docs somewhere else than to the source code? It's harder for you to write and for me to read. -
Why is documentation of official UDFs missing?
Wiliat87 replied to Wiliat87's topic in AutoIt Technical Discussion
So does it really mean that the help files are not generated from the source files? -
Why do official UDFs not comply with official UDF standards? Most of the official UDFs have this: ; #FUNCTION# ==================================================================================================================== ; Author ........: randallc, Ultima ; Modified.......: Gary Frost (gafrost), Ultima, Zedna, jpm, Melba23, AZJIO, UEZ ; =============================================================================================================================== as their documentation. Which also means, do you write the included .chm docs directly? Not by parsing the source files? Or do you just strip it out of the sources before publishing?
-
Paper, Rock, Scissors - Challenge
Wiliat87 replied to guinness's topic in AutoIt General Help and Support
Wow, I didn't know that this $aArray[]=["foo",$aArray[0]] is possible... -
Paper, Rock, Scissors - Challenge
Wiliat87 replied to guinness's topic in AutoIt General Help and Support
Global $aItem[3] = ["Paper", "Rock", "Scissors"], $iUser = String(InputBox("Choose your move", "0 = Paper; 1 = Rock, 2 = Scissors")),$iOpponent = Random(0, 2, 1), $sResult=($iUser = "0" Or $iUser = "1" Or $iUser = "2") ? MsgBox("", "You: " & $aItem[$iUser] & " vs " & $aItem[$iOpponent] & " :Computer", (($iUser = $iOpponent) ? ("A Draw") : (($iOpponent = Mod($iUser + 2, 3)) ? ("Comp Wins") : ("You Win"))) & @CRLF) : MsgBox("", "", "Error") I've just found out that it can be oneliner -
Paper, Rock, Scissors - Challenge
Wiliat87 replied to guinness's topic in AutoIt General Help and Support
Global $sU = StringLeft(StringLower(StringStripWS(InputBox("Paper, Rock, Scissors - Challenge", "Type paper/rock/scissors"), 8)), 1) If StringRegExp($sU, "^[prs]", 1) = 0 Then Exit MsgBox("", "", "Error") Global $sC = (Random(0, 1, 1) ? (Random(0, 1, 1) ? (Random(0, 1, 1) ? "p" : "r") : "s") : (Random(0, 1, 1) ? (Random(0, 1, 1) ? "p" : "r") : "s")) Select Case $sU = $sC MsgBox("", $sU & " vs. " & $sC, "tie") Case ($sU = "p" And $sC = "r") Or ($sU = "r" And $sC = "s") Or ($sU = "s" And $sC = "p") MsgBox("", $sU & " vs. " & $sC, "You win") Case ($sC = "p" And $sU = "r") Or ($sC = "r" And $sU = "s") Or ($sC = "s" And $sU = "p") MsgBox("", $sU & " vs. " & $sC, "You lose") EndSelect -
KaFu reacted to a post in a topic: _FileGetMimeType UDF
-
You're right, thanks. Script updated.
-
So I've remade the script from the ground up (thanks trancexx for suggesting her idea with the regexp DB search as used in her _WinHTTP UDF) and now it's yet 2x times faster and can be optional IANA-strict. Also I've finally implemented static variables so it's now 3.3.10+ compatible. Updated script is in the first post.