Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/11/2017 in all areas

  1. From the Help file about _ArrayDisplay: Run User Func Run the user-defined function passed in $hUser_Function. This function is entirely separate from the UDF and must be created and coded by the user to accept 2 (and only 2) parameters which will be provided by the UDF itself: the full array being displayed and a 1D array holding the selected rows indices with a count in the [0] element. These parameters can then be used inside the user function as required. The button is not displayed if no function is specified. And the code: #include <Array.au3> Global $aSelRows Global $aArray[10][6] For $i = 0 To 9 For $j = 0 To 5 $aArray[$i][$j] = $i & "/" & $j Next Next _ArrayDisplay( $aArray, "Select one/more items. Click ""Run User Func""", "", 0, Default, Default, Default, Default, GetSelected ) Func GetSelected( $aArray, $aSelected ) $aSelRows = $aSelected If $aSelRows[0] = 0 Then MsgBox( 0, "", "Select one/more items. Click ""Run User Func""" ) Else MsgBox( 0, "", $aSelRows[0] & " items selected" ) Send( "{ESC}" ) EndIf EndFunc _ArrayDisplay( $aSelRows )
    2 points
  2. R0G

    controlclick on bluestacks

    Does Autoit Window Info tool see the control your trying to click?
    1 point
  3. R0G

    controlclick on bluestacks

    ControlClick works fine on Bluestacks controls, the window can be hidden and inactive and it should still work. Try this: (assuming your coordinates are correct) ControlClick("BlueStacks App Player","","[CLASS:BlueStacksApp; INSTANCE:1]","left",1,590, 306)
    1 point
  4. Welcome. You seriously think you provided enough information to be able to help you? On top of that it sounds like you haven't done any research first yourself. Your move, Jos
    1 point
  5. You can be sure that if something was created by Melba23 then it has all the features you'll ever need
    1 point
  6. trancexx

    XM Play (Extended Module)

    This is my another try on playing XM music in AutoIt. Usually you would need third party dll to play this music. The problem is need for both x86 and x64 dlls for universal application. Deploying these new files has its own downsides. That's why I decided to write my engine for the player. It's written in c++ following available XM documentation, and compiled using free version of Visual Studio. After that binary data is extracted and embedded compressed inside the script. When the script is used the code is decompressed. Download zip file and extract folder inside together with all files (most of them are XM music files of my choice), run Player.au3 and see if it's working for you. XM_Play.zip There are no dlls, external files or anything else of such kind. Available functions are: Load_XM Free_XM Pause_XM Play_XM Vol_XM Player.au3 is just an example. ...Oh, and you can load online XMs directly specifying URL.
    1 point
  7. Welcome to the club
    1 point
  8. marshallprank, Easy (when you know how)! #include <Array.au3> Global $Content_Subfolder_include[3] = ["", "ABC", ""] ; Copy the array $arr_2 = $Content_Subfolder_include ; Move backwards through the array deleting the blank lines For $i = UBound($arr_2) - 1 To 0 Step -1 If $arr_2[$i] = "" Then _ArrayDelete($arr_2, $i) EndIf Next ; Et voila! _ArrayDisplay($arr_2)Note you need to move backwards through the array when deleting lines or you end up with element indexing errors. All clear? M23 Edit: And it still works if you add an element to the initial array as you have just done in your edit. But do rermember to increase the dimension size of the initial array if you do that.
    1 point
×
×
  • Create New...