Re: Need LESS Security with Screensaver Password

From: Brian Z (reversethis--ten.tsacmoc@ZLB)
Date: 02/05/03


From: "Brian Z" <reversethis--ten.tsacmoc@ZLB>
Date: Wed, 5 Feb 2003 17:44:12 -0500


David,
I visited your web site and I see the documentation mentions a macro named
"SendAppMessage", which I presume is the one you are referring to. I
downloaded the shareware and unzipped it, but I don't see any file
corresponding to that name. Do I have to install that entire list of macro
commands into Word in order to use just the one?.
In any case, if I did, how would I go about porting from wordbasic to VB?
I'm a beginner when it comes to scripts and have no knowledge of Wordbasic
and very little of VB.
Thanks for any tips,
-Brian

"David Candy" <david@mvps.org> wrote in message
news:OY3T6gSzCHA.2308@TK2MSFTNGP09...
Did you try the power options thing.

Another thing to try is sendmessage. This is not script though. Each menu
command has a number. When a human clicks the final menu the human is only
talking to windows, not the application. Windows sends the application the
command attached to the menu, then the app does its thing (it also sends it
every detail about what you and mouse are doing but most applications ignore
and leave it up to windows)

At my web site is Serenity Macros 2 which includes a small app to send menu
commands to applications. This is written in Wordbasic and should be easy to
port to VB (as you know VBS you pretty well know 99% of VB). If you do this
the template will error on opening (something legal in wordbasic is illegal
in VBA). Just delete the highlighted line in the debugger and it will work.

To get the magic numbers try a program called Reshacker. These are notepads
magic numbers for the file menu.
POPUP "&File"

{

MENUITEM "&New\tCtrl+N", 1

MENUITEM "&Open...\tCtrl+O", 2

MENUITEM "&Save\tCtrl+S", 3

MENUITEM "Save &As...", 4

MENUITEM SEPARATOR

MENUITEM "Page Set&up...", 5

MENUITEM "&Print...\tCtrl+P", 6

MENUITEM SEPARATOR

MENUITEM "E&xit", 7

}

