You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Big ups @rom1v for autoadb and scrcpy. I've been getting RSI from holding my phone too much swiping on the tinders and now I can control it remotely when at my desk all day haha jokes to the tinder part ;). Thank you!!
Before
After
Now, to business. Here's how to launch autoadb and scrcpy @ system boot and hidden to system tray to lessen the clutter of autoadb always running in taskbar.
in your autoadb/scrcpy folder create a new autohotkey file (right click > new AutoHotKey script) e.g ahk-autoadb-scrcpy-launch-to-tray.ahk
paste this all in to the script over anything else that was there by default. Save the file.
#NoTrayIcon
#Persistent
global hAutoadb
/* Setup Tray icon and add item that will handle
* double click events
*/
Menu Tray, Icon
Menu Tray, Icon, android.ico
Menu Tray, Add, Show / Hide autoadb, TrayClick
Menu Tray, Default, Show / Hide autoadb
;// Run autoadb hidden
DetectHiddenWindows On
Run autoadb.exe scrcpy.exe --always-on-top --turn-screen-off --stay-awake --show-touches,, Hide, PID
WinWait ahk_pid %PID%
hAutoadb := WinExist()
DetectHiddenWindows Off
return
TrayClick:
OnTrayClick()
return
;// Show / hide Autoadb on double click
OnTrayClick() {
if DllCall("IsWindowVisible", "Ptr", hAutoadb) {
WinHide ahk_id %hAutoadb%
} else {
WinShow ahk_id %hAutoadb%
WinActivate ahk_id %hAutoadb%
}
}
right click your script and " send to > desktop (create shortcut)"
cut this shortcut and paste it in
for user
C:\Users<userid>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
or - for all users
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
PROFIT from these for amazing tools (figuratively ;)) auto launching at start and hiding the autoadb window
The text was updated successfully, but these errors were encountered:
Big ups @rom1v for autoadb and scrcpy. I've been getting RSI from holding my phone too much swiping on the tinders and now I can control it remotely when at my desk all day haha jokes to the tinder part ;). Thank you!!
Before
After
Now, to business. Here's how to launch autoadb and scrcpy @ system boot and hidden to system tray to lessen the clutter of autoadb always running in taskbar.
C:\Users<userid>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
or - for all users
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
The text was updated successfully, but these errors were encountered: