AutoHotkey Community

It is currently May 26th, 2012, 7:36 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: April 11th, 2005, 7:39 am 
Offline

Joined: February 27th, 2005, 5:51 pm
Posts: 139
Location: Heidelberg, Germany
Hi everybody,

I have a question: does someone knows a freeware transparent screen saver? If you are asking why do I need a transparent screen saver? The answer is to see what is on my screen, but if someone tries to access the computer the password has to be entered.

There exists a lot of such screen savers, but I haven't found a free one...

NiWi.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 11th, 2005, 10:06 am 
You could create it yourself with AutoHotkey 8)

Take a look at Rajat's SystemSaver for an example of how to create a screensaver with AutoHotkey.

Here are some more postings on the subject: Screensaver with password, Creating a screensaver from scratch... Search the forums for more...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 11th, 2005, 2:15 pm 
Offline

Joined: February 27th, 2005, 5:51 pm
Posts: 139
Location: Heidelberg, Germany
Hi,

I'm not sure if AHK can do this :-( because the script have need to make screenshots of the hole screen while displaying a picture and I have to display this screenshot. For the second part I just see to save the screenshot to a file and re-read the picture in a loop (or trigger by a timer).

So the questions are:
1. How to make a screenshow from the whole screen? (ok, it should not be a problem to hide the window, make a screenshot, refresh the picture and show the window).
2. Is there a way to show pictures out of the clipboard?

Or has someone a better idea how to do this?

NiWi.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 11th, 2005, 2:34 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
I know a way to do it (differently though):

[WinXP Pro]
Set your screensaver to 'None'
Use an ahk script to send '#l' every interval (e.g. SetTimer for every 5mins) and pass-procect your windows account.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 12th, 2005, 6:35 am 
Offline

Joined: February 27th, 2005, 5:51 pm
Posts: 139
Location: Heidelberg, Germany
Hi Titan,

but this will just lock the screen. I'd like to have a screen blanker which will not blank the screen :-) it should just deny user inputs...

NiWi.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 12th, 2005, 7:30 am 
What about a fullscreen, frameless, transparent hta.app - accompanied by a disabled mouse (and maybe a remapped CTRL key to prevent that jonny :lol: is bypassing the PW with CTRL+ALT+DEL to kill that process) ?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 12th, 2005, 7:40 am 
Offline

Joined: February 27th, 2005, 5:51 pm
Posts: 139
Location: Heidelberg, Germany
Hi,

I've the first version now, what do you think about it? The next problem is:
windows seems to blank the screen out / show just the background picture before starting the screen saver...

Code:
;
; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win9x/NT
; Author:         Nils Winkler <derniwi@web.de>
;
; Script Function:
;   Transparent screen saver
;

Start:
#NoTrayIcon
 If 1 =
  Goto, GuiClose
 
 If 1 != /s
  Goto, GuiClose

 Gui, Color, 000000
 Gui, +AlwaysOnTop +ToolWindow -SysMenu -Caption
 Gui, Show, x0 y0 w%A_ScreenWidth% h%A_ScreenHeight%
 WinSet, Transparent, 0, ahk_class AutoHotkeyGUI

 MouseGetPos, xpos_old, ypos_old

 SetTimer, Sub_Mouse, 100
Return

GuiClose:
 ExitApp

Sub_Mouse:
 MouseGetPos, xpos, ypos
 If xpos != %xpos_old%
  Goto, GuiClose
 
 If ypos != %ypos_old%
  Goto, GuiClose

 xpos_old := xpos
 ypos_old := ypos
Return


@Bobo, you got the same idea as me... ;-)

NiWi.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 12th, 2005, 12:46 pm 
Offline

Joined: February 27th, 2005, 5:51 pm
Posts: 139
Location: Heidelberg, Germany
Hi,

I've found this: if the checkbox for the password prompt is checked, the window list is almost empty:
Code:
;
; AutoHotkey Version: 1.0.31.0
; Language:       English
; Platform:       NT+
; Author:         Nils Winkler <derniwi@web.de>
;
; Script Function:
;   Transparent screen saver
;

Start:
#NoTrayIcon
; If 1 =
;  Goto, GuiClose
 
; If 1 != /s
;  Goto, GuiClose
; Sleep, 500

 windowlist=
 WinGet, WinList, List,,,Program Manager

 loop, %WinList%
 {
  StringTrimRight, element, WinList%a_index%, 0
  WinGetTitle, title, ahk_id %element%
  windowlist=%title% (%element%)`n%windowlist%
 }
 
 Gui, Color, 000000
 Gui, +AlwaysOnTop +ToolWindow -SysMenu -Caption
 Gui, Add, Text, x10 y20 w300 h300 cFF00FF vmyText1, %windowlist%
 Gui, Add, Text, x350 y20 w300 h300 cFFFFfF vmyText2, x
 Gui, Show, x0 y0 w%A_ScreenWidth% h%A_ScreenHeight%
; WinSet, Transparent, 50, ahk_class AutoHotkeyGUI

 MouseGetPos, xpos_old, ypos_old

 SetTimer, Sub_Mouse, 100
Return

GuiClose:
 ExitApp

Sub_Mouse:
 MouseGetPos, xpos, ypos

 If xpos != %xpos_old%
  Goto, GuiClose
 
 If ypos != %ypos_old%
  Goto, GuiClose

 xpos_old := xpos
 ypos_old := ypos

 windowlist=
 WinGet, WinList, List,,,Program Manager

 loop, %WinList%
 {
  StringTrimRight, element, WinList%a_index%, 0
  WinGetTitle, title, ahk_id %element%
  windowlist=%title% (%element%)`n%windowlist%
 }
 GuiControl,, mytext2, %windowlist%

