dgh_findIndexes Overwrites Button Script

2014-05-06 Thread Bob Sneidar
Hi all. Wondering if anyone else has seen this: I have a button called Utilities which contains commonly used commands and functions. It seems to have been overwritten by one handler, dgh_findIndexes. All the backups I have are also overwritten. I have not used Datagrid Helper in well over a

Re: Error Messages Are Evil

2014-05-11 Thread Bob Sneidar
Call me a naysayer, but I think the premise is nonsense. Only a perfect machine could conform to those standards, and there is no perfect machine. All will have or develop problems, and to not inform the user when that happens is irresponsible at best, and disastrous at worse. And it doesn’t

Re: Unicode

2014-05-11 Thread Bob Sneidar
Post a bug report. That is what pre-releases are for. http://quality.runrev.com/ Also, try with no plugins and a new set of preferences. Bob On May 11, 2014, at 17:31 , Alain Farmer alain_far...@yahoo.com wrote: Hello, I am using version 6.1.0-rc-1 (Desktop) None of the unicode stuff

Re: Error Messages Are Evil

2014-05-11 Thread Bob Sneidar
that never got dirty, and clothes that put themselves on our bodies when we called for them? Well, that WOULD be nice indeed! Bob S On May 11, 2014, at 10:48 , Bob Sneidar bobsnei...@iotecdigital.commailto:bobsnei...@iotecdigital.com wrote: Call me a naysayer, but I think the premise

Re: dgh_findIndexes Overwrites Button Script

2014-05-13 Thread Bob Sneidar
, at 12:35 PM, Bob Sneidar bobsnei...@iotecdigital.com wrote: Hi all. Wondering if anyone else has seen this: I have a button called Utilities which contains commonly used commands and functions. It seems to have been overwritten by one handler, dgh_findIndexes. All the backups I have

Re: Need to compare two datagrids

2014-05-13 Thread Bob Sneidar
Easier to work with SQL. Dump your data into two memory resident sqLITE databases and use SQL for your comparisons. I did mention quite a while ago how nice it would have been to get a single column of data from a data grid. But it would not be too difficult to get into the library and write

Make stack close itself

2014-05-20 Thread Bob Sneidar
Hi all. I am at a complete loss. I am trying to make a stack close itself via script. I get you cannot do this while a script is running, so I tried send in time. No dice. Stack no close. I tried send “close me” to this stack in 1 second. No close. I tried sending close stack (insert the long

Re: Checkboxes

2014-05-20 Thread Bob Sneidar
erm… until you encounter combo boxes, which are like a hybrid field and button, but in the end are classified as a button. Bob S On May 6, 2014, at 06:20 , Mike Kerner mikeker...@roadrunner.commailto:mikeker...@roadrunner.com wrote: Pretty soon they start to abstract it on their own - a

UPDATE: Make stack close itself

2014-05-20 Thread Bob Sneidar
NVM I think I am trapping closeStack somewhere. Bob On May 20, 2014, at 18:40 , Bob Sneidar bobsnei...@iotecdigital.com wrote: Hi all. I am at a complete loss. I am trying to make a stack close itself via script. I get you cannot do this while a script is running, so I tried send in time

Re: UPDATE: Make stack close itself

2014-05-20 Thread Bob Sneidar
NVM my NVM. I passed all the closeStack messages as well as the closeStackRequest messages. Stack still will not close. Bob S On May 20, 2014, at 19:11 , Bob Sneidar bobsnei...@iotecdigital.com wrote: NVM I think I am trapping closeStack somewhere. Bob On May 20, 2014, at 18:40

Re: UPDATE: Make stack close itself

2014-05-21 Thread Bob Sneidar
I’m running 6.6.1. I do not have 2 copies open however. The stack is a substack of my main stack. I use stacks as software modules, so to speak, in this application. I hide my mainstack window when I open a substack module. When I close the substack window, my on closeStack handler in the main

Re: UPDATE: Make stack close itself

2014-05-21 Thread Bob Sneidar
...@hyperactivesw.commailto:jac...@hyperactivesw.com wrote: On 5/20/2014, 9:41 PM, Bob Sneidar wrote: NVM my NVM. I passed all the closeStack messages as well as the closeStackRequest messages. Stack still will not close. If you are trying to not just close the stack but also remove it from memory, I hit a similar problem

Re: UPDATE: Make stack close itself

2014-05-21 Thread Bob Sneidar
terminates, this handler does not get triggered, but if I enter idle in the message window it executes. Very odd. Bob S On May 21, 2014, at 08:30 , Bob Sneidar bobsnei...@iotecdigital.commailto:bobsnei...@iotecdigital.com wrote: I’m running 6.6.1. I do not have 2 copies open however. The stack

Re: UPDATE: Make stack close itself

2014-05-21 Thread Bob Sneidar
Not getting passed to the mainstack either. Not a back script problem. Bob On May 21, 2014, at 08:48 , Bob Sneidar bobsnei...@iotecdigital.commailto:bobsnei...@iotecdigital.com wrote: Okay it looks like the idle command is not getting passed to the back script for some reason. I have

Re: UPDATE: Make stack close itself

2014-05-21 Thread Bob Sneidar
Okay well that is making a little more sense. So if I put an on idle handler in all my stacks and then pass the message, it should filter down to my mainstack. I suppose I could insert the stack-closing-code in all my substacks, but that makes me feel dirty somehow. ;-) Bob S On May 21,

