Login  Register

pan command in macro to display specified subregion?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

pan command in macro to display specified subregion?

Bill Christens-Barry
I have zoomed in an image window so that only a subregion of the image is visible. Is there a macro
command that will allow me to pan to a particular location in the window? I'd like to be able to
specify the (x, y) coordinates that would be at the center of the window, and perhaps the bounding
rectangle or width and height of the displayed region.

Thanks.

Bill
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: pan command in macro to display specified subregion?

Gluender-3
>I have zoomed in an image window so that only a subregion of the
>image is visible. Is there a macro
>command that will allow me to pan to a particular location in the
>window? I'd like to be able to
>specify the (x, y) coordinates that would be at the center of the
>window, and perhaps the bounding
>rectangle or width and height of the displayed region.
>
>Thanks.
>
>Bill

Why not create a selection and then use "Zoom To Selection"?

HTH
--

                   Herbie

          ------------------------
          <http://www.gluender.de>
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: pan command in macro to display specified subregion?

Bill Christens-Barry
In reply to this post by Bill Christens-Barry
Herbie,

Thanks for putting me on to the run("To Selection") operation; I can now accomplish what I
wanted.

Bill

On Wed, 23 Sep 2009 11:46:12 +0200, Gluender <[hidden email]> wrote:

>>I have zoomed in an image window so that only a subregion of the
>>image is visible. Is there a macro
>>command that will allow me to pan to a particular location in the
>>window? I'd like to be able to
>>specify the (x, y) coordinates that would be at the center of the
>>window, and perhaps the bounding
>>rectangle or width and height of the displayed region.
>>
>>Thanks.
>>
>>Bill
>
>Why not create a selection and then use "Zoom To Selection"?
>
>HTH
>--
>
>                   Herbie
>
>          ------------------------
>          <http://www.gluender.de>
>===========================================================
==============