Duplicate Finder Window

Open a new Finder Window with current Folder

  1. Open ScriptEditor.app
  2. Paste the following script
  3. Save as application (Name it with “duplicateFinder.app”)
  4. drag the app onto the toolbar of Finder
  5. click it whenever you want to duplicate current Finder window
tell application "Finder"
get the exists of the front Finder window
if the (exists of the front Finder window) is true then
try
set newWindow to target of front window
set oldView to current view of front window
make new Finder window to newWindow
set current view of front window to oldView
end try
else
try
make new Finder window to alias ":"
set the current view of the front Finder window to column view
end try
end if
end tell

From: http://www.fosk.it/how-to-open-a-new-finder-window-from-current-location.html

Tags: ,

Comments(0)

如何修改一个特定的应用程序的语言设置MacOS

为什么这么做?
有些程序在设置了语言设置(比如中文)后,就可以识别这个语言对应的non-unicode编码,比如itunes如果设置了中文后,很多mp3的中文tag信息可以正常显示了.
而其他的应用程序则继续使用系统默认的语言设置(比如英文)
如何修改?
在finder里找到applications目录,里面选中想要修改的app,cmd+I, 在弹出的窗口里找到language(语言)一栏, 勾掉除想要的语言之外的其他语言. 重启这个程序如果它正在运行的话.
另,如果有很多程序想修改, 不妨使用个简单的技巧:
先在system preference里调整语言的优先次序, 把想要的语言设置放在第二, 英文作为第一. 然后在cmd+I里的只需要把英文勾掉就行了.


如果你想修改所有的应用程序的设置,就直接在system preference里修改就行了.

整理自:

http://forums.macosxhints.com/showthread.php?t=75496

update:
最新的snow leopard 不支持在cmd+I里去除语言选择了, 那么,只有来硬的了, 右键点Tiunes.app, show package contents, 在里面找到要去除的语言直接删掉即可..

Tags:

* Comments(2)

Prevent .DS_Store file creation on network volumes

One line command type as follows in terminal

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

http://www.macosxhints.com/article.php?story=2005070300463515

Tags:

* Comments(1)

Windows和Mac OS 共享一个移动硬盘

因为现在家有iMac,学校用的是Windows, 一个移动硬盘需要两个系统同时访问. 本来我的方法是用NTFS系统, 在mac上安装macfuse+ntfs-3g, 用的还不错, 可最近每在mac上进行写操作就移动硬盘就出问题了. 出问题的解决办法是, 找台windows在命令行里运行下面命令

chkdsk [Drive No] /x /f

等若干小时(视硬盘大小和逻辑损坏程度定)就好了.

但现在不敢用了. 网上search下, 发现, 另一个solution是, format成mac的hfs文件系统, 然后windows 下用macdrive访问.  有空准备尝试下.

Tags:

Comments(0)

Mac上用bootcamp装windows的注意事项

用bootcamp分区后,bootcamp会将新的分区format 成fat32. 但安装windows的时候要千万注意, 要用windows的安装程序重新format一下, 不然windows copy完了程序后,此分区不能启动起来的.

另外两个小tip: 

  1. 取出光盘的一个办法: 启动mac的时候, 按住鼠标左键 即可
  2. 开机按住option键, 可以选择要启动的系统, mac or windows

Tags:

Comments(0)

Mac OS 读写NTFS

先下载安装MacFUSE,然后下载安装NTFS-3G的mac版,重启,搞定.

据说,
1, MacFUSE是google的一帮人把linux下的开源的一个project – FUSE移植到了mac上的. 应该很reliable.
2, NTFS-3G在linux上也已经用了很久了, 已经很stable了.

但是,
毕竟不是官方的解决方案,微软没有公开NTFS的协议,所有的第三方的读写都有一定的风险.

btw,
# gx下lab的小师妹拿到Berkeley的offer!
# Google  chrome 发布了, 试用下, 感觉不错, 而且没crash~ mac版啥时候出来?

Tags:

Comments(0)

Mac OS上VLC字幕乱码解决方案

1.字体
VLC->Preferences->Video->Subtitles / OSD->Text renderer->Font
我选了 /System/Library/Fonts/华文黑体.ttf
2.字幕
VLC->Preferences->Video->Subtitles / OSD
勾选Autodetect subtitle files
VLC->Preferences->Input / Codecs->Other codecs->Subtitles->Subtitles text encoding
选GBK
勾了UTF-8 subtitles autodetection和Formatted Subtitles,不知道有没有用

调了两次了,每次都要去偶像的blog上看, ycul的搜索也不灵, 真麻烦. 干脆copy过来, 找的方便.

from:http://stiletto.ycool.com/post.2826591.html

Tags:

Comments(0)

Using iPod without iTune

Recent I got an iPod Shuffle II. Uploading mp3′s to ipod using iTune has too many restrictions. Now I tell u several ways to upload mp3′s to your iPod without iTune.

CAUTION: Before u do the following things, u should understand all these tools are NOT recommended by Apple Inc. They might have risks to damage your iPod db files. Therefore, it highly recommended to backup your system files in iPod i.e. files under “/iPod_Control” before using the following tools.

  1. foobar 2000 with foo_pod or foo_dop. foo_pod only works with foobar 0.8.3 (as anounced in their website, but foobar 0.8.3 with foo_pod crashed in my PC). foo_dop can support the newest version of foobar. However, foo_dop doesn’t support iPod shuffle!! This might be due to iPod shuffle doesn’t use standard iTune DB. They be found here: foobar and foo_pod / foo_dop
  2. jShuffle. A java application to build iPod DB. Cross-platform (thanks to Java). It is not easy to use. I tried, but not succeeded.
  3. iShuffle. A win32 application to build iPod DB. Only run on windows. 288K in size. tested on my iPod Shuffle II.
  4. shuffle-db. A python application to build iPod DB. Cross-platform( thanks to Python). It also has a standalone win32 application (much smaller, only 9k in size). Win32 application is tested on my iPod Shuffle II. (Exe should run on the root dir of ipod, otherwise it can not find /iPod_Control folder). Python program is 18k in size. It has many features, including renaming dangerous characters to safe ones. This is very useful if your songs’ filenames often contain Chinese or other double-character characters. Filename with chinese characters is not supported by iPod (not mean Tags).

Before running them, please make sure your iPod has been initialized with iTune: nameing your ipod and some configuration.

If you like foobar and your iPod is not iPod shuffle, you can try the first solution.

For jShuffle, iShuffle and shuffle-db, it is neccessary to enable the disk use and give all the disk space to disk use.

Like many other things, read the instruction by the authors carefully before using it. Enjoy your iPod without iTune:)

—-
Personally, I recommend shuffle-db. It is small and has many features, and the most important is it support Chinese. However, it is not perfect. I find that it has several faults. First, it resets volume everytime. Is it so diffcult to keep volume? Second, it would rename all unsafe filenames, including the folders which donot contain any mp3′s. A bit stupid, huh?

Comments(0)