> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of ehathgepiurhe > Sent: Tuesday, June 27, 2006 9:02 AM > To: [email protected] > Subject: [power-pro] Can PowerPro attach a bar to a window?
> Hi, > Can anyone tell me if it is possible to get PowerPro to attach a bar > to a window with a specific title when that window starts up? > Basically what I'm wanting to do is this: I use the Windows XP command > line a lot. What I really miss about XP's cmd.exe specifically is the > Mark, Copy and Paste buttons that Windows 98 had on its cmd window. I > have been doing a bit of searching, and I haven't been able to find > anyone that has created their own version of cmd.exe with the toolbar > buttons, or anyway to add them to the Microsoft cmd.exe. So, what I > was wondering if it would be possible to create a bar with two buttons > on it in PowerPro (one copy, one paste), and then only have it show up > (and attach itself to the cmd window), when I open up cmd.exe. I'm > probably asking for a bit much here for PowerPro to be able to do > something like this, but you never know. This is definitely possible. I sent the keystrokes to the window to do it - there might be (and probably is) a better way. 1) Create a new bar by clicking on NewList in the Command Lists tab of the Config dialog box. Give it any name, say "DOS Box Cmds". Select OK. 2) Check "Auto Show as bar". 3) Select Properties and change the position value to "Right Caption" 4) In the Entry list, click the Add button. I used a Name value of 'Icons'; you can use whatever you like. In the "left" tab, put *Format as the command, "Context" in the "Format command" edit box, and "=cmd" in the third edit box. Select OK. 5) In the Entry list, select Add after". Enter "Paste" as the name. Use *Keys for the Command, and then "% ep" (without the quotes). Hit OK 6) Repeat step 5, making changes to the Keys command for copy (y) and then for mark (k) 7) Hit Apply or OK on the Config window Run cmd.exe. You should see in the title bar three buttons, Labeled Copy, Paste, and Mark. You can dress it up by adding icons and/or hiding the name value or whatever, but that'll get you the basic steps. Clicking on those will run the *Keys command, and should be the equivalent of hitting Alt-space, e, (p/y/k) yourself. PowerPro can attach a bar to any window that can be specified by a caption, a window handle, or a executable name. In the above steps, I used the executable name (=cmd). For more info on the above steps, see the help for the *Bar and *Keys. HTH, Paul ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
