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

Set up a Cingular T637 as a Bluetooth modem Internet
Here is a little gift for those that are Cingular GSM customers with a unlimited data plan. After an hour or so of playing around with my Sony T637, I figured out how you can use this phone as a Bluetooth modem.

Before we begin the setup process, you must download the scripts needed for your phone from Ross Barkman's page. I haven't tested any other scripts, but the Sony Ericsson 3G scripts are those that are needed for the T637. Once your download has finished, you can then place the scripts in top-level Library/Modem Scripts folder.
read more (225 words)   Post a comment  •  Comments (15)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[42,201 views] Email Article To a Friend View Printable Version
Use a Perl script to automate Flash content Internet
I hapen to like some aspects of Flash's interface ability and design. But it is very hard, and not very well documented, regarding how to have Perl manipulate Flash. I wanted a Flash site that could automaticly search my directories for PDF content of stories, poems, etc. So I looked into how Flash loaded external variables, and then made a Perl script (and several other 'glue' pieces) to force Flash and Perl to work together.

Please note: This is very buggy, and prone to some very strange errors at times. Mostly, you'll just have to go into the Terminal and invoke the script and then refresh the SWF. I set up my site as such:
  • /flash - this is where my Flash SWF file would be, as well as the HTML template to load it in.
  • /index.html - just loads the CGI script.
  • /cgi-bin - location of CGI and variable file.
  • /files - the location of my PDF directories, sorted in directories named for the variables they would load as.
  • /vars - location of some text files it would just load into variables that the name of file signified.
Now, how do you get Flash to update its files every time someone clicks on your site? Simple; have index.html use a frame to send you to the CGI file, and the base.html is the file with your Flash embeded, or in a frame (however you want Flash to be displayed). For instance:
<frameset cols="500" border="0">
<frame src="cgi-bin/loadvars.cgi">
</frameset>
[robg adds: I haven't, nor am I likely to, test this one, given my lack of knowledge of both Flash and Perl.]
  Post a comment  •  Comments (3)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[8,624 views] Email Article To a Friend View Printable Version
View or print articles without flashing ads Internet
Here's a little trick for those of you out there who do much of your news reading online. When reading an article online (you know, one that wraps around that flashing, annoying, advertisement), do you ever wish you could just see the page in a simple, nothing-flashing state? Well, try this out:

Find said article, click "Printable Version" on the page, then hit Command-P (File: Print), then click the Preview button. Now, you're looking at a copy of the article in a slightly more readable form, with nothing flashing, and probably no ads at all. And should you actually decide to print the article, a single button at the bottom of the screen will do so. Enjoy!

[robg adds: There are obviously a lot of ways to avoid avertisements on websites. There are hints here, and other places, about how to block them permanently, click to view them, etc. This method is another simple workaround that just removes the most-annoying flashing/animation from said ads.]
  Post a comment  •  Comments (7)  
  • Currently 2.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[9,237 views] Email Article To a Friend View Printable Version
Archive Mail.app email with Gmail Internet
Wondering what to do with all those GMail invites? One use I've found is to archive the four years of email I have accummulated in my Mail account. This amount of email can take up a lot of space and slow down Mail, so I'm always looking for a solution to my email archiving problem. Why not use the 2GB+ of storage on Gmail to archive everything for you? Here's how I sent my entire archive to Gmail.
  1. Create a Gmail account for yourself... you.archive@gmail.com might be good.
  2. Create a New Rule in Mail: Make it for "Every Message," and set it to Forward Message to your Gmail account.
  3. Deactivate (uncheck) all the other Rules except your new Forwarding one. I did this to avoid sending my new and incoming mail to Gmail as well, and to keep Mail from sorting my archives into other folders by mistake.
  4. Select all your archived messages (Command-A).
  5. Control-Click on the selection and select "Apply Rules." Mail will now go through each selected message and forward each one to your GMail account.
After you're done, just check your Gmail account and make sure the number of messages matches. If it does, you can delete your local email and have snappy Mail performance once again! And remember, you can still check GMail with your Mail.app using POP. Don't forget to switch this rule off and turn on your other rules when you're done...
  Post a comment  •  Comments (27)  
  • Currently 2.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[40,789 views] Email Article To a Friend View Printable Version
Use AppleScripts to remake the AIM buddy list Internet
So I just switched from iChat to Adium the other day. I like Adium better; the problem is that I was stupid about groups on the AIM buddy list. iChat ignores groups; Adium does not. I wanted groups ignored, but didn't realize I could just drag everybody into one group in Adium. My solution was to write/modify a couple of AppleScripts: one to grab all of the AIM handles from Address Book and the other to populate the buddy list in AIM (using AOL's actual client), putting everyone in the same gruop.

Again, if you have the exact same problem I did, this is certainly not the best way to solve the problem -- but maybe the AppleScripts will help people out there who want a glance at how Address Book and AIM could be scripted usefully. The first script borrows much from a previous hint, and the second is a modification of a script that comes with AOL's AIM client.
read more (324 words)   Post a comment  •  Comments (3)  
  • Currently 2.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[10,741 views] Email Article To a Friend View Printable Version
