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

Notification

Icon
Error

Options
Go to last post Go to first unread
lyscop  
#1 Posted : Saturday, November 28, 2020 4:19:46 AM(UTC)
soooulp

Rank: Advanced Member

Reputation:

Groups: Moderators, Approved
Joined: 4/23/2020(UTC)
Posts: 161
China

Thanks: 46 times
Was thanked: 23 time(s) in 17 post(s)
Share a simple script judge if S+net setting do not open then launch or active.

And I set it to Hotkey to use touchpad gesture to exclude it.

Code:



var hCMD = sp.WindowFromClassOrTitle('WindowsForms10.Window.208.app.0.13965fa_r6_ad1', '')

if (hCMD !== null){

   hCMD.Activate();
   hCMD.BringToFront();

}else{

sp.OpenSettings();
}

Users browsing this topic
Guest
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.