DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Launch Maximized with Alias  (Read 6,337 times)

SoldOnParadise

  • Participant
  • Joined in 2008
  • *
  • Posts: 25
Launch Maximized with Alias
« on: May 12, 2013, 06:41 PM »
I tried searching but couldn't find an answer to my question. Is it possible to launch a program from an alias and have the window be maximized?
Thank you!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Launch Maximized with Alias
« Reply #1 on: May 12, 2013, 10:13 PM »
Yes.
Look for the "Alias Listing/Launching Tricks" in help file under "Advanced Use" and you'll see:

Customize the Appearance:
You can customize the text that gets displayed with each entry by prefacing custom text with |
For example:
Play Solitaire | c:\program files\games\solit.exe

File Window Options:
You can customize the way programs are launching by adding one of a few optional window modifiers to the very end of your file specification:
/winmax
/winmin
/winhid
/closeafter (force farr window to close after launching even if not set to by deafult)
/stayopen (dont close farr window after launching)
/icon=localfilename_from_aliasdir.ico (icon file must be in same dir as the source xml file defining the alias)
/hideifnoexist (hide the result if the file specified does not exist)
/runasadmin (run the file as admin)
/winvermin=M.m (major and minor minimum windows versions required to include alias result)
/winvermax=M.m (major and minor minimum windows versions required to include alias result)
/hint="text here" (shows hint on statusbar when item is selected, instead of showing launch command)

For example:
Play Solitaire | c:\program files\games\solit.exe /WINMAX

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Launch Maximized with Alias
« Reply #2 on: May 12, 2013, 10:14 PM »
NOTE: the help file says /winmax but then the example shows /WINMAX
one of these may work and the other not.. let me know and i'll fix help file.

SoldOnParadise

  • Participant
  • Joined in 2008
  • *
  • Posts: 25
Re: Launch Maximized with Alias
« Reply #3 on: May 12, 2013, 10:53 PM »
Wow, thank you so much! :Thmbsup:

SoldOnParadise

  • Participant
  • Joined in 2008
  • *
  • Posts: 25
Re: Launch Maximized with Alias
« Reply #4 on: May 15, 2013, 06:15 PM »
NOTE: the help file says /winmax but then the example shows /WINMAX
one of these may work and the other not.. let me know and i'll fix help file.

They both work! /winmax /WINMAX

Thanks again!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Launch Maximized with Alias
« Reply #5 on: May 15, 2013, 06:19 PM »
Thanks very much for the report, glad it's working.  :Thmbsup:

Original address: https://www.donationcoder.com/forum/index.php?topic=34921.0