PC Review


Reply
Thread Tools Rate Thread

How can I place a window in EXACTLY the same spot each time?

 
 
Mike Barnard
Guest
Posts: n/a
 
      8th Aug 2009
Hi.

I have a program that does some repetative tasks. I'm experimenting
with using Macro Express to do some of the work for me, but each time
I run the original program the window ends up a few pixels out from
the last time I placed it.

Normally this wouldn't matter, but Macro Express moves the cursor to
the same spot each time so if the window is slightly out the mouse
pointer, when being moved in a macro, can sometimes miss it's mark.

I expect that I might be able to add something to the shortcut so that
when run the program is placed in an exact place. Any pointers to an
explanation or some other ideas please folks?

TIA,

Mike.
--
Mike Barnard, Worthing, UK.
Amateur PC enthuisast, trying to learn more.
And I play a lot of games!

Homebuild PC. Tsunami Dream case. Thermaltake 750w PSU.
ASUS P5B-E mobo / Intel Core2 6600@2.4GHz / 4 gig DDR2 ram
Nvidea GTX260 graphics.
Creative Labs Xfi Xtreme Gamer - Logitech 5.1 surround sound
1 x 1tb WD Caviar Black SATA drive. (C - 250gb)(E - 675gb)
1 x Lightscribe DVD burner.
1 x 250gb Maxtor SATA
1 x 350gb WD SATA
1 x other HDD
WD MyBook 500gb external drive
Razer Copperhead gaming mouse
Old, but comfortable, Logitech keyboard
 
Reply With Quote
 
 
 
 
Mike Barnard
Guest
Posts: n/a
 
      8th Aug 2009
On Sat, 08 Aug 2009 10:38:10 +0100, Mike Barnard
<(E-Mail Removed)> wrote:

Forgot to say, XP pro, SP3, all patches.

Thanks again.
 
Reply With Quote
 
Big_Al
Guest
Posts: n/a
 
      8th Aug 2009
Mike Barnard said this on 8/8/2009 5:44 AM:
> On Sat, 08 Aug 2009 10:38:10 +0100, Mike Barnard
> <(E-Mail Removed)> wrote:
>
> Forgot to say, XP pro, SP3, all patches.
>
> Thanks again.

I'm not the best XP geek, but I think the concept of staggered windows
is a feature of the OS not the program. I've written *some* C++
windows code and IIRC, its been a few years, you can place a window if
you want but without specification the OS staggers the windows to the
left and down a few pixels.
The only way I've seen that stop is to launch the program maximized, if
you can.

 
Reply With Quote
 
Mike Barnard
Guest
Posts: n/a
 
      8th Aug 2009
On Sat, 08 Aug 2009 09:48:32 -0400, Big_Al <(E-Mail Removed)> wrote:

>Mike Barnard said this on 8/8/2009 5:44 AM:
>> On Sat, 08 Aug 2009 10:38:10 +0100, Mike Barnard
>> <(E-Mail Removed)> wrote:
>>
>> Forgot to say, XP pro, SP3, all patches.
>>
>> Thanks again.

>I'm not the best XP geek, but I think the concept of staggered windows
>is a feature of the OS not the program. I've written *some* C++
>windows code and IIRC, its been a few years, you can place a window if
>you want but without specification the OS staggers the windows to the
>left and down a few pixels.
>The only way I've seen that stop is to launch the program maximized, if
>you can.


Oh yes, it's the OS alright. I was hoping there was a way to tell it
that I want the window opened at 0,0 on the screen, maybe by adding
something to the command prompt.
 
Reply With Quote
 
Jose
Guest
Posts: n/a
 
      9th Aug 2009
On Aug 8, 5:38*am, Mike Barnard <m.barnard.trous...@thunderin.co.uk>
wrote:
> Hi.
>
> I have a program that does some repetative tasks. I'm experimenting
> with using Macro Express to do some of the work for me, but each time
> I run the original program the window ends up a few pixels out from
> the last time I placed it.
>
> Normally this wouldn't matter, but Macro Express moves the cursor to
> the same spot each time so if the window is slightly out the mouse
> pointer, when being moved in a macro, can sometimes miss it's mark.
>
> I expect that I might be able to add something to the shortcut so that
> when run the program is placed in an exact place. Any pointers to an
> explanation or some other ideas please folks?
>
> TIA,
>
> Mike.
> --
> Mike Barnard, Worthing, UK.
> Amateur PC enthuisast, trying to learn more.
> And I play a lot of games!
>
> Homebuild PC. Tsunami Dream case. Thermaltake 750w PSU.
> ASUS P5B-E mobo / Intel Core2 6...@2.4GHz / 4 gig DDR2 ram
> Nvidea GTX260 graphics.
> Creative Labs Xfi Xtreme Gamer - Logitech 5.1 surround sound
> 1 x 1tb WD Caviar Black SATA drive. (C - 250gb)(E - 675gb)
> 1 x Lightscribe DVD burner.
> 1 x 250gb Maxtor SATA
> 1 x 350gb WD SATA
> 1 x other HDD
> WD MyBook 500gb external drive
> Razer Copperhead gaming mouse
> Old, but comfortable, Logitech keyboard


