Hey guys, I'm in dire need of help to open a website with just 1 key, my mom loves to watch Indonesian TV online but she can't operate a computer or even a tablet, so I'm wondering if someone can help me write a script that can open a specific website with lets say keyboard button number 1 then make the video fullscreen, then when my mom press 2 it will close the current window and open a new link, the website also regularly ask for login after a certain time, so if there's possibility that can automate the log in for her with 1 button that would be great.
Example:
keyboard button 1: opens https://www.****.com/live/a***, makes it fullscreen
keyboard button 2: opens https://www.****.com/live/r***, makes it fullscreen
Right now, im changing channels for her via TeamViewer, but I can't always help her this way when I'm at work, I've been playing with JitBit macro recorder aswell but I can't seem to get it to do what I wanted, the mouse keeps clicking on other place of the screen even though I've put a really specific coordinates for the mouse to be clicking, please help me and my dear mom find a solution, thank you in advance!
Help with script to open a link and make it fullscreen
-
- Posts: 1
- Joined: 25 Jun 2018, 07:14
Re: Help with script to open a link and make it fullscreen
First one (maximizes the window)
Second one (goes in fullscreen by pressing f11)
Third one (Does both)
Code: Select all
NumpadMult:: ;(Star on the Numpad)
Run, https://www.google.de ; Open the website
Sleep, 5000 ; Wait 5 Seconds
WinGetActiveTitle, activeWindow ; Get name from active window
WinMaximize, %activeWindow%
return
NumpadDiv:: ;(Star on the Numpad)
Run, https://www.google.de ; Open the website
Sleep, 5000 ; Wait 5 Seconds
WinGetActiveTitle, activeWindow ; Get name from active window
WinMaximize, %activeWindow%
return
Code: Select all
SetKeyDelay, -1, 100
NumpadMult:: ;(Star on the Numpad)
Run, https://www.google.de ; Open the website
Sleep, 5000 ; Wait 5 Seconds
SendInput, {F11}
return
NumpadDiv:: ;(Star on the Numpad)
Run, https://www.google.de ; Open the website
Sleep, 5000 ; Wait 5 Seconds
SendInput, {F11}
return
Code: Select all
SetKeyDelay, -1, 100
NumpadMult:: ;(Star on the Numpad)
Run, https://www.google.de ; Open the website
Sleep, 5000 ; Wait 5 Seconds
WinGetActiveTitle, activeWindow ; Get name from active window
WinMaximize, %activeWindow%
Sleep, 500 ; Wait 0,5 Seconds
SendInput, {F11}
return
NumpadDiv:: ;(Star on the Numpad)
Run, https://www.google.de ; Open the website
Sleep, 5000 ; Wait 5 Seconds
WinGetActiveTitle, activeWindow ; Get name from active window
WinMaximize, %activeWindow%
Sleep, 500 ; Wait 0,5 Seconds
SendInput, {F11}
return
Who is online
Users browsing this forum: Google [Bot] and 168 guests