Open Octav14n opened 7 years ago
The issue is about trying to marshall ListStealth.Client.GetContextMenuRec()
, but use Item.AttachContextMenu()
instead.
I have to admit I had really hard time trying to learn how to use ContextMenu properly in ScriptSDK:
ScriptSDK.Configuration.ContextOptions.Initialize()
or just ScriptSDK.SDK.Initialize()
.AttachContextMenu()
on it..ContextMenu.Entries
and send clicks with .ContextMenu.Click()
Calling "Stealth.Client.GetContextMenuRec();" gives the following exception:
I've tried to work around it but it seems that the ContextMenuEntries aren't send by StealthClient:
The SCReturnValue seems to consist of: 59,01, <-- SCGetContextMenuRec number E3,17,04,00, <-- "ID": Vendor I requested the ContextMenuRec for 06, <-- "EntriesNumber": 6 Entries are in the ContextMenuRec 01, <-- "NewCliloc": no idea what this does 00,00,01 <-- too short to be a list of ContextMenuEntries...