Monday, November 30, 2009

Snow Leopard windows 7 그리고 VMware Fusion 3.0

다소 긴 것 같이 보이는 제목은 최근 업그레이드 된 제 맥북 사양입니다.
2007년에 여름에 구매한 화이트 맥북이라 오른쪽 아래에는 Alt 키 대신에 떡하니 enter키 (정말 쓸일없는)가 또아리를 틀고 있습니다.

이전에 Leopard + VMware Fusion 2.0 + Windows XP 상에서는 XP에 나라셋 입력기를 깔고 왼쪽 윈도+space를 한영전환키로 놓고 맥과 XP에서 모두 한영전환으로 썼었습니다.

근데 Windows 7으로 업그레이드후 왼쪽 커맨드+space는 가상머신에서는 여지 없이 윈도우즈 시작메뉴를 불러내며, 한영 전환이 되지 않더군요.

그래서 찾은 방법입니다.
1) 맥에서 한글입력기 바람 설치후 오른쪽 하단 enter키를 한영전환키로 설정
2) VMware Fusion 3.0 Preference에서 Number Enter -> AltGr 로 맵핑 설정
3) 나라셋 입력기에서 한영키를 한영전환으로 설정

이제 익숙해진 Cmd + Space 조합을 떠나서 예전 처럼 한영키를 쓰는 것에 익숙해져야 겠네요.












Friday, November 28, 2008

Not so new script for Space Toggle

Some guy from macosxhint.com left nice comment with this script. This works better and is with elegance.


tell application "System Events"
tell expose preferences
tell spaces preferences
set spaceset to item 1 of (get properties as list)
set spaces enabled to (not (spaceset as boolean))
if spaceset is true then
say "Space turned off"
else
say "Space turned on"
end if
end tell
end tell
end tell
update:
After upgrade to Snow Leopard this script didn't worked.
Later I found out 'item 1" should be modified to "item 5"

Wednesday, July 30, 2008

Applescript for Space on/off

If you are using Macbook or MBP with big external monitor, you might find that you don't need Space in dual monitor setting.  However, when you find yourself without big shiny monitor, you would miss Space again.

Turning on/off from Space Preference pane every time can be very painful for most of us.

Here is the applescript i am using. This is my first script and i think that i am going to like applescript a lot.

if (do shell script "defaults read com.apple.dock workspaces") is equal to "1" then

do shell script "defaults write com.apple.dock workspaces -bool no;killall Dock"

say "Space turned off"

else

do shell script "defaults write com.apple.dock workspaces -bool yes;killall Dock"

say "Space turned on"

end if


You can use Script Editor to use the script above or you can download little app i made for myself with growl notification and voice prompt.


Download Space Toggler here