Leaderboard
Popular Content
Showing content with the highest reputation on 05/16/2022 in all areas
-
Add timestamp or text in au3 file when compling
cramaboule and one other reacted to Jos for a topic
In that case one can write a script to do so and add that to the script to runbefore/after via a directive. One just needs to use their imagination!2 points -
AutoIt GUI Creators (Designers)
nguyentoannta3 reacted to TheSaint for a topic
As many of you may not be aware, of much about AutoIt's humble beginnings, and aspects related to the first GUI version of AutoIt, I thought it might be nice to create a historical reference here for all the many GUI creators that have been created by various people over the years. NOTE - While one could argue, that this topic might be better placed in one of the Chat forums, I would argue, that it links to heaps of good code. While much may be redundant in that code, it is still interesting and forms a great perspective. Many are bound to find useful elements at the very least. Koda, is no doubt the most well-known GUI creator now, but there was a time, when CyberSlug's legendary GUIBuilder (first known as AutoBuilder) ruled the roost, and AutoIt coder's saw it as a Godsend. AutoIt coding was much simpler back then of course. Below, will be a timeline, of any AutoIt GUI creators listed in forum pages. It will be added to by myself as I find them or as others here find them and place a link in a subsequent post ... PLEASE HELP! Comments welcome too. (Also note, that this is also intended to include updates, branches etc by others) Apr 20 2004 - AutoBuilder by CyberSlug. Sep 27 2004 - An interesting topic, where CyberSlug talks about the future of AutoBuilder (etc) and renaming to GUIBuilder and you see the first mentions and links to updates by others (including myself & livewire). Nov 05 2004 - A topic where lookfar is working on a SciTE replacement, talks about starting a Form Designer. Aug 10 2005 - GuiBuilder first update by TheSaint. Sep 26 2005 - GUIBuilder updates by livewire (he also talks about transferring his efforts to Koda). Nov 02 2005 - KODA FormDesigner v1.3 by lookfar Nov 03 2005 - Seemingly interesting topic about forms by tonedeaf Dec 26 2005 - AutoIt Studio(beta) by BillLuvsU Jan 09 2006 - AutoBuilder update (or branch) by _^__darkbytez (livewire also posts). Feb 19 2006 - Koda v1.5 by lookfar Sep 07 2006 - Koda v1.7.3.0 by Lazycat Jan 07 2007 - Form/GUI Builder by FlintBrenick Jun 10 2007 - Gorganizer by _Kurt (more of an assister than actual GUI maker) Jun 27 2007 - Basic GUI Designer by Mast3rpyr0 May 03 2008 - Autoit Programmer's Desktop (APD) by Ealric Jul 11 2008 - Gui Designer by Alek Aug 11 2008 - Gorganizer update by _Kurt Jun 19 2009 - Easy GUI by Mat Aug 13 2009 - GUI Script Creator by Pandemic (not sure this qualifies, but it made me think of templates) Aug 16 2010 - Creation Gui by AZJIO Jan 22 2012 - ISN AutoIt Studio by ISI360 (includes ISN Form Studio 2, a GUI editor) Mar 19 2012 - Arduino GUI Programmer by nikosliapis (creates a specific type of GUI) Aug 01 2012 - GuiBuilder Resurrected update/branch to GUIBuilder by baroquebob Dec 01 2012 - Form Builder beta (v1.0.6) by BuckMaster Jan 12 2015 - GUIBuilderNxt update by jaberwacky of GUIBuilder v0.8 (as a new prototype, modified to work with latest AutoIt) (not a update to the Resurrected version) Aug 12 2016 - The GuiBuilder Return by DFerrato as an update to GUIBuilder, Jan 17 2017 - GUIBuilder Project by TheSaint (a work in progress based on CyberSlug's original ... and later versions, updated by Roy, TheSaint & others). May 29 2019 - The GuiBuilder Return by DFerrato as an update to GUIBuilder, His new and improved version. May 9 2022 - GuiBuilderPlus by kurtykurtyboy as an update to GUIBuilder. A new an improved version with more to come. There are a significant number of creators/designers that have been started and never completed. +++++ STILL UNDER CONSTRUCTION +++++ P.S. Well that's it from me tonight. I know of at least one other major creator, but cannot recall it's name or the name of the coder, though I think it starts with 'L'. Bound to be a few I've missed, and some I cannot seem to find their first appearance here (Koda, Form Builder, etc), but there may be an obvious reason for that. Will probably rely on feedback from others now that I've got the ball rolling. NOTE - If anyone wants to discuss any of these programs above or give some background history, then by all means do so. I will cross-reference (link to) any important comments.1 point -
One more work-around for the old problem :). Update procedure must be quite different for these two control types under the hood. #include <WindowsConstants.au3> #include <EditConstants.au3> HotKeySet("{ESC}", "_Exit") GUICreate("My GUI") GUISetBkColor(0x00ff00) $c_Label = GUICtrlCreateLabel(0, 10, 10, 200, 20) $c_Input = GUICtrlCreateInput(0, 10, 60, 200, 20, $ES_READONLY, $WS_EX_TRANSPARENT) GUICtrlSetBkColor(-1, 0x00ff00) GUICtrlSetCursor(-1, 2) ; Arrow GUISetState(@SW_SHOW) While 1 GUICtrlSetData($c_Label, TimerInit()) GUICtrlSetData($c_Input, TimerInit()) WEnd Func _Exit() Exit EndFunc ;==>_Exit1 point
-
Do while loop with image search - (Moved)
ashraful089 reacted to Melba23 for a topic
Moved to the appropriate forum. Moderation Team1 point -
Activate one window after another, but the windows have the same name/title
Earthshine reacted to rudi for a topic
With this code https://www.autoitscript.com/forum/topic/19370-autoit-wrappers/?do=findComment&comment=417610 by @Valuater you can address your command boxes by preserving the PIDs, when launching them: #include <MsgBoxConstants.au3> Dim $aPIDs[4]=[3] for $i = 1 to $aPIDs[0] $aPIDs[$i]=Run("C:\Windows\System32\cmd.exe") Next for $i = 1 to $aPIDs[0] $hWin=_WinGetHandleByPID($aPIDs[$i],-1) WinActivate($hWin) MsgBox($MB_TOPMOST, '', "Activated #" & $i & " with PID " & $aPIDs[$i]) Next Func _WinGetHandleByPID($vProc, $nVisible = 1) $vProc = ProcessExists($vProc); If Not $vProc Then Return SetError(1, 0, 0) Local $aWL = WinList() Local $aTemp[UBound($aWL)][2], $nAdd = 0 For $iCC = 1 To $aWL[0][0] If $nVisible = -1 And WinGetProcess($aWL[$iCC][1]) = $vProc Then $nAdd += 1 $aTemp[$nAdd][0] = $aWL[$iCC][0] $aTemp[$nAdd][1] = $aWL[$iCC][1] ElseIf $nVisible = 0 And WinGetProcess($aWL[$iCC][1]) = $vProc And _ BitAND(WinGetState($aWL[$iCC][1]), 2) = 0 Then $nAdd += 1 $aTemp[$nAdd][0] = $aWL[$iCC][0] $aTemp[$nAdd][1] = $aWL[$iCC][1] ElseIf $nVisible > 0 And WinGetProcess($aWL[$iCC][1]) = $vProc And _ BitAND(WinGetState($aWL[$iCC][1]), 2) Then $nAdd += 1 $aTemp[$nAdd][0] = $aWL[$iCC][0] $aTemp[$nAdd][1] = $aWL[$iCC][1] EndIf Next If $nAdd = 0 Then Return SetError(2, 0, 0);No windows found ReDim $aTemp[$nAdd + 1][2] $aTemp[0][0] = $nAdd Return $aTemp EndFunc1 point -
Add timestamp or text in au3 file when compling
argumentum reacted to rudi for a topic
SciTE compiler GUI, TAB "run before/after": Some arrangement to add a "timestamp-line" at the end or beginning of your AU3 file1 point -
Hi, cool thing you guys got going here! And great work from larsJ! Just a crazy thought.. Would it be possible to somehow bridge a native ActiveXObject, or even the whole WSH interface ( jscript ) into the WebView2? So you straight from the Webview html/js file could do things like var fso = new ActiveXObject("WScript.shell") Not sure, but maybe this could be used: https://docs.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2.addhostobjecttoscript?view=webview2-dotnet-1.0.1210.391 point
-
https://www.makeuseof.com/tag/change-taskbar-icons-programs-windows-10/1 point
-
That's not really a webdriver-related question, so you may want to start a separate thread. P.S. There are ways to start the console so that it isn't visible.1 point
-
Au3toCmd -- Avoid false virus positives. (Version: 2022.09.01)
MightyWeird reacted to Exit for a topic
Version: 2022.05.12 (Support blanks in pathnames)1 point -
Added GuiBuilderPlus by kurtykurtyboy to the first post, as an update to GUIBuilder. Its a new and improved version with more to come. Can be found here, along with a screenshot.1 point
-
Thanks for sharing, and that certainly predates my use of AutoIt, and from what I recall, the ability to create a GUI with AutoIt. So as such I imagine it would just a be GUI to compile AutoIt scripts, and not an actual GUI creator. Do you have a screenshot you can post for us?1 point
-
Ok, all the links in the first post should now be correct and working again. Please let me know of any that are wrong. I finally got around to digging up my saved web pages from January 2015, and thankfully all the links appear to still work after all the forum update changes. I'll fix the second post ones next. EDIT Damn, even though my webpage copy was saved on the 27th, it has far less entries on it for Post #2. I must have forgotten to do another save after later changes. No other saves after that point, even in February etc. That means quite some research work is required, which this little black duck does not feel up to right now ... dammit dammit dammit! Those who want to help would be very welcome ... and the names & dates might help you. P.S. Really weird I didn't save after all that work. Gonna check another backup source. I did have browser issues at one point, which may have been in that period, where things sometimes got saved in the wrong location ... if I'd had a browser crash and didn't pay attention to the date in the folder name. Let's hope. EDIT 2 No such luck, but Google is being my friend and making it easy to find them.1 point
-
For the time being, I am not looking into fixing any broken links, in any of my topics. Just in case it is for nothing and Jon has to eventually do a rollback and implements a script to fix these types of links. Luckily I have saved web pages, that should help me if I do need to fix ... many wouldn't of course. Very poor form by IPB or whatever they are called, and quite a big bug, having a wide impact when it comes to browsing through older topics. Don't agree with the lack of post number either, which only makes it worse.1 point
-
Just came across what seems a worthy GUI addition here, so added it to Related - Jun 21 2009 - >A runtime control move/re-size utility by Malkey1 point
-
And added GUI Dev Stuff by Jon Takes us right back to where it all started to happen in earnestness, and the key players back then. Makes an interesting read and introduction. Though still predated by CyberSlug's AutoBuilder.1 point
-
Added a few more GUI Creation Related items. GUIExtender GUISpoiler UDF GUI Fun! Apart from the fun aspect of that last, it also has a good number of links to other GUI related stuff, and like guinness says, it is interesting, so worthy of addition here in my estimation.1 point
-
Going by past history of issues, I don't think he will be in any hurry to update just yet.1 point
-
GUI CREATION RELATED I think it is worth adding some elements that have an impact on how GUI's are created. I am not specifically looking for these tools or addons etc, so please advise if you think something belongs here, as I will just add what attracts my notice. NOTE - I'm getting the notion, that it could become hard to draw a line with these, and we might end up with an awful lot. Definitely a handy reference though. Sep 24 2004 - GUI Dev Stuff by Jon (back where it all started to happen in earnestness) Sep 10 2006 - XSkin.au3... Skin your GUI by Valuater Oct 24 2006 - ShapedGUI Creator by Ed_Maximized Feb 19 2007 - EzSkin_1-2-3 by Valuater Mar 02 2007 - _GuiCreateGrid() by MrCreatoR Jun 14 2007 - PNG as GUI, drop shadows, curved edges, you name it by lod3n (think this qualifies) May 10 2008 - How to convert GUI scripts to v3.2.12.0 by Jon Jun 10 2008 - PNG as GUI, drop shadows, curved edges etc UDF by goldenix Sep 08 2008 - _GUIFrame UDF by kip Dec 31 2008 - Perforated image in GUI by GreenCan Mar 08 2009 - Add a drop shadow to native AutoIt GUI Forms and Dialogs by rover Jun 21 2009 - A runtime control move/re-size utility by Malkey Sep 25 2009 - Multiple PNG images as GUI elements by JRowe (seemingly qualifies) Aug 01 2010 - GUIExtender - Original version by Melba23 Sep 10 2010 - GUIFrame UDF update by Melba23 Mar 09 2011 - _GUIDisable UDF by guinness Dec 19 2011 - Tab control example: Tabs and subtabs on demand by LarsJ Sep 09 2012 - GUISpoiler UDF by MrCreatoR Oct 19 2012 - GUIExtender - New Version by Melba23 Dec 25 2012 - GUI design concepts by guinness Jan 15 2014 - GUI Fun! by Ascend4nt Apr 24 2014 - Spotlight + Focus GUI by Ascend4nt (think this qualifies) May 7 2014 - MetroGUI UDF v4 by BBs19 Oct 09 2015 - Borderless GUI without WS_POPUP, with Drag, Resize & AeroSnap by BBs19 June 10 2023 - Glance - GUI library for AutoIt, based on Windows api by kcvinu +++++ STILL UNDER CONSTRUCTION +++++ Please Help!1 point
-
Close multiple processes have the same name
SkysLastChance reacted to guinness for a topic
Sorry Varian, thats one way! But another way is to use _WinAPI_GetProcessCommandLine() which is in WinAPIEx.au3 it shows the command-line parameters of the executed process, therefore not having to save to an INI File. This Example creates a 2D Array with 3 Columns [Process Name, PID, Command-Line] #include <Array.au3> #include <WinAPIEx.au3> Global $ProcessArray = ProcessList(@ScriptName) ; <<<<< Change to Blank to see all Processes! If Not $ProcessArray[0][0] = 0 Then ReDim $ProcessArray[$ProcessArray[0][0] + 1][3] For $A = 1 To $ProcessArray[0][0] $ProcessArray[$A][2] = _WinAPI_GetProcessCommandLine($ProcessArray[$A][1]) Next If IsArray($ProcessArray) Then _ArrayDisplay($ProcessArray, '_WinAPI_GetProcessCommandLine')1 point -
When you have the Full SciTE4AutoIt3 installed you have this option: .. which can add an additional field to the PE header which you can see when opening the properties of the compiled script.0 points
-
Goodo. Thanks. So a GUI that creates scripts but not a creator of GUI.0 points
-
A new and improved version of his The GuiBuilder Return by DFerrato, has been added to the GUI Creator list in the first post. A new screenshot and download can be found at this post.0 points
-
Work has progressed far enough, for me to feel happy creating an entry here, so GUIBuilder Project has been added to the first post in this topic. It is a work in progress, solely by me at this point, TheSaint, but based on CyberSlug's original ... and later versions, that were updates by Roy, TheSaint & others. I am dragging GuiBuilder, kicking & screaming, into the 2010's, to be reborn as GUIBuilder or even GUIBuilder Reborn perhaps. Providing all goes to plan of course. I have already fixed/improved a few issues, including upgrading 16 bit icons to 32 bit ones ... even if they do look a bit crappy now ... at least they work.0 points
-
Second post also now fixed, thanks to Google for most links. Only had a bit of trouble with one, which was listed as - PNG as GUI, drop shadows, curved edges etc UDF but was really named - PNG as GUI, drop shadows, curved edges... _UDF0 points
-
So I've been told. Most of the stuff in my Toolbox is pretty long in the tooth now anyway, though I guess still lots of good examples for beginners in many ways, if not without issue with the latest AutoIt ... and not done with a suitable coding etiquette as expected around here by some now. Of course, I'm a much better programmer now than when I did most of that.0 points
-
Exactly as I tried it years ago, and seemingly the same result. It appears to work temporarily and then it doesn't.0 points
-
@junkew - Sorry, this is just a list for historical reference, though you can get more out of it, if you put the time in. All that stuff would require testing things, which I'm certainly not about to do ... others can though, if they wish. The dates though, should help in some regards. P.S. It is also a quick ready reference to save on searching, and to give awareness of GUI elements that many might not know about ... though that is somewhat of a secondary concern for me. P.S.S. If you can show me what you mean by tabular view and columns, I might consider it. Years ago I discovered you cannot do tables here, which is what I would have preferred. As things look now, I think they are easy enough to read. The second section, GUI Related, will probably end up messier.0 points