Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Jolly Roger Newsgroups: comp.sys.mac.apps,comp.sys.mac.system Subject: Re: Holding down a key does not show repeating inputted characters? Date: 7 Oct 2015 19:17:15 GMT Organization: People for the Ethical Treatment of Pirates Lines: 43 Message-ID: References: <9d2dnRPZhcVVxIjLnZ2dnUU7-budnZ2d@earthlink.com> X-Trace: individual.net 1ahsfztOaUqhcIwFPzjP9A97MHMfNtRjyctUsMJXzAUraabN9J Cancel-Lock: sha1:1DY6n1gnvnG0gHVDJlndzflLQcA= X-Face: _.g>n!a$f3/H3jA]>9pN55*5<`}Tud57>1Y%b|b-Y~()~\t,LZ3e up1/bO{=-) User-Agent: slrn/1.0.1 (Darwin) Xref: csiph.com comp.sys.mac.apps:32441 comp.sys.mac.system:82313 On 2015-10-07, Ant wrote: > > What sucks is that what if I want to use this feature? So I have to use > this command back and forth in Terminal? :( So make your own - it's simple on OS X: 1. Open /Applications/Utilities/Script Editor 2. Create a new document. 3. Copy and paste the following code into the document. 4. Save the document with the name "Toggle Key Repeat" and file format "Application". 5. Quit Script Editor. Run the application to toggle between the two. : ) Here's the code (be sure to remove line wraps introduced by Usenet clients when you copy and paste it): -- begin script set answer to display alert "Key Repeat Behavior" message "Pressing and holding a key:" buttons {"Shows Special Characters", "Repeats"} default button 2 if answer's button returned is "Repeats" then do shell script "defaults write -g ApplePressAndHoldEnabled -bool false" else do shell script "defaults write -g ApplePressAndHoldEnabled -bool true" end if display alert "Don't Forget" message "Currently running applications must be restarted before they will reflect changes." buttons "Thanks" -- end script -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR