Basically all docs and links say
// Call the method via late binding.
// The parameter is passed by reference (VT_BSTR | VT_BYREF)
obj.GetType().InvokeMember("SomeMethod", BindingFlags.InvokeMethod, null,
obj, args, mods, null, null);
But when we have returned generic collection $pscollection i am unable to invokemember tostring or count or ...

You have to love Windows 10. I have dual monitors. I developed a small script (exe) and ran it on the second monitor. Got it working so I copied the exe to a laptop (Windows 10 too) and when I run the exe it opens and stays on the task bar. Actually it thinks that the laptop has two monitors too even though it doesn't so I see the thumb in the task bar and it thinks it is running on the second monitor still. So (sigh) I decided it easier just to go back to my development computer, run it on the first monitor, then re-copy it to the laptop.
Well... now, even on the computer I use to develop I cannot get the exe to run and stay on the primary monitor. When I run it I slide it back to the primary monitor then politely exit. When I run it again it goes right to the second monitor. How do I get this puppy back to running on a single monitor?

Just pushed out v0.1.7:
Updated ReadMe with links and more information about shortcuts and configuration
Improved handling of functions from include scripts
Debug Console and MsgBox can now be inserted solely with the cursor on the variable
Symbol search now catches multiple variables declared on the same line
Added and optimized #include snippets for all default scripts
Converted some keyword snippets into IntelliSense completions
VSCode Marketplace Link
Star/Submit Issues on Github

@jguinch, seems that WMI is happy with the VB hex notation "&H80", while if you want to use the AutoIt hex notation 0x80 then pass it without quotes. If you use the decimal number 128 it's always ok with or without quotes.
Local $objWMIService = $objWMILocator.ConnectServer($strComputer, "\root\cimv2", $usr, $pass, "", "", 0x80)
or
Local $objWMIService = $objWMILocator.ConnectServer($strComputer, "\root\cimv2", $usr, $pass, "", "", "128")
or
Local $objWMIService = $objWMILocator.ConnectServer($strComputer, "\root\cimv2", $usr, $pass, "", "", 128)

Not sure why you feel the need to bump the thread already? Waiting at least 24 hours would be nice.
So you mean that the part of the filename is missing in file "_FilesCopied.csv"? How are you opening this file as it has a CommaSeparateValues extension and the part that is missing starts with a comma?
JOs

Hm, I originally didn't use those because you can't use _IEPropertySet with the "Fullscreen" property. However I did some looking after you said that and realized there's another property called "Theatermode" that did exactly what I wanted it to do. Works like a charm now, thanks Danp2. Here's that section of code for reference:
$oIE = _IECreate ($url, 1)
$hIE = _IEPropertyGet($oIE, "hwnd")
WinSetState($hIE, "", @SW_MAXIMIZE)
WinWaitActive($Title)
Sleep(1000)
While
Local $FS = _IEPropertyGet($oIE, "theatermode")
IF $FS = 0 Then
_IEPropertySet($oIE, "theatermode", 1)
EndIf
WinActivate($title)
WinWaitActive($title)
Send("{F5}")
Sleep(100000)
Wend

Hello guys. So i'm using the following function to detect a change in the screen by using the PixelGetColor function, that by the way, is working fine, but now i need to detect that pixel color change in a background window. That can be done? Thanks guys.
Func ApertaF4()
$pix = $corpix
While $pix = $corpix
Sleep (300)
ControlSend("1 - STC (10.31.9.100)", "", "", "{F4}")
$pix = PixelGetColor($px,$py)
WEnd
VelocidadesVelox()
EndFunc ;==>ApertaF4

Hello!!! first ... sorry for my bad English xD !!
well ... The thing is I have this picture
you see I just need to search the text ... but if the background changes I can not search for that same photo ... can I configure it to only compare the red and not the background ?? I also have the photo in white and red ... red letters white background.

Hi there!
I need to add a special disclaimer in emails signatures users.
It's easy to add the message, but I want to check before if the message exist in HTML files.(My users have more than one signatures / html files)
My condition to search and stop do not works correctly, it stop on the first html file if the condition is true, but do not search and the second HTML file.
The goal is to add the message on every signature in the folder, but only one time of course. (This condition is important if the flag is not working and if we deploy the script again.)
Here is my code, what is wrong ?
$sFind = "</div>"
$sFilename = _FileListToArray(@AppDataDir & "\Microsoft\Signatures\", "*.htm", 1, True)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
For $i = 1 To $sFilename[0]
$search = "If you read this message, you are the winner"
Global $iLine = 0, $sLine = '', $iValid = 0
$hFile = FileOpen($sFilename[$i])
; find the line that has the search string
While 1
$iLine += 1
$sLine = FileReadLine($hFile)
If @error = -1 Then ExitLoop
; test the line for the $search string until the flag $iValid is set
If StringInStr($sLine, $search) And Not $iValid Then
$iValid = 1
ContinueLoop
EndIf
If $iValid Then
$iValid += 1
ConsoleWrite($iLine & ':' & $sLine & @CRLF)
If $iValid = 1 Then ExitLoop
Exit
EndIf
WEnd
FileClose($hFile)
Next
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
For $i = 1 To $sFilename[0]
$iMsg = @CRLF
$iMsg &="<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:14.0pt;font-family:""Lucida Sans Unicode"";color:black'>If you read this message, you are the winner....</span></p>" & @CRLF
$iMsg &= "</div>" & @CRLF
$iRetval = _ReplaceStringInFile($sFilename[$i], $sFind, $iMsg)
Next
Thanks !!
Kreg

I'm doing all of this in IE due to certain restrictions placed on PCs in our domain environment. I have noticed the keystroke will work fine on some laptops so it is possible that it's some sort of addon or hardware issue, but i've tried booting IE into clean mode without addons and still can't seem to get it to function properly.

AutoIt arrays are internally stored as safearrays of variants.
All AutoIt variables are variants. An AutoIt variable that represents an array is a variant where the value of the vt field is VT_ARRAY + VT_VARIANT = 0x200C and the value of the data field is a pointer to the safearray.
The essence of the example is to get a pointer to a by-value copy of the safearray. Through that pointer you can manipulate the safearray with real compiled code.
With AutoItObject it's possible to register a system global object that represents an AutoIt array. You can find an example here.

What browser are you using? FWIW, I checked in FireFox and Chrome and they both use Ctrl + Shift + F for opening the main menu.
OIC, this is occurring in presentation mode. For me, the keystroke works just fine in Chrome.