Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Run, Minimized - Run, Hidden ...etc..


  • Please log in to reply
5 replies to this topic
sosaited
  • Members
  • 278 posts
  • Last active: Oct 06 2009 06:08 PM
  • Joined: 24 Feb 2005
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

dijiyd
  • Members
  • 87 posts
  • Last active: Oct 22 2005 01:29 PM
  • Joined: 31 Mar 2004
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.)

sosaited
  • Members
  • 278 posts
  • Last active: Oct 06 2009 06:08 PM
  • Joined: 24 Feb 2005
Thanks
but it doesnt allow me to specifiy that it'll be run hidden ..like WinHide.. :(

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004

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.

sosaited
  • Members
  • 278 posts
  • Last active: Oct 06 2009 06:08 PM
  • Joined: 24 Feb 2005
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

dijiyd
  • Members
  • 87 posts
  • Last active: Oct 22 2005 01:29 PM
  • Joined: 31 Mar 2004
LOL... sorry, I guess I should have read the helpfile first too.