save as dialog via powershell

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

save as dialog via powershell // Scriptorium

1  |  

Post by clintonman // Apr 9, 2009, 4:59pm

clintonman
Total Posts: 304
pic
I think I found a way to get save as dialogs for scripting. First test is good.

It uses Powershell from Microsoft and ActiveXPosh from Sapien Technologies. Attached is my test script. I'll add more details as I find out more.

Post by Jack Edwards // Apr 9, 2009, 9:57pm

Jack Edwards
Total Posts: 4062
pic
Oooh cool Clintonman! Any chance you can solve for a folder selecting dialog?

Post by clintonman // Apr 10, 2009, 8:38am

clintonman
Total Posts: 304
pic
Link to original select folder script:

http://powershell.com/cs/media/p/627.aspx

Original open file script

http://www.peetersonline.nl/index.php/powershell/powershell-open-file-dialog-box/

Powershell page

http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx

Download for ActiveXPosh

http://www.primaltools.com/communitytools/

some more links for winforms reference and powershell+winforms

http://msdn.microsoft.com/en-us/library/system.windows.forms.aspx
http://www.techotopia.com/index.php/Creating_GUIs_in_Windows_PowerShell_1.0_with_WinFo rms

attached is my jscript conversion of the choose folder dialog. It hasn't been adapted for truespace yet.
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2020. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn