Options for Command Prompt in toolbar

Features wanted...
Post Reply
ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Options for Command Prompt in toolbar

Post 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)
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122
Image

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post 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 ;)
Proud XYplorer Fanatic

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Post 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.
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122
Image

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post 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! ;)
Proud XYplorer Fanatic

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Post 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)
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122
Image

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Options for Command Prompt in toolbar

Post 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.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

Post Reply