From: Ricardo SIGNES
Date: 00:22 on 15 Nov 2005
Subject: sticking it to stickies
--cy9Nn4fUvYST66Pl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
I want a way to take really quick notes. I want to scribble down a to-do, w=
rite
down a MySQL log position, write down the length of time it took to build t=
he
CPANTS database, or whatever.
Using Vim is annoying: I have to have an open screen, I have to run Vim, I =
have
to give it a filename, and save it. The up side is that it's a very good
editor, I end up with a plaintext file, and if I do it on a screen session =
on
cheshirecat, I can pick that note up anywhere.
Apple has two distinct Stickies programs, which blows my mind. What blows it
more is that they have different good and bad points.
Stickies.app has resizeable windows. It supports real Cocoa text editing, l=
ets
me use any font (even monospace), lets me create a new note with Cmd-N, let=
s me
print my notes, and can save notes as plaintext if I ask.
Stickets.wdgt can't resize windows, but will automatically resize the font =
to
fit the window size. It's on Dashboard, so I can hide and display all my
stickies anywhere with a single keypress.
The font resizing in Stickies is neat, but mostly I want the easy hide/disp=
lay.
I thought I'd have a look at Konfabulator, but its note-taking widgets were
either roughly identical to Stickies.wdgt (except requiring 80% of my CPU) =
or
wildly overengineered. One of them, THnotes, does multipage notes that are
actually editors for plain text files anywhere on your filesystem. That's g=
reat
except that you can only have one note window and you can't create an anony=
mous
note. When I need to scribble a note, I want to hit Cmd-N, not click the li=
ttle
"new note" button followed by navigation around my filesystem.
The Dashbaord widget is hardly better, as far as new note creation goes. I =
have
to click the "plus" button to bring up a bar from which I can click the
"Stickies" icon -- assuming that it's on the current page of widgets. I may
have to scroll around, nine widgets at a time.
"Well," I thought, "this isn't going to be that hard to fix. I'll tell Desk=
top
Manager to display Stickies on every Desktop, I'll write a little AppleScri=
pt
to hide or display the Stickies application, and then I'll bind F12 to that
script. I can eliminate my use of Dashboard entirely!"
Now I find out that there is no (or is no documented) way to hide an
application from AppleScript. (By hide, I mean what happens when you hit
Cmd-H.) Fine! I can always "repeat with w in (get every window) set w's vis=
ible
to false" -- except that Stickies.app isn't scriptable. Neither is Desktop
Manager, so I can't quietly change display settings for that app, either.=
=20
Maybe I can just tell it to quit if it's not running! Well, actually, I don=
't
see a simple way to ask whether a named application is running. Maybe once =
I'm
online again I'll find something on Google, but my on-disk copy of the enti=
re
ADC Reference Library isn't helping, despite Spotlight's best efforts. Maybe
it's because the AppleScript reference documentation hasn't been updated si=
nce
1999. Even if the language is stable, shouldn't the documentation be getting
better?
Finally, I end up with this. I cannot express my exasperation sufficiently,=
so
I will leave it to your imagination:
set StickiesRunning to
(do shell script "ps ax | grep Stickies.app | grep -v grep | wc -l") + 0
if StickiesRunning > 0 then
tell application "Stickies" to quit
else
tell application "Stickies" to activate
end if
-- Bonus Hate!
If you use Spotlight to search and select "Show All" you get a window from
which you can launch anything you've found. If you then open any of those
documents and thereby create a window that hides Spotlight, you can't cmd-t=
ab
back to it. You have to use Expose or close/move/hide the windows that got =
in
the way.
-- Bonus Bonus Hate!
When viewing the ADC Reference Library in Safari, there are two frames: an
index on the left and content on the right. The frame size can be changed by
dragging the divider, but the cursor does not indicate this when hovering o=
ver
the divider. (In every other "reasonable" Mac OS X application, it would tu=
rn
into the little <-|-> curosr.)
--=20
rjbs
--cy9Nn4fUvYST66Pl
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQFDeSo75IEwYcR13KMRAi0MAJ4iY5OrPSRJOxBsV+7CRalIcZYWpQCeIxHd
1PQGXSxQsJFCDsRhDm3RFH4=
=BB33
-----END PGP SIGNATURE-----
--cy9Nn4fUvYST66Pl--
From: Ricardo SIGNES Date: 20:00 on 06 Nov 2005 Subject: Steve Jobs doesn't care about brown people --HnQK338I3UIa/qiP Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: quoted-printable e is not =E9 They are different. When I start typing the artist into track info in iTunes, and I type "Jos=E9" do not autocomplete to "Jose A. Casta=F1eda." I know you think I can keep typing to correct you, iTunes, but you are wrong. If I keep typing, I end up with "Jose Urfe" and then I have to go back to replace the e with an =E9. So, in closing: e is not =E9 --=20 rjbs --HnQK338I3UIa/qiP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQFDbmDC5IEwYcR13KMRAr2RAKCUp7l56HVIqtWG99Ag8b1iVnmMlACeK7Fz LQuz3bHvK0LjMm/hEKltRiw= =VGy5 -----END PGP SIGNATURE----- --HnQK338I3UIa/qiP--
From: Ricardo SIGNES Date: 22:04 on 26 Oct 2005 Subject: monospace (unless ugly) --SSQrXjJAjSvYS5Wm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Apple knows that good design is key. If you present the user with a beautiful experience, they will keep coming back, right? That's why they've always spent so much money on having good typesetting. I mean, hey, they kern fonts on screen! You know when this is really great? When you're viewing source. Today I was looking at Net::Domain::TLD on the CPAN (the hatefulness of NDT and the CPAN can wait) and I noticed something... http://search.cpan.org/src/ALEXP/Net-Domain-TLD-1.5/TLD.pm These lines: q{et} =3D> q{Ethiopia}, q{fi} =3D> q{Finland}, didn't line up. Why? Because fi is a kernable letter pair, of course! Lining up columns is nice and all, but it just doesn't compare to the awesomeness of having your f dot your i! This hate brought to you by Safari Version 2.0.1 (412.5). --=20 rjbs --SSQrXjJAjSvYS5Wm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQFDX+9j5IEwYcR13KMRAlPeAKCSljwCsz8C9NhRmjSi2uA7HJe48QCcDBzh 0zyYy4nrWXKyocjx9ByOGX8= =d14T -----END PGP SIGNATURE----- --SSQrXjJAjSvYS5Wm--
Generated at 17:46 on 21 Sep 2006 by mariachi