Re: UPDATE: Make stack close itself

2014-05-21 Thread Bob Sneidar
all running handlers in that stack had terminated, but that is probably too much to ask. Bob S On May 21, 2014, at 11:31 , Bob Sneidar bobsnei...@iotecdigital.commailto:bobsnei...@iotecdigital.com wrote: Okay well that is making a little more sense. So if I put an on idle handler in all my

Re: UPDATE: Make stack close itself

2014-05-23 Thread Bob Sneidar
that is the issue. The Idle option seems to work fine. In fact it’s the only option that works at all in this scenario! Thanks for the reply though. Bob S On May 21, 2014, at 11:48 , Robert Brenstein r...@robelko.commailto:r...@robelko.com wrote: On 21.05.2014 at 18:31 Uhr + Bob Sneidar apparently

Re: Highlited text in a cd fld

2014-05-23 Thread Bob Sneidar
I have a similar issue with any field. The focus is lost when switching to another app. It’s not just that the text is no longer selected, the cursor is no longer at the end of the text you were typing and the focus border is off for the field you were typing in. I have to click where I was

Re: Handler is being ignored: Why?

2014-05-23 Thread Bob Sneidar
What are the values of parg1 and parg2 just before the call to the command? Also, try dispatch thatCommand with arg1, arg2 and see if that works. Bob S On May 23, 2014, at 13:09 , Paul Dupuis p...@researchware.commailto:p...@researchware.com wrote: 2) Stepping through the thisCommand script

Re: 7.0.0 dp 5

2014-05-27 Thread Bob Sneidar
Richmond refuses to use the water wings. Bob S On May 25, 2014, at 09:52 , Mark Wieder mwie...@ahsoftware.netmailto:mwie...@ahsoftware.net wrote: Warren- Sunday, May 25, 2014, 9:26:57 AM, you wrote: It shows the same build number in the About screen. You have to wonder exactly where the

Re: 7.0.0 dp 5

