Skip to content

Commit e59aadb

Browse files
authored
Merge pull request #956 from that70schris/master
Hide Application
2 parents 803776e + d15c3fd commit e59aadb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/osascript
2+
3+
# @raycast.schemaVersion 1
4+
# @raycast.author Chris Bailey
5+
# @raycast.authorURL https://raycast.com/that70schris
6+
# @raycast.description Easily hide your foremost application
7+
# @raycast.packageName Navigation
8+
# @raycast.title Hide Current Application
9+
# @raycast.mode silent
10+
# @raycast.icon 🫥
11+
12+
tell application "System Events"
13+
tell (first process whose frontmost is true)
14+
set _name to displayed name
15+
end tell
16+
17+
set visible of application process _name to false
18+
end tell

0 commit comments

Comments
 (0)