Re: feeding a private rsa key through the shell to get the public

2013-05-04 Thread Glen Bojsza
Sorry, I just realized you are avoiding using a file ... jumped the gun. On Sun, May 5, 2013 at 2:07 AM, Glen Bojsza wrote: > Have you tried... > > put shell ("openssl rsa -in /path/mypemfile -pubout") > > Glen > > > > On Sat, May 4, 2013 at 6:46 PM, Dr. Hawkins wrote: > >> On Sat, May 4, 2013

Re: feeding a private rsa key through the shell to get the public

2013-05-04 Thread Glen Bojsza
Have you tried... put shell ("openssl rsa -in /path/mypemfile -pubout") Glen On Sat, May 4, 2013 at 6:46 PM, Dr. Hawkins wrote: > On Sat, May 4, 2013 at 3:24 PM, Alex Tweedly wrote: > > > put the shell of ("echo " & fld privateKey & " | openssl rsa -pubout") > > > > that produces, > > -

Re: Finding orphaned "put"

2013-05-04 Thread J. Landman Gay
On 5/4/13 9:14 PM, william humphrey wrote: The target button would be wonderful but since the message box comes up, but nothing is in it when it does, maybe that makes it not work. It works for me here. It sounds like the "put" is putting empty into the message box, which is too bad. It would

Re: Finding orphaned "put"

2013-05-04 Thread Jerry Jensen
On May 4, 2013, at 7:24 PM, william humphrey wrote: > (?im)^\s*put\s((?!(after|into|before|\\)).)*$ Gesundheit! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Finding orphaned "put"

2013-05-04 Thread william humphrey
But (?im)^\s*put\s((?!(into|after|before|\\)).)*$ -- works perfectly in BBedit. Thank you very much (just doesn't work in live code perhaps because I don't know how to tell livecode to use Regex in the find feature). On Sat, May 4, 2013 at 10:24 PM, william humphrey < b...@bluewatermaritime.com> w

Re: Finding orphaned "put"

2013-05-04 Thread william humphrey
(?im)^\s*put\s((?!(after|into|before|\\)).)*$ the after|into|before , guessing the vertical bar means "or" but is not working. It only works for whatever the first word is and then still finds the next two. ___ use-livecode mailing list use-livecode@lis

Re: Finding orphaned "put"

2013-05-04 Thread william humphrey
(?im)^\s*put\s((?!(into|after|before|\\)).)*$ is wonderful but gives me 450 lines to look through (admittedly less than 6500). Found lots of commented code and lines like: *put* tHolder2 & *return* after tAllCargoLines_Processed which have the word "after" so I don't get it. The target butto

Re: LiveCode Beginner Question

2013-05-04 Thread Shawn Blc
Glen, I appreciate the response, but that's basically what I have, instead of none, I have 0. Even changing it to none though it's the same. For further details you can read my post: http://forums.runrev.com/viewtopic.php?f=7&t=15030&p=74956#p74956 On Sat, May 4, 2013 at 8:57 PM, Glen Bojsza

Re: LiveCode Beginner Question

2013-05-04 Thread Glen Bojsza
set the hilitedbutton of grp "grpA1" to none also if not on the card where the object is reference it by object and then card... set the hilitedButton of grp "grpA2" of card "question2" to none Is this what you are looking for? On Sat, May 4, 2013 at 7:58 PM, Shawn Blc wrote: > Can someone he

Re: Finding orphaned "put"

2013-05-04 Thread Mark Wieder
Jerry- Saturday, May 4, 2013, 6:40:52 PM, you wrote: > SWEET! That got me to download 6. It's a very cool feature, and one that I don't think has been hyped enough. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@

Re: Finding orphaned "put"

