01/28/2011 15:45:00
¶
●
Best @ScrivenerApp Find of the day
I just discovered the very useful “Convert Web Archive to Text” function. (Documents → Convert → Web Archive to Text) It does what it says.
However, this is even more useful with the Instapaper Text bookmarklet (second from bottom).
Workflow:
- Read something on the web
- Decide it’s worth being kept as reference in Scrivener
- Activate Instaper Text
4.Drag the URL of the, cleaned up, webpage to Scrivener’s Research section
- Wait until Scrivener has downloaded the webpage as Web Archive
- Documents → Convert → Web Archive to Text
Love it!
UPDATE UPDATE!!!
- The Web Archive is converted to rich text, which means (hyper)links are intact, e.g. the “View original” at the top of an “instapapered” text.
- Text has the advantage that parts can be highlighted.
01/13/2011 19:04:06
¶
●
GeekTool and OmniFocus export [UPDATE]
As of OmniFocus ver. 1.8, it can be written much more simply, without recursion. Adopting WhPalmer4’s improvement to allow for special characters when writing the file, the whole script could now be abbreviated to something like…
Nice improvement. Thanks for sharing.
Source
01/12/2011 00:08:00
¶
●
A script to update Chromium to its latest version
(hopefully with H.264 support)
Original taken from this OS X Hint
#!/bin/sh
# Get current build for Chromium on Mac.
#
# @version 2009-05-22
# @author XXXX
# @todo Nothing yet
# setup ------------------------------------------------------------------------
tempDir="/tmp/`whoami`/chrome-nightly/";
baseURL="http://build.chromium.org/buildbot/snapshots/sub-rel-mac/";
baseName="chrome-mac";
baseExt="zip";
appName="Chromium.app";
appDir="/Applications";
version=~/.CURRENT_CHROME;
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
function checkForErrors {
if [ "$?" != "0" ]; then
echo "Unkown error (see above for help)!";
exit 3;
fi
}
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
echo "Setup...";
mkdir -p "$tempDir";
cd "$tempDir";
checkForErrors;
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
echo "Checking current version...";
touch $version
currentVersion=`cat $version`;
latestVersion=`curl -s $baseURL/LATEST`;
checkForErrors;
echo " * your/latest build: $currentVersion / $latestVersion";
if [ "$currentVersion" == "$latestVersion" ]; then
echo " * build $currentVersion is the latest one.";
exit 1;
fi
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
echo "Downloading and unpacking...";
chromePID=`ps wwaux|grep -v grep|grep "$appName"|awk '{print $2}'`;
if [ "$chromePID" != "" ];then
echo " * chromium is running. Please stop it first.";
exit 2;
fi
curl -o $baseName.$baseExt "$baseURL/$latestVersion/$baseName.$baseExt";
unzip -qo $baseName.$baseExt;
checkForErrors;
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
echo "Installing...";
cp -r $baseName/$appName $appDir
checkForErrors;
echo $latestVersion > $version;
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
echo "Done. You're now running build $latestVersion";
# ------------------------------------------------------------------------------
01/02/2011 19:03:06
¶
●
iTunes 10 Tip: Show in Finder Keyboard Shortcut
To give iTunes 10 its “Reveal in Finder” or, as it is named now, “Show in Finder” keyboard shortcut back go to System Preferences and open the Keyboard Preference Pane.
Add (+ symbol) a new keyboard shortcut for:
- Application: iTunes
- Menu Title: Show in Finder (Type exactly this!)
- Keyboard Shortcut: ⇧⌘R
Click Add. In this example the keyboard shortcut will be ⇧⌘R. As many will remember the previous shortcut was ⌘R, but ⌘R won’t work.
In iTunes 10 ⌘R is used by iTunes DJ and the iTunes Store to Reload and Refresh Page.
So if you rather not want to memorize a new shortcut you have to remap those two first, before ⌘R will be a possible shortcut for Show in Finder.
I find the second solution a bit tedious and awkward as ⌘R is also used in almost every application to refresh or reload content, so I decided to use a different shortcut for Reveal in Finder.