Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/09/2023 in all areas

  1. @Andreik I completely agree with you. Moreover, it seems from your labeling GUISetState(@SW_SHOW, $hGUI) ; <<< ------ You need this I read the post, saw the script, drew a conclusion, completed the puzzle and added some touches, how would I do it In no case should it be considered that I gave the solution just point out what's missing (in my perception)
    1 point
  2. Your question was why your popup don't disappear when you click outside and you got the answer. Don't think anyone it's going to spend time to understand the entire logic of your application without a proper context. All I can see in your functions is copy/paste operations through clipboard. Give a proper context about what and from where do you copy/paste and you will get better answers. @ioa747 gave you an example about how to save the active window for further operations, if this is what do you expect.
    1 point
  3. Fine. I will do it in the comming week. As so far I have finally done UCS support in sending SMS and _ATCmd_SMS_ListMessages() Must to check it with few GSM modem and then I be ready to publish. As so far tested with: ZTE MF631 and with LC SIM800C V3 ( the same model as posted by @Viszna here ... - in fact, I received this modem as a gift a few years ago from @Viszna Thanks bro ). I still have to test it with few Huawei models. After that I need to test all the same modem devices, but with another GSM service provider (currently T-Mobile, but I also have Orange). EDIT 1: tested with HUAWEI E3131 - works well. EDIT 2: tested with HUAWEI E176G - works well.
    1 point
  4. $oShell.Windows() returns a collection of items, just choose what item do you want by LocationName or LocationURL. $Location = 'Local Disk (C:)' $hExplorer = WinGetHandle( "[REGEXPCLASS:^(Cabinet|Explore)WClass$]" ) If Not $hExplorer Then Exit $oShell = ObjCreate("Shell.Application" ) $oWindows = $oShell.Windows() For $Index = 0 To $oWindows.Count - 1 If $oWindows.Item($Index).LocationName = $Location Then $oWindow = $oWindows.Item($Index) ExitLoop EndIf Next For $oItem In $oWindow.Document.SelectedItems() ConsoleWrite( $oItem.Path() & @CRLF ) Next
    1 point
  5. willichan

    Check-If-Same

    I'm a bit late to this argument party, but . . . since you are not using this for encryption, you don't really have to worry about using established algorithms. You can even create your own simplified hash. I just uploaded a quick and dirty hash I have used in the past. I just cleaned it up and turned it into a UDF. Take a look, have a laugh, then do what works for your app. 🙃 https://www.autoitscript.com/forum/topic/210942-cornedbeef-hash-udf/
    1 point
  6. llewxam

    Read value from listview

    Replace your func _GetSelectedItem1 with this: Func _GetSelectedItem1() Local $SelectedItemIndex = -1 Local $GetCount = _GUICtrlListView_GetItemCount($listview) For $a = 0 To $GetCount - 1 If _GUICtrlListView_GetItemChecked($listview, $a) == True Then $SelectedItemIndex = $a EndIf Next If $SelectedItemIndex > -1 Then $LineInfo = _GUICtrlListView_GetItemTextArray($listview, $SelectedItemIndex) _ArrayDisplay($LineInfo) EndIf $var = False EndFunc ;==>_GetSelectedItem1 For _GUICtrlListView_GetItemTextArray to work it needs to know which index you are interested in. In order to get that you have to use _GUICtrlListView_GetItemChecked on each index of $listview to see if that line is checked. In order to do that you need a total count of items in $listview, so _GUICtrlListView_GetItemCount is needed, then look at each index to find the one that is checked. I set $SelectedItemIndex to -1 as default in case no boxes were clicked. What will happen if more than 1 box is clicked is anyone's guess as I only have 1 internal drive at the moment to test with. Ian
    1 point
  7. Maybe we just have most popular AV vendors explicitly (just in case an external link to a more in depth guide gets removed). Easier for us to maintain that way but still useful for the majority.
    1 point
×
×
  • Create New...