Jump to content

[Updated - 0.3.3 beta] 7Peek


Iuli
 Share

Recommended Posts

Hi,

A new application just after 7Snap, which is almost abandoned. 7Peek will peek the windows like Windows 7 when you hover with your mouse the portion between the tray clock and Desktop edge (image below). Again, not open-sourcing it right now :D Maybe in future.

Here you should hover with mouse for window peeking :

Posted Image

Update comes with some improvements and also some new thins. It should work faster now :D

Changelog :

-7Peek disposes now all resources after windows peeking
-Maximized, minimized and non-visible windows no longer peek
-Windows no longer peek if you are not hovering the peeking area on your taskbar, whereever the taskbar is placed
-Windows no longer peek if your left mouse button is pressed while hovering the peeking area
-Optimized window drawing engine
-Optimized fade engine

Demo video 7Peek Demo Video

Download : 7Peek Download

Enjoy ! Criticism and suggestion are welcomed :D

Iuli.

Edited by Iuli
[size="2"]SFXMaker[/size] - The most complete switchless installer creator software[indent][/indent]
Link to comment
Share on other sites

scaning file...

clean - http://www.kaspersky.com/scanforvirus

running...

It appears to work. Not quite as smoothe as the one built in, but it works.

I assume you get the handle of every window, then have something like

for $t = 255 to 0
    for $i = 1 to ubound($hwnd)
        winsettrans($hwnd[$i],$t)
    next
next

adding a step to the transparency loop that changes with the number of windows might help keep the fade effect short. With 7 windows it was pretty slow.

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Link to comment
Share on other sites

Remark: if you don't trust the exe you can let it scan here http://www.virustotal.com or here http://virusscan.jotti.org :D

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

*Sigh* stop with the stupid virus scanners.

Since this is new it is totally useless to try to detect if it is malicious. I could write trojan write now and upload it that would fuck up your os for good that no scanner would pick up.

So please stop the scanner crap and either:

a) Run the exe in a VM or sandbox

:D Trust the OP

c) Leave this thread.

Easy as pie.

Broken link? PM me and I'll send you the file!

Link to comment
Share on other sites

*Sigh* stop with the stupid virus scanners.

Sincethis is new it is totally useless to try to detect if it is malicious.I could write trojan write now and upload it that would fuck up your osfor good that no scanner would pick up.

So please stop the scanner crap and either:

a) Run the exe in a VM or sandbox

:D Trust the OP

c) Leave this thread.

Easy as pie.

Some "stupid" av scanners also use sandbox techniques to find out whether it is malicious or not!

But I don't want to start here a discussion about the sense of av.

I thought it was worth to mention it (just an additional option)...

Apart from that I agree with you!

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

i cant get it to work right with vista ultimate. the program runs, the icon shows. but nothing... is it meant for vista?

EDIT: I got it to work, only if my taskbar is on the bottom, i have it on top cause of my objectdock. looks nice

Edited by billthecreator

[font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap

Link to comment
Share on other sites

If i had sorce i would make it add a transparent window and draw the outlines on it so you get the same effect as win 7.

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Link to comment
Share on other sites

@billthecreator : I forgot that other people like the taskbar on top. I will add support for that in the next version.

@corgano : I'll try to make it even smoother. About creating as many GUIs, as visible windows are, that's process and memory consuming. And also, AutoIT will not let you create an array of GUIs (array of handles) directly.

Thanks for feedback and suggestions :D

Edited by Iuli
[size="2"]SFXMaker[/size] - The most complete switchless installer creator software[indent][/indent]
Link to comment
Share on other sites

I was able to come up with this:

#include <array.au3>
HotKeySet("{ESC}","foo")

Global $list = WinList()
;~ _ArrayDisplay($list)

while 1
    Local $pos = MouseGetPos()
    If $pos[0] > @DesktopWidth - 20 and $pos[1] > @DesktopHeight - 40 Then
;~      ToolTip("11111111111111111111111111111111111111111",0,0);errchecking for detetion
        fade(1)
        While 1
            $pos = MouseGetPos()
            If $pos[0] < @DesktopWidth - 20 Or $pos[1] < @DesktopHeight - 40 Then
                fade(0)
;~              ToolTip("222222222222222222222222222222222222222222",0,0);errchecking for detetion
                ExitLoop
            EndIf
            Sleep(100)
        WEnd
    EndIf
    sleep(100)
WEnd

Func foo()
    Exit
EndFunc

Func fade($t)
    Local $from, $to, $list = WinList()

    If $t = 1 Then
        $from = 255
        $to = 0
        $offset = 0
    Else
        $from = 0
        $to = 255
        $offset = 1
    EndIf

    For $trans = $from to $to
        For $i = 1 To UBound($list) - $offset
;~              WinSetTrans($list[$i][1],"",$trans)
        Next
    Next
EndFunc

Func onautoitexit();just in case....
    For $i = 1 To UBound($list)
        WinSetTrans($list[$i][1],"",255)
    Next
EndFunc

It IS NOT complete. It needs a way to tell which windows to make transparent (keeps doing it to taskbar and desktop, not good)

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Link to comment
Share on other sites

I just tried it. It looks great, but on XP i have a small problem: sometimes i get some flashing color stripes immediately before the windows fade.

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Link to comment
Share on other sites

@luli

I don't see what it do on Win7 :D

Cheers, FireFox.

No, it is not for Windows 7, but the demo video was made on 7, because that's the OS i use now.

[size="2"]SFXMaker[/size] - The most complete switchless installer creator software[indent][/indent]
Link to comment
Share on other sites

I just tried it. It looks great, but on XP i have a small problem: sometimes i get some flashing color stripes immediately before the windows fade.

@ProgAndy : Never tested it on XP, but i will do that as soon as possible and track down the bug, if it is one :D

That is because of the winsettrans() function. It sometimes does that when the trans is 255 and you set it to something lower.

@luli

I don't see what it do on Win7 :D

Cheers, FireFox.

Right click the taskbar and go to propities and uncheck the windows peek box, then hit ok and test it.

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...