2014-05-27 Thread Bob Sneidar
I suppose this means Richmond and I think alike… On May 25, 2014, at 10:29 , Richmond richmondmathew...@gmail.commailto:richmondmathew...@gmail.com wrote: Some of us are wanting to get deeper into the pool (and I don't mean the brown, smelly one), but are waiting on some PPC waterwings . . .

Re: What is the max number of points in vector graphic?

2014-05-27 Thread Bob Sneidar
I remember long ago that if an Illustrator document had more than a certain number of points, it would crash the postscript processor. It’s probably related in that regard. Bob S On May 22, 2014, at 12:13 , BNig bernd.niggem...@uni-wh.de wrote: Hi Al, I think Craig ran into a display

Re: sloooowww standalone building with many included files

2014-05-27 Thread Bob Sneidar
Apple let an app through with 8500 audio files attached? How big is the app when compiled? Bob On May 22, 2014, at 11:29 , Chris Sheffield cmsheffi...@icloud.commailto:cmsheffi...@icloud.com wrote: So I have an app. An iOS app. This app includes lots and lots of small audio files (nearly

Re: [ANN] tmControl2 First Release

2014-06-05 Thread Bob Sneidar
I said he was a genius years ago. Nice to see you guys are catching up with me! ;-) Bob S On Jun 1, 2014, at 10:55 , J. Landman Gay jac...@hyperactivesw.commailto:jac...@hyperactivesw.com wrote: Oh man, this is marvelous. I'm not even working on mobile right now and I bought it anyway. The

Re: LiveCode 7.0.0-DP-5 Linux

2014-06-06 Thread Bob Sneidar
Frankly, in all the time I’ve been installing software, I have not encountered a need for doing a user only install. Bob S On May 28, 2014, at 11:20 , Richmond richmondmathew...@gmail.commailto:richmondmathew...@gmail.com wrote: On 28/05/14 18:22, Fraser Gordon wrote: On 28 May 2014, at

Re: Quitting with the close box on Mac

2014-06-06 Thread Bob Sneidar
I agree Stephen. Sometimes software companies make changes because they, “have to do something!” I don’t think that is a good reason for changing anything. Look at Microsoft! Every three years on EVERY SOFTWARE PRODUCT THEY SELL, they HAVE to produce a major upgrade, or risk pissing off

Re: numberFormat question

2014-06-16 Thread Bob Sneidar
Also, if you don’t care about display, just set the *precision* to LC max. Numberformat is as others have posted, really a display function. After you are done, set the numberFormat back to default or “0”. I bit myself in the butt because I had a counter that I was using to append a number to a

Re: Open stack problem

2014-07-15 Thread Bob Sneidar
More than likely, there is a script in the stack you open, or possibly the stack you are opening from, that has a runtime error that silently fails and script execution stops. But trying to explain why it works when you double click and not when you click the button would be much more difficult

Send mail encrypted with attachments

2014-08-14 Thread Bob Sneidar
Hi all. I got Sarah Reichelts SMTP library (and paid for it) and it’s very cool, but it does not seem to work with SSL encrypted connections, like Gmail for example. Has anyone done this? Might I use Livecode’s built in SSL library to retrofit her SMTP library to support SSL? Bob S

Re: Send mail encrypted with attachments

2014-08-14 Thread Bob Sneidar
a read error. Any ideas on how to go about opening a secure SMTP connection? Bob S On Aug 14, 2014, at 13:21 , Bob Sneidar bobsnei...@iotecdigital.com wrote: Hi all. I got Sarah Reichelts SMTP library (and paid for it) and it’s very cool, but it does not seem to work with SSL encrypted

Re: Helping newcomers anticipate that standalones can't save to themselves

2014-08-15 Thread Bob Sneidar
hmmm… it would be too much to ask that the test mode could simulate the windows environment on a Mac and vis versa. Fairly impossible I suppose to emulate Linux… Bob S On Aug 15, 2014, at 07:21 , Ludovic THEBAULT ludovic.theba...@laposte.netmailto:ludovic.theba...@laposte.net wrote: Le 15

Re: Helping newcomers anticipate that standalones can't save to themselves

2014-08-15 Thread Bob Sneidar
Okay, so let’s remember that a Dev Environment is an order of magnitude (or more) more complex that simply running an application. It’s an application that builds applications, for crying out loud, and people who take up software development need to get used to the idea that they are going to

Re: Helping newcomers anticipate that standalones can't save to themselves

2014-08-15 Thread Bob Sneidar
Thanks Richard. I tried that some time ago but it didn’t work with all apps. I suppose you are saying it will work with Livecode? I will give that a try! Bob S On Aug 15, 2014, at 12:31 , Richard Gaskin ambassa...@fourthworld.com wrote: Bob Sneidar wrote: All that being said, it *would

Re: revDataFromQuery and DELETE FROM

2014-08-18 Thread Bob Sneidar
Or use sqlYoga! ;-) Bob S On Aug 18, 2014, at 02:43 , John Craig j...@splash21.com wrote: Peter's correct - use revExecuteSQL since no records are returned On 17/08/2014 19:20, Peter Haworth wrote: Hi Dan, What is the text after revdberr? Strange that the row is being deleted but

Re: Bug with diacriticals in folder names

2014-08-18 Thread Bob Sneidar
Sure! It’s called the, “Apple OS”. ;-) Not sure about the graphical stuff tho’. Also, not sure how you would go about installing it. Bob S On Aug 18, 2014, at 11:02 , Alain Farmer alain_far...@yahoo.com wrote: Hey! I found an easy workaround to the problem of diacriticals in folder

Re: Two quick questions:

2014-08-20 Thread Bob Sneidar
Sorry I meant long name. Bob S On Aug 19, 2014, at 22:47 , Paul D. DeRocco pdero...@ix.netcom.com wrote: 1) What's the simplest way to test if running under the LC IDE versus as a standalone? 2) For a Mac standalone, how do I get the full path of the .app file, which is actually a

Re: Two quick questions:

