Jump to content

krasnoshtan

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by krasnoshtan

  1. Okay, just got it. Every time right mouse button is released above the GUI, the check is performed - is there are any defined elements was right clicked.
  2. Wow! That is almost what I am need. Can you describe me what that array is doing, how to understand its behaviour? UPD: is it possible to use multiple (included) switches/cases for better understanding?
  3. thanks, i was thinking of making a udf... Hello! Can you please help to differentiate not just the whole GUI mouse click, but exactly on different labels/button/etc. I would highly appreciate such an UDF or example (and many of coders, I think)!๐Ÿ˜ƒ Thank you for your time!
  4. Some day will try! Script looks interesting!๐Ÿ˜ƒ
  5. Nessie, thank you for answer!
  6. if you have machine with win 10, you can change compatibility preference in same named tab in the compiled .exe file properties. But this method may not work for all 100%, especially if your program works with the file system and system files names/variables. For example, system files/folders of winxp may differ considerably on Vista+. But you can try
  7. Hello forum users! At some point I had a need to restart my script. Is it possible to do this with autoit or do I need to connect additional scripts like .cmd or .bat? For example: i have only script.au3 and it's running. Wich code shoud i use to exit from the script and start it again?
  8. you can also use this TrayTip ("qwerty", "qwerty", $max_time) sleep ($your_time_to_go_out_traytip) Opt("TrayIconHide", 1) sleep (100) Opt("TrayIconHide", 0)
  9. Hello all! Recently I wanted to create settings window for my app, but if i want to close only child window, ะตhen all windows are closed. #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("fisrt", 385, 248, 192, 114) $Button1 = GUICtrlCreateButton("settings", 40, 8, 97, 33) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 sett() EndSwitch WEnd Func sett() $settings_window = GUICreate("settings", 380, 100, 100, 114) $exit_button = GUICtrlCreateButton("close", 34, 80, 9, 33) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE MsgBox (0, "exit", "exit") Case $exit_button Exit EndSwitch WEnd EndFunc Help please!
  10. thanks you so much
  11. Hi all! How to run this code. I want to start wmp, but i am need to run wmp in spite of that a system drive is not "C:" sorry if i write wrong, i am a new here here a code $all_wmp = @ProgramFilesDir & "\windows media player\wmlpayer.exe" MsgBox (0, 0, $all_wmp) Run ($all_wmp)
ร—
ร—
  • Create New...