Jump to content

Topdesk support tool


FMS
 Share

Recommended Posts

Dear reader,

At the moment I m making a topdesk support tool.

this tool i was hooping that i can read the ip from the computer you connect whit over the network,

and hoped u can help me whit this problem.

This is what i get so far:

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>


$Form1 = GUICreate("Topdesk support tool", 273, 95, 192, 114)
$Input1 = GUICtrlCreateInput("computername", 136, 16, 113, 21)
$Label1 = GUICtrlCreateLabel("PC/TC/VM/LT name", 16, 16, 105, 17)
$Connect = GUICtrlCreateButton("Connect", 136, 48, 97, 25, $WS_GROUP)
$Cancel = GUICtrlCreateButton("Cancel", 19, 48, 97, 25, $WS_GROUP)
GUISetState(@SW_SHOW)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Cancel
            Exit
        Case $Connect
            Run ("C:\Program Files\RealVNC\VNC4\vncviewer.exe")
            WinWaitActive("VNC Viewer : Connection Details", "")
            send(GUICtrlRead($Input1),1)
            send("{enter}")
            if ("VNC Viewer : Error")then exit
            WinWaitActive("VNC Viewer : Authentication", "")
            ;Gui for password
            WinWaitActive(GUICtrlRead($Input1), "");still capital sensitive
            ;i hoped here a messagebox whit the ip result from the network
    EndSwitch
WEnd

in the end of the script i hooped to get the information from the computer i connect whit when i m taking over the computer from our users.

such as IP adres and possible logged in user on that computer.

I tried a lot of things but still stuck so hooped this forum can help me whit this.

thnx in advanced

as finishing touch god created the dutch

Link to comment
Share on other sites

yes indeed something like that:)

the thing is...

(maybe i say it wrong but i'm still a little noob in autoit:))

i need the result of a "Ping computername" or ipconfig if u will...

in the end a message whit --> msgbox("the IP of the computer name is : 192.168.1.100")

:idea:

as finishing touch god created the dutch

Link to comment
Share on other sites

  • 9 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...