2014-08-20 Thread Bob Sneidar
I don’t have a standalone to test with at the moment but try the full name of the stack. Bob S On Aug 19, 2014, at 22:47 , Paul D. DeRocco pdero...@ix.netcom.com wrote: 1) What's the simplest way to test if running under the LC IDE versus as a standalone? 2) For a Mac standalone, how do

Re: Arrays in LC [was: Re: [TAO] value() to obtain pointer functionality]

2014-08-20 Thread Bob Sneidar
How about using {} instead of []? Bob S On Aug 20, 2014, at 07:24 , Richard Gaskin ambassa...@fourthworld.commailto:ambassa...@fourthworld.com wrote: So if we were to propose that LiveCode add indexed arrays, the first thing we'll want to do is come up with the syntax for specifying those

Re: Arrays in LC [was: Re: [TAO] value() to obtain pointer functionality]

2014-08-27 Thread Bob Sneidar
The second command generates an error, just like adding one + 1. But that brings up an interesting point: Can an indexed array contain associative arrays and vis versa? Nice little pickle. And how do you tell, or is it important necessarily to tell? Bob S On Aug 20, 2014, at 08:23 ,

Re: Arrays in LC [was: Re: [TAO] value() to obtain pointer functionality]

2014-08-27 Thread Bob Sneidar
Come to think of it, Trevor Devore seems to have found a way for numerically indexed arrays to have their keys in order in sqlYoga. Also, when you get the dgData of a data grid, the array is “numerically indexed” by which I mean the keys of the array are numbers, and they are in numerical

Re: Arrays in LC [was: Re: [TAO] value() to obtain pointer functionality]

2014-08-27 Thread Bob Sneidar
Didn’t know that thanks Pete. Bob S On Aug 20, 2014, at 09:33 , Peter Haworth p...@lcsql.com wrote: I wouldn't be in favor of using {}. Problem is that LC currently accepts those characters as delimiters for the keys of an array. I don't use them on purpose but every now and again I

Re: Arrays in LC [was: Re: [TAO] value() to obtain pointer functionality]

2014-08-27 Thread Bob Sneidar
Good luck getting RunRev to deprecate anything. One of their huge selling points has always been backwards compatibility. Bob S On Aug 20, 2014, at 09:56 , Jacques Hausser jacques.haus...@unil.chmailto:jacques.haus...@unil.ch wrote: What I suggested is ONLY to deprecate (not suppress, just

Re: Should dispatch be extended for timers?

2014-08-27 Thread Bob Sneidar
You cannot dispatch in time. But you can send in time. If you: send doSomething to me in 0 seconds do someotherthingsfirst then someotherthingsfirst will run and anything else that comes after it. doSomething will run the next idle message. Bob S On Aug 27, 2014, at 07:46 , dunb...@aol.com

Re: revDataFromQuery and DELETE FROM

2014-08-27 Thread Bob Sneidar
I just put all calls to database functions inside a try/catch construct. Bob S On Aug 20, 2014, at 15:09 , Dr. Hawkins doch...@gmail.com wrote: On Sun, Aug 17, 2014 at 8:33 PM, Dan Friedman d...@clearvisiontech.com wrote: Thanks for the reply. The entire error string is revdberr, (with

Re: revDataFromQuery and DELETE FROM

2014-08-27 Thread Bob Sneidar
Works so long as you are certain the affected rows will never be 0. Bob S On Aug 20, 2014, at 15:16 , Ralph DiMola rdim...@evergreeninfo.netmailto:rdim...@evergreeninfo.net wrote: Using the revExecuteSQL returns the number of deleted/inserted/updated rows in the result. Then the test is: If

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-27 Thread Bob Sneidar
Hey thanks for that Kay. I have a date conversion function that includes formats like sqlDate which the LC covert command does not support. This will be a nice addition. Bob S On Aug 23, 2014, at 01:28 , Kay C Lan lan.kc.macm...@gmail.commailto:lan.kc.macm...@gmail.com wrote: Nope, but this

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-27 Thread Bob Sneidar
Not to throw a wrench in the works, but wasn’t there some discussion in the past about different versions of Julian dates? Which one is the more widely accepted? I suppose the question could be formed, which one does Microsoft use for Excel? :-) Bob S On Aug 23, 2014, at 13:27 , Mark Wieder

Re: Why doesn't menupick work

2014-08-27 Thread Bob Sneidar
I see bugs sometimes, but usually it is after drinking too much skunk beer. Bob S On Aug 23, 2014, at 14:47 , revolut...@duncansoftware.on-rev.commailto:revolut...@duncansoftware.on-rev.com wrote: The crlf was created from my code. The bug is not with Livecode. The bug is staring at my

Re: [ANN] LiveCode meeting in the Netherlands

2014-08-27 Thread Bob Sneidar
I’ll be there in spirit. 1/4 norwegian. ;-) Bob S On Aug 24, 2014, at 15:11 , Mark Schonewille m.schonewi...@economy-x-talk.commailto:m.schonewi...@economy-x-talk.com wrote: Dear everyone, On 20th September 2014, there will be a LiveCode meeting in the Netherlands. The exact location will

