23 responses

  1. mitch
    April 20, 2013

    I cant get the change to take effect. The commands seem to be accepted but nothing happens. Exactly where do I type these commands in terminal? Do I just open terminal and copy and paste them in or do I select something from the menu bar?

    I have tried it both ways but nothings happening. Please help

    Reply

    • 9nos
      April 20, 2013

      Yes you type them into the terminal, then hit return.

      Reply

  2. Tim
    April 18, 2013

    There is very cool missing trick:
    Command-Shift-4 then tap space-bar. It lets you take a screenshot of an entire window, even if it is partially behind another window.

    Reply

  3. Jon
    April 18, 2013

    Great tips!! How do I create a subfolder in /Pictures/?

    Reply

  4. media_lush
    April 18, 2013

    the drop shadow commands do not work for me

    [latest Mountain Lion, brand new skinny 27″ iMac]

    Reply

  5. DCJ001
    April 18, 2013

    Another great tip, if you would like to keep the screenshot on your clipboard for future pasting, press the Control key along with any of these screenshot commands.

    Then, you can go to an open email, or Word, Pages, Photoshop file and paste it with the menu or keyboard command.

    Reply

  6. MacTech
    April 18, 2013

    Thank you. Now maybe we will stop seeing less screen shots taken with the Grab application… When I see the word “Grab” next to the Apple in the menu bar on screen shots, I can’t help but think Amateur. :)

    Reply

  7. Blair
    April 18, 2013

    I use the Command+Shift+4 tap space bar then mouse click on the window to capture a whole window at a time. However I have found that the drop shadow make it look terrible, so I turn the dropshadow off for screen captures with:

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

    then

    killall SystemUIServer

    to turn it back on youwould use:
    defaults write com.apple.screencapture disable-shadow -bool false

    Reply

    • Paul
      April 18, 2013

      Great one, completely forgot about it. We will add this to the list!

      Reply

    • babulu
      April 19, 2013

      Or, you just Command+Shift+4 tap space bar + hold ALT and click, then you got the screenshot of the window without any shades.

      Reply

  8. Frank
    April 17, 2013

    Hi, thanks a lot for all these tips but I have a problem. When I want to have a screenshot, very often I have the ending .jpg but also sometimes it springs to the ending .pdf. I would like to know how to fix the ending to be always .jpg.
    Thanks if you have any idea to do this.
    Kind regards,
    Frank

    Reply

  9. derf
    April 17, 2013

    Command+Shift+4+space bar turns the crosshairs into a camera, then left mouse click and will take a screenshot of the active window. The space bar will toggle between crosshairs and camera until the lift mouse click.

    Reply

  10. DCJ001
    April 17, 2013

    Tips #s 1 & 2 can be easily done with TinkerTool, which can be downloaded (search for it online by name) for free.

    Reply

  11. Eric
    April 17, 2013

    Replace PNG with JPG for the web? Are you insane?

    JPG is a lossy raster format. Every time you resize the image, quality goes down.

    PNG is a lossless vector format. You can resize/scale without losing image quality.

    Reply

    • Jon
      April 18, 2013

      You are a bit confused! PNG is a raster format, as it is with JPG. On the other hand, PNG is indeed lossless, but you can’t resize it at your will! Did you think of SVG ?

      Reply

    • Björn
      April 19, 2013

      I agree with the reaction, but not with the reason. Screen Shots mainly contain text and lines. Using JPG on these result in “ringing” around high contrast parts because of its compression algorithm. JPG should only be used where there are smooth transitions (photos of natural environments). Use PNG or GIF instead for Screen Shots. The pictures will look better and be smaller.

      Reply

  12. MickM
    April 17, 2013

    Agreed – tip #5 is awesome!

    Reply

  13. Andrew
    April 17, 2013
    • Paul
      April 18, 2013

      Great one, will update the list to include it!

      Reply

  14. mobilio
    April 17, 2013

    Trick N:5 ROCKS! I didn’t knew it!

    Cheers!

    Reply

  15. David Hoffman
    April 17, 2013

    something wrong with that last one.

    Command+Shift+4 followed by spacebar lets you get a snapshot of a window. But if you Command+Shift+4 to draw the screen shot selection box as usual you can’t then then hit Spacebar as it does the capture immediately.

    Reply

    • Paul
      April 17, 2013

      Clarified it a bit, but you hit Command+Shift+4, then tap and HOLD the spacebar to be able to move the rectangular box. Otherwise, yes you are right, it captures immediately.

      Reply

  16. Sheryl
    April 17, 2013

    Wow, screenshots just got a lot better, thanks to that fifth tip!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

