• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            逛奔的蝸牛

            我不聰明,但我會很努力

               ::  :: 新隨筆 ::  ::  :: 管理 ::
            Everything you need to know about customizing screen captures

            This post is a response to comment I received about the new screen capture naming conventions in Snow Leopard.

            In a recent post, a commenter wondered if there was any way to getscreen shot filenames back to how they were in Leopard. After a lot of searching and digging through system folders to find the answer, I discovered a lot of stuff about screen captures.

            First it should be known that the correct term (at least in the Mac world) is screen capture. When you take one, SystemUIServer, a background process that controls several aspects of the Mac OS X user interface runs a program located at/usr/sbin/screencapture which has several different options for taking pictures of your screen. For instance, it can take window shots with or without shadow or open the taken picture in Preview. The full list of options can be found on its man page in the Mac OS X Reference Library.

            When SystemUIServer triggers a screen capture, it uses a default set of options. Shadows are turned on, the picture is saved to the Desktop in PNG format, etc. Some of these options can be changed by rewriting to screencapture’s default preferences in ~/Library/Preferences/com.apple.screencapture.plist.

            To modify the default preferences for screencapture, paste the following commands in the Terminal.

            After setting each property, you must logout or restart SystemUIServer for the changes to take effect. You can do this by entering the following command in Terminal and pressing Enter.

            killall SystemUIServer

            Window shadows are enabled by default. You can control this setting with the following property. This only applies when taking single-windows screen captures.

            Disable

            defaults write com.apple.screencapture disable-shadow -bool true

            Enable

            defaults write com.apple.screencapture disable-shadow -bool false

            defaults write com.apple.screencapture type <format>

            Availible formats are :

            • png (default)
            • pdf
            • jpg
            • jp2 (JPG2000)
            • gif
            • tif (TIFF)
            • bmp
            • pict
            • tga

            The default location is ~/Desktop however, you may change it to any path.

            defaults write com.apple.screencapture location <path>

            This is where it gets tricky. You may change the name of the file with the property :

            defaults write com.apple.screencapture name <string>

            However, this only changes the first part of the filename. For example, changing the name to “Picture” will save screen captures as “Picture 2009-09-23 at 2.13.30 PM”. There seems to be no built-in way to revert back to the old screenshot filename although, anything can be achieved with Automator.

            I’ve created a Automator folder action that will monitor the Desktop for screen capture files and rename them back to the old format. You can of course modify this to your own liking.

            Rename Screen Captures with Automator

            • Download RenameScreenCaptures.zip and unzip the file
            • Place “Rename Screen Capture.workflow” in ~/Library/Workflows/Applications/Folder Actions/
            • Right-click on your Desktop folder in your Home directory and select Folder Actions Setup form the Services menu
            • When prompted to  Chose a Script to Attach popup, select Rename Screen Capture.workflowFolder Actions Setup

            Now when you take a screen capture, Folder Actions will kick in and renames the file sequentially.


            From: http://snowleopardtips.net/tips/everything-you-need-to-know-about-screen-captures.html

            posted on 2010-12-08 21:08 逛奔的蝸牛 閱讀(431) 評論(0)  編輯 收藏 引用 所屬分類: Mac
            久久99国产精品久久99| 亚洲美日韩Av中文字幕无码久久久妻妇| 久久中文字幕人妻熟av女| 97久久婷婷五月综合色d啪蜜芽 | 国内精品久久国产| 国产精品99久久久久久人| 久久亚洲电影| 国内精品伊人久久久久| 久久人人爽人人爽人人片AV不| 国产精品久久久久久| 国产香蕉久久精品综合网| 国产成人99久久亚洲综合精品| 中文字幕无码免费久久| 亚洲国产一成久久精品国产成人综合| 成人妇女免费播放久久久| 久久人人添人人爽添人人片牛牛| 国产激情久久久久影院老熟女| AV无码久久久久不卡蜜桃| 久久综合色区| 日本精品久久久久久久久免费| 久久国产精品久久久| 国产成人久久精品一区二区三区 | 国产成人无码久久久精品一| 久久久亚洲AV波多野结衣| 亚洲国产成人久久综合碰| 国产福利电影一区二区三区久久老子无码午夜伦不 | 久久国产视屏| 久久国产精品偷99| 久久久久久久国产免费看| 久久久青草青青亚洲国产免观| 91精品国产乱码久久久久久| 国内精品久久久人妻中文字幕| A狠狠久久蜜臀婷色中文网| 狠狠色丁香久久综合婷婷| 久久精品国产亚洲欧美| 青青青青久久精品国产h| 久久精品国产福利国产琪琪| 亚洲国产成人久久精品99| 亚洲色欲久久久综合网东京热| 中文字幕日本人妻久久久免费| 久久无码人妻一区二区三区午夜|