Jb_Bryant Posted February 10, 2013 Posted February 10, 2013 I have an extension in Alfred v. 1 that I'm trying to turn into a workflow. The v. 1 extension ran this applescript upon entering "screencast" as the keyword. For the workflow, I'm trying the same thing and it never runs. I've tried: tell application "QuickTime Player" start (new screen recording) end tell And alfred_script(q) tell application "QuickTime Player" start (new screen recording) end tell end alfred_script Am I doing something wrong? I know it says applescripts "work but not finished for beta" but I don't know what that means exactly.
jdfwarrior Posted February 10, 2013 Posted February 10, 2013 try on alfred_script(q) tell application "QuickTime Player" start (new screen recording) end tell end alfred_script subtle difference, but, add "on" in front of the alfred_script(q) line.
MrClaye Posted February 11, 2013 Posted February 11, 2013 on alfred_script(q) tell application "QuickTime Player" to activate tell application "System Events" tell process "QuickTime Player" keystroke "n" using {control down, command down} keystroke space end tell end tell end alfred_script It works well, part on "my" workflow available there http://goo.gl/s6d4O
Jb_Bryant Posted February 11, 2013 Author Posted February 11, 2013 try on alfred_script(q) tell application "QuickTime Player" start (new screen recording) end tell end alfred_script subtle difference, but, add "on" in front of the alfred_script(q) line. Ahh I don't know how I missed that. Thanks!
jdfwarrior Posted February 11, 2013 Posted February 11, 2013 Ahh I don't know how I missed that. Thanks! It's always the simple things that will get you and cause you the most frustration.
webdiner Posted September 12, 2018 Posted September 12, 2018 I'm pretty new to Alfred and can see how this is a huge time saver. Does anyone know if there is a way to setup a shortcut to stop the screen recording > Export As > 1080p > To a DropBox folder > Copy DropBox link to clipboard.
deanishe Posted September 12, 2018 Posted September 12, 2018 1 hour ago, webdiner said: Does anyone know if there is a way to setup a shortcut to stop the screen recording > Export As > 1080p > To a DropBox folder > Copy DropBox link to clipboard. That's probably going to be very difficult to do. You can export the file easily enough using AppleScript, but AFAIK the only way to do the Dropbox bit is to simulate right-clicking on the right file in Finder, which is very tricky to get right.
webdiner Posted September 12, 2018 Posted September 12, 2018 Thanks for the reply. Makes sense. Can you help with the Stop Recording > Export As > 1080p part?
deanishe Posted September 12, 2018 Posted September 12, 2018 58 minutes ago, webdiner said: Can you help with the Stop Recording > Export As > 1080p part? No. I've just tried it, and it appears that the sandbox is preventing the export (using AppleScript). Presumably, it is doable (otherwise the API would be pointless), but I've spent 30 minutes trying to figure it out and couldn't. Perhaps someone more knowledgeable about AppleScript can help.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now