Re: OpenField mystery

2014-08-27 Thread Bob Sneidar
I’ve seen this too Jacque in the current app I am working on. If I am in a field and I click the “Save” button closeField does not get sent to that field. I will use your solution to get around it. Bob S On Aug 23, 2014, at 14:22 , J. Landman Gay jac...@hyperactivesw.com wrote: On

Re: Open App/file

2014-08-27 Thread Bob Sneidar
check first that the application and document exist first tho’. Bob S On Aug 25, 2014, at 14:13 , Colin Holgate co...@verizon.net wrote: launch [document path] with [application path] should work, shouldn’t it? Read the Dictionary entry for other variations.

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-27 Thread Bob Sneidar
floor = roundDown? Bob On Aug 23, 2014, at 09:13 , Earthednet-wp proth...@earthednet.org wrote: Richmond, Floor of a number is the largest integer that is less than or equal to the number. For positive numbers, it would be trunc(myNumber) but for negative numbers, floor(-4.34) would have

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-27 Thread Bob Sneidar
Yer a bit low. I’d add a pint. Bob On Aug 23, 2014, at 11:29 , Richmond richmondmathew...@gmail.commailto:richmondmathew...@gmail.com wrote: No: I was running 2 pints of beer :) Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-27 Thread Bob Sneidar
Just what I was thinking. Bob S On Aug 23, 2014, at 12:13 , Richmond richmondmathew...@gmail.commailto:richmondmathew...@gmail.com wrote: Well, presumably one way to do this would be to check if the number is positive or negative, and then, if it is negative multiply it by -1, round it, and

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-27 Thread Bob Sneidar
Nicely done! I love this list!! Bob S On Aug 23, 2014, at 13:22 , Charles E Buchwald char...@buchwald.camailto:char...@buchwald.ca wrote: function Floor pValue if pValue 0 then return trunc(pValue) - 1 else return trunc(pValue) end Floor I know this is trivial, but here's a ceiling

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-27 Thread Bob Sneidar
I’ve always thought that LC should include a roundUp and roundDown version of round(). Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: ._!

2014-08-27 Thread Bob Sneidar
As an interesting side affect, and a treatise on why it’s never a good idea to do things this way, if I put Toshiba copier firmware on a USB drive using OS X, these hidden files end up also on the USB drive. Failing to remove these hidden files in Windows before attempting to apply the firmware

Re: ._!

2014-08-27 Thread Bob Sneidar
Nice! I’m going to try to create a script to do this in Livecode. I have a forms generator app I use everyday for work to manage the forms I need to do copier installs. It would be nice to have a button I can click that can unzip the current firmware for the copier and put it on the USB drive!

Re: which is faster for searching?

