Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'mehta': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'stored': 0.12; 'differs': 0.16; 'etc...': 0.16; 'exist.': 0.16; 'pressed': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'screen,': 0.16; 'shortcut': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'command': 0.22; 'select': 0.22; 'example': 0.22; 'header:User-Agent:1': 0.23; 'header:X -Complaints-To:1': 0.27; 'on,': 0.29; "doesn't": 0.30; "i'm": 0.30; 'own,': 0.31; 'allows': 0.31; 'link.': 0.33; 'mac': 0.33; 'but': 0.35; 'there': 0.35; 'charset:us-ascii': 0.36; 'should': 0.36; 'area': 0.37; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'that,': 0.38; 'little': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'entire': 0.61; 'name': 0.63; 'grab': 0.64; 'taking': 0.65; 'received:204': 0.75; 'article': 0.77; 'received:204.14': 0.84; 'tricky': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ned Deily Subject: Re: Screenshots in Mac OS X Date: Sat, 19 Oct 2013 15:42:53 -0700 References: <22861e2f-50f2-4d74-9024-53caec5570fa@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 204.14.154.197 User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1382222584 news.xs4all.nl 15867 [2001:888:2000:d::a6]:41879 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57127 In article <22861e2f-50f2-4d74-9024-53caec5570fa@googlegroups.com>, Pratik Mehta wrote: > I want to write my own Screenshot Taking program in Python for Mac OS X. > > Example : Whenever Command + Shift + 3 is pressed ==> whatever is there on > the screen, should be grabbed / captured, and should be stored on my local > with my own desired path, and name should automatically given as SnapshotX.. > as in Snapshot1, Snapshot2, etc... > > The same goes with Command + Shift + 4 ==> the only difference is that, it > allows you to select a particular area to be captured / grabbed. > > Command + Shift + 5 ==> This one is a little bit tricky which I am looking > for. This shortcut doesn't exist. I want to create one of my own, where it > would grab the entire webpage's screenshot which I am currently working on, > and store the name as the webpage's link. I'm not sure how much what you want to do differs from what OS X already provides out of the box but perhaps this reference can give you some ideas: http://guides.macrumors.com/Taking_Screenshots_in_Mac_OS_X -- Ned Deily, nad@acm.org