Archive

Archive for the 'Software'

How to Start iTunes start with a random song?

January 20, 2010 No Comments

I write this article in response to a question read on a forum, hoping it will help someone in addition to the person concerned (Stefano, aka "Pisubijoux").

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

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 of user shuffle playlist "Music" to false

- Play music!
play

end tell


2) Click on Compile 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 download the file directly from here:

... Only then proceed to step 3!

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

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 that I have always complained in Fusion was the 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 it opened with Microsoft Excel 2007 virtualized ). This is in fact a file association, or associate extensions with a choice program.

Despite the efforts of VMWare, you still can not do this by default with Fusion, but with a few tips 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 button on the 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 the applications installed in the Windows environment;
  4. Open another Finder and navigate to the / Applications folder for Mac and create a new folder called (for example) "Windows Applications";
  5. Copy us in the applications (from the Applications folder in the VM that you want to be indexed by Spotlight as native applications on Mac;
  6. Select a file with the extension you want to associate an application to Windows and right-click choose "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. It can be found easily in the Windows Applications that previously was created in Step 4!
  9. Give OK and 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 updates are minor (those defined as "under the hood"). You can see the complete list from the official page of the 2.8.1 changelog .

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

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

July 2, 2009 4 comments

After a bit 'of attempts are finally able to acquire a satisfactory solution that emulates the Apple Mobile Me service.

Tools and services required:



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

gmail_forwarding_email

On the iPhone, therefore, set your account to Gmail and Yahoo! to be notified of the 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 to Addressbook and iCal to synchronize with the related services of Google: Gmail Contacts and Google Calendar.

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

calaboration

To Addressbook instead we must rely to a little trickery. Enable AddressBook (Address Book) Mac to synchronize with your Gmail address book by its preferences:

addressbookmac

Install Lingon and start it and enter a new agent (clicking on +) 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 you can indicate to your liking the time interval for synchronization between Addressbook and Google Contacts).

lingon

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

~/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 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 iPhone that I propose allows to emulate mode Push on accounts that do not support this option.

Let me explain. Apple allows our beloved iPhone can use the Push mode or modes Fetch (the simple 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. However it is also true that 15 minutes is a time sometimes too wide 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
  • firmware 2.2.1 installed (perhaps 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 client sFTP and then its parameters insertion. There are hundreds of good guides that show how to perform these procedures on both Mac and Windows and other OS.

The steps to be performed are:

  1. Entering via sFTP in the iPhone
  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. Open the folder for your language .lproj and edit the file: ScheduleSettings.strings
  5. Save it all and enjoy the new entries

I am attaching pictures of the changes to be made:

For the lazy here is the files already modified for the Italian and English:

For firmware 3.0:

For firmware 2.2.1:

Good hack at all!

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