2014-08-28 Thread Bob Sneidar
Repeat for each has been optimized to run faster than other forms of repeat. Use whenever you can. One word of caution though: Do NOT change the value of what you are repeating. (Whatever comes after “in”.) I am pretty sure you should not alter the value returned (the variable after each

Re: unlock screen doesn't unlock screen

2014-08-28 Thread Bob Sneidar
replace “unlock screen” with “wait 0 seconds with messages”. The screen will unlock when an idle message is sent, which is what will happen when you wait 0 seconds with messages. Bob S On Aug 27, 2014, at 04:34 , j...@souslelogo.com wrote: actually the loop is like this (my mistake) :

Re: Slowdown when putting symbols into image data

2014-09-11 Thread Bob Sneidar
So… I guess I should stop waiting for a phone call about my job application… Bob S On Sep 10, 2014, at 16:20 , Scott Rossi sc...@tactilemedia.commailto:sc...@tactilemedia.com wrote: Kevin mentioned that in all this time they've only had one person leave, which is a huge departure from the

Re: Scripting Cut/Copy/Paste in custom menus

2014-09-13 Thread Bob Sneidar
it was opened, closeField *ought* to be sent! At any rate, I do not think there is a message I can send the the field to let it know the contents have changed. I am probably going to have to recode for textChanged. Bob S On Sep 13, 2014, at 17:55 , Bob Sneidar bobsnei...@iotecdigital.com wrote: Hi

6.6.2 or 6.6.3???

2014-09-26 Thread Bob Sneidar
Hi all. I’m wondering if any other Windows users are encountering this: I downloaded and installed the 6.6.3 installer, the commercial version, to test in my Windows 7 environment. But when the app launches it reports that it is 6.6.2! So I get an alert that there is a new version, 6.6.3, so

File Walker

2014-09-29 Thread Bob Sneidar
Hi all. I remember reading in a post that someone had made a stack that would walk through a file folder and enumerate all the files and folders. I cannot for the life of me find it in the Livecode Share site or the forums. I cannot search for “list files” or “find all files” because the

Re: General error function? (was Re: Should dispatch be extended for timers?)

2014-09-29 Thread Bob Sneidar
Doesn’t Applescript have an On Error function handler? I was looking for something of this sort when I first began working with Revolution and of course was directed to try/catch, but having an on error function, and then being able to turn off debugging would be a cleaner way of doing it. This

Re: File Walker

2014-09-29 Thread Bob Sneidar
Thanks Richard! I will work this into what I am doing, and also take the time to study what it was I was doing wrong. Bob S On Sep 29, 2014, at 09:01 , Richard Gaskin ambassa...@fourthworld.com wrote: http://www.sonsothunder.com/devres/livecode/tips/file007.htm -- Richard Gaskin

Re: Delete columns... How?

2014-09-29 Thread Bob Sneidar
Might just be simpler to put the data into a memory based sqLite table, then delete the column and put the data back into a string list. But of course that begs the question, why are you not using arrays and sql tables in the first place? I’ve pointed out before that the array retuned in Trevor

Is Binfile broken?

2014-09-30 Thread Bob Sneidar
I have 2 variables: theSourceFile which is binfile:/Users/bobsneidar/Documents/Livecode Projects/Forms Generator/Installs/1105 Media Inc/Chatsworth/20140805-Service Invoice.pdf TheDestFile which is binfile:/Users/bobsneidar/Desktop/Install Forms/1105 Media Inc/Chatsworth/20140805-Service

Re: Is Binfile broken?

2014-09-30 Thread Bob Sneidar
permissions to write, it still seems to be giving me fits. Bob S On Sep 30, 2014, at 09:13 , Richard Gaskin ambassa...@fourthworld.commailto:ambassa...@fourthworld.com wrote: Bob Sneidar wrote: I have 2 variables: theSourceFile which is binfile:/Users/bobsneidar/Documents/Livecode Projects/Forms

Re: Is Binfile broken?

2014-09-30 Thread Bob Sneidar
and they seem to work. I’m completely stymied here. Bob S On Sep 30, 2014, at 10:25 , Bob Sneidar bobsnei...@iotecdigital.commailto:bobsnei...@iotecdigital.com wrote: Thanks Richard. I get “Can’t open that file.” in the result for the write. Very informative. ;-) Now I have to figure out

Re: Is Binfile broken?

2014-09-30 Thread Bob Sneidar
end if write theSourceData to file theDestFile close file theDestFile end if end repeat end syncFiles Bob S On Sep 30, 2014, at 10:47 , Richard Gaskin ambassa...@fourthworld.com wrote: Bob Sneidar wrote: On Sep 30, 2014, at 09:13 , Richard Gaskin

Re: Is Binfile broken?

2014-09-30 Thread Bob Sneidar
Okay I think I know what the problem is. You can only create one folder at a time it seems. If I begin at /Users/bobsneidar/Desktop/Install Forms/, I can create a folder /Users/bobsneidar/Desktop/Install Forms/Chatsworth/ but *NOT* /Users/bobsneidar/Desktop/Install Forms/Chatsworth/18990/

Re: File Walker

2014-09-30 Thread Bob Sneidar
I think you are missing the point JB. Permissions are a tricky thing. The user is accessing the folders based upon his security token created at the time he logged in. Suppose this is a file server, and midway through, the IT person changed permissions? You will get an error trying to open that

Re: File Walker

2014-09-30 Thread Bob Sneidar
or other things when others do access them I would not be happy. On that basis for the very few like me who will have a problem I will not use it. John Balgenorth On Sep 30, 2014, at 2:03 PM, Bob Sneidar bobsnei...@iotecdigital.com wrote: I think you are missing the point JB. Permissions

Re: Sorting a multidimensional array

