I like to have a Downloads folder with files sorted by download date. However, I have not found this option in OS X, because the files' dates are not modified on download. So I modified a small script that updates the modification date of files. Attach this AppleScript to your download folder via Folder Actions, and now you only have to put the folder in list mode, and sort by modification date. Hope it helps.
on adding folder items to this_folder after receiving added_items
repeat with file_ in added_items
tell application "Finder"
set file_ to POSIX path of file_
do shell script "touch -c " & quoted form of file_
end adding folder items to
The problem I have found with this is that you lost the real modification date, but sometimes this is a secondary issue. Perhaps the script can be modified to save the modification date in the notes field.
[robg adds: Back in 2003, we ran this hint, which pointed to a small script called FolderOrgX. FolderOrgX organizes your downloads into subfolders by date of download, and seems to still work fine with Safari (it doesn't work well with Firefox, Camino, and other Gecko-based browsers). It offers the option to touch or not touch the modification date of the file, so you can retain that info if you wish. I chose to run this hint, despite its similarities with the older one, for non-Safari users and those who would rather not use subfolders in their downloads folder.]
There is a significant shortage of tools available for sending information about your current iTunes song to your blog. For Windows, there's iTunesBlogger, but for the Mac, there's not really anything that's simple and transparent. So I wrote an AppleScript that works in conjunction with a PHP script called TrackTunes (part of the CG-PowerPack) to get my currently-playing iTunes song to display properly on my WordPress blog. The script is here:
Further information about my research into this topic and how to install and run the script is available in this entry on my blog.
[robg adds: As the referenced blog entry is rather detailed, I won't try to repeat it here. As noted in the entry, there's a Mac app called Recent Tunes that will do this for you. It's what I've been using on my personal blog, but it is a bit flakey, sometimes not updating the songs when it should. The program hasn't been updated since 2004, and is unlikely to be updated in the future, so the above script/PHP code might be the best solution.]
If you have more than one account with Gmail (this works with Google for your domain accounts, too), you can use Google Notifier to notify you of your Gmail and Google Calendar activity by simply making a copy of the Google Notifier application in the application folder. You then simply change the name of the application to something relevant and, after launch, the applications will coexist in the menu bar.
Mario_Dammann is an AppleScript for your web browser (Camino, Safari or Firefox) that copies selected text along with the URL and title into the same TextEdit file. At the end of the day, you have a collection of all your selections in one text file. Just download the script and place it in your web browser's Scripts folder.
After highlighting sections of web text, select Mario_Dammann from the Scripts menu, and the text will automatically be copied to a TextEdit file.
[robg adds: I have mirrored the source of version 0.9 onto the hints server, in case the original vanishes. I tried this, and it works as described.]
This hint is not specifically Apple, Mac, or OS X related, but I suspect it'll apply to quite a few readers. To anyone who uses a somewhat slower machine to access the internet and check a gMail account, you may have noticed typing in text-boxes, such as compose or reply are sluggish. On my 333Mhz Lombard, Camino will lag as much as a sentence behind my typing. As far as I can tell, this appears to be specific to Gecko browsers. I don't experience this lag with Opera, Safari, or OmniWeb.
For those, like me, who don't wish to launch a separate browser just to check email, switch gMail to the basic HTML view and the typing lag goes away. While you will lose some of gMail's whizzier features in this view, you will no longer feel like you're using Word 6.
I have an old web app that's using Active Server Pages, and I want to run it on my (Intel) Mac. This is basically not a big deal, because you can simply use Microsoft IIS under Parallels.
But I wanted to use IIS only for ASP files, and let Apache handle the rest. And here's how to make sure IIS only handles what it's supposed to:
Make a share of your Webserver Root directory in Parallels.
On the PC, in the IIS Control Panel, click on the default Website, click on Properties, then choose Home Directory, select that the content should come from A Share located on another computer and enter .PSFyoursharename as the network directory.
Make sure you allow ASP under Web Service Extensions
On the Mac, uncomment the following lines in /private -> etc -> httpd -> httpd.conf (remove the #'s):
If you are seeking the largest audience possible with embedded streaming video, Flash video is a good choice, since it is allegedly supported by 98% of all browsers. One can easily create Flash video that can be downloaded progressively with a few open source or other freely available tools. The easiest way to encode the video is with ffmpeg (available through Fink) with something along the lines of:
This will create a Flash video with settings of 12fps, 360 by 240 pixels, 150 video bitrate, and a 16 bitrate mono audio track. Now to make the Flash video support progressive downloading in all the major browsers, we need flvtool2. Once installed, run the following command:
flvtool2 -u video.flv
At this point, all you need is to provide a SWF wrapper for your Flash video. There's a serviceable one here. Download it, expand the archive, and follow the instructions in the readme folder to install and link to your webpage.
It is easy to give Mail.app and Gmail something very close to synchronized inbox and sent mail boxes. Any message sent in Mail.app will be stored in Gmail's serverside sent box, any message sent through Gmail's web interface will store a copy in your Mac's sent mail box, and any received message will also be available through the web interface or on your own computer. This is most useful because it allows access of any of your email from anywhere through Gmail's nice interface, and it allows you to download your email and keep it offline and able to be read without an internet connection.
First, enable POP access in Gmail. Next, set up Mail.app to use gmail's POP server and SMTP server. (Using your ISP's SMTP server instead will not allow messages sent from Mail.app to be stored in Gmail.) Finally, add a rule in Mail.app and put it toward the very top of the priority list:
If all of the following conditions are met:
From Contains your name
To Does Not Contain your name
Perform the following actions:
Move message to mailbox: Sent
Mark as Read
Stop evaluating rules
In Mail.app, using Gmail's SMTP server stores the sent message on Gmail's server for later viewing on gmail.com. In Gmail, sending a message leaves a copy on the gmail account which is retrieved through POP3 by Mail.app, which is routed by the mail rule to your sent box. Thus, all your sent mail is backed up on gmail's server and stored locally on your Mac.
With the recent launch of Moosejaw's Tha Lowdown, and sites like Steep and Cheap that offer one-day, while-supplies-last deals on outdoor gear, I have been in need of a way to load these pages at their scheduled update times without forgetting. Both have RSS feeds, but they have proven problematic.
I did some searching and found a post on the MacNN forums that suggested I use Cronnix, a cron GUI, that can be used to launch a simple script whenever you want. The following script will load a page in your default browser:
Now that I have it set up to load ThaLowdown.com when the deal changes, I am going to explore using this same concept to have the Boulder, Colorado GPS-tracked bus schedule loaded for me every day when I wake up. I can think of a lot of individual applications of this idea as well.
While this is not a specific hint for MacOS systems, it may be of interest of MacOS users, so here it is. The problem with most anti-spam systems is that you have to download all messages to your computer, including spam, in order to filter them. But what if you could download just the non-spam messages?
Configure your Gmail account to allow reading/sending emails using POP/SMTP.
Configure Mail.app (or other mail application you may use) to read your Gmail account.
Since your Gmail Inbox is filtered against spam, you will be reading just valid (mostly) emails. All spam will be held in Gmail's Spam box, far from your computer.
[robg adds: A simple hint, but worth consideration if you don't mind using the @gmail.com address as your main point of contact. Obviously, this will work with any online mail service that moves spam out of your inbox via automated filters.]