Jump to content
Sign in to follow this  
JerryD

Advanced Settings for shortcuts

Recommended Posts

JerryD

Hi,

I'm creating a script that downloads and installs some command line utilities, but have run into a minor snag.

The FileCreateShortcut function doesn't allow for setting special options found in shortcuts to command line utilities. Specifically, I'd like the shortcut to have 'Quick Edit mode' enabled, the DOS window it runs in to have a particular buffer size (100w x 9999h) and window size (100w x 50h), for it to position in a particular spot, and for the text color to be yellow.

I haven't been able to find anything on setting these options pro programatically, and I don't want to set them by bringing up the Property Sheet and modifying it there.

Any suggestions would be greatly appreciated.

JerryD

Share this post


Link to post
Share on other sites
B3TA_SCR1PT3R

Hi,

I'm creating a script that downloads and installs some command line utilities, but have run into a minor snag.

The FileCreateShortcut function doesn't allow for setting special options found in shortcuts to command line utilities.  Specifically, I'd like the shortcut to have 'Quick Edit mode' enabled, the DOS window it runs in to have a particular buffer size (100w x 9999h) and window size (100w x 50h), for it to position in a particular spot, and for the text color to be yellow.

I haven't been able to find anything on setting these options pro programatically, and I don't want to set them by bringing up the Property Sheet and modifying it there.

Any suggestions would be greatly appreciated.

JerryD

<{POST_SNAPBACK}>

ill have to ponder on that i cant test anything right now..but the color is xy where x is the background and y is the font color

so black background with yellow text is 0E and vis versa

color 0E
Edited by B3TA_SCR1PT3R

[right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.