ProgrammExecute

Application examples

1. Example: Remote Control access via "winvnc.exe"

If you use the freeware "winvnc", you can start this program from a ticket. The computer name is passed as parameter. After entering the session password you are immediately connected to the system.

Type Action button
Dialog Requests (Dispatcher)
Name VNC (can be freely selected)
Name of class ProgramExecute
Image vnc.gif (GIF must be created by yourself) or leave field empty
Position 11
Pass parameter c:ProgramsORLVNCvncviewer.exe <%Computername%>

For DameWare Mini Remote Control (DMRC) (versions 4.6 and newer): ...\dwrcc.exe -c: -m:<%Computername%>

Which parameters can be passed?

All field identifiers from the "User data" tab, plus the "Identifier field" (field name "SpezFeld").

2. Example: Command line under Windows

  • Execute: cmd /c start cmd.exe /k ipconfig -all
  • All other fields analogous to above.

3. Example: Open file using FileProtocolHandler from Windows

If you want to access the manual file of a device in the module "Inventory", then only the path or also the file name can be stored in a device field. The FileProtocolHandler is passed the field content as parameter. "Device field 3" contains for example x:\Manuals\PowerEdge2950.pdf. It opens in a new instance the directory or the corresponding program with the file.

Type Action Button
Dialog Inventory
Name Documentation (can be freely selected)
Name of the class ProgramExecute
Image whiteboard.gif (GIF must be created by yourself) or leave field empty
Position 5
Passing parameters rundll32 url.dll,FileProtocolHandler <%GerField3%>

Which fields can be passed?

In Inventory the following field identifiers: GerName, ComputerName, Username, SerialNumber, AssetNumber, Room, CostCenter, InvoiceNumber as well as the 5 free fields (GerField1 to GerField5). From the tab Order as well as from the tab UserData all text fields can be used. Possible interesting fields in the tab Order could be (in brackets is the internal field identifier): Identifier (spezFeld); free fields "Order Field1" to "Order Field4" (BunFeld1 to BunFeld4).