Evangelism Reps Training Program/How to prepare a screencast: Difference between revisions

no edit summary
No edit summary
Line 46: Line 46:


If you are on Linux, [http://www.linuxhaxor.net/5-ways-to-screencast-your-linux-desktop/ here is a good article introducing various tools] you can use.
If you are on Linux, [http://www.linuxhaxor.net/5-ways-to-screencast-your-linux-desktop/ here is a good article introducing various tools] you can use.
==Typing==
Typing can be one of the most difficult parts to get right. You will often need to type code or commands on screen as part of the screencast, but typing quickly and accurately is not a skill everyone possesses, and doing it while talking is harder still.
To make this easier you can:
# write scripts that send keystrokes to the application you're demonstrating
# bind these scripts to keyboard shortcuts so you can quickly and accurately "type" with a single keypress
The exact tools to do this are platform-specific, but on Mac OS X you can send keystrokes to applications using [https://developer.apple.com/library/mac/documentation/AppleScript/Conceptual/AppleScriptX/AppleScriptX.html AppleScript] scripts. Here's a script that switches to the TextMate editor and sends it "the string you want to write":
write_string("the string you want to write")
on write_string(the_string)
tell application "System Events"
tell application "TextMate" to activate
repeat with the_character in the_string
keystroke the_character
delay 0.1
end repeat
end tell
end write_string
To assign a keyboard shortcut to the script, so it runs when you press the shortcut, you can use a tool like [http://www.red-sweater.com/fastscripts/ FastScripts].


==Publishing==
==Publishing==
canmove, Confirmed users
737

edits