Return


Has someone an idea?

NiWi.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 12th, 2005, 4:52 pm 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
BoBo wrote:
What about a fullscreen, frameless, transparent hta.app - accompanied by a disabled mouse (and maybe a remapped CTRL key to prevent that jonny :lol: is bypassing the PW with CTRL+ALT+DEL to kill that process) ?


I'll take the time to note that AHK cannot, to my knowledge, disable the Ctrl+Alt+Delete hotkey, and for good reason.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 12th, 2005, 5:28 pm 
Offline

Joined: February 27th, 2005, 5:51 pm
Posts: 139
Location: Heidelberg, Germany
Hi Jonny,

jonny wrote:
BoBo wrote:
What about a fullscreen, frameless, transparent hta.app - accompanied by a disabled mouse (and maybe a remapped CTRL key to prevent that jonny :lol: is bypassing the PW with CTRL+ALT+DEL to kill that process) ?


I'll take the time to note that AHK cannot, to my knowledge, disable the Ctrl+Alt+Delete hotkey, and for good reason.

I think, Bobo don't talk about an application that disables the CTRL-ALT-DEL sequence, he means that these magic keys will just stopp the screen saver.

In fact, the screen saver works if no password is required to unlock the screen. But if a password is required windows do more than just ask for the password, it seems to hide all the active windows.

NiWi.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 12th, 2005, 10:22 pm 
Offline

Joined: April 5th, 2005, 10:50 pm
Posts: 133
Quote:
I think, Bobo don't talk about an application that disables the CTRL-ALT-DEL sequence, he means that these magic keys will just stopp the screen saver.


I don't know if this code could be what are you looking for or not?!

Code:
#notrayicon
#singleinstance,Force
e=0
Gui, Add, Edit, x30 y10 w140 h20 vPW password,
Gui, Add, Button,center defult x70 y40 w60 h25 vstb, &OK
Gui , Show, 0xC00000 xcenter ycenter h80 w200 , Enter Password
winset,AlwaysOnTop,ON , Enter Password
loop
{
   ifwinnotactive,Enter Password
   {
      winactivate,Enter Password
   }
}
return


Buttonok:
GUI,submit
if PW=blahblah     ; put your password here >>if pw= your password
{
   e=1
   exitapp
}
GUIcontrol,,pw,
GUI,show
return

Guiclose:
Exit:
if e<>1
{
   Gui,show
   return
}
exitapp
return


Note: remember to replace pw in the code with your own password before saving the file.

MYYM


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 12th, 2005, 10:39 pm 
Offline

Joined: April 5th, 2005, 10:50 pm
Posts: 133
I think this works better than my last post
Code:
#notrayicon
#singleinstance,Force
e=0
Gui, Add, Edit, x30 y10 w140 h20 vPW password,
Gui, Add, Button,center defult x70 y40 w60 h25 vstb, &OK
Gui , Show, 0xC00000 xcenter ycenter h80 w200 , Enter Password
winset,AlwaysOnTop,ON , Enter Password
loop
{
   ifwinnotactive,Enter Password
   {
      winactivate,Enter Password
   }
}
return
;***********************************
Buttonok:
GUI,submit
if PW=blahblah  ; put your password here>> if PW= your password
{
   e=1
   exitapp
}
GUIcontrol,,pw,
GUI,show
return
;*********
Guiclose:
Exit:
if e<>1
{
   reload
}
exitapp
return
;*********

To use it as a screen saver
1- Replace PW with your own Password
2- Save the code to AHK file and compile it to EXE
3- Rename the EXE to SCR
4- Copy it to your windows directory
5- Select it as a screen saver

MYYM


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 12th, 2005, 11:28 pm 
Offline

Joined: August 23rd, 2004, 10:06 pm
Posts: 276
Location: East Bay, California USA
Not sure if it matters to you or not.. but i think on my home PC i paid for some crazy dolphin screen saver for my wife. It has a Tranpara mode where when the screen saver is active it shows the desk top and what ever programs are running and puts the screen saver or it. it has dolphins that jump, but you can set how many and how often. I use it so when i am downloading stuff of the net i can sit back in my other room and just peek into the computer room to see how the downloads are going with out having to worry about DL program to get burned into the monitor.. if possible i can try and email you the saver if you want to check it out.

_________________
----------------------------
Wingfool you fat! I mean, Wingfat you fool!
Line from Woody Allen's movie "What's Up Tiger Lilly?"
-----------------------------


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 13th, 2005, 8:01 am 
Offline

Joined: February 27th, 2005, 5:51 pm
Posts: 139
Location: Heidelberg, Germany
Hi,

I'm not looking for a password protection replacement. The password question from windows is ok.

I just like to have a console where anybody can see what's going on. For this I'd like a transparent screen saver. But if someone tries to change he / she will be prompted for the user password.

If I just use an AHK script asking for password, there is no problem to kill this app with ALT-F4 or using the task manager.

NiWi.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 13th, 2005, 8:32 am 
Offline

Joined: April 5th, 2005, 10:50 pm
Posts: 133
Quote:
If I just use an AHK script asking for password, there is no problem to kill this app with ALT-F4 or using the task manager.


did you try my last post?
you can't close or kill this script without the password. !!
just try it.. and let me know the result?!

MYYM


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group