Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #72495
| References | <0d04724b-d800-407f-9614-1a86c4a58769@googlegroups.com> <mailman.10590.1401772221.18130.python-list@python.org> <a0ff3687-7d33-4748-8666-359a694cacd4@googlegroups.com> <mailman.10599.1401779421.18130.python-list@python.org> <bf3b983f-81bd-420d-9296-962591608717@googlegroups.com> |
|---|---|
| Date | 2014-06-03 19:11 +1000 |
| Subject | Re: Lock Windows Screen GUI using python |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.10608.1401786665.18130.python-list@python.org> (permalink) |
On Tue, Jun 3, 2014 at 5:53 PM, Jaydeep Patil <patil.jay2009@gmail.com> wrote: > > During copy paste of excel data, if user by mistake doing some copy & paste operation outside excel(for e.g. doing copy paste in outlook mails, firefox browser etc), it may be cause for the another error. > > How i can control this? Suggestion: Don't. If you really need this level of control of the workstation, you are going about things wrongly. This is a recipe for fragility and horrific usability problems. There are two simple solutions: 1) Make it really obvious that you're controlling the computer, by putting something big across the screen - a splash screen, of sorts - which is set to Always On Top and gives a message. And then just trust that the user won't do anything, because you've done everything reasonable. No further control needed. 2) Automate your code by moving stuff around on the disk, *not* by actually working through Excel. Twenty minutes of Excel automation should probably become a proper application that reads in some data and generates some graphs. And it'd probably be faster, too (even if Excel's performance is stellar, which I very much doubt, it's always slower to work through a GUI than to do the work directly). Figure out what you're really trying to do, and do that directly. Also, please follow Mark's advice. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Lock Windows Screen GUI using python Jaydeep Patil <patil.jay2009@gmail.com> - 2014-06-02 21:28 -0700
Re: Lock Windows Screen GUI using python Ian Kelly <ian.g.kelly@gmail.com> - 2014-06-02 23:09 -0600
Re: Lock Windows Screen GUI using python Jaydeep Patil <patil.jay2009@gmail.com> - 2014-06-02 23:40 -0700
Re: Lock Windows Screen GUI using python Ian Kelly <ian.g.kelly@gmail.com> - 2014-06-03 01:09 -0600
Re: Lock Windows Screen GUI using python Jaydeep Patil <patil.jay2009@gmail.com> - 2014-06-03 00:53 -0700
Re: Lock Windows Screen GUI using python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-03 09:05 +0100
Re: Lock Windows Screen GUI using python Chris Angelico <rosuav@gmail.com> - 2014-06-03 19:11 +1000
Re: Lock Windows Screen GUI using python Ian Kelly <ian.g.kelly@gmail.com> - 2014-06-03 09:27 -0600
Re: Lock Windows Screen GUI using python Jaydeep Patil <patil.jay2009@gmail.com> - 2014-06-03 20:55 -0700
Re: Lock Windows Screen GUI using python Ian Kelly <ian.g.kelly@gmail.com> - 2014-06-03 22:58 -0600
Re: Lock Windows Screen GUI using python Jaydeep Patil <patil.jay2009@gmail.com> - 2014-06-03 22:44 -0700
Re: Lock Windows Screen GUI using python Ian Kelly <ian.g.kelly@gmail.com> - 2014-06-04 00:02 -0600
Re: Lock Windows Screen GUI using python Chris Angelico <rosuav@gmail.com> - 2014-06-04 21:21 +1000
Re: Lock Windows Screen GUI using python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-06-04 22:04 -0400
csiph-web