Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72495

Re: Lock Windows Screen GUI using python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:Windows': 0.02; '(even': 0.05; '*not*': 0.07; 'automate': 0.07; 'advice.': 0.09; 'subject:using': 0.09; 'cc:addr:python-list': 0.11; 'gui': 0.12; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'patil': 0.16; 'reasonable.': 0.16; 'recipe': 0.16; 'screen,': 0.16; 'sorts': 0.16; 'subject:GUI': 0.16; 'subject:python': 0.16; 'do,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'usability': 0.19; 'outlook': 0.22; 'putting': 0.22; 'cc:addr:python.org': 0.22; 'this?': 0.23; 'controlling': 0.24; 'cc:2**0': 0.24; 'excel': 0.26; 'header:In-Reply-To:1': 0.27; 'needed.': 0.30; 'message- id:@mail.gmail.com': 0.30; 'gives': 0.31; 'code': 0.31; 'faster,': 0.31; 'probably': 0.32; 'figure': 0.32; 'stuff': 0.32; 'another': 0.32; 'screen': 0.34; 'message.': 0.35; 'something': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'data,': 0.36; 'done': 0.36; 'doing': 0.36; 'should': 0.36; 'error.': 0.37; 'application': 0.37; 'too': 0.37; 'two': 0.37; 'level': 0.37; 'performance': 0.37; 'e.g.': 0.38; 'pm,': 0.38; 'moving': 0.39; 'how': 0.40; 'problems.': 0.60; 'browser': 0.61; 'simple': 0.61; "you're": 0.61; 'further': 0.61; "you've": 0.63; 'become': 0.64; 'minutes': 0.67; 'reads': 0.68; 'obvious': 0.74; 'etc),': 0.84; 'excel.': 0.84; "it'd": 0.84; 'mistake': 0.91; 'to:none': 0.92; 'directly.': 0.95
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=2wAJmE9S2xq347Xp6XBvkzNaXwOTZ2c5pgnMkC0xlSw=; b=CnauuxtbVFG0/yKVRo9zAibRetevv7p6k0LvLyvzecYl5ZWN7raHBUS/Wu6ubaB/wB tps7+d+1Jf0H1Q716Xxj1081mwZolxfjpXfoaOTt6FQLo9etIMjDh+IY1nFkgCq5/A68 1hBXgtwpzRjO9ZFRqhku/5exe/6nNK+l71J0QodfnzH7CmxYwjdRsrnvouBd/UVwWKTB GKGFt6vIkw08uf519+yxthM1l3r1HZboCzpgJlSTSzgtYdPtz9whegOd0g70UNXMcdYm 5AIOFIE+9yXDts1+Tv5aoNF1/wClZiKsQ9WoIej5DjOgC7na0FdfgCybLIYxXLc7ygMR i9OQ==
MIME-Version 1.0
X-Received by 10.221.27.8 with SMTP id ro8mr8389443vcb.30.1401786663048; Tue, 03 Jun 2014 02:11:03 -0700 (PDT)
In-Reply-To <bf3b983f-81bd-420d-9296-962591608717@googlegroups.com>
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 Tue, 3 Jun 2014 19:11:02 +1000
Subject Re: Lock Windows Screen GUI using python
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.10608.1401786665.18130.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1401786665 news.xs4all.nl 2870 [2001:888:2000:d::a6]:53989
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:72495

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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