![background image](http://html1.mh-extra.com/html/amx/i-pclink-web/i-pclink-web_instruction-manual_2938917025.webp)
Programming i!-PCLink/Web
19
i!-PCLinkWeb
Programming i!-PCLink/Web
i!-PCLink/Web appears on the NetLinx bus as a NetLinx device. This device has 1 port with
channels, levels commands and strings like most other device. The specific command set for the i!-
PCLink/Web application is described in the following topics:
Commands
i!-PCLink/Web supports the following commands (master to PC):
i!-PCLink/Web Commands
Command
Description
TIME
query computer for time string
DATE
query computer for date string
COMPUTER-NAME
query computer for computer name
COMPUTER-IP
query computer for computer's IP address
COMPUTER-USER
query computer for computer's current user name
COMPUTER-ACCOUNT
query computer for computer's current user account name
COMPUTER-LOCK
lock the computer/workstation
COMPUTER-RESOLUTION
query computer for screen resolution string
COMPUTER-REBOOT
reboot computer
COMPUTER-LOGOFF
log user off computer
COMPUTER-SHUTDOWN
shutdown computer
CD-
change current directory ( CD-<directory name> )
DIR-
get directory listing ( DIR-<First>,<Count> )
ROOT
navigate to directory root
UP
navigate up one directory
OPEN-
open a file (OPEN-<file name in the current directory>)
LAUNCH-
open a file ( OPEN-<file directory path & file name> )
PRINT-
print a file
MINIMIZE
minimize active window
MINIMIZEALL
minimize all windows
MAXIMIZE
maximize active window
NORMALIZE
normalize active window
CLOSE
close active window
HELP
display help for current window
SWITCH
switch active windows
GETWINDOWS-
request the list of windows
( GETWINDOWS-<First>,<Count>) i.e. ('GETWINDOWS-1,7' )
ACTIVATE-
activate a specific window by handle id
( ACTIVATE-<Window Handle ID> )
TERMINATE-
terminate a specific window by handle id
( TERMINATE-<Window Handle ID> )
SENDKEYS-
send keyboard input
( SENDKEYS-<Keydata> ) i.e. ( 'SENDKEYS-Hello World' )
CAPSLOCK-ON
set caps lock to ON
CAPSLOCK-OFF
set caps lock to OFF