Yuma,

Thanks for sharing the script. I have been slowly working on learning APple 
scripting along with lots of other stuff. :) I am amazed at how much can be 
done with scripting.


On Apr 11, 2012, at 12:40 AM, Yuma Antoine Decaux wrote:

> Hi Guys,
> 
> Just wanted to drop you guys a little script i made to help you with copy and 
> pasting stuff from pdfs web or anything actually.
> 
> The basic premise here is to copy whatever sentence paragraph or whatever 
> text you have, use the copy last phrase to clipboard command and my script 
> will automatically paste it to the end of your text editor window.
> 
> This is very useful if you have long text that you want copied and pasted 
> from pdf files just as they are supposed to be without wasting time on 
> switching apps, reformatting etc.
> 
> Here's the script:
> 
> set thetext to get the clipboard
> tell application "TextEdit"
>       set theindex to every paragraph of front document
>       set thecount to count theindex
>       set thecount to thecount + 1
>       set paragraph thecount of front document to thetext
>       
>       say "pasted to text editor"
> end tell
> 
> 
> Copy it all, paste it into your applescript editor which is 
> /applications/utilitiesapplescript editor
> /
> 
> The best thing to do next is to apply a gesture to the script.
> 
> Here is how i do this:
> 
> I have option one finger flick down to read the next sentence
> 
> Option tow finger flick down for next paragraph 
> 
> Then i have option four finger flick left to copy last phrase to clipboard
> 
> Lastly, i use option pinch out for running the script
> 
> With this, every paragraph you want to copy is then pasted without switching 
> to the text editor and back.
> 
> I'll make a better version later on but if you want to play with this one 
> already and test it out, be my guest :)
> 
> 
> I might make a short podcast to demonstrate how faast one's productivity can 
> get with this technique 
> 
> Yuma 
> 
>   
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To post to this group, send email to macvisionaries@googlegroups.com.
> To unsubscribe from this group, send email to 
> macvisionaries+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/macvisionaries?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to macvisionaries@googlegroups.com.
To unsubscribe from this group, send email to 
macvisionaries+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.

Reply via email to