A script to restart Apache after power failure in 10.2 Internet
I've seen a couple of fairly complex hints that were written to overcome the bug in OS X 10.2 that fails to restart the Apache webserver after a power failure. Being a UNIX newbie (fear of complex UNIX hints), and already having some experience with AppleScript's ability to execute shell scripts through the do shell script command, I thought I'd try creating an AppleScript solution. I wanted to create an application to run as a StartUpItem that starts the Apache server via an apachectl start command. It works and is dead simple:

Open Script Editor, and type the following line in, changing the placeholder value yourpassword to your administrator password:
do shell script ¬
 "/usr/sbin/apachectl start" password ¬
 "yourpassword" with administrator privileges
Save 'Start Apache' as file format Application in a convenient location. Set the application to run on startup (in 10.2, this is in the Preference Pane 'Login Items'). Energy Saver option 'Restart automatically after a power failure' must be checked. Toggle the switch on your power source to test (close all open files first, of course!).
  Post a comment  •  Comments (8)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[14,910 views] Email Article To a Friend View Printable Version
Create hyperlinks via AppleScript Internet
Formatting hypertext links in online posts is tedious, so I wrote an AppleScript to do it for me. Those who are a little phobic of HTML may also find it easy and useful when linking in their posts here and elsewhere.
set target_app to (path to frontmost application as Unicode text)
tell application target_app to activate
set hyperlink to «class ktxt» of ((the clipboard as text) as record)
tell application "System Events"
  tell process target_app
    keystroke "x" using {command down}
    keystroke "<a href=\""
    keystroke hyperlink
    keystroke "\">"
    keystroke "v" using {command down}
    keystroke "</a>"
  end tell
end tell
Use the Script Editor application to save this script in your Script Menu as a script. The next time you want to link to something, copy the target URL (the web address) to your clipboard, highlight the "link text" (the words you want to make into a clickable link) in your post and then choose the script from your Script Menu. The script will then reformat your link text into a hyperlink.

Read the rest of the hint for a couple of notes, as well as a version that builds "BB Code" (also called "vB Code") link version...
read more (137 words)     •  Comments (9)  
  • Currently 2.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[13,495 views] Email Article To a Friend View Printable Version
Better iDisk sync using Transmit Internet
For those of you who, like me, have had endless problems with Apple's Local iDisk Sync (keeping a local copy and letting the system sync it either manually or automatically), here an alternative. This hint requires that you have Transmit 3.0.2 (earlier versions, including 3.0.1, will not work due to an applescripting bug that was fixed in 3.0.2). BTW, this also works with any FTP, webDAV, etc. server. Make sure you modify the connections and server info appropriately.

First, create a new disk image on your Mac that is read/write and of a fixed size that is equal to your iDisk storage. Mount that image. You can call it whatever you want (in this example, it's called "iDisk").

Next, make your iDisk a favorite in Transmit (you don't have to, but it keeps you from having to hardcode your password in the script -- it does NOT make the webDAV connection more secure, but it makes me feel better that I can share my script without having to remember to remove my password every time.

Then copy and paste this AppleScript into Script Editor, and save it as an application (or app bundle, they both work). You can just run that any time you want to sync, or you can set up a schedule using cron. First, create a shell script with just one command:
open -a idisksync.app
This assumes that idisksync is what you named the program when you saved the script as an application. Then create a cron job to run this as often as you like. I have mine run overnight every night, and then do manual syncs by running the application I created whenever I need to.
  Post a comment  •  Comments (8)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[41,185 views] Email Article To a Friend View Printable Version
Fix an SBC Yahoo outgoing email issue with .Mac Internet
I recently moved to SBC Yahoo DSL, and was disturbed when my .Mac email account stopped accepting email. It turns out that SBC filters port 25, which is used by .Mac and other email services for outgoing email. They told everyone about this last September, but they don't tell you if just signed up. Fortunately, you can "opt out" of the port filtering:
FROM SBC TECH SUPPORT:
As announced in the September 2004 Member newsletters, SBCIS began filtering direct outgoing email connections using Port 25 (SMTP) to non-SBCIS/Yahoo mail servers from Members using dynamic DSL and Dialup connections. Port 25 filters are widely used by many ISPs to combat junk email and spam from misconfigured and virus-infected computers.
By following these instructions (after item #4), you can fix things.
  Post a comment  •  Comments (15)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[29,436 views] Email Article To a Friend View Printable Version
Google Maps now supports Safari Internet
Just a quick note from the Google Blog: Google Maps now supports Safari and Opera. Kudos to the Google team to getting it to work cross-browser so quickly!

[robg adds: Normally we don't run news items, but Google Maps have proven very popular, and Safari is used by something like 80% of all the readers here, so I figured it was worth sharing.]
  Post a comment  •  Comments (29)  
  • Currently 1.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[17,816 views] Email Article To a Friend View Printable Version