 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
n00ge
Joined: 28 Sep 2007 Posts: 37
|
Posted: Thu Dec 11, 2008 9:50 pm Post subject: Print Dialog Help |
|
|
I have a script that runs and sends an "Enter" key to automatically print when a Print dialog window pops up. I'm wondering if there is a way to move the default location of the window so it doesn't pop up in the middle of the screen. Does anybody know if there is a way to do this? Or, is there any other way to suppress the dialog window?
Currently, the script I'm using is:
| Code: | #SingleInstance ignore
Loop
{
ifWinExist ahk_class Tfspform.UnicodeClass
{
WinWaitActive, Print, ,
{
Send, {Enter}
}
}
} |
|
|
| Back to top |
|
 |
Frankie
Joined: 02 Nov 2008 Posts: 2850
|
Posted: Thu Dec 11, 2008 9:54 pm Post subject: |
|
|
You mean like WinMove?
| Quote: | WinMove, X, Y
WinMove, WinTitle, WinText, X, Y [, Width, Height, ExcludeTitle, ExcludeText] |
_________________ aboutscript ⍟ apps ⍟ scripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run |
|
| Back to top |
|
 |
n00ge
Joined: 28 Sep 2007 Posts: 37
|
Posted: Thu Dec 11, 2008 11:52 pm Post subject: |
|
|
| Thanks but that isn't really what I was looking for. It still loads in the same place and then moves. Is there a way to change the default location for where the window opens? |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|