--
[Todays link] http://www.smh.com.au/articles/2003/01/28/1043534050248.html
(don't mean I believe it]
http://www.smh.com.au/articles/2003/01/13/1041990224220.html
http://rspas.anu.edu.au/ir/keynotes/documents/Keynotes-3.pdf
---------------------------------------------------------------
David Candy
http://www.mvps.org/serenitymacros
http://www.winsite.com/bin/Info?500000002364 or
http://www.simtel.com/pub/pd/18669.html
--
http://www.newint.org
---------------------------------------------------------------
"Brian Z" <reversethis--ten.tsacmoc@ZLB> wrote in message
news:OtGTkUSzCHA.1624@TK2MSFTNGP11...
> That's an idea, maybe I'll try that.
> I'm using sendkeys in a script to make menu choices from a running
program,
> using "appactivate" and "sendkeys".   It's a weatherstation program that
is
> runs each night from the windows scheduler to generate daily reports.  The
> reports are selected from the program's menus using its various "hotkeys"
> such as F7, Alt-O, Ctrl-Z, etc and the script runs after the program
starts
> to send these menu selections to the program which then generates the text
> report files.
> The program does not have any command line parameters to do this.
> I'd like to be able to generate these reports automatically without
leaving
> the workstation totally unsecured.
> -Brian Z.
>
>
> "David Candy" <david@mvps.org> wrote in message
> news:OnW57eGzCHA.1900@TK2MSFTNGP10...
> Not with an XP screensaver. Perhaps a 98 screensaver may work as passwords
> were handled completely differently. But then again it may not.
>
> What are you using the sendkeys for?
>
> --
> [Todays link] http://www.smh.com.au/articles/2003/01/28/1043534050248.html
> (don't mean I believe it]
> http://www.smh.com.au/articles/2003/01/13/1041990224220.html
> http://rspas.anu.edu.au/ir/keynotes/documents/Keynotes-3.pdf
> ---------------------------------------------------------------
> David Candy
> http://www.mvps.org/serenitymacros
> http://www.winsite.com/bin/Info?500000002364 or
> http://www.simtel.com/pub/pd/18669.html
> --
> http://www.newint.org
> ---------------------------------------------------------------
> "Brian Z" <reversethis--ten.tsacmoc@ZLB> wrote in message
> news:ObcTDUGzCHA.1580@TK2MSFTNGP09...
> > Well, that didn't work...
> > I have the scr file associated as a screensaver, and I can start it
> > manually, but it does not use the password now, even if I turn on the
> > password option in the desktop settings for the screensaver.  Is there a
> way
> > to manually start the screensaver and allow it to use password
protection?
> > -Brian Z.
> >
> >
> > "David Candy" <david@mvps.org> wrote in message
> > news:eWOSk9ZyCHA.2296@TK2MSFTNGP10...
> > You established an association for screensavers with notepad instead of
> it's
> > self.
> >
> > Merge this file.
> >
> >
> > --
> > [Todays link]
http://www.smh.com.au/articles/2003/01/28/1043534050248.html
> > (don't mean I believe it]
> > http://www.smh.com.au/articles/2003/01/13/1041990224220.html
> > http://rspas.anu.edu.au/ir/keynotes/documents/Keynotes-3.pdf
> > ---------------------------------------------------------------
> > David Candy
> > http://www.mvps.org/serenitymacros
> > http://www.winsite.com/bin/Info?500000002364 or
> > http://www.simtel.com/pub/pd/18669.html
> > --
> > http://www.newint.org
> > ---------------------------------------------------------------
> > "Brian Z" <reversethis--ten.tsacmoc@ZLB> wrote in message
> > news:u5r09$GyCHA.2488@TK2MSFTNGP12...
> > > If I double click on a scr file, it opens the file in windows Notepad.
> > > If I change the file extension to exe and double click on it, then it
> runs
> > > as the settings dialog box, but clicking OK does not activate it, but
> > merely
> > > closes the box.
> > > Are you able to activate a screensaver by clicking on an SCR file?
> > > -Brian Z.
> > >
> > > "David Candy" <david@mvps.org> wrote in message
> > > news:uubFmVAyCHA.680@TK2MSFTNGP11...
> > > Screensaver are ordinary exe files (windows treats exe and scr files
> both
> > as
> > > applications). So to start manually you double click the file.
> > Screensavers
> > > are in c:\windows\system32 and have the extension scr.
> > >
> > > --
> > > [Todays link]
> http://www.smh.com.au/articles/2003/01/28/1043534050248.html
> > > (don't mean I believe it]
> > > http://www.smh.com.au/articles/2003/01/13/1041990224220.html
> > > http://rspas.anu.edu.au/ir/keynotes/documents/Keynotes-3.pdf
> > > ---------------------------------------------------------------
> > > David Candy
> > > http://www.mvps.org/serenitymacros
> > > http://www.winsite.com/bin/Info?500000002364 or
> > > http://www.simtel.com/pub/pd/18669.html
> > > --
> > > http://www.newint.org
> > > ---------------------------------------------------------------
> > > "Brian Z" <reversethis--ten.tsacmoc@ZLB> wrote in message
> > > news:upigB6$xCHA.1252@TK2MSFTNGP09...
> > > > I don't know about the monitor question - will have to try that.
How
> do
> > > you
> > > > start the screensaver manually?
> > > >
> > > >
> > > > "David Candy" <david@mvps.org> wrote in message
> > > > news:e86tykzxCHA.2372@TK2MSFTNGP09...
> > > > Does turning the monitor off (power options) instead of using a
> > > screensaver
> > > > allow your scripts to work. The screensaver runs in it's own desktop
> not
> > > the
> > > > users if started automatically (runs a a ordinary program on users
> > desktop
> > > > if started manually).
> > > >
> > > > --
> > > > [Todays link]
> > http://www.smh.com.au/articles/2003/01/28/1043534050248.html
> > > > (don't mean I believe it]
> > > > http://www.smh.com.au/articles/2003/01/13/1041990224220.html
> > > > http://rspas.anu.edu.au/ir/keynotes/documents/Keynotes-3.pdf
> > > > ---------------------------------------------------------------
> > > > David Candy
> > > > http://www.mvps.org/serenitymacros
> > > > http://www.winsite.com/bin/Info?500000002364 or
> > > > http://www.simtel.com/pub/pd/18669.html
> > > > --
> > > > http://www.newint.org
> > > > ---------------------------------------------------------------
> > > > "Brian Z" <reversethis--ten.tsacmoc@ZLB> wrote in message
> > > > news:eIrWeRvxCHA.2592@TK2MSFTNGP10...
> > > > > I seem to be continually running into this problem that some
> scheduled
> > > > > events or programs won't run properly behind a WinXP screensaver
> that
> > is
> > > > > password-protected.
> > > > > Namely, any scripts that use the "sendkeys" method to pass
> keystrokes
> > as
> > > > > menu choices to scheduled programs, or a webcam/FTP program that
> > > captures
> > > > > images from a video capture card, etc, won't run properly if the
> > > > screensaver
> > > > > is password protected.  Remove the password, and all is fine.
> > > > > So, my question is... Does anyone know if there is a utility of
some
> > > sort
> > > > > that would work more like the old Win98 screensaver to allow a
means
> > of
> > > > > password protection of the desktop that is less secure, but still
> > > provides
> > > > a
> > > > > deterrent to other users and still allows programs to run properly
> > > behind
> > > > a
> > > > > password?
> > > > > Thanks,
> > > > > -BrianZ
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: Error on while transfering large files to a network share
    ... When I tried to perform the same operation, but usign a Windows XP Pro ... the file from a shared folder on the same Windows 2003 system to ... David S. ... - Start a Command Prompt ...
    (microsoft.public.windows.server.general)
  • Re: Remove extra extention from a large number of files???
    ... David, I think you're a great problem solver, and I don't want to sound ... extensions. ... > Windows XP Pro SP1... ... > command line that would accomplish this. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: scheduled log off all users
    ... It is handled as any other screensaver. ... run at all on Windows 98. ... When I tried that command on my server, ... >>> the user that the system will restart, ...
    (microsoft.public.windows.server.sbs)
  • Re: windows logon screen
    ... > command from run. ... I did it by unchecking "users must enter a user name ... > before i can enter windows. ... In the Display applet in Control Panel, go to the Screensaver tab. ...
    (microsoft.public.windowsxp.general)
  • Re: screen saver does not activate
    ... Screen Saver May Not Start in Windows XP ... Posting from another user by the name of David: ... Now I get the screensaver. ...
    (microsoft.public.windowsxp.customize)