Jump to content

Recommended Posts

Posted

Here a small tool I wrote to make screenshots from non minimized windows and selectable regions on desktop!

Thank you.

BTW. I can't get screenshot by this from ProgDVB window and use in this case.

The point of world view

Posted

I don't have a ProgDVB card to test it yet only an USB DVB-T card! I will test it for DVB-T and when it is not working I will have a look to your code!

Thanks for the hint!

Br,

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted

I don't have a ProgDVB card

ProgDVB is "Universelle und leistungsfähige Software für digitales Fernsehen und zum Hören von Radioprogrammen."

See here - progDVB

ProgDVB works with DVB-S,DVB-S2,DVB-T & DVB-C

This pic was created by my script now from France 24.

post-9395-0-80129100-1291808623_thumb.jp

The point of world view

Posted (edited)

I update the code a little bit.

Although the interest is rather low have a look to post#1 if you like.

Br,

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

  • 5 weeks later...
Posted

Thanks again UEZ! I'm still studying your GDI+ scripts :x. I have made a game for my son (with numbers on the buttons) and now I'm trying to somehow split a given image into small ones (a matrix) and then randomly put them on the buttons (like a shuffled puzzle). DON'T TELL ME THE SOLUTION! When I'll give up, I'll shout.

M.I.

Posted (edited)

Another update. Read change log and additional information on 1st post if you like for more information.

Have a look to the About intro part - maybe you will like it :x

Br,

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted

Here an update with some small improvement.

I'm not happy with the method to make screenshots of maximized windows because of the black frame!

Maybe somebody knows a better way to do it...

Br,

UEZ

PS: for the Intro part press on the left upper icon from the window and select About... :)

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted (edited)

Here an update with some small improvements.

I'm not happy with the method to make screenshots of maximized windows because of the black frame and not taking screenshots properly from GDI+ windows!

DllCall("User32.dll", "int", "PrintWindow", "hwnd", $hWnd, "handle", $hMemDC, "int", 0) ist not the best choice...

Maybe somebody knows a better way to do it...

Br,

UEZ

PS: for the Intro part press on the left upper icon from the window and select About... :)

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted (edited)

This is the last update for this code, unless I or you find some bugs, etc.

Read the change log (history) on 1st post for more details.

Br,

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

  • 1 month later...
Posted

Actually I didn't want to post an update but I detected a memory leak. If you display any screenshot the memory of the bitmap wasn't freed up. :)

It should be fixed now.

Further I added a zoom preview window when you want to grab the screen more precisely.

Br,

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted (edited)

I like this, Great work, only thing I see causing a problem is that, (for me at least) it freezes and crashes, if you do not use the exit button.

AMD Athlon II

32 bit Win 7

Thanks for your feedback! :)

Hmm, odd. I cannot reproduce the freezes and/or crashes. Does it crash/freeze after or before fade out when you close the program?

Exit button and X button calling the same exit function. ;)

Someone else with same problem?

Br,

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted

When using the window close x it imediately freezes the screen for a while (between 5 and 30 seconds I've observed) then fades out and I get the windows notice that its stopped working, and should I debug, look online for solution, or close the program.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Posted (edited)

This is the exit function from line 1489:

Func _Exit()
;g1
    DllCall("user32.dll", "int", "UnhookWindowsHookEx", "hwnd", $hM_Hook[0])
    $hM_Hook[0] = 0
    DllCallbackFree($hKey_Proc)
    $hKey_Proc = 0
;g2
    GUISetOnEvent($GUI_EVENT_PRIMARYDOWN, "")
    DllClose($dll)
;g3
    _WinAPI_DeleteObject ($hBitmap_s)
    _WinAPI_DeleteDC($hMemDC)
    _WinAPI_DeleteObject($memBitmap)
    _WinAPI_ReleaseDC(0, $hDC_Region)
    _WinAPI_DeleteDC($hDC_Region)
;g4
    _GDIPlus_GraphicsDispose($hImageContext)
    _GDIPlus_BitmapDispose($hBackImage)
    _GDIPlus_BitmapDispose($vBitmap)
    _GDIPlus_BitmapDispose($undo)
    _GDIPlus_MatrixDispose($hMatrix)
    _GDIPlus_BrushDispose($hBrush_Clear)
    _GDIPlus_BitmapDispose($hBmp)
    _GDIPlus_GraphicsDispose($hContext)
    _GDIPlus_BitmapDispose($hBuffer_Bmp)
    _GDIPlus_GraphicsDispose($hGraphic)
    _GDIPlus_Shutdown()
;g5
    _WinAPI_AnimateWindow($hGUI, BitOR($AW_BLEND,  $AW_HIDE), 750)
;g6
    GUIDelete($hGUI)
    Exit
EndFunc   ;==>_Exit

Can you uncomment g1 and g3 block and try again?

Btw, I update the code again.

Thanks,

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

  • 4 months later...

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
×
×
  • Create New...