Modify

Opened 17 years ago

Closed 17 years ago

#728 closed Feature Request (Rejected)

_ScreenCapture_CaptureWnd Change

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

First - absolutely wonderful that _ScreenCapture is included in AutoIt. :-)

A slight change to the way in which _ScreenCapture_CaptureWnd is called is my request. Not because this will make it work better, faster, or anything like that. It's just I was reading through the manual and thought that this was a good idea. So I'm passing it along. :-)

Here is the current call line:

#Include <ScreenCapture.au3>
_ScreenCapture_CaptureWnd($sFileName, $hWnd[, $iLeft = 0[, $iTop = 0[, $iRight = -1[, $iBottom = -1[, $fCursor = True]]]]])

Here is the change:

#Include <ScreenCapture.au3>
_ScreenCapture_CaptureWnd($hWnd[, $sFileName = ""[, $iLeft = 0[, $iTop = 0[, $iRight = -1[, $iBottom = -1[, $fCursor = True]]]]]])

Since $sFileName doesn't have to be sent to the function but $hWnd does have to be sent to the function - It makes sense that $hWnd comes first. :-)

I know - everyone's already using it the other way. But.... it would make future coding easier. Presently, you have to do:

_ScreenCapture_CaptureWnd( "", $hWnd )

and this would just make it:

_ScreenCapture_CaptureWnd( $hWnd )

Anyway - just a thought.

Attachments (0)

Change History (2)

comment:1 by TicketCleanup, 17 years ago

Version: 3.2.12.1

Automatic ticket cleanup.

comment:2 by Gary, 17 years ago

Resolution: Rejected
Status: newclosed

At this point and time I don't want to cause anymore script breaking changes if I can help it.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.