Skip to content

Instantly share code, notes, and snippets.

View konstantintuev's full-sized avatar

Konstantin Touev konstantintuev

  • Sofia, Bulgaria
View GitHub Profile
@konstantintuev
konstantintuev / hideallwindows.scpt
Created January 9, 2021 06:00
A script to hide all mac login items because they choose to ignore the hide flag
global loginList
global loginListPath
on hideAllApps()
set counter to 0
repeat with name in loginList
set counter to counter + 1
set pathLocal to (item counter of loginListPath) as string
set nameLocal to name as string
log pathLocal