-
Posts
7,103 -
Joined
-
Days Won
88
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by TheDcoder
-
TraySetToolTip, TD
-
Hello, I am having a problem with an array, here is the code: #include <Array.au3> Local $aAddNewFiles[4] $aAddNewFiles[0] = 3 ; No. of files $aAddNewFiles[1] = @DesktopDir & "FileX" $aAddNewFiles[2] = @DesktopDir & "FileY" $aAddNewFiles[3] = @DesktopDir & "FileZ" Local $aAddNewFilesNames[$aAddNewFiles[0]] ; This array will contain File Names w/ Ext For $i = 1 To UBound($aAddNewFiles) - 1 $aAddNewFilesNames = StringRegExpReplace($aAddNewFiles[$i], "^.*\\", "") ; Extract File Name w/ Ext Next _ArrayDisplay($aAddNewFilesNames)_ArrayDisplay sets @error to 1 (meaning $aAddNewFilesNames is not an array) Thanks in advance, TD
-
None of the download links work TD
-
What is "working directory"?
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
Thanks Melba -
What is "working directory"?
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
@Melba23 I already checked that before posting this thread . What I tried after reading the wiki is Compiled this (test.exe): FileOpen(@ScriptDir & '\text.txt', 1) ; Make a file called text.txt Used another script to execute test.exe: Run("test.exe", @AppDataDir) ; Both script are located in the same directory (Desktop) It didn't create a file called text.txt in %appdata% as mentioned in the wiki So I asked the question here, TD -
What is "working directory"?
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
@MikahS If I supply a string (path) to Run(), how will it effect executable? -
This might be a silly question but, AutoIt is my first language (Also the only one I know) What is "working directory"? (2nd param in Run) I saw the term many times, now I am curious about it. Thanks in advance, TD
-
Like this: Global $hex $hex = "Da" $hex &= "ta" ConsoleWrite($hex) Will return: data TD
-
Deleting value and key in ini file
TheDcoder replied to Razormaul's topic in AutoIt General Help and Support
Tension, Lite Sleep, Coding for hours are all causes of hair loss (Source: My Dad's Part Bald head) I was look for this too, thanks for asking -
UDF's ... how to inculde...
TheDcoder replied to Shadow12345's topic in AutoIt General Help and Support
OK Melba23 -
UDF's ... how to inculde...
TheDcoder replied to Shadow12345's topic in AutoIt General Help and Support
Welcome P.S Click "Mark Solved" If I answered your question -
UDF's ... how to inculde...
TheDcoder replied to Shadow12345's topic in AutoIt General Help and Support
First, I did not read your post Pretend that UDF is ScriptX.au3 & your script is ScriptY.au3 Copy ScriptX.au3 to ScriptY.au3's location and add #include "ScriptX.au3" to your script TD -
High five!
-
Thanks Melba, I was confused & puzzled b/c I tried many Styles and Ex-Styles to do this. Thanks again, TD
-
Hello, Please look at the code below: #include-once ; -- Created with ISN Form Studio 2 for ISN AutoIt Studio -- ; #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Include <GuiButton.au3> Global $ParentX = GUICreate("ParentX",500,500,-1,-1,-1,-1) GUISetBkColor(0xFFFFFF,$ParentX) Global $ButtonX = GUICtrlCreateButton("ButtonX",200,235,100,30,-1,-1) GUISetState(@SW_SHOW,$ParentX) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $ButtonX LaunchChild() EndSwitch WEnd Func LaunchChild() Local $ChildX = GUICreate("ChildX",250,250,-1,-1,-1,-1) GUISetBkColor(0xFFFFFF,$ChildX) GUISetState(@SW_SHOW,$ChildX) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE GUIDelete($ChildX) Return EndSwitch WEnd EndFunc While ChildX is active, ParentX should be inaccessible (i.e when clicked on parent it should not become active). How can I do this? Thanks in Advance, TD
-
@UEZ Yes, I have a dual core CPU. Thanks for the valuable info that AutoIt only uses 1 core TD
- 28 replies
-
- chip sound
- sinus
-
(and 3 more)
Tagged with:
-
@UEZ Thanks for your reply. I noticed that your script was using ~45% of my CPU, So adding (IMHO) some effects is not gonna hurt TD
- 28 replies
-
- chip sound
- sinus
-
(and 3 more)
Tagged with:
-
Only Stars?
- 28 replies
-
- chip sound
- sinus
-
(and 3 more)
Tagged with:
-
Always the useful, RTFC you rule!!!
-
Nice work, TD
- 10 replies
-
- registry .reg to autoit .au3
- regtoau3
-
(and 1 more)
Tagged with:
-
do action after TreeViewChild is Selected
TheDcoder replied to behdadsoft's topic in AutoIt General Help and Support
Please check this post TD -
ISN AutoIt Form Studio 2 Broke
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
I solved the problem myself, Its my mistake that I changed "GUI Grid" Value to 0 Solution: 1. Open "C:Users<USERNAME>DocumentsISN AutoIt StudioDataPluginsformstudio2settings.ini" 2. In settings.ini: [settings] sizelimit=X raster_size=0 <<<<<<<<<<< Change 0 to any number except 0 (4 is recommended) spacing_distance=X raster=X repos=X draw_grid=X showdocklines=X 3. Open ISN Studio & Check If it works TD -
Hello, Please look at the picture: As you can see, the main editor was not created.... I have a very important project & the form studio is broke!! Thanks in Advance, TD
-
Windows Server Controlsend Problem
TheDcoder replied to mstfblgn's topic in AutoIt General Help and Support
Please read title="Forum Rules">Forum Rules -
Thanks guinness