2014-09-30 Thread Bob Sneidar
Consider however that you can get the keys of an array and sort them as an index to the array. put the keys of myArray into theKeys sort theKeys ascending numeric repeat for each line theCurrentKey in theKeys put myArray [theCurrentKey] into theValue — do something with theValue end repeat

Re: Merging PDF files through LC

2014-09-30 Thread Bob Sneidar
I wonder what would happen if you opened the two PDF’s as binary files, then wrote them back out to a single file… Bob S On Sep 30, 2014, at 06:21 , Magicgate Software - Skip Kimpel s...@magicgate.com wrote: Good morning, Anybody know of a way (on Windows) to merge two PDF documents

Re: ShellShock - what are you doing?

2014-09-30 Thread Bob Sneidar
Okay so if you turn off SSH in the Sharing panel, no one is getting at your Mac anyway. Just turn it off. Routers and Cameras on the other hand you may not be able to turn it off, those are the devices you *really* need to be concerned about. Bob S On Sep 25, 2014, at 13:12 , Mark

Re: ShellShock - what are you doing?

2014-09-30 Thread Bob Sneidar
If you have enabled SSH in the sharing panel of preferences. Bob S On Sep 26, 2014, at 14:33 , Bruce Pokras bruc...@comcast.net wrote: Can anyone explain exactly what this means? What are those special, advanced Unix services? But Apple said in an emailed statement that most of its users

Re: ShellShock - what are you doing?

2014-09-30 Thread Bob Sneidar
A jailbroken iPhone has shell capability. Bob S On Sep 27, 2014, at 20:04 , J. Landman Gay jac...@hyperactivesw.commailto:jac...@hyperactivesw.com wrote: Yeah. I think a lot of servers will be in trouble, but fewer consumers than the media makes it out to be. I have discovered: Android

Re: Merging PDF files through LC

2014-09-30 Thread Bob Sneidar
Balgenorth On Sep 30, 2014, at 3:25 PM, Bob Sneidar bobsnei...@iotecdigital.com wrote: I wonder what would happen if you opened the two PDF’s as binary files, then wrote them back out to a single file… Bob S On Sep 30, 2014, at 06:21 , Magicgate Software - Skip Kimpel s

Re: Replacing Characters

2014-09-30 Thread Bob Sneidar
Use repeat with i - 1 to the number of characters of myString step 3 Bob S On Sep 27, 2014, at 24:23 , JB sund...@pacifier.com wrote: Another thing to consider is the characters are not in any specific crder. It could be cfacded or anything else. If is use a repeat for each char and the

Re: OT: Need a quick look into your OS X 10.9

2014-09-30 Thread Bob Sneidar
Just repair your permissions. Bob S On Sep 29, 2014, at 02:11 , Tiemo Hollmann TB toolb...@kestner.de wrote: Hello, I accidentially changed the rights on my /users/ dir on OS X 10.9.5 with chmod and I am not sure what the original setting was. For testing my app with different user

Re: List Folders and Files

2014-09-30 Thread Bob Sneidar
A lust list of all the folders on your hard drive?? What kind of files are we talking about here??? just kidding Bob S On Sep 28, 2014, at 07:04 , JB sund...@pacifier.commailto:sund...@pacifier.com wrote: The main thing I am interested in doing is lust list all of the folders on a hard

Re: Merging PDF files through LC

2014-09-30 Thread Bob Sneidar
And *THAT* is why I LOVE THIS LIST!!! Bob S On Sep 30, 2014, at 16:13 , Matthias Rebbe | M-R-D matthias_livecode_150...@m-r-d.demailto:matthias_livecode_150...@m-r-d.de wrote: http://applehelpwriter.com/2013/03/23/how-to-merge-pdf-files-in-os-x/ shows how to use applescript to merge PDFs.

Re: 6.6.2 or 6.6.3???

2014-09-30 Thread Bob Sneidar
No big deal, I just wanted to make sure that the posted update was not actually 6.6.2. Bob S On Sep 26, 2014, at 11:38 , Fraser Gordon fraser.gor...@livecode.com wrote: On 26/09/2014 19:24, la...@significantplanet.org wrote: Hi Bob, I had the exact same experience that you did. I just

Re: sorting question

2014-09-30 Thread Bob Sneidar
You could try sort items of field myField” by char 2 to 3 of each text ascending but you would have to add a space before the first item. Bob S On Sep 24, 2014, at 01:19 , la...@significantplanet.orgmailto:la...@significantplanet.org wrote: sort items of field myField text ascending

