This AppleScript will add the current track you are playing to a play list (currently named street) on your iPhone (or iPod). It will also make a backup of this added track to a playlist on the iTunes local playlists (also named street). The script also checks first if a song exists on the playlist, so as to not duplicate any tracks.
property playlistname : "street"
tell application "iTunes"
repeat with s in sources
if (kind of s is iPod) then set the_ipod to s
set doit to true
set idx to (count tracks of playlist playlistname of the_ipod)
repeat with i from 1 to idx
set n to track i of playlist playlistname of the_ipod
set n to (name of n as string) & (artist of n as string) & (album of n as string)
set m to (name of current track as string) & (artist of current track as string) & (album of current track as string)
if (n is m) then
set doit to false
set v to output volume of (get volume settings)
set volume output volume 30
say "Dup file!"
set volume output volume v
if (doit is true) then
duplicate current track to playlist playlistname of the_ipod
duplicate current track to playlist playlistname
The latest version of the iPhone OS allows you to have 11 pages of 16 icons, plus the four permanent icons at the bottom of the screen, for a total of 180 apps. You can actually have more than 180, though only 180 icons will be visible.
To get to the invisible apps, just do a search (press Home from the home screen), and type part of the non-visible app's name. I don't know how many of these invisible apps you can have, as I have not tried more than three so far.
[robg adds: As far as I know, the limit is simply based on the available space on your device. Long before that point, though, you may run into a limit with your ability to remember the names of all the invisible apps.]
I used to have a mobile phone which I synced all the time with iSync, where there was an option to only sync contacts with phone numbers. After getting an iPhone, I noticed this didn't exist. So why not use a Smart Group to do the job? Because they don't sync with the iPhone. But I also wanted everyone's emails and other details.
So I wrote up an AppleSript that updates a regular Address Book group with only people who have phone numbers. This worked great, then after a while, I wanted some numbers to not show up (people you want to keep in your phone but will never call, or whose name you don't want to see every time you scroll down your list). I created a group called Not Phone, and modified my script so that they are removed from the Phone group.
This script will create the groups for you. Warning: if you have a group called Phone already in existence, I suggest renaming the group (or changing the group name that the script uses in the first line), as that group will be modified. Here's the code:
If you want to save a photo from the Flickr iPhone app as your wallpaper image, here's an easy way to do it. Find the photo you'd like to use in Flickr, tap it to view it on a black background, and then use the iPhone's screen shot feature (hold down Home, then tap the top button) to save the photo to your photo library.
Finally, open the Photo app, find your saved image, tap it, and set it as your wallpaper.
[robg adds: You can use this same method to easily convert any photo in any other app to wallpaper, as long as you can display it such that it takes up the entire screen.]]
Want to wake up or be alerted by a friendly voice? In OS 3.1, use the Voice Memo app to record your own wake-up or alert message. Sync the iPhone to your computer, then look in your iTunes Library under Voice Memos.
The recording will have a nonsense numerical string, followed of the ".m4a" suffix, for a name. Copy the file and change its name to Whatever_You_Want.m4r, and drop it into Ringtones in iTunes. Presto -- you've got a personalized alert to use for ring tones, Alarm Clock, and any other app that has access to the ring tone list.
Have you discovered that using the iPhone's SMS app in landscape mode, while laying down, isn't all that you wanted it to be? I've found a simple fix that only requires you to have five or more SMS conversations in the app.
Open the SMS app, open any of the conversations, and scroll up and down. Repeat for the other four or more conversations. This will lock the screen from rotating when the iPhone goes on its side.
Before iTunes 9, when you wanted to organize the order of the photo albums on your iPhone or iPod touch, you could simply drag the photo albums up and down from within iTunes when your device was connected to your computer.
Now, with iTunes 9, you can no longer drag the albums around from within iTunes. You must rearrange the albums to their desired display order in iPhoto, and that order will be reflected in your device.
This tip has been tested in Leopard (10.5) and Snow Leopard (10.6).
While playing around with my iPhone last night, I found that the 'shake to shuffle' feature will work from the mini-player that pops up on your screen after a double-tap of the home button. To enable the mini player (i.e. the iPod controls), go to Settings » General » Home Button, and select iPod controls.
The only issue I have had was that when I really shake the iPhone, it goes to landscape mode and freaks out.
I have over 2,000 iPhone apps now (nearly all of them free) saved on my hard drive, and I decided to offload some of them to secondary storage to free up some of the 8GB of disk space my iTunes folder was taking up. My initial delete process was to highlight an app in the Applications section of iTunes, hit Command-Delete and select Move to Trash from the pop-up dialog to put it in the Trash, then immediately rummage through the Trash to recover the file into a folder that I would later archive.
This works, but I felt I should probably optimize to get rid of the larger unused apps first (some of which are over 100MB on disk). I found that I could select any of the apps and hit Command-R on it to show me the file in Finder. The problem is that I wanted to go the other way -- sort that folder by size, and look at the fattest apps.
And here's where the problem lies ... the filename might be XMAS TREE, but the application in iTunes is Christmas Tree. It turns out that every app has four names: the name in the applications window, the name of the Finder file, the name in the applications scroll box (where you enable those apps you want loaded on the iPhone), and the name of the app once installed on the iPhone. Apparently there aren't any hard guidelines about how closely-related all these names need to be. Some of them are very similar, some of them are extremely different.
But, I stumbled across a slick trick. I found the fattest likely-unused app in the Finder, and then dragged it to the Application entry in the iTunes sidebar. The cursor turns into the green plus sign (like I'm copying the file), but it doesn't actually copy the file when I let go. Instead, something very useful happens: the corresponding app is selected!
So my process is now: look for candidate app in Finder, drag it to the iTunes app window, decide if it's an app I want to archive, and if so, Command-Delete, Move to Trash, rummage through trash to move to my backup folder. It's not easy, but then again, I don't think Apple expected anyone to have 2,000 apps.
Problem: The battery on my jailbroken iPhone drains quite rapidly (requiring a recharge every other night, or even more frequently).
Diagnosis: A number of App Store and Cydia applications report usage data surreptitiously to online servers. Aside from the invasion of privacy, such activities also keep the iPhone and network connections active, requiring energy and draining the battery.