aetles + applescript   7

BBEdit Smart Newline and Open Line Up -- Angelwatt.com
I created a couple scripts for BBEdit and TextWrangler that mimic some behaviors from the Vim editor, namely the “o” and “O” commands, which insert a new line below and above the current line, and include the correct indentation. For creating the new line below, I also added some intelligence that determines what else to add in and whether or not to indent further. The scripts will work no matter where you are at on the current line, which can be handy too.

The script will work on any line, but has special meaning on lines ending in {, (, /**, *, -, #, 4., :, and ({. The script can fairly easily be added to if you find the need. Below shows some examples of how these special cases output.
bbedit  applescript 
8 weeks ago by Aetles
rentzsch.tumblr.com: Switch Between Tabs and Spaces in BBEdit
Indention control in BBEdit is painful. Whether tabs or spaces are used is in the Edit > Text Options sheet (confusingly named “Auto-expand tabs”) and the amount of spaces inserted in space-indention mode in stuck to the bottom of the Fonts panel (accessible via View > Text Display > Show Fonts).
This script makes it one action to figure out the current mode and modify it if necessary.
applescript  bbedit  indentation  indentstyle 
9 weeks ago by Aetles
gruber's gist: 1440914 — Gist
Copy the URL or tweet ID for a tweet, and the script will send it to Aaron's Twitter Viewer
applescript  twitter 
december 2011 by Aetles
iPad 2 + FaceTime for Mac: Enabling Auto-Answer For Remote Monitoring
With FaceTime up and running, I wanted to give a shot to an old trick we first covered in October: auto-answering FaceTime calls on a Mac. Why would you want to do that? Simple: to turn your desktop computer into a remote monitoring tool for when you’re not around. Stuff like remotely checking on your room or home office. I leave my computers always on most of the times I have to go out, so it’s not a big deal for me. Plus, I think it’s just neat that you can fire up your iPhone or iPad 2 while on the go to call your Mac and automatically see what’s going in front of the iSight without needing a person to hit the Confirm button.
facetime  applescript 
march 2011 by Aetles
Use AppleScript to open current Safari URL in Google Chrome
What I needed was a way to open the current Safari page to Google Chrome. After my own attempts at cobbling together an AppleScript solution failed, John Welch was kind enough to provide the the answer via Twitter:
applescript  chrome  flash  safari  script 
march 2011 by Aetles
Open Location in SAME WINDOW with Safari - macosx.com
i need an applescript for opening a specific url in my current browsing window without using tabs... i don't know why you can't open links from external applications in the same window as a given option..?
macosx  applescript 
november 2010 by Aetles
AppleScript - The Book
En bok om AppleScript som påstås vara *the* AppleScript book.
apple  script  bok  applescript  Mac 
november 2004 by Aetles

Copy this bookmark:



description:


tags: