 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
niwi
Joined: 27 Feb 2005 Posts: 128 Location: Heidelberg, Germany
|
Posted: Mon Apr 11, 2005 7:39 am Post subject: free transparent screen saver |
|
|
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. |
|
| Back to top |
|
 |
Guest Guest
|
|
| Back to top |
|
 |
niwi
Joined: 27 Feb 2005 Posts: 128 Location: Heidelberg, Germany
|
Posted: Mon Apr 11, 2005 2:15 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5068 Location: imaginationland
|
Posted: Mon Apr 11, 2005 2:34 pm Post subject: |
|
|
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. _________________
RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
niwi
Joined: 27 Feb 2005 Posts: 128 Location: Heidelberg, Germany
|
Posted: Tue Apr 12, 2005 6:35 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Tue Apr 12, 2005 7:30 am Post subject: |
|
|
What about a fullscreen, frameless, transparent hta.app - accompanied by a disabled mouse (and maybe a remapped CTRL key to prevent that jonny is bypassing the PW with CTRL+ALT+DEL to kill that process) ? |
|
| Back to top |
|
 |
niwi
Joined: 27 Feb 2005 Posts: 128 Location: Heidelberg, Germany
|
Posted: Tue Apr 12, 2005 7:40 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
niwi
Joined: 27 Feb 2005 Posts: 128 Location: Heidelberg, Germany
|
Posted: Tue Apr 12, 2005 12:46 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Tue Apr 12, 2005 4:52 pm Post subject: |
|
|
| 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 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. |
|
| Back to top |
|
 |
niwi
Joined: 27 Feb 2005 Posts: 128 Location: Heidelberg, Germany
|
Posted: Tue Apr 12, 2005 5:28 pm Post subject: |
|
|
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 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. |
|
| Back to top |
|
 |
MYYM
Joined: 05 Apr 2005 Posts: 132
|
Posted: Tue Apr 12, 2005 10:22 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
MYYM
Joined: 05 Apr 2005 Posts: 132
|
Posted: Tue Apr 12, 2005 10:39 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Wingfat
Joined: 23 Aug 2004 Posts: 193 Location: East Bay, California USA
|
Posted: Tue Apr 12, 2005 11:28 pm Post subject: |
|
|
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?"
----------------------------- |
|
| Back to top |
|
 |
niwi
Joined: 27 Feb 2005 Posts: 128 Location: Heidelberg, Germany
|
Posted: Wed Apr 13, 2005 8:01 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
MYYM
Joined: 05 Apr 2005 Posts: 132
|
Posted: Wed Apr 13, 2005 8:32 am Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|