Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/20/2011 in all areas

  1. Lets close this trail as it leads down the wrong path.
    2 points
  2. GUICtrlSetTip( $4,"whatever")
    1 point
  3. Just run the tooltip command with the new contents.
    1 point
  4. IE reads the registry key when you create a new instance of it. So the process is: - Disable the sound - Create IE instance - Enable the sound - Use IE as normally
    1 point
  5. MrMitchell was pretty explicit. If you can create a function, you should understand what it means to put another call into one. pseudo: For $i = 1 To 10 ; loop 10 times to see if you get diff msgbox ; Action Below _MyActionFunc() If @error Then ; this means that my check func returned false MsgBox(16 + 262144, "Error", "_CheckSomethingFirst() returned False") EndIf Next Func _MyActionFunc() ; now I want to go to another func first If _CheckSomethingFirst() = False Then ; Here I've created a condition to do something in case my checking function fails ; don't do anything else, just return Return SetError(1, 0, 0) EndIf MsgBox(64, "Success", "See you made it here") Return 1 EndFunc Func _CheckSomethingFirst() Local $a_arr[2] = [False, True] Return $a_arr[Random(0, 1, 1)] EndFunc
    1 point
×
×
  • Create New...