I want to make a button that opens a menu of all folders that are shared by windows.
i found a vbscript but i don't know how to pass it to dopus in a way that a list of buttons is created. probably somehow with "Dopus.OutputString" but i wasn't successful with my attempts.
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colShares = objWMIService.ExecQuery("Select * from Win32_Share")
For each objShare in colShares
Wscript.Echo objShare.Path
Next
this opens messageboxes with the paths on my pc. Is it possible, and if how, to implement this with dopus or is there maybe an easier way?