Page 1 of 1

Options for Command Prompt in toolbar

Posted: 29 Jul 2008 17:32
by ivan
I don't use the toolbar in XY so much but when I do it works just fine. Today I noticed that you can add a Command Prompt button to it. Such feature could do with a couple of tweaks though:

1. Being able to specify the default location when it opens.

Currently, if you launch it through Accessories or Run -> cmd, both times it goes to the same location. If I try to launch it through XY toolbar it opens the location of my (only tab). This might not always be the desired place. I treat the cmd prompt button in toolbar as a shortcut and not as an addendum to my current tab ;) Doing what it's doing at the moment is an equivalent of me looking at a list of images in a folder somewhere, opening Photoshop via a shortcut and it sensing that I'm looking in a folder full of JPEGs and assuming that it's those JPEGs that I want to fiddle around with in Adobe's finest. It's all about assumptions, the less are made the better :wink:

2. Being able to choose whether to open it as admin or not

Sometimes it's annoying to realise that you haven't right-clicked and selected "Run as administrator". Other times you're fine with normal user :)

Would be really nice to have those options 8)

Posted: 29 Jul 2008 17:51
by jacky
ivan wrote:1. Being able to specify the default location when it opens.
Well, many of us like it just the way it is, and you have the ability to do what you want, though not as a TB button for now. But using a script (so can be one click on a Catalog item or one KS to trigger it you can do this of course:

Code: Select all

run "cmd /k cd /d ""%programfiles%""";
Will open the command prompt to your "Program Files" folder. Of course, you can replace %programfiles% by whatever path you want ;)

Posted: 29 Jul 2008 18:03
by ivan
jacky wrote:Well, many of us like it just the way it is, and you have the ability to do what you want, though not as a TB button for now. But using a script (so can be one click on a Catalog item or one KS to trigger it you can do this of course:

Code: Select all

run "cmd /k cd /d ""%programfiles%""";
Will open the command prompt to your "Program Files" folder. Of course, you can replace %programfiles% by whatever path you want ;)
It would really be icing on a cake if above code was used to drive the command that's issued when TB button is clicked and the %whateverlocation% were to be config'ed via a tweak/GUI.

Posted: 29 Jul 2008 18:09
by jacky
ivan wrote:It would really be icing on a cake if above code was used to drive the command that's issued when TB button is clicked and the %whateverlocation% were to be config'ed via a tweak/GUI.
That'd be so for you :P ;) But one thing for sure is that Custom Toolbar Buttons are planned, and once there you'll be able to add to your TB buttons executing any script you want, so you'll be able to decide how your cmd prompt button works, or have two (or more!) of them if you want to! ;)

Posted: 29 Jul 2008 18:17
by ivan
jacky wrote:That'd be so for you :P ;) But one thing for sure is that Custom Toolbar Buttons are planned, and once there you'll be able to add to your TB buttons executing any script you want, so you'll be able to decide how your cmd prompt button works, or have two (or more!) of them if you want to! ;)
That's great news! I hope we'll be able to use custom images and have subtext ala Firefox bookmarks toolbar 8)

Re: Options for Command Prompt in toolbar

Posted: 29 Jul 2008 18:20
by j_c_hallgren
ivan wrote:It's all about assumptions, the less are made the better :wink:
In some cases, yes...but in many other situations, this is what makes XY easy to use, as it does what we want automatically.