Re: Stack focus

2017-04-06 Thread dunbarx via use-livecode
Certainly not as issue in v.6, where I languish. How about v.7? Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Stack-focus-tp4713754p4713758.html Sent from the Revolution - User mailing list archive at Nabble.com.

Re: spotting a mouseclick in the transparent area of an image

2017-04-06 Thread Ben Rubinstein via use-livecode
Hi Paul, Thanks for this - this was the perfect solution for my needs. (I just modified the loading script to add three lines: grab the alphaData, replace numtobyte(0) with numtobyte(1), put it back...). cheers, Ben On 03/04/2017 04:29, Paul Hibbert via use-livecode wrote: Ben, if you

Re: Could not open module file

2017-04-06 Thread William Prothero via use-livecode
This is a project I haven’t worked on for awhile. LiveCode 9.0 produces the same error message. I’ve tried it when setting it to detect inclusions, but there is the same error. Is there any reason the error dialog couldn’t specify which module it can’t load? I am assuming it is wanting some

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Bob Sneidar via use-livecode
I've created a monster. All the more reason to depricate numberformat and go with some kind of formatNumber() function like Excel has. I'll have a go today sometime. Bob S > On Apr 5, 2017, at 17:27 , Paul Dupuis via use-livecode > wrote: > > On 4/5/2017

Re: MDM and App deployment

2017-04-06 Thread JOHN PATTEN via use-livecode
Thanks Terry and Jacqueline, The file/app is being served via our MDM which is using https. Terry, you mention that the manifest file has to be perfect, do you happen to know what that would look like? I have never tweaked the manifest file that gets created automatically. I have been

Re: Stack focus

2017-04-06 Thread Richard Gaskin via use-livecode
Peter Bogdanoff wrote: > I’m seeing this issue where going from stack “A” to stack “B” doesn’t > focus on stack “B”: > > script: > go card 1 of stack "A" > go card 1 of stack “B" > > goes to stack “B” but its titlebar is greyed out until you physically > click on stack “B.” > > This: > go card 1

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Richard Gaskin via use-livecode
Paul Dupuis wrote: > On 4/5/17 5:48 PM, Richard Gaskin via use-livecode wrote: >> >> Confirmed - running this script in v9dp6 and again all the way back >> in v6.0: >> >> on mouseUp >>set the numberformat to "###.###" >>put 2.5 + 2.5 into x >>set the numberformat to "000.000" >>

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Bob Sneidar via use-livecode
I already have some functions for formatting numerical values I can submit for review. formatDate() is already in the masterLibrary. function formatMoney theValue -- strip out monetary symbols replace "$" with empty in theValue replace "¢" with empty in theValue switch case

html5 feature list anywhere? sqlite? local file access?

