-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c50cc84
commit d15c3fd
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/osascript | ||
|
||
# @raycast.schemaVersion 1 | ||
# @raycast.author Chris Bailey | ||
# @raycast.authorURL https://raycast.com/that70schris | ||
# @raycast.description Easily hide your foremost application | ||
# @raycast.packageName Navigation | ||
# @raycast.title Hide Current Application | ||
# @raycast.mode silent | ||
# @raycast.icon 🫥 | ||
|
||
tell application "System Events" | ||
tell (first process whose frontmost is true) | ||
set _name to displayed name | ||
end tell | ||
|
||
set visible of application process _name to false | ||
end tell |