• <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 逛奔的蝸牛 閱讀(420) 評論(0)  編輯 收藏 引用 所屬分類: Mac
            国产午夜电影久久| 少妇人妻综合久久中文字幕 | 久久久久亚洲AV成人片| 久久综合久久综合九色| 伊人 久久 精品| 国产99久久久国产精品~~牛| 亚洲国产精品狼友中文久久久| 久久99精品国产麻豆| 欧美午夜A∨大片久久| 国产一级做a爰片久久毛片| 亚洲第一永久AV网站久久精品男人的天堂AV| 久久久久亚洲av成人网人人软件| 热久久国产精品| 欧洲人妻丰满av无码久久不卡| 久久久久无码中| 国产亚洲婷婷香蕉久久精品| 97精品依人久久久大香线蕉97 | 亚洲国产香蕉人人爽成AV片久久| av午夜福利一片免费看久久| 99久久这里只精品国产免费| 久久精品无码一区二区日韩AV| 69久久夜色精品国产69| 久久精品一本到99热免费| 日本欧美国产精品第一页久久| 国产精品亚洲综合专区片高清久久久 | 亚洲欧美国产日韩综合久久| 日本一区精品久久久久影院| 久久99精品国产自在现线小黄鸭 | 中文字幕精品无码久久久久久3D日动漫 | 99精品久久精品| 久久精品亚洲中文字幕无码麻豆| 蜜桃麻豆WWW久久囤产精品| 理论片午午伦夜理片久久 | 婷婷综合久久狠狠色99h| 97精品伊人久久大香线蕉app| 久久天天躁夜夜躁狠狠| 日韩精品久久久久久久电影| 国产精品成人久久久| 久久久久久伊人高潮影院| 国产精品久久久久久久久久影院| 久久久无码精品亚洲日韩蜜臀浪潮|