- Sets device in 
demomode: hides your notifications, fixed clock, full battery, wifi level) - Takes a screenshot and saves it into 
capturesdirectory. Also to your clipboard, so it's ready for Paste - Exits demo mode
 
- Download 
screenshot.sh chmod +x screenshot.sh- Optional, MacOS: 
Automator → New Quck Action → Run Shell ScriptInsert:
Add it to your TouchBar (add Quick Actions group) or assign a global hot keyexport PATH="your env PATH" cd ~/dev/scripts ./screenshot.shKeyboard → Shortcuts → Service → Screenshot 
Dependencies: brew install ffmpeg
Description:
- Sets device in demo mode
 - Starts recording and awaits for 
Ctrl + C - MP4 clip is downloaded and removed from device, gif encoded and saved to 
captures - Exits demo mode
 
- Download 
recorder.sh chmod +x recorder.sh- Optional, MacOS, iTerm: 
Automator → New Quck Action → AppleScriptInsert: 
  on run {input, parameters}
	
	tell application "iTerm"
		activate
		tell current window
			create tab with default profile
		end tell
		
		tell first session of current tab of current window
			write text "cd ~/dev/scripts&&./recorder.sh"
			--write text "./recorder.sh"
		end tell
		
	end tell
	
	return input
end run
Add it to your TouchBar (add Quick Actions group) or assign a global hot key Keyboard → Shortcuts → Service → Recorder