| View previous topic :: View next topic |
| Author |
Message |
sosaited
Joined: 24 Feb 2005 Posts: 233
|
Posted: Sun Jul 03, 2005 12:49 am Post subject: Run, Minimized - Run, Hidden ...etc.. |
|
|
Hi...
I wanted to create some scripts in which the script opened some window and then minimized it or hide it as soon as it appeared... but that still take that much time to "show" the window (even i tried SetBatchLines ... etc) so is it possible to add a command (or edit the current Run command?) to include the "pre-opening" settings... like open hidden, Open maximized.... and stuff like that ..
thanks |
|
| Back to top |
|
 |
dijiyd
Joined: 01 Apr 2004 Posts: 90 Location: Philippines
|
Posted: Sun Jul 03, 2005 1:07 am Post subject: |
|
|
| An alternative might be using FileCreateShortcut to make a shortcut that specifies that it'll be run minimized, and then running that shortcut. (Or create it yourself, if it's a permanent thing.) |
|
| Back to top |
|
 |
sosaited
Joined: 24 Feb 2005 Posts: 233
|
Posted: Sun Jul 03, 2005 1:49 am Post subject: |
|
|
Thanks
but it doesnt allow me to specifiy that it'll be run hidden ..like WinHide..  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sun Jul 03, 2005 2:23 am Post subject: Re: Run, Minimized - Run, Hidden ...etc.. |
|
|
| sosaited wrote: | | opened some window and then minimized it or hide it as soon as it appeared | I might be missing your intent, but I think you can already do this:
Run, Notepad, , Min ; Launch Notepad minimized.
Run, Notepad, , Hide ; Launch Notepad hidden.
Note that some apps (such as Calculator) do not obey the requested startup state, so the above would have no effect for them. |
|
| Back to top |
|
 |
sosaited
Joined: 24 Feb 2005 Posts: 233
|
Posted: Sun Jul 03, 2005 2:43 am Post subject: |
|
|
Thanks Chris
I did try the Run, prog.exe, , Hide... but WinShow never showed it... thats why i asked for this command (I thought that Run, Currently Uses some other way to hide it) ... but i figured that it was just on my pc.. so after i updated AHK it works fine THANKS |
|
| Back to top |
|
 |
dijiyd
Joined: 01 Apr 2004 Posts: 90 Location: Philippines
|
Posted: Sun Jul 03, 2005 3:56 am Post subject: |
|
|
| LOL... sorry, I guess I should have read the helpfile first too. |
|
| Back to top |
|
 |
|