Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use Lynx with GeekTool to grab news headlines Internet
Like many have previously mentioned, GeekTool is a pretty handy little thing (see here, here and here for some good examples). But I was interested in using it with Lynx, a text-based command line web browser -- most easily available from the guys at Fink. Lynx is a great app if your boss can be convinced you're hard at work when he sees a black and white screen full of letters and numbers. But Lynx is by default interactive -- not much use when you can only look at output through GeekTool, so I created the following Script job in Geek tool:
/sw/bin/lynx -dump -width=160 -nolist http://news.bbc.co.uk/text_only.stm
Set this job to run every five minutes or so, and now I've got up-to-the-minute news headlines available just an Exposé command away.
read more (167 words)   Post a comment  •  Comments (6)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[14,149 views] Email Article To a Friend View Printable Version
Repair broken .Mac webmail access Internet
For about the past two months, I have been unable to access .Mac's webmail page. Whenever I would try to login, I'd get a message saying "Sorry, the service is not available, please try again later." It didn't matter if I was at home or at work, using the G5 or the PowerBook -- I couldn't get into webmail, but all other .Mac services worked, as did other Apple services that use the same login ID.

When the problem first started, I wrote to .Mac support, and we had been having an ongoing dialog in attempts to repair the problem. They had me create a new user and enter my existing account info; no go. Then they had me create a new .Mac trial account, and that worked fine (in both my primary and new users). But my existing ID still didn't work.

Today, .Mac support wrote back with one astoundingly simple suggestion that I had never thought to try -- resetting my .Mac password. Duh! Once I had done that through the main .Mac account page, webmail was instantly functional again. Somehow, the webmail portion of .Mac thought I was giving it an incorrect password, even though I could use my iDisk, login to the Developer site, and update my .Mac homepage. So if you're having trouble with webmail, try a quick password reset.
  Post a comment  •  Comments (3)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[7,035 views] Email Article To a Friend View Printable Version
Spam of all colors via Mail and SpamAssassin Internet
For about a year, I just used Apple Mail's junk filtering to get rid of spam. However, when I'm on the road I use GPRS service on my cell phone to download mail, and it's really annoying to have to download spam at 38k4 or slower (and pay for the privilege!) just so it can be thrown away. So now in addition to the built in junk mail filtering, I also use Spamassassin on the server to move the messages to my junk folder without having to download them first.

Unlike Mail, Spamassassin assigns a spamminess value to each message. I decided to turn these values into colors, in order to be able to peruse my junk folder for false positives more easily. It works like this.

Open the Preferences in the Mail application, and select Rules. Then, add rules that look for the X-Spam-Level header. This header isn't in the default list, so you'll have to add it first using "Edit header list...". Select "Begins with" and then add a number of *'s. I use five for my first rule. Then under actions, choose "Set color" "of background" to something that indicates a low level of spamminess, such as yellow. Then add additional lines with more asterisks and more severe colors. I use orange for ten asterisks and red for fifteen. Make sure that the rules that match more *'s come later in the rule list.

The result is that anything that probably isn't spam doesn't receive a special background color. Anything with a score of five or higher is highlighted in yellow. Most false positives are in this category, so I open the message if there is any doubt whether the message may be legitimate. A score of 10 or higher means orange highlighting, and 15 or higher red. There are very few false positives (legitimate messages flagged as spam) in these categories, so I just look at the subject and sender and only when I'm pretty sure it's a legitimate message I open it. No benefit of the doubt in these categories.

Note that Mail will also sort messages based on color (under View, Sort by). This makes scanning the junk mail folder for false positives even easier.

  Post a comment  •  Comments (5)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[6,066 views] Email Article To a Friend View Printable Version
A set of scripts to translate iChat acronyms Internet
I'm not a big acronym user, finding it generally faster to type what I'm thinking than abbreviate it. However, I often find myself on the receiving end of acronyms that I have no idea what they mean. For fun, I went onto the web and scraped a few web pages listing hundreds of common chat acronyms and made a tool that I can use to very easily translate these on the fly while using iChat.

I made two scripts that work together, allowing me to highlight text in iChat and get a quick translation of any acronyms in the highlighted text. Due to the fact that the perl script was a few thousand lines with all the definitions, I've cut out all but four acronyms so that folks can add their own or contact me for the full set of definitions if they want. As the definitions were simply scraped off the web, I make no claims on the quality of the content of the translations which also contain some swear words. You might wish to create your own list of definitions and add them to the script.

I'm a self taught scripter, so I'm sure there might be shorter and or better ways to do this. It's intended to be able to translate whole sentences containing acronyms, and the way it handles deconstructing white space and punctuation and re-assembling them might be handled better, but it seems to work fine for me as is.
read more (405 words)   Post a comment  •  Comments (15)  
  • Currently 2.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[8,362 views] Email Article To a Friend View Printable Version
Force QuickTime streams to play in QuickTime Internet
Yesterday over on the Macworld forums, a reader was having trouble getting QuickTime streams from enya.com to play properly. When clicked, the streams (from the Video section of the site) would open the user's RealOne Player, and then not stream.

