« MBS Real Studio Plugi… | Home | Detecting drive lette… »

Showing USB Devices

Some clients need to find USB devices and our plugin can do that on Mac, Windows and Linux. Sometimes to make sure the app only runs if a certain USB device is connected, like an USB Stick or a certain printer. You can identify devices by product ID, vendor ID, product name, vendor name or serial number.

This classes shown here are for Real Studio. But we have USB functions in our Filemaker plugin also for similar functionality.

So this is our example project for Mac using MacUSBDeviceMBS:

This is how the example on Windows using WinUSBDeviceMBS looks like:

and the example for linux using LinuxUSBDeviceMBS:

As you see all three show my test device, the FaceTime camera.
We also have classes for notifications when new devices are connected: WinUSBNotificationMBS and MacUSBNotificationMBS. But they can only detect devices being added or removed while your application is running. So you can't detect an USB stick if your application runs from that USB stick.

PS: For Linux, next plugins have a little change so this works better.
24 02 12 - 12:14
No comments

Remember personal info?

Emoticons / Textile

Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.