What is this mysterious program?
 
Reply With Quote
 
Twayne
Guest
Posts: n/a
 
      9th Aug 2009
"Mike Barnard" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)
> On Sat, 08 Aug 2009 09:48:32 -0400, Big_Al <(E-Mail Removed)> wrote:
>
>> Mike Barnard said this on 8/8/2009 5:44 AM:
>>> On Sat, 08 Aug 2009 10:38:10 +0100, Mike Barnard
>>> <(E-Mail Removed)> wrote:
>>>
>>> Forgot to say, XP pro, SP3, all patches.
>>>
>>> Thanks again.

>> I'm not the best XP geek, but I think the concept of staggered
>> windows is a feature of the OS not the program. I've written
>> *some* C++ windows code and IIRC, its been a few years, you can
>> place a window if you want but without specification the OS staggers
>> the windows to the left and down a few pixels.
>> The only way I've seen that stop is to launch the program maximized,
>> if you can.

>
> Oh yes, it's the OS alright. I was hoping there was a way to tell it
> that I want the window opened at 0,0 on the screen, maybe by adding
> something to the command prompt.


There is, but not native in XP. You'll need to run a script that can
access the proper API for that. It's going to be clunky though. IMO
MS's methods work fine and as they should; 100% overlapped windows often
hide other windows, making them impossible to get at without moving
those on top out of the way.
Personally I don't like full-screen windows, but that would be one
way of doing what you want; open everything in full screen using the
Properties for each one.
You can also align windows vertically or horizontally so they all
show are are accessible.
Or learn C#, VB, Python, VBA, cscript, wscript, or one of many others
that let you position a window.

Twayne`


 
Reply With Quote
 
Mike Barnard
Guest
Posts: n/a
 
      15th Aug 2009
On Sun, 9 Aug 2009 09:15:11 -0700 (PDT), Jose <(E-Mail Removed)>
wrote:

>On Aug 8, 5:38*am, Mike Barnard <m.barnard.trous...@thunderin.co.uk>
>wrote:
>> Hi.
>>
>> I have a program that does some repetative tasks. I'm experimenting
>> with using Macro Express to do some of the work for me, but each time
>> I run the original program the window ends up a few pixels out from
>> the last time I placed it.
>>
>> Normally this wouldn't matter, but Macro Express moves the cursor to
>> the same spot each time so if the window is slightly out the mouse
>> pointer, when being moved in a macro, can sometimes miss it's mark.
>>
>> I expect that I might be able to add something to the shortcut so that
>> when run the program is placed in an exact place. Any pointers to an
>> explanation or some other ideas please folks?
>>
>> TIA,
>>
>> Mike.
>> --
>> Mike Barnard, Worthing, UK.
>> Amateur PC enthuisast, trying to learn more.
>> And I play a lot of games!
>>
>> Homebuild PC. Tsunami Dream case. Thermaltake 750w PSU.
>> ASUS P5B-E mobo / Intel Core2 6...@2.4GHz / 4 gig DDR2 ram
>> Nvidea GTX260 graphics.
>> Creative Labs Xfi Xtreme Gamer - Logitech 5.1 surround sound
>> 1 x 1tb WD Caviar Black SATA drive. (C - 250gb)(E - 675gb)
>> 1 x Lightscribe DVD burner.
>> 1 x 250gb Maxtor SATA
>> 1 x 350gb WD SATA
>> 1 x other HDD
>> WD MyBook 500gb external drive
>> Razer Copperhead gaming mouse
>> Old, but comfortable, Logitech keyboard

>
>What is this mysterious program?


Not mysterious. It's a 14 day trial of an onlne game galled Eve. One
way of making money is mining and it's boring and repetative, and
easily done automaticly with a macro.

However, I found it a boring, nerdy "Must know how many points this
does and compare it with that" game. Not my type, so I'm not
continuing.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving 80 gigs from one spot on a USB drive to another spot on the same drivee mm Storage Devices 24 5th Dec 2010 01:18 AM
Moving 80 gigs from one spot on a USB drive to another spot on the same drivee mm Storage Devices 6 14th Oct 2010 08:52 AM
zoom in and move to a spot at the same time? Steve Microsoft Powerpoint 6 16th Nov 2009 04:06 PM
What is 'PST' ? Standard Time of which time zone or place? Marcock Windows XP Help 1 23rd Jan 2008 02:10 AM
IE window in wrong spot Ryan Windows XP Internet Explorer 2 26th Jul 2003 03:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:29 PM.