i would like to ask for some help on how to write something like this in Autoit
If CType(update, WUApiLib.IUpdate3).BrowseOnly = True Then opt_updates = opt_updates + 1 Else imp_updates = imp_updates + 1 End If I`m trying to find Important Windows updates only, but for some reason this code:
$ColNeeded = $objSearcher.Search("BrowseOnly=0 and IsInstalled=0 and IsHidden=0") $update = $ColNeeded.Updates.Item($i - 1) returns all update (important and optional) as important (even though BrowseOnly=0). I think i`m missing a reference to WUApi.DLL in my code but i couldn`t find anything else to help me :/
If someone could help me either by providing a Autoit alternative to
CType(update, WUApiLib.IUpdate3).BrowseOnly = True or another way to find only important Windows updates i would be very grateful.
Hi everybody, new here.
I'm messing around with AutoIT since a few days.
I'm actually doing some experiment on my computer, and want to do a simple textbox on my desk, and when I type some things like "chrome" then click OK or input Enter, it launch chrome.exe
Anyway, I'm storing a historic of my inputs in a txt file. And if I push my BackSpace button, I'd like to make my code delete the last character of the txt file instead of FileWrite ($historic, 'BACKSPACE') ..
Is there a special character that can delete my last char in the txt file ? I remember doing domething like that in C but it was years ago and I was beginning...
Thanks for your help !
Hi, i wanted to make inputbox password, need to get it's chars length in it, because the "password char" is too secure
and i need the user to know if he is writing or not!!
here's my effort
Global $length, $Pw $Pw = InputBox("Security", "Type password to Encrypt/Decrypt file." & @CRLF & "Notice: password case sensitive" & @CRLF & "Pw length: " & $length, "", "ٌ", 220, 150) $length = StringLen($Pw) MsgBox(0, "", $length) i tried to put $length above $Pw but didn't work too.
Title says it all.
I'm trying to communicate with a server, where the first two bytes are an u16 of the length of the packet.
But I have no idea how to go to u16...in order to send it over TCP...
Anyone know how?
Thanks in advance.