Virtualhere client auto disconnect usb device after like 60 seconds of using

Hello there, im just curious is there any way to create a script or whatever which will disconnect user after like 60 seconds of use a single usb device?

#2

Yes you could use the client_api

#3

Thanks, but still dont have an idea , readding all commands in client_api how exactly can i set timeout after client attaches an usb drive.

#4

Its complicated, you need to write a program yourself to poll the GET CLIENT STATE xml response then run a timer and then call STOP USING