2017-04-06 Thread Dr. Hawkins via use-livecode
I am trying unsuccessfully to see what the feature list is for html5, and what, if anything, has been omitted. In particular, is SQLite still built in? (if not, I'd be dead in the water) Can things be saved to local files, and read back from them? (not much point in creating a document that

Re: Could not open module file

2017-04-06 Thread panagiotis merakos via use-livecode
Hi Bill, Thank you for the update. We have to make this error more descriptive, to indicate the specific widget that caused the problem. Best, Panos -- On Thu, Apr 6, 2017 at 6:25 PM, William Prothero via use-livecode < use-livecode@lists.runrev.com> wrote: > My problem was that I had the

Re: Could not open module file

2017-04-06 Thread William Prothero via use-livecode
My problem was that I had the Calendar widget installed. It is not in the correct format for current LC Versions. Bill > On Apr 6, 2017, at 7:48 AM, William Prothero via use-livecode > wrote: > > This is a project I haven’t worked on for awhile. LiveCode 9.0

Re: Negative Numbers and NumberFormat

2017-04-06 Thread hh via use-livecode
You forgot to give examples for Bob's original problem? The negative numbers ... ;-) > Paul D. wrote: >> put format("$%0.2f",tMoney) into msg >> >> for tMoney = 5.55, you get $5.55 >> for tMoney = 5.3, you get $5.33 >> >> want a space between the $, then use >> put format("$ %0.2f",tMoney)

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Paul Dupuis via use-livecode
I am curious why folks use numberFormat vs the format function (which is much more consistent and versatile). Is the issue the complexity of the formatting strings for the format function? put format("$%0.2f",tMoney) into msg for tMoney = 5.55, you get $5.55 for tMoney = 5.3, you get $5.33

Re: Stack focus

2017-04-06 Thread Peter Bogdanoff via use-livecode
Yes, when I start afresh with making two stacks one with a button that goes from one stack to the other and back again, all is well. I was doing this same thing earlier, but running the script from the multi-line message box. There, of course, the focus is on the message box and stays on the

Trying to make an HTML5 app

2017-04-06 Thread pink via use-livecode
I am trying to sell the powers that be on getting an HTML5 license, so I made up a quick little survey app, but I cannot successfully compile and run it. I'm time limited here, I need to get this working by tomorrow morning if I hope to get my boss to shell out some money... I have a few

Re: Could not open module file

2017-04-06 Thread William Prothero via use-livecode
Panos: Agreed. Thanks! I found that the Calendar widget was causing the problem. It is not compatible with livecode 9. Bill > On Apr 6, 2017, at 10:28 AM, panagiotis merakos via use-livecode > wrote: > > Hi Bill, > > Thank you for the update. We have to make

Calendar widget fails in Livecode 9

2017-04-06 Thread William Prothero via use-livecode
Folks: The calendar widget by Eleanor Buchanan fails in Livecode 9. I like that widget. Is there any replacement? Bill William A. Prothero http://earthlearningsolution.org/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Mike Bonner via use-livecode
Can't answer the rest, but as for the global.. Since you can utilize stacks with server, you could declare a global just as you would normally, in any scripts that needed it, and it would work just like in lc proper. It would only persist during the run of that particular instance. On Thu, Apr

Re: revZip functions, compressing and extracting folder for transfer

2017-04-06 Thread Matt Maier via use-livecode
I pulled the zip archiving functions out of the Master Library stack. It worked...except that it truncated the first character of every filename in the archive. This is the offending code from the addFolderToArchive handler: put theFile into theArchiveItemName put offset(pRootFolderPath,

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Paul Dupuis via use-livecode
Okay, put format("$ %05.2f",-5.553) into msg gives $ -5.55 I am sure there is some formatting someone would want that can not be done with the format function, but most can and without spending the time to exhaustively test, I suspect that anything you can do with numberFormat you can do with

Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Rick Harrison via use-livecode
I have a few variables I would like to pass from one .Introduced1.0OSmac, windows, linux, ios, androidPlatformsdesktop, server, mobile ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Bob Sneidar via use-livecode
put format("00:00:00", "9:50:00") produces 00:00:00. put format("##:##:##", "9:50:00") produces ##:##:##. put format("nnn.nnn.nnn.nnn", "192.168.1.1") produces nnn.nnn.nnn.nnn Point being, format is great for formatting NUMBERS, not converting truncated numeric values in between delimiters or

Re: Trying to make an HTML5 app

2017-04-06 Thread Terry Judd via use-livecode
Using the community license - 9.0.0 (dp 5) - I couldn’t get a HTML5 app to run if it included any SVG widgets. I’m not sure if this problem extends to other widget types or not but as a workaround I converted all the SVGs to bitmaps. I’d try taking out the SVGs to start with and see if that

Re: use-livecode Digest, Vol 163, Issue 13

2017-04-06 Thread Peter Reid via use-livecode
Hi HH Thanks for the advice, it was the paintCompression that caused the problem. In the IDE it defaults to PNG but in the standalone it defaults to RLE instead. As I didn't set it, the value was the default for the environment! I simply added: set the paintCompression to png to

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > So the answer is - only in a stack. > Perhaps the dictionary should have > a comment stating or clarifying that fact. Mike said: Can't answer the rest, but as for the global.. Since you can utilize stacks with server, you could declare a global just as you would

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Rick Harrison via use-livecode
Hi Mike, So the answer is - only in a stack. Perhaps the dictionary should have a comment stating or clarifying that fact. Thanks, Rick > On Apr 6, 2017, at 4:27 PM, Mike Bonner via use-livecode > wrote: > > Can't answer the rest, but as for the global..

Re: use-livecode Digest, Vol 163, Issue 13

2017-04-06 Thread Richard Gaskin via use-livecode
Peter Reid wrote: > Thanks for the advice, it was the paintCompression that caused the > problem. In the IDE it defaults to PNG but in the standalone it > defaults to RLE instead. As I didn't set it, the value was the > default for the environment! I simply added: > >set the

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Paul Dupuis via use-livecode
On 4/6/2017 5:04 PM, Bob Sneidar via use-livecode wrote: > put format("00:00:00", "9:50:00") produces 00:00:00. > put format("##:##:##", "9:50:00") produces ##:##:##. > put format("nnn.nnn.nnn.nnn", "192.168.1.1") produces nnn.nnn.nnn.nnn put format("%2d:%02d:%02d", 9,50,0) produces 9:50:00

Re: MDM and App deployment

2017-04-06 Thread JOHN PATTEN via use-livecode
Hi All, Since I don’t know what a proper manifest file (info.plist) should look like, other than what LiveCode creates via the standalone process, and I could not get my hands on one someone is using for their apps in the JAMF MDM, I decided just to build an app in Xcode/Swift and extract its

Re: MDM and App deployment

2017-04-06 Thread Terry Judd via use-livecode
Hi John – it’s really just about making sure that all your urls are correct and match up in the html and manifest files. If that’s all ok (and you’re serving the files via https) then it’s more likely to be a provisioning problem. Terry... On 7/04/2017 1:28 am, "use-livecode on behalf of JOHN

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Bob Sneidar via use-livecode
Oh that is interesting. Each number has to be a separate argument. That is something I did not glean from reading the docs a while back. Bob S On Apr 6, 2017, at 14:26 , Paul Dupuis via use-livecode > wrote: put

Re: Standalone Magnify Problem

2017-04-06 Thread hh via use-livecode
> Peter R. wrote: > I have it working fine when I'm in the development environment > but it's not working reliably in a standalone app. a) Did you already check to have the same paintcompression in both environments? b) If you make such large images (why?) you may get a conflict with the

