Search found 44 matches

by kryten
Fri Sep 23, 2016 3:55 am
Forum: PrimalScript
Topic: PrimalScript build with .bat file
Replies: 3
Views: 1827

Re: PrimalScript build with .bat file

Thanks Alexander. I can get the ruby interpreter to recognize the extension - so that is good. Hello syntax highlighting. Adding the batch file as a tool works too. I can now execute the 'tool' and collect the output back to the built in console. Which is wonderful. Here is the "but..."...but when t...
by kryten
Thu Sep 22, 2016 8:47 am
Forum: PrimalScript
Topic: PrimalScript build with .bat file
Replies: 3
Views: 1827

PrimalScript build with .bat file

Hi, I have an ancient version of PrimalScript 2009!! Probably not many people still using that ;) In an effort to get some value out of it I'm trying to set it up as my scripting environment for Logstash, which is, more or less, Ruby. Works okay - but I'm hitting a problem with getting PS to execute...
by kryten
Thu Oct 03, 2013 2:25 pm
Forum: PowerShell Studio
Topic: FolderBrowserDialog and FileOpenDialog Problems
Replies: 2
Views: 3019

Re: FolderBrowserDialog and FileOpenDialog Problems

Just upgraded to 3.1.24 and its exactly the same. A form which was working fine. Suddenly (obviously 'something' is happening, but its hidden from me) becomes unusable as the calls to openfiledialog and folderbrowser just stop working. Create a new form and paste in the same code. Works fine.... but...
by kryten
Thu Oct 03, 2013 2:16 pm
Forum: PowerShell Studio
Topic: FolderBrowserDialog and FileOpenDialog Problems
Replies: 2
Views: 3019

FolderBrowserDialog and FileOpenDialog Problems

Hi, I'm wondering if anyone has seen this before? This is happening all the time now and it's killing me... I can be working on a form that has a folderbrowser or a fileopen dialog - all working perfectly.... then, without even making a change to the script or the form, suddenly the folderbrowser or...
by kryten
Fri Feb 08, 2013 2:50 am
Forum: Wish List and Feature Requests
Topic: Powershell Studio Feature Request
Replies: 1
Views: 2215

Powershell Studio Feature Request

May already have been requested - not sure. I really like the way that PrimalSQL allows you to copy the entire script, including connection and query to the windows clipboard. It makes integration into the script really simple and a pleasure. Unless I am doing it wrong, Powershell Studio seems to be...
by kryten
Thu Feb 07, 2013 11:37 pm
Forum: PowerShell Studio
Topic: Forms Problem ( Using Powershell Studio)
Replies: 6
Views: 6288

Forms Problem ( Using Powershell Studio)

Thanks David, I've been playing around with the DialogResult property and it definitely seems to be way more robust. Great tip! I'm now using a switch statement to capture the return value from the child form call, along the lines of:- $buttonCallChild_Click={ switch (Call-ChildForm_pff) { "OK" { #Q...
by kryten
Thu Feb 07, 2013 9:35 am
Forum: PowerShell Studio
Topic: Forms Problem ( Using Powershell Studio)
Replies: 6
Views: 6288

Forms Problem ( Using Powershell Studio)

Hi David, Appreciate the response. The technique you are alluding to looks very useful. Forgive my ignorance but would it be possible to explain it a little more fully? I set the DialogResult to "OK" on the quit button but I'm not following how we use that to tell the mainform that the child has jus...
by kryten
Thu Feb 07, 2013 1:20 am
Forum: PowerShell Studio
Topic: Forms Problem ( Using Powershell Studio)
Replies: 6
Views: 6288

Forms Problem ( Using Powershell Studio)

In desperation I cut all the code out of all the forms and saved the project.

Then pasted it all back in, one block at a time, saved it and it works as expected.
My head hurts.
Stuart
by kryten
Wed Feb 06, 2013 8:11 pm
Forum: PowerShell Studio
Topic: Forms Problem ( Using Powershell Studio)
Replies: 6
Views: 6288

Forms Problem ( Using Powershell Studio)

Hi, I'm a very happy user of Powershell Studio. Awesome software! I've been experimenting with multi form projects with some success having built some very useful applications but I have a problem with one experimental project that is beginning to drive me nuts and would appreciate some help with, i...
by kryten
Mon Dec 31, 2012 5:11 am
Forum: PowerShell Studio
Topic: Strange issue - Form Buttons
Replies: 1
Views: 821

Strange issue - Form Buttons

Hi, First up - Thanks for the recent deal on Powershell Studio 2012! I'm really enjoying the program and very impressed with the stability of the product over and above PrimalForms 2011. However, a little issue has cropped up on each of the two small form based scripts I've worked on since installin...