Christopher Breen did some digging and came up with the solution -- you need to open RealOne Player's preferences, and disable the "Real Time Streaming Protocol" section in the Media Types preference. As Christopher points out, you might actually have to enable it once, click OK, then re-open and disable it and click OK to make the changes "stick."

Once you've done this, though, the QuickTime streams will open properly in QuickTime Player.
  Post a comment  •  Comments (8)  
  • Currently 1.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[8,766 views] Email Article To a Friend View Printable Version
Display sports scores (and more) on the desktop Internet
I'd like to share a pretty cool use of Steven Frank's (of Panic) free WebDesktop program, which allows you to "layer" a webpage over your desktop on Mac OS X. My trick uses ESPN.com's BottomLine, a free, real-time headlines and scores tracker. Here's what it looks like on the Desktop

It's really simple to create. Just download and install WebDesktop. Once you have it running, open the BottomLine location via the WebDesktop -> Open Location menu item. You'll want to use the regular URL and not the JavaScript popup version.

Once the applet is loaded, simply resize the WebDesktop window using the widget at the bottom right so it looks good, then move it to the bottom of the screen. When you switch to a different application, WebDesktop's title bar disappears, leaving you with the spiffy looking BottomLine, the envy of all your friends.

[robg adds: WebDesktop is somewhat like GeekTool, a previous Pick of the Week, except that it can display full web pages instead of just images. If you've got the screen real estate for it, this really opens up a world of possibilities for continually updated background information...]

  Post a comment  •  Comments (4)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[11,012 views] Email Article To a Friend View Printable Version
Use spell check and email aliases in .Mac's webmail Internet
I went to compose a new message in my .Mac webmail recently and found a new icon: Spell Check. In .Mac Mail's preferences are a number of language dicationaries to choose from but no custom dictionaries. Also, prefs has a checkbox to enable auto spell check when sending.

While in Preferences, I also found an Email Aliases feature under the Accounts tab. Pretty cool. Set one up for myself. I can give that alias when signing up for stuff when I suspect they might sell my address. I could also create an alias that I give to just friends/family. Great feature.

Looks like new .Mac account features rumored elsewhere for later release are starting to trickle in.
  Post a comment  •  Comments (9)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[9,628 views] Email Article To a Friend View Printable Version
Easy conversion of multiple Safari .webloc to PC .url files Internet
Looking for a convenient way to convert from .webloc files to cross-platform .url files, I was reading this hint. But all the suggestions involved opening the .webloc file in Safari to get hold of the actual URL. Doing so however, is either very time consuming (especially if you have many .webloc files) or simply impossible if you're working off-line. The reason for using Safari, I realized, is that the URL is stored in the resource fork of the .webloc file (Apple, you were supposed to phase out resource forks!) and is not easy to get at. Luckily, Apple included a little gem in its Developer Tools, DeRez, which displays resource information as raw text in this format:

$ DeRez -e -only 'url ' macosxhints.webloc
data 'url ' (256, "macosxhints - Get the mo#11F5AF") {
  $"6874 7470 3A2F 2F77 7777 2E6D 6163 6F73"    /* http://www.macos */
  $"7868 696E 7473 2E63 6F6D 2F"                /* xhints.com/ */
};
The following AppleScript application lets you drag and drop any number of .webloc files over its icon and converts them to cross-platform .url files.
read more (400 words)   Post a comment  •  Comments (30)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[49,967 views] Email Article To a Friend View Printable Version
An alternative method of saving QuickTime streams Internet
Dammit, I love Pink Floyd. I was overjoyed to see that the official Floyd site posted the entire Final Cut short film (which is very rare) on their site. The only problem is, it is a Quicktime stream embedded in the HTML, and the previous VLC hint wasn't working to save it. Well, this hint is the modified version of the VLC method; the one that saved that sucker to my hard drive. Hopefully this will work for similar streams.
  1. In Safari, open the web page containing the embedded Quicktime movie you want to save.
  2. Right click on the web page and View Source.
  3. Search for the RTSP URL ending in ".mov".
  4. Copy and paste that address into Safari's Download window. You have now downloaded a 4KB QuickTime file that merely points to the stream. Your full movie isn't saved.
  5. Open that Quicktime file in BBEdit.
  6. You will see a line of garbled text, but within it is a new HTTP address. Copy everything between http and .mov.
  7. Paste that into Safari's Download window.
Voila!
  Post a comment  •  Comments (14)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[31,998 views] Email Article To a Friend View Printable Version
View movie trailers and music videos in QT Player Internet
If you want to watch trailers from Apple's trailer page in QuickTime Player instead of in a browser window or through the iTunes Music Store, it can be done pretty easily.

When loading a movie in your favorite browser, view the HTML source for the page and search for .mov. Copy the movie's URL and paste it into the dialog that appears when you select File -> Open URL in New Player (Command-U) in QuickTime Player.

This way, you can view the movie fullscreen if you have QuickTime Pro, and even save the movie to your local drive.

[robg adds: A previous hint provided a script for saving iTunes Music Store videos...]
  Post a comment  •  Comments (7)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[9,560 views] Email Article To a Friend View Printable Version