-
Posts
7,103 -
Joined
-
Days Won
88
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by TheDcoder
-
Is it a Good Idea?: $CmdLineRaw as a Macro
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
... Yet, I lose again Good job, J1- 21 replies
-
- iiagi
- $cmdlineraw
-
(and 3 more)
Tagged with:
-
Is it a Good Idea?: $CmdLineRaw as a Macro
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
What about @WorkingDir? Its set by the user too... I guess...- 21 replies
-
- iiagi
- $cmdlineraw
-
(and 3 more)
Tagged with:
-
Is it a Good Idea?: $CmdLineRaw as a Macro
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
@JohnOne R-R-Really?- 21 replies
-
- iiagi
- $cmdlineraw
-
(and 3 more)
Tagged with:
-
Is it a Good Idea?: $CmdLineRaw as a Macro
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
@JohnOne How do you explain @CRLF then? They remain the same the whole life . This Quote is taken from the help file: As you can see that macros "generally" provide easy access to system... There is no rule that the should only provide "that", viz. the birth of @CRLF- 21 replies
-
- iiagi
- $cmdlineraw
-
(and 3 more)
Tagged with:
-
Is it a Good Idea?: $CmdLineRaw as a Macro
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
@JohnOne What about @MIN @SEC etc? I need to go, I will be back later, TD- 21 replies
-
- iiagi
- $cmdlineraw
-
(and 3 more)
Tagged with:
-
Writing to Command Prompt (CMD) issue
TheDcoder replied to Progh0st's topic in AutoIt General Help and Support
There is a FTP UDF distributed along with AutoIt, Check the help file -
Is it a Good Idea?: $CmdLineRaw as a Macro
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
@orbs Yeah, but the people who want those feature can use older version (like @TheSaint) @MachinistProgrammer Hmm... a macro array? , While I agree that it will create breaking changes, AutoIt Coder can easily fix the issue by using a simple Replace operation TD- 21 replies
-
- iiagi
- $cmdlineraw
-
(and 3 more)
Tagged with:
-
Hello! I am back with another IIAGI? (Is it a Good Idea?) I think $CmdLineRaw is more like a macro than a "special" variable (which cannot be changed)... So making ti @CmdLineRaw would make more sense and there will 1 less exception to variables , I know that you were wondering about the $CmdLine "special" array... I didn't forgot it, but I don't think a macro can be a array, so I just ignored it... Maybe removing the $CmdLine and changing $CmdLineRaw to @CmdLine would be nice if you ask me . Think before choosing! TD P.S Feel free to disagree with me, I want hear your opinion as well .
- 21 replies
-
- iiagi
- $cmdlineraw
-
(and 3 more)
Tagged with:
-
Unfortunately, Nope! Sorry, I forgot about Tidy , But you can do it manually too, just follow Best Coding Practices TD
-
Icon corruption when disabling a button
TheDcoder replied to TheDcoder's topic in AutoIt GUI Help and Support
@AdmiralAlkex You are not different either! -
Icon corruption when disabling a button
TheDcoder replied to TheDcoder's topic in AutoIt GUI Help and Support
@AdmiralAlkex Wow! You are a total guru . TD -
@Trong Use Pastebin for large chunks of code! My FF almost froze
-
What do you want to do exactly? We cannot help without any code... all you will get are wild guesses. TD
-
[SOLVED] Find largest version? _VersionCompare()
TheDcoder replied to Trong's topic in AutoIt General Help and Support
Not sure if its what you want : #include <File.au3> #include <MsgBoxConstants.au3> Local Const $FOLDER = @ScriptDir ; Folder to check DirCreate("1.2.6.4") DirCreate("1.1.2.4") DirCreate("1.0.3.4") DirCreate("1.5.0.4") DirCreate("1.6.7.4") Local $aVersions = _FileListToArray($FOLDER, "*.*.*.*", $FLTA_FOLDERS) Local $iLatestVersionsIndex = 0 For $i = 1 To $aVersions[0] If Number(StringReplace($aVersions[$iLatestVersionsIndex], '.', "")) < Number(StringReplace($aVersions[$i], '.', "")) Then $iLatestVersionsIndex = $i EndIf Next MsgBox($MB_OK, "Latest Version", $aVersions[$iLatestVersionsIndex]) DirRemove("1.2.6.4") DirRemove("1.1.2.4") DirRemove("1.0.3.4") DirRemove("1.5.0.4") DirRemove("1.6.7.4")TD -
Icon corruption when disabling a button
TheDcoder replied to TheDcoder's topic in AutoIt GUI Help and Support
It does for me too... Here, spot the difference: -
Icon corruption when disabling a button
TheDcoder replied to TheDcoder's topic in AutoIt GUI Help and Support
@LarsJ Just tested it... The result might hurt a little: TD -
Icon corruption when disabling a button
TheDcoder replied to TheDcoder's topic in AutoIt GUI Help and Support
@LarsJ , Looks complicated... I still think @AdmiralAlkex's 1st solution is better for me... I want average users to understand my code -
Icon corruption when disabling a button
TheDcoder replied to TheDcoder's topic in AutoIt GUI Help and Support
@LarsJ Too much pain for to make a button UDF -
Icon corruption when disabling a button
TheDcoder replied to TheDcoder's topic in AutoIt GUI Help and Support
@AdmiralAlkex I searched around a little and your solution seems to be the best... How did you remove them anyway? Just tried a online png to ico converter and it worked! -
Icon corruption when disabling a button
TheDcoder replied to TheDcoder's topic in AutoIt GUI Help and Support
Glad you spotted it ... I will do some research and report back with a solution (if exists ) Thanks! TD -
Hello , I am experiencing a problem with Combo controls... They get updated even before the user selects the item! Use this script to test this: #include <ComboConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 366, 115, 301, 138) $Combo1 = GUICtrlCreateCombo("Combo1", 104, 24, 145, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL)) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### GUICtrlSetData($Combo1, "Test") While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch ConsoleWrite(GUICtrlRead($Combo1) & @CRLF) WEndTry hovering over "Test" (don't select it!) and watch the STDOUT stream (SciTE Output Panel located at the bottom of SciTE), it shows "Test" instead of "Combo1" Anyone know how to avoid this? Thanks in Advance, TD