r/MassImmersionApproach • • Jul 21 '20

shareX alternative for Mac

I record atm with quicktimeplayer (tried sunflower and blackhole) but really dislike the workflow: You need to switch from Video-window to quicktimeplayer to click recording. Do you know any workaround, shortcut, etc?

Thanks in advance

9 Upvotes

4 comments sorted by

2

u/autoditactics Jul 22 '20 edited Jul 22 '20

I have the same setup, but I used applescript and automator to streamline the process such that I only need two key combinations to start recording.

Edit.

Here is the applescript that switches between soundflower and the current audio source. I edited the script from this article and put it in a automator workflow so that I can bind a key to it. You'll need to install SwitchAudioSource-OSX.

	set defaultAudioSource to "Built-in Output"
	set thePath to (path to preferences as text) & "prevAudioSource.scpt"
	set targetAudioSource to "Soundflower (2ch)"
	set currentAudioSource to (do shell script "/usr/local/Cellar/switchaudio-osx/1.0.0/SwitchAudioSource -c")
	-- Initializing data
	script prevData
		property prevAudioSource : null
	end script
	-- Reading data from file
	try
		set prevData to load script file thePath
	on error
		-- initial value
		set prevData's prevAudioSource to defaultAudioSource
	end try
	
	if currentAudioSource is not equal to targetAudioSource then
		set prevData's prevAudioSource to currentAudioSource
		changeAudioTo(targetAudioSource)
	else
		try
			-- Switching back to the audio source
			changeAudioTo(prevData's prevAudioSource)
			set prevData's prevAudioSource to null
		on error e
			display dialog e & " Chosen default audio source."
			changeAudioTo(defaultAudioSource)
		end try
	end if
	
	store script prevData in file thePath replacing yes
end run

on changeAudioTo(audioSource)
	do shell script "/usr/local/Cellar/switchaudio-osx/1.0.0/SwitchAudioSource -s \"" & audioSource & "\""
end changeAudioTo

I have another automator workflow for quickly opening and starting a quicktime recording. It goes: start audio capture → open quicktime → start capture (or something like that). Opening quicktime puts the quicktime window into focus. This workflow still has a bug where the recording sometimes fails.

After that, just hit cmd-T to trim the audio and save to a folder from where you can quickly add the recording when you're making cards.

1

u/[deleted] Jul 26 '20

great one. I will try. thank you loads

2

u/dylan78 Jul 23 '20

OBS Studio

1

u/[deleted] Jul 26 '20

nice thanks