Modify

Opened 15 years ago

Closed 15 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 Changed 15 years ago by TicketCleanup

  • Version 3.2.12.1 deleted

Automatic ticket cleanup.

comment:2 Changed 15 years ago by Gary

  • Resolution set to Rejected
  • Status changed from new to closed

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

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.