update
This commit is contained in:
		
							
								
								
									
										17
									
								
								applescript/close-all-finder.applescript
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										17
									
								
								applescript/close-all-finder.applescript
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
#!/usr/bin/osascript
 | 
			
		||||
 | 
			
		||||
# Required parameters:
 | 
			
		||||
# @raycast.schemaVersion 1
 | 
			
		||||
# @raycast.title Close All Finder Windows
 | 
			
		||||
# @raycast.mode silent
 | 
			
		||||
# @raycast.packageName System
 | 
			
		||||
 | 
			
		||||
# Optional parameters:
 | 
			
		||||
# @raycast.icon 🗂️
 | 
			
		||||
 | 
			
		||||
# Documentation:
 | 
			
		||||
# @raycast.description Closes all open Finder windows.
 | 
			
		||||
 | 
			
		||||
tell application "Finder"
 | 
			
		||||
    close every window
 | 
			
		||||
end tell
 | 
			
		||||
							
								
								
									
										18
									
								
								applescript/minimize-all-windows.applescript
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										18
									
								
								applescript/minimize-all-windows.applescript
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
#!/usr/bin/osascript
 | 
			
		||||
 | 
			
		||||
# Required parameters:
 | 
			
		||||
# @raycast.schemaVersion 1
 | 
			
		||||
# @raycast.title Minimize All Windows
 | 
			
		||||
# @raycast.mode silent
 | 
			
		||||
 | 
			
		||||
# Optional parameters:
 | 
			
		||||
# @raycast.icon images/minimize-window.png
 | 
			
		||||
# @raycast.packageName System
 | 
			
		||||
# Documentation:
 | 
			
		||||
# @raycast.author Ernest Ojeh
 | 
			
		||||
# @raycast.authorURL https://github.com/namzo
 | 
			
		||||
# @raycast.description This script minimizes all windows of currently running apps
 | 
			
		||||
 | 
			
		||||
tell application "System Events"
 | 
			
		||||
    keystroke "hm" using {command down, option down}
 | 
			
		||||
end tell
 | 
			
		||||
							
								
								
									
										15
									
								
								applescript/shutdown.applescript
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										15
									
								
								applescript/shutdown.applescript
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
#!/usr/bin/osascript
 | 
			
		||||
 | 
			
		||||
# Required parameters:
 | 
			
		||||
# @raycast.schemaVersion 1
 | 
			
		||||
# @raycast.title Shut Down
 | 
			
		||||
# @raycast.mode silent
 | 
			
		||||
# @raycast.packageName System
 | 
			
		||||
 | 
			
		||||
# Optional parameters:
 | 
			
		||||
# @raycast.icon 🛌
 | 
			
		||||
 | 
			
		||||
# Documentation:
 | 
			
		||||
# @raycast.description Shuts down computer.
 | 
			
		||||
 | 
			
		||||
tell application "Finder" to shut down
 | 
			
		||||
		Reference in New Issue
	
	Block a user