Exit Posted July 4, 2015 Share Posted July 4, 2015 poor error checking. Try this:Local $aArray[3] = ["x=1", "y==2", "z"] ; Declare the Array App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
TheDcoder Posted July 4, 2015 Share Posted July 4, 2015 @guinness Name of the function?@Exit It doesn't have an error checking system, all my snippets lack error checking system... I will add error checking system when I finish my project EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
Exit Posted July 4, 2015 Share Posted July 4, 2015 @Exit It doesn't have an error checking system, all my snippets lack error checking system... I will add error checking system when I finish my project Then please add your snippets to this tread after adding error checking at the end of your Project. App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
TheDcoder Posted July 5, 2015 Share Posted July 5, 2015 @Exit I added an Error checking system, I think that snippets need error checking, TD EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
guinness Posted July 5, 2015 Share Posted July 5, 2015 (edited) _ArrayAdd() maybe? I dunno, you're the power user of AutoIt, I am just some old user! Edited July 5, 2015 by guinness UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
iamtheky Posted July 5, 2015 Share Posted July 5, 2015 _ArrayAdd() maybe? edit: I dunno, you're the power user of AutoIt, I am just some old user!You edited it to be additionally patronizing and are recommending a solution that involves redims as an improvement to a snippet that has none? That is super.Dcoder, there are older examples, and i think the speed can be improved on yours. And apparently you have upset Guinness, so that part is at least right..https://www.autoitscript.com/forum/topic/120801-converting-array-1d-2d/ TheDcoder 1 ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Iczer Posted July 5, 2015 Share Posted July 5, 2015 function without arrays and dependences to calculate number of days in any month in any yearFor $i = 1 to 12 ConsoleWrite(_DaysInMonth($i,2000)&@CRLF) Next Func _DaysInMonth ($iMonth,$iYear) return 28 + Mod($iMonth + Floor($iMonth / 8), 2) + Mod(2, $iMonth) + Floor((2 - Mod(Mod($iYear, 4) * (Mod($iYear, 100) + Mod($iYear, 400)) + 2, (Mod($iYear, 4) * (Mod($iYear, 100) + Mod($iYear, 400)) + 1))) / $iMonth) + Floor(1/$iMonth) - Floor((1 - Mod((Mod($iYear, 4) * (Mod($iYear, 100) + Mod($iYear, 400)) + 2), (Mod($iYear, 4) * (Mod($iYear, 100) + Mod($iYear, 400)) + 1)))/$iMonth) EndFunc guestscripter 1 Link to comment Share on other sites More sharing options...
Iczer Posted July 5, 2015 Share Posted July 5, 2015 if you double-click on some *.au3, script is opened in SciTE, but in same time collection of previously opened scripts in this editor is lost.to prevent this compile this script and make OS open *.au3 with this exe expandcollapse popup#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=C:\Program Files (x86)\AutoIt3\Icons\au3.ico #AutoIt3Wrapper_Res_Comment=Prevent drop collection of previously opened scripts in case some single script is opened by double click #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <WinAPIProc.au3> ; AutoItSetOption ("WinTitleMatchMode", 2) If Not ProcessExists ( "SciTE.exe" ) Then Run(@ProgramFilesDir & "\AutoIt3\SciTE\SciTE.exe",@ProgramFilesDir & "\AutoIt3\SciTE") WinWaitActive("SciTE","",3) SystemMetrics_WaitTillProcessIdleEX2('SciTE.exe',1234) EndIf ;ShellExecute($CmdLineRaw) Run(@ProgramFilesDir & "\AutoIt3\SciTE\SciTE.exe " & $CmdLineRaw ) ; ;====================================================================================================================================================================================================== Func SystemMetrics_WaitTillProcessIdleEX2($sProcessName = "", $iTimeoutInMilliSeconds = 8888) If $sProcessName == "" Then Return SetError(1) Local $iPID = ProcessExists($sProcessName) If $iPID = 0 Then Return SetError(2) Local $iPrecessTime_1 = 0, $iPrecessTime_2 = 0, $iTimeStamp = TimerInit(), $iTimeStampEX = TimerInit(), $aFT While 1 Sleep(128) $aFT = _WinAPI_GetProcessTimes($iPID) If @error Then Return SetError(2) $iPrecessTime_2 = $aFT[1]+$aFT[2] If $iPrecessTime_1 <> $iPrecessTime_2 Then If TimerDiff($iTimeStamp) > 888 Then ExitLoop Else $iPrecessTime_1 = $iPrecessTime_2 $iTimeStamp = TimerInit() EndIf If TimerDiff($iTimeStampEX) > (5*60*1000) Then Return SetError(21) WEnd $iTimeStamp = TimerInit() While 1 Sleep(256) $aFT = _WinAPI_GetProcessTimes($iPID) If @error Then Return SetError(3) $iPrecessTime_2 = $aFT[1]+$aFT[2] If $iPrecessTime_1 = $iPrecessTime_2 Then If TimerDiff($iTimeStamp) > $iTimeoutInMilliSeconds Then Return 1 Else $iPrecessTime_1 = $iPrecessTime_2 $iTimeStamp = TimerInit() EndIf If TimerDiff($iTimeStampEX) > (5*60*1000) Then Return SetError(21) WEnd EndFunc ;==>SystemMetrics_WaitTillProcessIdle ;====================================================================================================================================================================================================== Link to comment Share on other sites More sharing options...
Developers Jos Posted July 5, 2015 Developers Share Posted July 5, 2015 (edited) if you double-click on some *.au3, script is opened in SciTE, but in same time collection of previously opened scripts in this editor is lost.to prevent this compile this script and make OS open *.au3 with this exe -or- just add this in your properties file assuming you have the full version:save.session.advanced=1Jos Edited July 5, 2015 by Jos Luigi, t0nZ and Exit 3 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. Link to comment Share on other sites More sharing options...
UEZ Posted July 5, 2015 Share Posted July 5, 2015 I think this thread is now in a status which is not usable anymore. A lot of posts but who knows what were posted so far.No index, no hints. Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
jchd Posted July 5, 2015 Share Posted July 5, 2015 function without arrays and dependences to calculate number of days in any month in any yearFor $i = 1 to 12 ConsoleWrite(_DaysInMonth($i,2000)&@CRLF) Next Func _DaysInMonth ($iMonth,$iYear) return 28 + Mod($iMonth + Floor($iMonth / 8), 2) + Mod(2, $iMonth) + Floor((2 - Mod(Mod($iYear, 4) * (Mod($iYear, 100) + Mod($iYear, 400)) + 2, (Mod($iYear, 4) * (Mod($iYear, 100) + Mod($iYear, 400)) + 1))) / $iMonth) + Floor(1/$iMonth) - Floor((1 - Mod((Mod($iYear, 4) * (Mod($iYear, 100) + Mod($iYear, 400)) + 2), (Mod($iYear, 4) * (Mod($iYear, 100) + Mod($iYear, 400)) + 1)))/$iMonth) EndFuncThis code is not correct. It considers years Y such as Y = 0 (mod 100) and Y ≠ 0 (mod 400) as leap, while they are not. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
TheDcoder Posted July 6, 2015 Share Posted July 6, 2015 @guinness Sorry if I made you feel like that ... I tried but I can't understand how its done using _ArrayAdd@boththose I am confused , Do you want me to use Dim instead of Local? EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
water Posted July 6, 2015 Share Posted July 6, 2015 I think this thread is now in a status which is not usable anymore. A lot of posts but who knows what were posted so far.No index, no hints.I second that.In my opinion the wiki is the perfect place for code snippets - we already have a section for snippets (the header problem should be solved though).I do not think it is a good idea to have the same information spread all over the place.So: Snippets in the wiki, discussion about them in the forum. Just my $ 0.02. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
TheDcoder Posted July 12, 2015 Share Posted July 12, 2015 A new squeal to StringTrimUntil collection expandcollapse popup; #FUNCTION# ==================================================================================================================== ; Name ..........: StringLeftUntil ; Description ...: Extract the text before the delimiter (or inculding the delimiter) ; Syntax ........: StringLeftUntil($sDelimiter, $sString[, $iOccurrence = 1[, $bIncludeDelimiter = False]]) ; Parameters ....: $sDelimiter - Delimiter. ; $sString - String to process. ; $iOccurrence - [optional] Ouccurence to extract until. Default is 1st ouccurence. ; $bIncludeDelimiter - [optional] Do you want to include the delimiter?. Default is False. ; Return values .: Extracted String ; Author ........: TheDcoder ; Modified ......: N/A ; Remarks .......: None. ; Related .......: StringLeft ; Link ..........: bit.ly/StringUntilForAutoIt ; Example .......: No ; =============================================================================================================================== Func StringLeftUntil($sDelimiter, $sString, $iOccurrence = 1, $bIncludeDelimiter = False) $iDelimiterPos = StringInStr($sString, $sDelimiter, 2, $iOccurrence) ; We need delimiter's position $sReturn = StringLeft($sString, $iDelimiterPos - 1) ; Extract the string before the delimiter If $bIncludeDelimiter = True Then $sReturn &= $sDelimiter ; Check if the delimiter needs to be attached again Return $sReturn ; Return the string EndFunc ;==>StringLeftUntil ; #FUNCTION# ==================================================================================================================== ; Name ..........: StringRightUntil ; Description ...: Extract the text after the delimiter (or inculding the delimiter) ; Syntax ........: StringRightUntil($sDelimiter, $sString[, $iOccurrence = 1[, $bIncludeDelimiter = False]]) ; Parameters ....: $sDelimiter - Delimiter. ; $sString - String to process ; $iOccurrence - [optional] Ouccurence to extract until. Default is 1st ouccurence. ; $bIncludeDelimiter - [optional] Do you want to include the delimiter?. Default is False. ; Return values .: Extracted String ; Author ........: TheDcoder ; Modified ......: N/A ; Remarks .......: None. ; Related .......: StringRight ; Link ..........: bit.ly/StringUntilForAutoIt ; Example .......: No ; =============================================================================================================================== Func StringRightUntil($sDelimiter, $sString, $iOccurrence = 1, $bIncludeDelimiter = False) $sString = StringReverse($sString) ; Reverse the string $sDelimiter = StringReverse($sDelimiter) ; Reverse the delimiter ; Just the whole process of StringLeftUntil is reversed :D $iDelimiterPos = StringInStr($sString, $sDelimiter, 2, $iOccurrence) $sReturn = StringLeft($sString, $iDelimiterPos - 1) If $bIncludeDelimiter = True Then $sReturn &= $sDelimiter Return StringReverse($sReturn) ; Return the reversed string EndFunc ;==>StringRightUntilHope you may find it useful, TD EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
TheDcoder Posted August 2, 2015 Share Posted August 2, 2015 (edited) I am continuing my posting combo , RunCommand! Get both the output & the exitcode of a command with a single line of code, TD There is a better RunCommand function in the Process UDF with many more options & functionsHowever if you still wish to use the old one, here is the code:expandcollapse popup; #FUNCTION# ==================================================================================================================== ; Name ..........: RunCommand ; Description ...: Runs a command or executes a executable & return the STDOUT & STDERR output along with the exit code ; Syntax ........: RunCommand($sCommand[, $sWorkingDir = ""[, $sPath = @ComSpec & " /c "]]) ; Parameters ....: $sCommand - The command to execute ; $sWorkingDir - [optional] The working directory. Default is "". ; $sPath - [optional] This is the path if you want to run a exe, MUST CONTAIN THE TRAILING BACKSLASH!!!. Default is @ComSpec & " /c ". ; Return values .: Success: Will return the STDOUT & STDERR output, @extended will contain the exit code ; Failure: Will set @error to 1 & returns 0 ; Author ........: TheDcoder ; Modified ......: N/A ; Remarks .......: The code for capturing the exit code: https://www.autoitscript.com/forum/topic/98602-run-not-runwait-with-dos-exit-code/?do=findComment&comment=720326 Thanks! ; Related .......: Run, RunWait ; Link ..........: bit.ly/RunCommandForAutoIt ; Example .......: Yes, See below ; =============================================================================================================================== Func RunCommand($sCommand, $sWorkingDir = "", $sPath = @ComSpec & " /c ") Local $sData = "", $iPID, $iExitCode ; $sData contains the output, $iPID contains the PID & $iExitCode contains the exit code $iPID = Run($sPath & $sCommand, $sWorkingDir, @SW_HIDE, 0x8) ; Get the PID of the process, The opt flag is $STDERR_MERGED If @error Then Return SetError(1, 0, 0) ; Return with error code 1 if its an error $avRET = DllCall("kernel32.dll", "ptr", "OpenProcess", "int", 0x0400, "int", 0, "int", $iPID) ; Get the handle of the process $hHandle = $avRET[0] ; Assign the handle of the process ; ProcessWaitClose($iPID) ; Wait until the command finishes its work While ProcessExists($iPID) $sData &= StdoutRead($iPID) ; Capture the output Sleep(10) ; Don't kill the CPU WEnd $t_ExitCode = DllStructCreate("int") ; I don't know what it does, but I think its the container which is used to store the exit code $avRET = DllCall("kernel32.dll", "int", "GetExitCodeProcess", "ptr", $hHandle, "ptr", DllStructGetPtr($t_ExitCode)) ; I think this one puts the exit code in the container $iExitCode = DllStructGetData($t_ExitCode, 1) ; Peek inside the container & note the exit code DllCall("kernel32.dll", "int", "CloseHandle", "ptr", $hHandle) ; Close the process handle Return SetExtended($iExitCode, $sData) ; Return the data & the exit code in @extended EndFunc ; Example $sData = RunCommand("This will not work b/c its not an command, but this will be executed by CMD so it will return the exit code: 1") $iExitCode = @extended ; Store the exit code MsgBox(0, "RunCommand Example", $sData & @CRLF & @CRLF & "Exit Code: " & $iExitCode) ; Display the results Edited August 14, 2015 by TheDcoder argumentum 1 EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
Developers Jos Posted August 2, 2015 Developers Share Posted August 2, 2015 Nice UDF. I would add 2 things to it:Put a short sleep(10) in your While ProcessExists($iPID) close loop to eat less CPUMake an optional parameter in which you can select to ConsoleWrite() all Output as it is received.Jos 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. Link to comment Share on other sites More sharing options...
TheDcoder Posted August 2, 2015 Share Posted August 2, 2015 @Jos Thanks! I will put a small sleep in there, I was thinking of returning the pid & the process handle, PID for capturing the output & Process handle for capturing the exit code, I will implement it tomorrow as it is mid-night here, Goodnight, TD EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
TheDcoder Posted August 13, 2015 Share Posted August 13, 2015 (edited) Its me again, This is a dedicated snippet, Checks if the system is a terminal:; #FUNCTION# ==================================================================================================================== ; Name ..........: IsTerminal ; Description ...: Checks if its a terminal machine ; Syntax ........: IsTerminal() ; Parameters ....: None. ; Return values .: Success: True, @extended will contain: ; 1 - Citrix session ; 2 - RDP session ; Failure: False ; Author ........: TheDcoder ; Modified ......: N/A ; Remarks .......: None. ; Related .......: None. ; Link ..........: https://www.autoitscript.com/forum/topic/139260-autoit-snippets/?do=findComment&comment=1264752 ; Example .......: No ; =============================================================================================================================== Func IsTerminal() $sOutput = EnvGet("SESSIONNAME") ; Get the SESSIONNAME variable's value If StringRight($sOutput, 3) = "ICA" Then Return SetExtended(1, True) ; Check if its a Citrix session If StringRight($sOutput, 3) = "RDP" Then Return SetExtended(2, True) ; Check if its a RDP session Return False ; Return False if none of the above EndFuncTD Edited August 13, 2015 by TheDcoder updated link, TD :) EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
iamtheky Posted August 13, 2015 Share Posted August 13, 2015 If your application relies on these variables, remove the folder option "Launch folder windows in a separate process".https://support.microsoft.com/en-us/kb/2509192 There are plenty of fun ways to check for that, if you want to be foolproof. Finding a way to run this from the parent explorer.exe without regard to being launched from a separate process, that would be killer. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
nitekram Posted August 13, 2015 Share Posted August 13, 2015 I second that.In my opinion the wiki is the perfect place for code snippets - we already have a section for snippets (the header problem should be solved though).I do not think it is a good idea to have the same information spread all over the place.So: Snippets in the wiki, discussion about them in the forum. Just my $ 0.02.i thnk that maybe this should have a section in the example scripts, under snippets, and each one have its own post, otherwise this post will be like the great software thread, cannot remeber name. - a lot of great stuff lost in a 100 pages. But I will give my 4 cents this time, as this is the exact definition of examples. Besides the other issue with search for it in our search engine, would be nearly impossible. Please excuse any spelling mistakes, I am on a cell. 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator 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