Re: Screenshots in Mac OS X

2013-10-23 Thread Metallicow
Well, I'm not going to post my whole module as I get little testing on mac, but I will let you in on a little secret: Use a GUI, such as wxPython or QT or other, then create a basic fullscreen frame that is invisible and copy its DC to the clipboard. Not exactly a hack(might be edgy), but it wo

Re: Screenshots in Mac OS X

2013-10-22 Thread Mark Lawrence
On 23/10/2013 01:22, Pratik Mehta wrote: Hey Mark, Thanks for reverting. I had tried coding it using os.system("screencapture -s /filepath") // for selecting a particular region.. I have replied to Kevin's comment, that's exactly what I am looking for. :) Thanks ... Assuming that you'r

Re: Screenshots in Mac OS X

2013-10-22 Thread Kevin Walzer
On 10/22/13 8:19 PM, Pratik Mehta wrote: Hey Kevin, Thanks for reverting. I know about the "screencapture" function and the parameters available. But, how would I take the user input, as in, that is just command-line, as soon as I execute the program, it will take whatever kind of parameter i

Re: Screenshots in Mac OS X

2013-10-22 Thread Pratik Mehta
Hey Mark, Thanks for reverting. I had tried coding it using os.system("screencapture -s /filepath") // for selecting a particular region.. I have replied to Kevin's comment, that's exactly what I am looking for. :) Thanks ... -- https://mail.python.org/mailman/listinfo/python-list

Re: Screenshots in Mac OS X

2013-10-22 Thread Pratik Mehta
Hey Kevin, Thanks for reverting. I know about the "screencapture" function and the parameters available. But, how would I take the user input, as in, that is just command-line, as soon as I execute the program, it will take whatever kind of parameter is passed under screencapture. I want that

Re: Screenshots in Mac OS X

2013-10-22 Thread Pratik Mehta
Hey John, I want to code my own Snapshot taking program using Python. Hence, had posted this question... -- https://mail.python.org/mailman/listinfo/python-list

Re: Screenshots in Mac OS X

2013-10-22 Thread Kevin Walzer
On 10/22/13 6:08 PM, Kevin Walzer wrote: On 10/22/13 4:15 PM, Pratik Mehta wrote: Anyone there to help me out??? import os os.system('screencapture', 'foo.png') ...and see 'man screencapture' for options. I leave setting up a Tkinter GUI with proper key bindings as an exercise for the re

Re: Screenshots in Mac OS X

2013-10-22 Thread Kevin Walzer
On 10/22/13 4:15 PM, Pratik Mehta wrote: Anyone there to help me out??? import os os.system('screencapture', 'foo.png') -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Screenshots in Mac OS X

2013-10-22 Thread John Gordon
In <03db6a3f-3b1c-4516-8bee-4e3a362eb...@googlegroups.com> Pratik Mehta writes: > Anyone there to help me out??? Command-Shift-3 takes a screenshot of the whole screen and saves it as a file on the desktop. Command-Control-Shift-3: takes a screenshot of the whole screen and saves it to the cli

Re: Screenshots in Mac OS X

2013-10-22 Thread Mark Lawrence
On 22/10/2013 21:15, Pratik Mehta wrote: Anyone there to help me out??? There are plenty of people who will help you out, but if and only if you make an attempt at writing some code and then ask for assistance when you run into problems. -- Python is the second best programming language in

Re: Screenshots in Mac OS X

2013-10-22 Thread Pratik Mehta
Anyone there to help me out??? -- https://mail.python.org/mailman/listinfo/python-list

Re: Screenshots in Mac OS X

2013-10-19 Thread Pratik Mehta
Hey Ned, Thanks for reverting. I am looking for the similar functionality. Thanks for sharing that link. Could you pls help me out with the Python Code? Thanks. :) -- https://mail.python.org/mailman/listinfo/python-list

Screenshots in Mac OS X

2013-10-19 Thread Pratik Mehta
Hi Guys, Good Morning! How are you all doing? I am in need of your help. I am stuck in a problem. 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 s

Re: Screenshots in Mac OS X

2013-10-19 Thread Ned Deily
In article <22861e2f-50f2-4d74-9024-53caec557...@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 shoul

Re: Screenshots in Mac OS X

2013-10-19 Thread Chris Angelico
On Sun, Oct 20, 2013 at 9:12 AM, Pratik Mehta wrote: > 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 stor

Screenshots in Mac OS X

2013-10-19 Thread Pratik Mehta
Hi Guys, Good Morning! How are you all doing? I am in need of your help. I am stuck in a problem. 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 s