forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Visual DialogShell

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous
View previous topic :: View next topic  
Author Message
cnodnarb
Valued Contributor
Valued Contributor


Joined: 11 Sep 2002
Posts: 654
Location: Evansville, IN

PostPosted: Sat Feb 02, 2019 9:36 pm    Post subject: Visual DialogShell Reply with quote

Update:

https://github.com/brandoncomputer/vds

Anyone interested in helping me develop VDS style syntax in Powershell?

I'm doing it either way, but I think I could do it better with help.

It's already moving right along. Let me know if there's any interest.

Oddly, Powershell and VDS are very similar in many ways - after you get past some sticking points.

Reply back if you're interested.

(I often drop these things pretty quick, but be sure to look back here for the "end product" later if this doesn't become an actual project - with like more people than just me)

-cnodnarb



vds.PNG
 Description:
 Filesize:  43.78 KB
 Viewed:  31 Time(s)

vds.PNG




Last edited by cnodnarb on Tue Feb 05, 2019 5:31 am; edited 1 time in total
Back to top
View user's profile Send private message AIM Address
marcelo
Contributor
Contributor


Joined: 10 May 2008
Posts: 98

PostPosted: Mon Feb 04, 2019 1:49 am    Post subject: Reply with quote

Wow. It sounds interesting!!
Back to top
View user's profile Send private message
cnodnarb
Valued Contributor
Valued Contributor


Joined: 11 Sep 2002
Posts: 654
Location: Evansville, IN

PostPosted: Tue Feb 05, 2019 5:31 am    Post subject: Reply with quote

Very raw very early release

https://github.com/brandoncomputer/vds
Back to top
View user's profile Send private message AIM Address
cnodnarb
Valued Contributor
Valued Contributor


Joined: 11 Sep 2002
Posts: 654
Location: Evansville, IN

PostPosted: Sat Feb 09, 2019 6:18 pm    Post subject: Reply with quote

Not nearly as raw at revision 22....

https://github.com/brandoncomputer/vds
Back to top
View user's profile Send private message AIM Address
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 407
Location: Australia

PostPosted: Sat Feb 09, 2019 11:18 pm    Post subject: Reply with quote

Nice work B,

I've only tried to use powershell once but ended up doing what I needed in VDS. I will have a look at the Powershell ISE and your Visual DialogShell as your excellent notes and inline comments on Github make it all seem easy.

I just realised what your username means.

_________________
cheers

Dave
Back to top
View user's profile Send private message Visit poster's website
cnodnarb
Valued Contributor
Valued Contributor


Joined: 11 Sep 2002
Posts: 654
Location: Evansville, IN

PostPosted: Sun Feb 10, 2019 6:30 pm    Post subject: Reply with quote

Revision 28 has some big changes (bye bye bangs) but now supports Windows 7

It's a little early to show off advanced scripting, but something like this will be in the template soon.

Code:

ForEach ($_ in 1..10)
{
   $button = dialog add $form1 button $(sum $(fmul $_ 20) 10) 10 100 20 $_
   dialog name $button "button$_"
    if ($(greater $_ 1))
    {
        $button.add_Click{
        info "Hello from $(dlgtext $this)"
       
        }
    }
}

$controls = $form1.controls

$controls['button1'].add_Click{
info "Hello from 1"
}


It's not Visual DialogScript, and it's not Powershell - it's something new and awesome.
Back to top
View user's profile Send private message AIM Address
cnodnarb
Valued Contributor
Valued Contributor


Joined: 11 Sep 2002
Posts: 654
Location: Evansville, IN

PostPosted: Sat Feb 16, 2019 10:12 pm    Post subject: Reply with quote

Code:

import-module $PSScriptRoot\vds.psm1 -force #Load Visual DialogShell module

#Powershell
$x = "Brandon".substring(2,2)
[System.Windows.MessageBox]::Show($x+" ps","",'OK',64) | Out-Null;

#VDS Function - classic syntax equivelent.
$x = $(substr Brandon 2 4)

#VDS Assertion - A function that won't work within another call, but works to assign an object.
$x = substr Brandon 2 4

#VDS Command - classic syntax equivelent.
info $x" Command"

#VDS Directive - a command that will work within another call.
$(info $x" Directive")

info "Let's do this a bizaare way"$(info $x" Directive in a String")
#The directive was processed before the command.

$(info $x" Directive in a sequence")+$(info "Let's do this a very bizzare way")
#The directives executed in order.

#Let's skip the assignment.
info "$(substr Brandon 2 4) assignment skipped"


Last edited by cnodnarb on Sun Feb 17, 2019 5:01 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address
cnodnarb
Valued Contributor
Valued Contributor


Joined: 11 Sep 2002
Posts: 654
Location: Evansville, IN

PostPosted: Sun Feb 17, 2019 5:00 pm    Post subject: Reply with quote

https://github.com/brandoncomputer/vds

DialogShell Designer



dialogshell designer.PNG
 Description:
 Filesize:  24.42 KB
 Viewed:  6 Time(s)

dialogshell designer.PNG


Back to top
View user's profile Send private message AIM Address
cnodnarb
Valued Contributor
Valued Contributor


Joined: 11 Sep 2002
Posts: 654
Location: Evansville, IN

PostPosted: Sun Feb 17, 2019 10:46 pm    Post subject: Reply with quote

DialogShell Designer ~ coming along nicely


dialogshell designer.PNG
 Description:
 Filesize:  100.76 KB
 Viewed:  9 Time(s)

dialogshell designer.PNG


Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group