Re: sorting question

2014-09-30 Thread Bob Sneidar
Even better. DOH! Bob S On Sep 26, 2014, at 01:30 , Kay C Lan lan.kc.macm...@gmail.commailto:lan.kc.macm...@gmail.com wrote: sort items of tStore by word 1 of each ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Merging PDF files through LC

2014-09-30 Thread Bob Sneidar
be used in Xcode that will show what is going on. John Balgenorth On Sep 30, 2014, at 3:57 PM, Bob Sneidar bobsnei...@iotecdigital.com wrote: Adobe has a document describing the structure. Looks like the format is a little more complicated than would permit this. I tried

Re: File Walker

2014-10-01 Thread Bob Sneidar
How about getting the detailed files? There may be information in the details where you can discern whether or not a user would be able to see the files. Bob S On Sep 30, 2014, at 17:04 , JB sund...@pacifier.com wrote: I understand there are things a normal person cannot and should not

Re: Merging PDF files through LC

2014-10-01 Thread Bob Sneidar
The easy way to do this is to assemble an FDF data file. I have already done this in my Forms Generator application. First, I export the form data. To get all the fields even the empty ones you have to create a javascript action, because the built in data export only exports fields with data in

Re: Merging PDF files through LC

2014-10-01 Thread Bob Sneidar
...@sealedair.commailto:roger.e.el...@sealedair.com wrote: That sounds like a pretty slick way to populate a form (hoping it works x-plat). The OP wants a Windows solution to combine pages though. On Wed, Oct 1, 2014 at 10:40 AM, Bob Sneidar bobsnei...@iotecdigital.commailto:bobsnei

Re: Prevent Stack Resizing

2014-10-08 Thread Bob Sneidar
I was having a problem where I would reposition all the controls on a page (after showing hidden of course!) and each time I closed the stack and reopened it, it was a different size!!! Also my controls seemed to all have a mind of their own. After poking around a bit I discovered that I had

Re: the price of a context switch/function call

2014-10-08 Thread Bob Sneidar
I get caught up in such thoughts from time to time, and then wake up to realize that the slow method is having absolutely no noticeable effect on the speed of my app, and won’t in the foreseeable future because the app is not of such a nature that it will scale to the point that it would.

Re: quotes question

2014-10-08 Thread Bob Sneidar
The first one is correct. Quote object names and values, do not quote variables. You can get away without quoting object names, but the code is more readable, and avoids (remotely) possible variable/object conflicts. Bob S On Oct 8, 2014, at 09:30 ,

Re: Reading Files

2014-10-09 Thread Bob Sneidar
Livecode supports xcmds still so far as I know. The trouble is, those xcmds were compiled for OS 9, and we are way past that. There is no way I know to convert a compiled OS 9 xcmd to an OX S xcmd. You would need the source, and then you would have to refactor it in a current compiler. Bob S

Re: Is this a bug or am I missing something?

2014-10-09 Thread Bob Sneidar
I’m curious if the button itself is focusable. Instead, call a function in the card script and use send in time. If it still results in two different objects, then Houston, we have a problem. Bob S On Oct 8, 2014, at 22:02 , John j...@onechip.com wrote: I have found a circumstance where

Answer File (RESOLVED)

2014-10-10 Thread Bob Sneidar
Hi all. I know this has been answered but I though I would post what I have found working with the answer file command and OS X. First, the dictionary does not make it all that clear how this works. For the type, you MUST supply at least the first and second pipe delimited values eg. “Adobe

Re: Is this a bug or am I missing something?

2014-10-10 Thread Bob Sneidar
Not sure why it matters. You cannot tab to an OS X button even if traversal on is true, unless of course you set some system property that escapes me at the moment to make you stack look and act like an ugly OS 9 hypercard-ish monstrosity. I even tried scripting to focus on the button, but it

Re: Answer File (RESOLVED)

2014-10-10 Thread Bob Sneidar
The filter is inclusive, not exclusive. You would need to include every file type on your computer EXCEPT the ones you want to exclude. That of course, is not practical. As I mentioned but did not likely make entirely clear, the *only* piped item that matters is the second one, or the second

Re: Getting a version number

2014-10-13 Thread Bob Sneidar
On OS X use mdls -name kMDItemVersion /Applications/your full app name (if you are using Spotlight to index files, which unless you have explicitly disabled the feature, you are). On Windows it looks like you need to install add-on software. There may be a javascript command that will work,

  1   2   3   4   5   6   7   8   9   10   >