StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
soooulp  
#1 Posted : Saturday, May 8, 2021 12:29:07 PM(UTC)
soooulp

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 4/23/2020(UTC)
Posts: 88
China

Thanks: 23 times
Was thanked: 4 time(s) in 3 post(s)
There is a USB mouse or a Bluetooth device to find in the Device Manager when it connects.

Could it be recognized by S+net?

UserPostedImage

UserPostedImage

UserPostedImage








Rob  
#2 Posted : Tuesday, May 11, 2021 1:43:15 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 952
United States
Location: Tampa, FL

Thanks: 22 times
Was thanked: 274 time(s) in 239 post(s)
I am going to add some new events:

- App Window Created
- App Window Destroyed
- Device Change

So you will then be able to notice when the hardware has changed and examine to see if the device is present.
I will add some kind of sp object/array of devices to make it easy to search.
soooulp  
#3 Posted : Tuesday, May 11, 2021 1:48:44 PM(UTC)
soooulp

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 4/23/2020(UTC)
Posts: 88
China

Thanks: 23 times
Was thanked: 4 time(s) in 3 post(s)
Originally Posted by: Rob Go to Quoted Post
I am going to add some new events:

- App Window Created
- App Window Destroyed
- Device Change

So you will then be able to notice when the hardware has changed and examine to see if the device is present.
I will add some kind of sp object/array of devices to make it easy to search.



Aha, I am looking forward to it.
Rob  
#4 Posted : Wednesday, May 12, 2021 5:09:04 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 952
United States
Location: Tampa, FL

Thanks: 22 times
Was thanked: 274 time(s) in 239 post(s)
See release 0.4.2.7 for Global Actions > Hardware Events > Devices Changed

See Script Help > Utilities > AllDevices for example code.
Note that the event can be triggered even when the screens go to sleep, for example, and sometimes you may get multiple events during hardware changes. Not a big deal, but just so you're aware.

I tried to add the Window Created/Destroyed, but it was just too messy and would cause performance issues, so I have shelved that for now.

thanks 1 user thanked Rob for this useful post.
soooulp on 5/12/2021(UTC)
soooulp  
#5 Posted : Wednesday, May 12, 2021 5:37:34 PM(UTC)
soooulp

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 4/23/2020(UTC)
Posts: 88
China

Thanks: 23 times
Was thanked: 4 time(s) in 3 post(s)
Originally Posted by: Rob Go to Quoted Post
See release 0.4.2.7 for Global Actions > Hardware Events > Devices Changed

See Script Help > Utilities > AllDevices for example code.
Note that the event can be triggered even when the screens go to sleep, for example, and sometimes you may get multiple events during hardware changes. Not a big deal, but just so you're aware.

I tried to add the Window Created/Destroyed, but it was just too messy and would cause performance issues, so I have shelved that for now.





Interestingly, I find my USB mouse device and my USB disk, and now I can restrict the mouse automatically with the USB mouse or do other things.

A big thank you for your so efficient work for this function.

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.