Re: LC-Magick Collection

2017-04-06 Thread hh via use-livecode
Added today #8: MoonEffect (Elliptical distortion/ Fisheye) Antialiasing part by 'BNig'(Bernd), Distortion part by 'hh'(Hermann). http://forums.livecode.com/viewtopic.php?p=153159#p153159 This is our "easter-egg" for the LC Community! > LC-Magick #7 - Cuboid (3D-Box 'wearing' images) (Hermann

Re: use-livecode Digest, Vol 163, Issue 13

2017-04-06 Thread hh via use-livecode
Richard, these are hard words. 1) The diff is announced _loudly_ in the dict. 2) setting the paintcompression to RLE can speed up significantly in most cases. More than 16GB of RAM and huge GPUs are not from the time when this was introduced (when you was a young boy with curly hair). They

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Mike Bonner via use-livecode
I was mainly referring to the fact that an lc server script isn't restricted to a single script file, so scope still matters. (Clarity is not my strong suit) So as in a standalone etc, to use a global one would need to declare it in each script where it needs to be available, whether server or

LC Server on Win and CURL

2017-04-06 Thread Malte Brill via use-livecode
Hi all, I wonder if somebody of you can enlighten me here. I am trying to use curl with liveCode Server. No Probs on a Mac, but Windows is behaving strange… set the shellCommand to "cmd“ — mail client might put in wrong quote mark put shell("c:/curl/bin/curl " & quote & "http://google.de“ &

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Mike Bonner via use-livecode
Ah k. Still not sure what you mean about how its installed, but if you are hitting lc server script pages directly in the browser through a web server, that part most likely doesn't matter. (otherwise i'm sure you'll correct me) It sounds like you need to use session management. If all your

iOS "Invalid entitlements"

2017-04-06 Thread Sannyasin Brahmanathaswami via use-livecode
I was having difficulty with a stack and deleted all the stack files in the list and put empty into cRevStandaloneSettings and started fresh. Now I am getting "invalid entitlements" when trying to install on my iPhone. I did have a new user and I added their UDID, cleaned up all my old

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Rick Harrison via use-livecode
Hi Richard, Ok, let me clarify if I can. LC Server as it is installed out of the box without setting it up as it used to be set up in the old days. I have three webpages. The first accepts the user’s input into various fields and then passes that information to the next webpage through the

Re: use-livecode Digest, Vol 163, Issue 13

2017-04-06 Thread Richard Gaskin via use-livecode
I'm a UX guy, so I advocate for the new user. If RLE is faster, why penalize IDE users with slow performance? If PNG is more commonly used, why penalize end-users running standalones? It may be in the Dictionary, but if we already know the syntax for the export command, how would we know that

Recording audio with LC on OSX?

2017-04-06 Thread Terry Judd via use-livecode
I want to record sound from within LC on a Mac – actually I want to get LC to speak some text and have it recorded to file (using Sound Siphon to capture it directly rather than via the inbuilt mike and speakers). Is setting the dontUseQT to false and going with ‘record sound’ the only option

Re: Nightly builds

2017-04-06 Thread Mike Bonner via use-livecode
Same question.. Where do members find the nightly builds? On Thu, Mar 9, 2017 at 8:14 PM, James Hale via use-livecode < use-livecode@lists.runrev.com> wrote: > I just noticed one of the benefits to membership of the open source > community is access to nightly builds. > > Can anyone tell me how