2013-05-04 Thread Jerry Jensen
On May 4, 2013, at 2:58 PM, Alex Tweedly wrote > 6.0 contains a new feature (which I've not yet used :-) - in the message box > there is a button (top right, looks kind of like a target symbol) > when you click it, the editor shows you the source script line that caused > the last output. SWEE

Re: Finding orphaned "put"

2013-05-04 Thread J. Landman Gay
Peter Haworth wrote: >But that requires him to know how to execute the code that puts to the >message box - if he knew that, he'd know where to look to delete it :-) > >Pete >lcSQL Software > > >On Sat, May 4, 2013 at 3:05 PM, J. Landman Gay >wrote: > >> On 5/4/13 3:35 PM,

Re: LiveCode Beginner Question

2013-05-04 Thread Shawn Blc
Thanks. I updated the thread, but still no luck. On Sat, May 4, 2013 at 7:24 PM, Peter Haworth wrote: > Just posted on the forum. > > Pete > lcSQL Software > > > On Sat, May 4, 2013 at 4:58 PM, Shawn Blc wrote: > > > Can someone help me out with this? > > > > Link: htt

Re: Finding orphaned "put"

2013-05-04 Thread Peter Haworth
Sorry, I meant "\", not "/" Pete lcSQL Software On Sat, May 4, 2013 at 5:15 PM, Peter Haworth wrote: > Hi Scott, > This will list lines that have a continuation char - "/" - at the end with > into/after/before on the next line. Pretty remote circumstance but I tend > to

Re: LiveCode Beginner Question

2013-05-04 Thread Peter Haworth
Just posted on the forum. Pete lcSQL Software On Sat, May 4, 2013 at 4:58 PM, Shawn Blc wrote: > Can someone help me out with this? > > Link: http://forums.runrev.com/viewtopic.php?f=7&t=15030 > ___ > use-livecode mailing list

Re: Finding orphaned "put"

2013-05-04 Thread Peter Haworth
Hi Scott, This will list lines that have a continuation char - "/" - at the end with into/after/before on the next line. Pretty remote circumstance but I tend to do that if I have a particularly long source with lots of "&" and "&&" to make it more readable. Still think the regexp approach is the

LiveCode Beginner Question

2013-05-04 Thread Shawn Blc
Can someone help me out with this? Link: http://forums.runrev.com/viewtopic.php?f=7&t=15030 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lis

Re: Finding orphaned "put"

2013-05-04 Thread Peter Haworth
But that requires him to know how to execute the code that puts to the message box - if he knew that, he'd know where to look to delete it :-) Pete lcSQL Software On Sat, May 4, 2013 at 3:05 PM, J. Landman Gay wrote: > On 5/4/13 3:35 PM, william humphrey wrote: > >> Grep

Re: Finding orphaned "put"

2013-05-04 Thread Peter Haworth
William, Just tried out the regexp I gave you and found it needs a couple of changes to deal with case insensitivity, looking for "before" and also dealing with the LC script continuation char "\" which could occur at the end of a line before the into/after/before. The new version of the regexp is

Re: Finding orphaned "put"

2013-05-04 Thread Scott Rossi
Here's a script I use that answers the offending line(s) of script with line numbers: on mouseUp put script of into S put empty into temp put 1 into N repeat for each line L in S if "put" is in L and ("into" is not in L and "after" is not in L and "before" is not in L) then put

Re: feeding a private rsa key through the shell to get the public

2013-05-04 Thread Alex Tweedly
I know you said you were trying to avoid using files - but it might be the easiest option. Write the field to a temp file, then use that in the shell command; I think if you use specialfolderPath("Temporary") you will be independent of file system variations (for desktops). Otherwise - sorry,

Re: feeding a private rsa key through the shell to get the public

2013-05-04 Thread Dr. Hawkins
On Sat, May 4, 2013 at 3:24 PM, Alex Tweedly wrote: > put the shell of ("echo " & fld privateKey & " | openssl rsa -pubout") > that produces, -BEGIN RSA PRIVATE KEY- /bin/sh: line 2: MIIJKQIBAAKCAgEAqtf05M03fM9BaOhdaY1C+dfp6D1dHDa9pJ7RBgcYd57n3AiY: command not found /bin/sh: line 3: MF/

Re: feeding a private rsa key through the shell to get the public

2013-05-04 Thread Alex Tweedly
Maybe put the shell of ("echo " & fld privateKey & " | openssl rsa -pubout") -- Alex. On 04/05/2013 23:10, Dr. Hawkins wrote: I'm successfully generating an rsa key and putting it where I needed it (a field). I'm not having any luck extracting it from a shell command. I want to do something

feeding a private rsa key through the shell to get the public

2013-05-04 Thread Dr. Hawkins
I'm successfully generating an rsa key and putting it where I needed it (a field). I'm not having any luck extracting it from a shell command. I want to do something like put the shell of "echo " & fld privateKey & " | openssl rsa -pubout" but this yields a blank line and the private key. (on

Re: Finding orphaned "put"

2013-05-04 Thread J. Landman Gay
On 5/4/13 3:35 PM, william humphrey wrote: Grep is way to difficult to use for this. And it isn't just "into" it's also "after". I'm back to wishing there was a way to turn off the message box feature of being called without explicitly calling it. It is truly evil. If you are using LiveCode 6,

Re: Finding orphaned "put"

2013-05-04 Thread Alex Tweedly
6.0 contains a new feature (which I've not yet used :-) - in the message box there is a button (top right, looks kind of like a target symbol) when you click it, the editor shows you the source script line that caused the last output. That might help you in this case -- Alex. On 04/05/20

Re: Finding orphaned "put"

2013-05-04 Thread Mark Wieder
william- Saturday, May 4, 2013, 1:15:47 PM, you wrote: > I have many lines of script which say "put something into variable" > I have one line of script which just says "put variable" - what that does > is open the message box. I'd like to find that line of script and delete > it. > Could I rea

Re: Finding orphaned "put"

2013-05-04 Thread Jerry Jensen
On May 4, 2013, at 1:35 PM, william humphrey wrote: > Grep is way to difficult to use for this. And it isn't just "into" it's > also "after". And also "before". Also a bunch of other things that you can see in the dictionary by finding "put". Also require white space before and after so you do

Re: Word document indexer

2013-05-04 Thread Alejandro Tejada
Hi Skip, skiplondon wrote > [snip] I was looking to index a large amount of WORD documents > that I could then reference via a text search. Download and try this software: http://www.runrev.com/store/product/word-lib-1-3-0/ Have a nice weekend! Alejandro -- View this message in context: h

Re: Finding orphaned "put"

2013-05-04 Thread Peter Haworth
Hi WIlliam, You should be able to find your orphaned puts using a regular expression in the Find box In the script editor window, type command-F then click the More button and the the expand arrow for iptions, then check the regular expression box. In the Find What box type: ^\s+put\s.((?!(into|

Re: Finding orphaned "put"

2013-05-04 Thread Dr. Hawkins
On Sat, May 4, 2013 at 1:05 PM, william humphrey wrote: > I remember reading somewhere that version 6.0 or maybe GLX2 script editor > has a way to find an orphaned "put". Anybody have any suggestions? If I > search for every "put" in my 6500 lines of code it will take a while and my > eyes will g

Re: Finding orphaned "put"

2013-05-04 Thread Robert Sneidar
You should be able to do this in lc. Put the script of into -- repeat loop to put the line number of each line before eeach line in the variable Filter with "*put*" Filter without "*into*" Put a loop around it for every object in you project and build a list of objects and line numbers.

Re: Finding orphaned "put"

2013-05-04 Thread william humphrey
Grep is way to difficult to use for this. And it isn't just "into" it's also "after". I'm back to wishing there was a way to turn off the message box feature of being called without explicitly calling it. It is truly evil. On Sat, May 4, 2013 at 4:20 PM, william humphrey wrote: > 2335 lines hav

Re: Data Grid Question

2013-05-04 Thread Mike Bonner
Look here... http://lessons.runrev.com/s/lessons/m/datagrid/l/7329-how-do-i-display-line-numbers-in-a-table On Sat, May 4, 2013 at 2:08 PM, Joe Hamburger wrote: > Hi, > > Is it possible to have a column in a data grid that doesn't change when the > other columns are sorted? What I'm trying to d

Re: Finding orphaned "put"

2013-05-04 Thread william humphrey
2335 lines have the word "put". I haven't figured out how to tell BBedit to find just before a "return" and without the word "into". On Sat, May 4, 2013 at 4:17 PM, Robert Sneidar wrote: > Off the top of my head, put the script into a variable. Filter with > "put*". Filter without "into". Not su

Re: Finding orphaned "put"

2013-05-04 Thread Robert Sneidar
Off the top of my head, put the script into a variable. Filter with "put*". Filter without "into". Not sure what you mean by orphaned. Erm... Without "*into*" Now that I think of it prolly have to filter for "*put*". Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 4, 2013, at

Re: Finding orphaned "put"

2013-05-04 Thread Mark Schonewille
William, Write a repeat loop that loops through all stacks, cards and their controls and checks all scripts for a line that contains put but not into. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitte

Re: changing table owners in postgres from livecode

2013-05-04 Thread Dr. Hawkins
And the answer . . . On Thu, May 2, 2013 at 5:33 PM, Dr. Hawkins wrote: > Just as I thought I had things under control . . . > BEGIN TRANSACTION; > CREATE TABLE blah bla blah; > ALTER TABLE blah OWNER TO dhbk; > COMMIT; It seems that this block of code needs to be placed somewhere where it actua

Re: Finding orphaned "put"

2013-05-04 Thread william humphrey
I have many lines of script which say "put something into variable" I have one line of script which just says "put variable" - what that does is open the message box. I'd like to find that line of script and delete it. Could I really put 6000 lines of script in a variable? But you have given me a

Re: Finding orphaned "put"

2013-05-04 Thread Robert Sneidar
Off the top of my head, put the script into a variable. Filter with "put*". Filter without "into". Not sure what you mean by orphaned. Erm... Without "*into*" Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 4, 2013, at 13:05, william humphrey wrote: > I remember reading somew

Re: Finding orphaned "put"

2013-05-04 Thread Robert Sneidar
Off the top of my head, put the script into a variable. Filter with "put*". Filter without "into". Not sure what you mean by orphaned. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 4, 2013, at 13:05, william humphrey wrote: > I remember reading somewhere that version 6.0 or

Data Grid Question

2013-05-04 Thread Joe Hamburger
Hi, Is it possible to have a column in a data grid that doesn't change when the other columns are sorted? What I'm trying to do is create a ranking system of my accounts. The first column is the rank number so I want that to be constant and not sortable. I still want to scroll that column with

Finding orphaned "put"

2013-05-04 Thread william humphrey
I remember reading somewhere that version 6.0 or maybe GLX2 script editor has a way to find an orphaned "put". Anybody have any suggestions? If I search for every "put" in my 6500 lines of code it will take a while and my eyes will go blurry reading each one to check if it is putting to the messag

Re: [ANN] Book. Programming LiveCode for the Real Beginner

2013-05-04 Thread Mark Schonewille
Hi, Thank you, everyone, for the nice on- and off-list wishes. I feel really supported and am happy with the great, welcoming response. I sent the book to the printing company three days ago and am now waiting for delivery. We expect to have the books in the office between 10 and 14 May. We'