I like those ideas in general. I will see what I can come up with.
--
William Stacey [C# MVP]
PowerLocker, PowerPad
www.powerlocker.com
"dreeschkind" <dreeschkind@discussions.microsoft.com> wrote in message
news:4161190C-7FA4-47BC-9E02-6F69AC329E60@microsoft.com...
| "William Stacey [C# MVP]" wrote:
|
| > Don't follow completely.
|
| Sorry, spelling mistake. My last post should read "... and I can NOT see
the
| prompt using PowerPad right now."
|
| > The prompt does not appear in psh console, because
| > as far as it is concerned, we are still running a cmd that has not
returned
| > yet.
|
| Ok I see, but when I type for example 'cd c:\windows' and hit F5, I don't
| know if the current location really has changed because I can't see my
prompt
| anymore when using PowerPad. Hm, I'm not quite sure... Whould it be
possible
| to automatically run the prompt function after you run the code by hitting
F5
| / F6 ? I think that should print the prompt in the main window.
|
| > IMO, it is also a visual indication that you can't just start typing
| > in the psh window because you have a PowerPad window open. Could add a
fony
| > prompt before we start, but not sure this adds anything.
|
| No need for a fake prompt ;-) , but maybe something like an additional
| textbox at the top or bottom of PowerPad that only takes one line and runs
| the code when hitting Enter. Just like the real powershell prompt, but
with
| clipboard (ctrl-v) support! Then I could switch between the single line
| (command mode) and the multi-line textbox (scripting) using Tab.
| Does this make any sense to anyone else than me?
|
|
| Also Snippet support as a treeview is a good idea as long as it doesn't
make
| PowerPad too slow. Right now it performs very well on my old notebook!
|
| Btw.: Did I mention that I like the idea of a snippet PsDRIVE (which might
| be linked to the PowerShell community via internet)?! Maybe someone has
the
| time to implement this, unfortunately I'm too busy for this right now.

|
| --
| greetings
| dreeschkind
|
| > --
| > William Stacey [C# MVP]
| > PowerLocker, PowerPad
| >
www.powerlocker.com
| >
| >
| >
| > "dreeschkind" <dreeschkind@discussions.microsoft.com> wrote in message
| > news:3E4DB103-88A2-4646-A899-BDD059DAB999@microsoft.com...
| > | Uh, I got another question:
| > |
| > | Is it possible to print the prompt somewhere in the PowerPad window or
in
| > | the PowerShell window? I don't like to have it in the window title of
the
| > | powershell window and can see it using PowerPad at the moment.
| > |
| > | --
| > | greetings
| > | dreeschkind
| > |
| > |
| > | "William Stacey [C# MVP]" wrote:
| > |
| > | > Here is an app I posted for the psh community. PowerPad is a quick
way
| > to
| > | > get multi-line edit from the cmd line when you just want to edit a
| > function,
| > | > script, or block quick and run it and return to console.
| > | >
http://powerlocker.com
| > | >
| > | > Hope it finds a spot in your toolbox.
| > | >
| > | > --
| > | > William Stacey [C# MVP]
| > | >
| > | >
| > | >
| > | >
| >
| >
| >