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

Notification

Icon
Error

Options
Go to last post Go to first unread
Brolencho  
#1 Posted : Sunday, June 28, 2020 3:24:48 AM(UTC)
Brolencho

Rank: Member

Reputation:

Groups: Translators, Approved
Joined: 6/26/2020(UTC)
Posts: 10
Peru
Location: Lima

Thanks: 4 times
Was thanked: 1 time(s) in 1 post(s)
You can replace maximize/restore when you are on Twitch:

preview:
https://i.imgur.com/OH5TjHQ.gifv

Code:


var wnd = action.Window;

//On Twitch
if(wnd.Title.includes(" - Twitch")) { //
    sp.SendModifiedVKeys([vk.LMENU], [vk.VK_T]); //Press ALT + T. This toggles Theater mode
} else {
// Maximize or restore the window underneath the mouse cursor where the gesture started
    if(action.Window.Maximized) {
        action.Window.Restore();
    } else {
        action.Window.Maximize();
    }
}




Intented to use under applications/your browser (Tested in Chrome)


UserPostedImage





Enjoy!

Edited by user Sunday, June 28, 2020 4:10:51 PM(UTC)  | Reason: Not specified

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.