`;e.insertAdjacentHTML(i,s)}return document.getElementById(t)}_repeatDynamicAds(t){const i=[],n=this._removeRecipeCapExperiment.result&&t.location===d.Recipe?99:this.locationMaxLazySequence.get(t.location),s=t.lazy?w(n,0):0,o=t.max,r=t.lazyMax,a=0===s&&t.lazy?o+r:Math.min(Math.max(s-t.sequence+1,0),o+r),l=Math.max(o,a);for(let n=0;n=o;i.push(e({},t,{sequence:s,lazy:r}))}}return i}_locationEnabled(e){const t=this._clsOptions.enabledLocations.includes(e.location),i=this._clsOptions.disableAds&&this._clsOptions.disableAds.all||document.body.classList.contains("adthrive-disable-all"),n=!document.body.classList.contains("adthrive-disable-content")&&!this._clsOptions.disableAds.reasons.has("content_plugin");return t&&!i&&n}constructor(e,t){this._clsOptions=e,this._adInjectionMap=t,this._recipeCount=0,this._mainContentHeight=0,this._mainContentDiv=null,this._totalAvailableElements=[],this._minDivHeight=250,this._densityDevice=u.Desktop,this._pubLog={onePerViewport:!1,targetDensity:0,targetDensityUnits:0,combinedMax:0},this._densityMax=.99,this._smallerIncrementAttempts=0,this._absoluteMinimumSpacingByDevice=250,this._usedAbsoluteMinimum=!1,this._infPageEndOffset=0,this.locationMaxLazySequence=new Map([[d.Recipe,5]]),this.locationToMinHeight={Below_Post:Ae,Content:Ae,Recipe:Ae,Sidebar:Ae};const{tablet:i,desktop:n}=this._clsOptions.siteAds.breakpoints;this._device=((e,t)=>{const i=window.innerWidth;return i>=t?"desktop":i>=e?"tablet":"phone"})(i,n),this._config=new ue(e),this._clsOptions.enabledLocations=this._config.enabledLocations,this._clsTargetAdDensitySiteExperiment=this._clsOptions.siteAds.siteExperiments?new we(this._clsOptions):null,this._stickyContainerAdsExperiment=new Oe,this._stickyContainerRecipeExperiment=new xe,this._removeRecipeCapExperiment=new ge}}function Pe(e,t){if(null==e)return{};var i,n,s={},o=Object.keys(e);for(n=0;n=0||(s[i]=e[i]);return s}class ke{get enabled(){return!0}}class De extends ke{setPotentialPlayersMap(){const e=this._videoConfig.players||[],t=this._filterPlayerMap(),i=e.filter((e=>"stationaryRelated"===e.type&&e.enabled));return t.stationaryRelated=i,this._potentialPlayerMap=t,this._potentialPlayerMap}_filterPlayerMap(){const e=this._videoConfig.players,t={stickyRelated:[],stickyPlaylist:[],stationaryRelated:[]};return e&&e.length?e.filter((e=>{var t;return null==(t=e.devices)?void 0:t.includes(this._device)})).reduce(((e,t)=>(e[t.type]||(C.event(this._component,"constructor","Unknown Video Player Type detected",t.type),e[t.type]=[]),t.enabled&&e[t.type].push(t),e)),t):t}_checkPlayerSelectorOnPage(e){const t=this._potentialPlayerMap[e].map((e=>({player:e,playerElement:this._getPlacementElement(e)})));return t.length?t[0]:{player:null,playerElement:null}}_getOverrideElement(e,t,i){if(e&&t){const n=document.createElement("div");t.insertAdjacentElement(e.position,n),i=n}else{const{player:e,playerElement:t}=this._checkPlayerSelectorOnPage("stickyPlaylist");if(e&&t){const n=document.createElement("div");t.insertAdjacentElement(e.position,n),i=n}}return i}_shouldOverrideElement(e){const t=e.getAttribute("override-embed");return"true"===t||"false"===t?"true"===t:!!this._videoConfig.relatedSettings&&this._videoConfig.relatedSettings.overrideEmbedLocation}_checkPageSelector(e,t,i=[]){if(e&&t&&0===i.length){return!("/"===window.location.pathname)&&C.event("VideoUtils","getPlacementElement",new Error(`PSNF: ${e} does not exist on the page`)),!1}return!0}_getElementSelector(e,t,i){return t&&t.length>i?t[i]:(C.event("VideoUtils","getPlacementElement",new Error(`ESNF: ${e} does not exist on the page`)),null)}_getPlacementElement(e){const{pageSelector:t,elementSelector:i,skip:n}=e,s=V(t),{valid:o,elements:r}=s,a=Pe(s,["valid","elements"]),l=L(i),{valid:c,elements:d}=l,u=Pe(l,["valid","elements"]);if(""!==t&&!o)return C.error("VideoUtils","getPlacementElement",new Error(`${t} is not a valid selector`),a),null;if(!c)return C.error("VideoUtils","getPlacementElement",new Error(`${i} is not a valid selector`),u),null;if(!this._checkPageSelector(t,o,r))return null;return this._getElementSelector(i,d,n)||null}_getEmbeddedPlayerType(e){let t=e.getAttribute("data-player-type");return t&&"default"!==t||(t=this._videoConfig.relatedSettings?this._videoConfig.relatedSettings.defaultPlayerType:"static"),this._stickyRelatedOnPage&&(t="static"),t}_getMediaId(e){const t=e.getAttribute("data-video-id");return!!t&&(this._relatedMediaIds.push(t),t)}_createRelatedPlayer(e,t,i,n){"collapse"===t?this._createCollapsePlayer(e,i):"static"===t&&this._createStaticPlayer(e,i,n)}_createCollapsePlayer(t,i){const{player:n,playerElement:s}=this._checkPlayerSelectorOnPage("stickyRelated"),o=n||this._potentialPlayerMap.stationaryRelated[0];if(o&&o.playerId){this._shouldOverrideElement(i)&&(i=this._getOverrideElement(n,s,i)),i=document.querySelector(`#cls-video-container-${t} > div`)||i,this._createStickyRelatedPlayer(e({},o,{mediaId:t}),i)}else C.error(this._component,"_createCollapsePlayer","No video player found")}_createStaticPlayer(t,i,n){if(this._potentialPlayerMap.stationaryRelated.length&&this._potentialPlayerMap.stationaryRelated[0].playerId){const s=this._potentialPlayerMap.stationaryRelated[0];this._createStationaryRelatedPlayer(e({},s,{mediaOrPlaylistId:t}),i,n)}else C.error(this._component,"_createStaticPlayer","No video player found")}_shouldRunAutoplayPlayers(){return!(!this._isVideoAllowedOnPage()||!this._potentialPlayerMap.stickyRelated.length&&!this._potentialPlayerMap.stickyPlaylist.length)}_determineAutoplayPlayers(){const e=this._component,t="VideoManagerComponent"===e,i=this._context;if(this._stickyRelatedOnPage)return void C.event(e,"stickyRelatedOnPage",t&&{device:i&&i.device,isDesktop:this._device}||{});const{player:n,playerElement:s}=this._checkPlayerSelectorOnPage("stickyPlaylist");n&&n.playerId&&n.playlistId&&s?this._createPlaylistPlayer(n,s):Math.random()<.01&&setTimeout((()=>{C.event(e,"noStickyPlaylist",t&&{vendor:"none",device:i&&i.device,isDesktop:this._device}||{})}),1e3)}_initializeRelatedPlayers(e){const t=new Map;for(let i=0;ie-t))}filterUsed(){this._map=this._map.filter((({dynamicAd:e})=>!e.used))}reset(){this._map=[]}constructor(){this._map=[]}}class Me extends Ie{}try{(()=>{const e=new W;e&&e.enabled&&(new Ee(e,new Me).start(),new Re(new K(e),e).init())})()}catch(e){C.error("CLS","pluginsertion-iife",e),window.adthriveCLS&&(window.adthriveCLS.injectedFromPlugin=!1)}}();
Back to top
mobile desktop