Jump to content

Wb-FreeKill

Active Members
  • Posts

    616
  • Joined

  • Last visited

Everything posted by Wb-FreeKill

  1. VERY simple but usefull, i needed it, maybe someone else need it too shell32Icons.au3
  2. http://www.autoitscript.com/forum/index.php?showtopic=15407
  3. Dunno about changeing the GUI size, but take a look at this: GUI.au3
  4. How can i detect if the user RIGHT-click on an item in a listview? and is it possible to create a ContextMenu for that specific item if rightclicked? The reason i ask is that i add a 1000 files in a listview with contextmenu on each item, it takes so much longer thx for any help!
  5. Strait from the help file #Include <Constants.au3> #NoTrayIcon Opt("TrayMenuMode",1) ; Default tray menu items (Script Paused/Exit) will not be shown. $exititem = TrayCreateItem("Exit") TraySetState() $start = 0 While 1 $msg = TrayGetMsg() If $msg = $exititem Then ExitLoop $diff = TimerDiff($start) If $diff > 1000 Then TraySetIcon("Shell32.dll",Random(0,100,1)) $start = TimerInit() EndIF WEnd Exit
  6. Holgers AutoItExplorer is not for beginners (which i espect #0 to be, no offense) i looked at it my self, i dunno how to use DLLstruct and so on..
  7. there are many examples, try search the forum
  8. Take a look at this: Pic.au3 EDIT: And the ini file: [Info] Pic1 = Text of pic 1 Pic2 = Text of pic 2 Pic3 = Text of pic 3 Pic4 = Text of pic 4 Pic5 = Text of pic 5 Pic6 = Text of pic 6 Pic7 = Text of pic 7 Pic8 = Text of pic 8 Pic9 = Text of pic 9
  9. I defeneltly think this is possible, and quite simple... umm, ill try look at it
  10. Stupid question, how do i use this?
  11. There are several solutions. You could check the Input for the text in a loop, and when the text is equal to "cool", it could write "[oo]" in the other input. Or you could use HotKetSet, and for each charater you input, it could type something different in the other input... Does that make any sense to you?
  12. Hmm thats odd, it works just fine here, are you using the latest beta? Prog1.au3 This works perfecly here...
  13. Im a little confused. When you click the GO button, the program shoud enter the Edit() func that does something... and while the program is looping in the new loop in the Edit() func, you should be able to press the Stop button, which executes the MyExit() func right?
  14. Something like: While 1 If StringInStr ($manstr, "Dell") Then $pcman = "Dell" ExitLoop EndIf If StringInStr ($manstr, "Compaq") Then $pcman = "Compaq" ExitLoop EndIf If StringInStr ($manstr, "IBM") Then $pcman = "IBM" ExitLoop EndIf If NOT StringInStr ($manstr, "Dell") Or StringInStr ($manstr, "Compaq") Or StringInStr ($manstr, "IBM") Then Exit Wend
  15. You can't make a INPUTBOX allways on top, and at the same time be able to use another app. You could make your windows AllwaysOnTop, but when using the other app, the inputbox loses focus until you use your app again... bad explanation i know
  16. dude thats a long code to check, upload the au3 file and post the link in the topic here, that would help
  17. Im don't understand what you want, would you read from an ini file, and execute the file it finds with run? or???
  18. Here you go: #include <GUIConstants.au3> ; GUICreate("x", 412, 297, 363, 276, $WS_OVERLAPPEDWINDOW) $Button1 = GUICtrlCreateButton("Start", 320, 240, 75, 25) $Button2 = GUICtrlCreateButton("About", 8, 264, 75, 25) $Button3 = GUICtrlCreateButton("Stop", 320, 272, 75, 25) $RadioButton1 = GUICtrlCreateRadio("x", 24, 24, 113, 17) $RadioButton2 = GUICtrlCreateRadio("x", 24, 72, 113, 17) $RadioButton3 = GUICtrlCreateRadio("x", 24, 96, 113, 17) $RadioButton4 = GUICtrlCreateRadio("x", 24, 120, 113, 17) $RadioButton5 = GUICtrlCreateRadio("x", 24, 144, 113, 17) $RadioButton6 = GUICtrlCreateRadio("x", 24, 168, 113, 17) $RadioButton7 = GUICtrlCreateRadio("x", 192, 24, 113, 17) $RadioButton8 = GUICtrlCreateRadio("x", 192, 48, 113, 17) $RadioButton9 = GUICtrlCreateRadio("x", 192, 72, 113, 17) $RadioButton10 = GUICtrlCreateRadio("x", 192, 96, 113, 17) $RadioButton11 = GUICtrlCreateRadio("x", 192, 120, 113, 17) $RadioButton12 = GUICtrlCreateRadio("x", 192, 144, 113, 17) $RadioButton13 = GUICtrlCreateRadio("x", 192, 168, 113, 17) $RadioButton14 = GUICtrlCreateRadio("x", 24, 48, 113, 17) $ProgressBar1 = GUICtrlCreateProgress(104, 192, 150, 17) $TrackBar1 = GUICtrlCreateSlider(8, 216, 310, 45, BitOR($TBS_AUTOTICKS,$TBS_RIGHT,$TBS_HORZ)) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button1 $i = 1 Do Sleep(100) GUICtrlSetData($progressbar1,$i) $i = $i + 1 Until GUICtrlRead($progressbar1) = 100 Case $msg = $Button2 msgbox (0, "About", "x - Thanks to x") Case Else ;;; EndSelect WEnd Exit
  19. No I don't think thats possible
  20. Replay on his post, and copy the code from in there..
  21. You HAVE to extract the pictures somewere in order to use them, a proper place would be the Temp folder: msgbox(0,"",@TempDir) Then on exit, delete the files again $ButtonPic = @Tempdir & "\Pic.jpg" Filedelete($ButtonPic)
  22. I know it's possible, but can't remember how
  23. If you need to check the state of the Radiobutton, use something llike: This works: If GUICtrlRead($button_1) = $GUI_Checked Then msgbox(0,"","")
×
×
  • Create New...