Leaderboard
Popular Content
Showing content with the highest reputation on 10/20/2014 in all areas
-
Here some useless graphical examples using GDI+, made for fun (my 1st GDI+ codes ): !Some examples may run slowly on WinXP machines (workaround in this thread)! Some examples using Hex() function need adjustment when running on AutoIt version 3.3.8.0+ otherwise colors are flashing (fixed versions in AiO package below)!!! #01 Flying Pearl Necklaces: Source code here (577 downloads previously)! Flying Pearl Necklaces.au3 #02 Flying Squares: Source code here (265 downloads previously)! Flying Squares.au3 #03 Rotating Squares: Source code here! Rotating_Squares.au3 #04 Plasma & Plasma Variant: Source codes here! Plasma: Plasma.au3 Plasma Variant: Plasma Variante.au3 #05 L-System Fractals: Source code here (382 downloads previously)! L-System Fractals.7z #06 Sinus Scroller: Source code here (218 downloads previously)! Sinus Scroller.au3 #07 Visualization: Analog Meter: download here (including source, needed files and compiled exe): Source code + needed files here (473 downloads previously)! Visualizer_Analog Meter.7z More GDI+ visualizations here by monoceres or by Eukalyptus Audio Visualization Collection (German site) #08 Particle Catapult: Source code here (70 downloads previously)! Particle_Catapult.au3 #09 Rotating Cube: Source code here (79 downloads previously)! Rotating_Cube.au3 #10 Simple Ball Collision Simulation: Source code here (35 downloads previously)! Simple_Ball_Collision_Simulation.au3 (it is not finished yet! look from time to time into this thread for an update! Nice tutorial here) #11 Particle Explosions: Source code here: Explosions__from_AutoIteroids_.au3 #12 Rotating Letters: Source codes here: Rotating Letters.au3 Transparent version (87 downloads previously): Rotating Letters Transparent.au3 #13 Rotating Cube 2: Source code here (53 downloads previously): Rotating Cube 2.au3 #14 Rotating Cube 2 with Textures: Source code here (68 downloads previously): Rotating Cube 2 + Textures.7z #15 Rotating Cube 2 with some examples from above on each surface: Source code here (55 downloads previously): Rotating Cube 2 + animated surfaces.7z #16 Rotating Cube 2 simple: Source code here: Rotating Cube 2 - Simple.au3 Or with background pic or Rotating Cube 2 simple + Background #17 Tramp of Particles: Source code here: Tramp of Particles.au3 #18 Twister: Source code here: Twister.au3 WinAPI version is 2.5x faster (look in AiO archive)! #19 Star Burst: Source code here: Star Burst.au3 #20 Warp Starfield: Source code here: Warp Starfield.au3 #21 Plasma 2: Source code here: Plasma 2.au3 #22 Isometric Level-3 Cube: Source code here: Isometric Level-3 Cube.au3 #23 Zoomer: Source code here (7 downloads previously): Zoomer.au3 GDIP.au3 needed for Zoomer! #24 Suspended Cloth Simulation: Source code here: Suspended Cloth Simulation.au3 #25 Visualizer: Oscilloscope Farbrausch: Source code here (30 downloads previously): Visualizer Oscilloscope Farbrausch.au3 To run Visualizer Oscilloscope Farbrausch.au3 properly you need following files: Bass.au3, BassExt.au3, Bass.dll and BassExt.dll. These files can be found in AiO package or on German AutoIt site! #26 Im- Exploding Particle Logo: Source code here: Im- Exploding Particle Logo.7z #27 Pixel Text Effect: Source code here (12 downloads previously): Pixel Text Effect.7z or with ♬chip sound♫ aka demo style (download from German AutoIt site or from AiO archive). #27 works best on Vista+ machines! #28 Star Wars Scroller: Source code here: Star Wars Scroller.au3 For a complete Star Wars Intro have a look to eukalyptus' Star-Wars Intro (see below!) #29 Rotated Letters Simple: Source code here: Rotated Letters Simple.au3 #30 Ballet of Letters: Source code here: Ballet of Letters.au3 #31 Perfect Illusion: Source code here: Perfect Illusion Variant 1.au3 Perfect Illusion Variant 2.au3 Perfect Illusion Variant 3.au3 Mesmerizing Squares Screensaver (previous downloads approx. 100): Mesmerizing_Squares_Screensaver.au3 (compiled version here): Don't stare too long on it or you will be mesmerized One more: Rotating triangle + vertical scroller + music (modification of monoceres' code): Magic Lines Screesaver (110 downloads previously): Magic Lines Screensaver.7z Another screensaver - 3D Star Scrolling Screensaver (83 downloads previously): GDI+ 3D Star Scrolling Screensaver.au3 !Some examples may run slowly on WinXP machines (workaround in this thread)! Some examples using Hex() function need adjustment when running on AutoIt version 3.3.8.0+ otherwise colors are flashing (fixed versions in AiO package below)!!! AiO download link ☞ AiO1 or AiO2 ☜ (all examples above compiled + source codes packed with 7-Zip) Have a look also to the game I made using GDI+: Link: AUTOITEROIDS v1.018 Build 2011-06-09 (Final) (a clone of the game Asteroids made by Atari 1979) I hope you like it! Any kind of comment is welcome!!! My examples are all done with AutoIt v3.3.0.0 on Vista x32! Kudos to: monoceres, smashly, malkey, Eukalyptus and Authenticity! Check out Some Graphical Examples using GDI+ Vol. II build 2016-01-25 More examples made by other members in this thread (thanks you very much!): Spinning Flying Pearl Necklaces by smashly: Spinning Flying Squares by smashly and ProgAndy LMP Visualization by youknowwho4eva: SineWorm by monoceres: Enterprise Warp by youknowwho4eva: Confused ASCII by monoceres: Lissajous Curve by monoceres: Butterfly Curve by monoceres: ParticleCollisionFun2 by crashdemons: Extreme nice physic engine by moritz1243 (German site): Lingering Line by MvGulik: Scroller Sine Blobs by Lakes: Cube surface and 3D axis and by Lakes: by eukalyptus: by eukalyptus: Two more examples by eukalyptus: and FEEL FREE TO POST YOUR GDI+ EXAMPLES HERE,TOO!!! Have fun and regards, UEZ ✌ PS: more modified examples also here in this topic History of my useless scripts above:1 point
-
You seem to confuse k and K. Based on your example, you can use "(?i)^http://www.motherinlaw.K(.+)/" Why do you put the "http://www.motherinlaw" in the capturing group? But then notice that K is useless as the pattern "(?i)^http://www.motherinlaw.(.+)/" works equally well. Also beware that dot (.) may not work like a literal dot (.)1 point
-
Aha, ok. #include <IE.au3> Local $oIE = _IECreate() $oIE.Navigate2("http://whatismyreferer.com", Default, Default, Default, 'Referer: "newwebsite.com"')1 point
-
Hi all, After a PM exchange I am happy that mtizzle981's intentions for attempting to automate the button are not malicious - but we do not want auto-vote code on the forum so the subject is being dealt with off-line. Thread locked. M231 point
-
AnAlien, I would do it something like this: #include <GUIConstantsEx.au3> #include <MsgBoxConstants.au3> Global $aCheck[3], $aDummy[3] $hGUI = GUICreate("Test", 500, 500) ; Create checkboxes and linked dummy controls For $i = 0 To UBound($aCheck) - 1 $aCheck[$i] = GUICtrlCreateCheckbox("Checkbox " & $i, 10, 10 + (40 * $i), 200, 20) $aDummy[$i] = GUICtrlCreateDummy() Next $cCheckAll = GUICtrlCreateCheckbox("Check All", 10, 130, 200, 20) GUISetState() While 1 $iMsg = GUIGetMsg() Switch $iMsg Case $GUI_EVENT_CLOSE Exit Case $cCheckAll ; Decide on state to set $iState = ( (GUICtrlRead($cCheckAll) = 1) ? ($GUI_CHECKED) : ($GUI_UNCHECKED) ) ; Loop through the checkboxes For $i = 0 To UBound($aCheck) - 1 ; If we are changing a checkbox state If GUICtrlRead($aCheck[$i]) <> $iState Then ; Fire the relevant dummy control GUICtrlSendToDummy($aDummy[$i]) EndIf ; Chenge the state GUICtrlSetState($aCheck[$i], $iState) Next Case Else For $i = 0 To UBound($aCheck) - 1 ; Was a ccheckbox changed If $iMsg = $aCheck[$i] Then ; Check if valid combination If _Valid_Combination() Then ; Call code to run Call("_Check" & $i) Else MsgBox($MB_SYSTEMMODAL, "Error", "Invalid checkbox combination") EndIf ; No point in looking further ExitLoop EndIf ; Was s dummy fired If $iMsg = $aDummy[$i] Then ; Call code to run Call("_Check" & $i) ; No point in looking further ExitLoop EndIf Next EndSwitch WEnd Func _Check0() If GUICtrlRead($aCheck[0]) = 1 Then MsgBox($MB_SYSTEMMODAL, "Hi", "Running code for Check 0 checked") Else MsgBox($MB_SYSTEMMODAL, "Hi", "Running code for Check 0 unchecked") EndIf EndFunc Func _Check1() If GUICtrlRead($aCheck[1]) = 1 Then MsgBox($MB_SYSTEMMODAL, "Hi", "Running code for Check 1 checked") Else MsgBox($MB_SYSTEMMODAL, "Hi", "Running code for Check 1 unchecked") EndIf EndFunc Func _Check2() If GUICtrlRead($aCheck[2]) = 1 Then MsgBox($MB_SYSTEMMODAL, "Hi", "Running code for Check 2 checked") Else MsgBox($MB_SYSTEMMODAL, "Hi", "Running code for Check 2 unchecked") EndIf EndFunc Func _Valid_Combination() ; Create a strign to match the current checkbox state $sValid = "" For $i = 0 To UBound($aCheck) - 1 $sValid &= ( (GUICtrlRead($aCheck[$i]) = 1) ? ("X") : ("-") ) Next ; Now check the validity of that combination Switch $sValid Case "XXX", "X-X", "X--", "-X-", "--X" Return True EndSwitch Return False EndFunc Please ask if you have any questions. M231 point
-
Search in a folder and cycle through subfolders to find the latest file
232showtime reacted to JohnOne for a topic
For a start you'll want to look at... _FileListToArrayRec1 point -
He's not a Jedi Master, he's a GDI Master!1 point
-
I used to speak spasish, but I used it less and less as I became sober.1 point