Archive

Archive by category 'Software'

How to launch iTunes at startup with a random song?

January 20, 2010 No comments

I write this article in response to a question read on a forum, in the hope that it will help someone in addition to the direct question (Stefano, alias "Pisubijoux").

There are several methods to do this, I suggest using a small script (to be created with AppleScript Editor) to launch the start of the login user.

We arrive at practical ...

1) Open the AppleScript editor and enter the following code (commented to help you understand ... ah, comments are inserted with "--" ):


-- Open iTunes
tell application "iTunes"

- Show window of iTunes running (remove "-")
- Activate

- Sep shuffle mode to the playlist "Music" (Change it if you want)
September shuffle of user playlist "Music" to true
- Remove shuffle mode to the playlist "Music" (Change it if you want)
- Set shuffle of user playlist "Music" to false

- Play music!
play

end tell


2) Click on Insert and then save it as an Application.

3) Open System Preferences -> Accounts -> Startup Items -> enter the application you just saved!


For the lazy, you can directly download the file from here:

Only ... then proceed to step 3!

VMWare Fusion 3.0 and the "file association" unintuitive ...

October 29, 2009 No comments

VMWare has finally released the long-awaited new version of Fusion , came to 3.0, adding many new features that finally make it one of the best virtualization software in Mac.

One of the biggest gaps I've always complained in Fusion was a lack in the ability to open files with a virtualized Windows application directly from Finderl (Ex: open an XLS file directly from the Finder and make sure that it opened with Microsoft Excel 2007 virtualized ). This is actually a file association, or associate extensions with a program of your choice.

Despite the efforts of VMWare, you still can not do this by default with Fusion, but with some little ingenuity you can not work around the problem.

  1. Position the Finder on the folder where your Virtual Machine (Windows for instance);
  2. Click with the right mouse button on VM (Virtual Machine) and select "Show package contents" (Show Package Contents);
  3. At this point you open a new window is located inside the folder "Applications" in which there are installed applications in a Windows environment;
  4. Open another Finder and navigate to the / Applications folder of Mac and create a new folder called (for example) "Windows Applications";
  5. Copy us inside the application (from the Applications folder in the VM that you want to be indexed by Spotlight as native applications in Mac;
  6. Select a file with the extension you want to associate an application to Windows right-click and select "Get Info"
  7. Select the "Open With" and then "Other" (Open With - Other)
  8. At this point, choose the application you want to associate the file extension. You can find it easily in Windows Applications folder that you created previously in step 4!
  9. Give OK and then click "Change All" ("Change All" smileys . From now on it will open Fusion and its application when you open a file with that extension.



Now some screenshots to better follow the directions:



Have fun and good virtualization at all!


Tag: Categories: Download , Mac , Software , Misc , Windows Tags:

WordPress is still growing: 2.8.1

July 10, 2009 No comments

Another update of the well known and widely used platform for blogging that brings the version number of WordPress 2.8.1 .

Usually updated with a single click that an upgrade is complete and painless in about ten seconds. Great job as always!

This time the updates are minor (as defined "under the hood"). You can see the complete list from the official page of the changelog to 2.8.1 .

Good update to all and always remember to make a nice healthy backup of the database before proceeding with this type of transaction! Forewarned ...

Google OTA (Over The Air): Mail, Contacts and Calendar! Hybrid solution ...

July 2, 2009 4 comments

After a while 'son of attempts finally managed to acquire a satisfactory solution that emulates the Mobile Me service from Apple.

Tools and services required:



Email
From the Gmail webmail set the option to forward a copy to a Yahoo! account (previously created) to take advantage of push notifications for Yahoo email on the iPhone!

gmail_forwarding_email

On the iPhone, therefore, set up your account to Gmail and Yahoo! to be notified of mail in real time.

Calendar and Contacts
Register on nuevasync and follow the correct instructions to configure the iPhone.

ota1ota2


At this point you just have to say Addressbook and iCal to sync with their Google services: Gmail Contacts and Google Calendar.

For iCal can rely on the ease of use of Calaboration made ​​available by Google.

calaboration

For Addressbook instead we have to rely to a little trickery. Enable AddressBook (Address Book) Mac to sync with the Gmail address book by its preferences:

addressbookmac

Install Lingon and start it and enter a new agent (by clicking the + button) called such com.google.synccontact that will run the following command:

/System/Library/PrivateFrameworks/GoogleContactSync.framework/Versions/A/Resources/gconsync --sync com.google.ContactSync

every 5 minutes (or to your liking, you can specify the time interval for synchronization between Google Contacts and Addressbook).

lingon

Also as you can see from the image I added the option "Run if this file is modified" as the path by entering:

~/Library/Application Support/AddressBook/AddressBook-v22.abcddb (check the name of the file on your computer)

Now Mac, iPhone and Google are perfectly aligned and synchronized automatically in perfect style OTA (Over The Air)! :-)

Tag: Categories: iPhone , Mac , Software , Miscellaneous Tags:

Mode "Push" on iPhone with gMail

April 22, 2009 5 comments

This time the 'hack for the iPhone that allows you propose to emulate the Push mode on accounts that do not support this option.

Let me explain. Apple allows our beloved iPhone you can use the Push mode or modes Fetch (simply download every n minutes).

Fetch would be fine if it were not that the options selected are:

  • Every 15 minutes
  • Every 30 minutes
  • Hourly
  • Manually

The reason for this choice is based, according to Apple, the decision not to consume too much battery power. However, it is also true that 15 minutes is a time sometimes too large to claim to have notifications in "real time." Why not set then other choices shorter in time (eg. Every 1, 2, 5 minutes)?

Before you start remember to do this you must have:

  • iPhone 2G or 3G jailbreakato
  • 2.2.1 firmware installed (maybe the procedure is the same / similar with previous versions)
  • sFTP client (eg. Cyberduck or Transmit )
  • Editor .plist files (eg. TextWrangler )

The second premise is that this article does not explain, nor do I intend to do, how to jailbreak an iPhone or how to use a sFTP client and therefore its input parameters. There are hundreds of great guides that show how to perform these procedures on both Mac and Windows and other OS.

The steps to perform are:

  1. Enter on the iPhone via sFTP
  2. Navigate to the folder with the client sFTP /System/Library/PreferenceBundles/ScheduleSettings.bundle/
  3. Edit the file ScheduleSettings.plist with TextWrangler (it's always good to make a backup copy of the original)
  4. .lproj Open the folder for your language and edit the file: ScheduleSettings.strings
  5. Save everything and enjoy the new entries

I am attaching pictures of the changes to be made:

For the lazy here is the files that have been edited for the Italian and English:

For firmware 3.0:

For firmware 2.2.1:

Good hack at all!

Tag: , , , Categories: HowTo , Mac , Software Tags: , , ,