something about APPLE here: I am APPLE fans and like their products. By open this blog, I am not trying to BIAS toward APPLE company. Some of the fact below supported my decision. They introduced the computer MOUSE to the world. They changed the way we look at SMART Phone. They boosted up the use of 3G network. They were the first to use USB port as the main connection for computer system. They were the one who able to make a media centre to sync with every devices in your family. They made thing that work magically simple for us. Everything above and more to come... APPLE

Friday, December 31, 2010

Script for Airport on/off

I am looking for a script that run in AppleScript application to disable airport. And I found the script below which will enable you to turn the airport on/off whenever the opposite situation.

tell application "System Preferences"
reveal pane "Network"
tell application "System Events" to tell process "System Preferences"
set theRow to row 1 of table 1 of scroll area 1 of window 1 whose value of static text 1 contains "Airport"
select theRow
if value of static text 1 of theRow contains "Off" then
click button "Turn AirPort On" of group 1 of window 1
click button "Turn AirPort Off" of group 1 of window 1
end if
keystroke "w" using {command down}
end tell
end tell

Then I have change something in there to make it my own script

The main objective of my script was to run Adobe After Effect without Internet Connection turn on as my AE cs5 is not original copy.

here I pasted my script

tell application "System Preferences"
reveal pane "Network"
tell application "System Events" to tell process "System Preferences"
set theRow to row 1 of table 1 of scroll area 1 of window 1 whose value of static text 1contains "Airport"
select theRow
click button "Turn AirPort Off" of group 1 of window 1
keystroke "w" using {command down}
end tell
tell application "Adobe After Effects CS5"
end tell
end tell

Most important, I have changed the saved script icon replaced with AE

What I did is to "Show Package Content" after right clicked on the ICON.

go to contents --> Resources --> and change the .icns file to the corresponding ICON

Close it and double click to launch it. The icon will change to the correct Picture.

Basic iPhone tricks

1. Put More Apps in the Dock


The iPhone has always been limited to only 4 Apps in the dock at once. The iPad takes it up to 6. However, now with iOS 4 and folders you could theoretically have up to 48 Apps in the dock for quick access. Granted I don't need 48, but I do need more than 4. So what I did was create a "Productivity" folder and I put it in the dock so that those 12 Apps are accessible to me no matter which Home screen I'm on.

2. Choose a Different Home Wallpaper

If you're on an iPhone 3GS, iPhone 4 or an iPod touch 3rd generation, you can now change your home screen wallpaper. You could always use a custom wallpaper that appeared on the lock screen, but now you can have a separate one that appears behind your apps. Also I highly recommend using an App like Adobe Photoshop to create a custom Wallpaper for your lock screen that actually has your name and contact info on it in case you lose your iDevice and someone is nice enough to want to return it. You could also put I.C.E. (in case of emergency) contact info on it too. OK, so that's really two-three tips :)

3. Zoom

Your iPhone running iOS 4 just got a 5x digital zoom. However, it doesn't give you the zoom slider until you actually tap the screen. 

4. Sync Notes with MobileMe

One of my favorite new features is the ability to finally sync Notes with MobileMe wirelessly (or any other IMAP based service). Just turn it on in the Email account settings and when you make changes or add notes on your iDevice they will be waiting for you on your computer and vice versa.

5. Quit an App

If you're on an iDevice that supports multitasking, double tapping the Home button will bring up the Multi-tasking bar at the bottom of the screen. You will always see the last apps you launched and any apps that are still running will be there too. As a matter of fact it seems like every app you've ever run is there. Don't worry. Only the ones that can run in the background are actually running. The other ones are there for quick access. However, if you want to quit one or clear it from this display, hold down your finger on the icon until they start to wiggle and then tap the minus symbol to close that app and remove it from the list. It will of course reappear the next time you launch it.

6. Keep your HD HD

The iPhone 4 can shoot in 720p using the back camera. However, if you edit it or simply just share it from the iPhone 4 it will be downsized to 568×320 even if you're on a WiFi connection. So at this point the only way to keep your high def 720p video high def is to transfer it to your computer before attempting to share to to YouTube or other services. My preferred transfer method is to use Image Capture  on the Mac.

7. Use Your iPhone as a Modem

You can see the details here. However, with iOS 4 and the addition of tethering to your AT&T data plan, you can now use your iPhone's 3G data connection on your laptop. So if you're on the go and don't have access to a WiFi hotspot you can either connect to your iPhone from your computer using USB or Bluetooth and the iPhone will provide an internet connection to your computer. 

8. Reorder Spotlight Results

iPhone OS 3 brought us a system wide search. However, now in iOS 4 you can dictate which results are listed first. Just go to the Spotlight settings and rearrange them to your preferred order.

Thursday, December 30, 2010

Mac Shortcut

Global Menu Shortcuts

Fn-Arrow Keys is the equivalent of the Home/End and PageUp/PageDown buttons on a PC; Left-arrow and right-arrow for Home and End, Up-arrow and down-arrow for PageUp and PageDown.

Fn-Delete deletes one character to the right of the cursor, same as forward-delete on a PC.

Ctrl-F2 moves focus to the Menubar. You can use the arrow keys to select menu items and enter to apply them.

Ctrl-F3 moves focus to the Dock. You can navigate around with the arrow keys to select applications and enter to switch to them.

Ctrl-Cmd-D displays a popup dictionary for a selected word. Just hover over the word with the cursor and hit the shortcut. Useful for quick definitions.

Cmd-Q quits the current application.

Opt-Cmd-Escape opens the force quit menu where you can selectively force quit applications.

Holding Shift-Cmd-Opt-Esc for three seconds force quits the frontmost application (Leopard and Snow Leopard only).

Ctrl-Eject opens the shutdown/restart/sleep dialogue.

Ctrl-Shift-Eject puts the display to sleep immediately.

Opt-Cmd-Eject puts the computer to sleep immediately.

Ctrl-Opt-Cmd-Eject shuts down the computer immediately.

Finder Shortcuts

Enter renames selected file.

Cmd-O opens the selected folder in the Finder.

Shift-Cmd-N creates a new folder in the current directory.

Cmd-J opens the View Options panel, where you can tweak settings for how a specific folder appears in the Finder, such as icon size.

Cmd-I opens the Get Info panel for the selected item.

Cmd-Delete sends selected file(s) to Trash.

Shift-Cmd-Delete empties the Trash with confirmation.

Shift-Opt-Cmd-Delete empties the Trash without confirmation.