Re: Certain Images cause LC Freeze?
On 07/30/2012 05:28 AM, webmas...@curiositi.com wrote: Are file attachments allowed on this mailing list? I'm attempting to upload example stack as ZIPed file this time. No, they are not. You must provide a url to where your attachments are stored. --ForrestD On Sun, 29 Jul 2012 21:22:10 -0500, webmas...@curiositi.com wrote: Have others encountered this problem before? I've found that loading certain images into a LiveCode Image Area cause the program to become unresponsive. I have to force quit LiveCode and upon relaunch set the filename of the image area to empty. Otherwise, it will lock up again. Any ideas on why some images cause this lock-up, and others work just fine? I am attaching an example stack. Here is how to recreate: (in Run mode) 1) Click the Load Image Area button. 2) Click the Go Next button (or use keyboard shortcut) 3) Click the Go Prev button (or use keyboard shortcut) 4) Try to click anything... on the card or the tool palette -- nothing will work. Interestingly, you can perform the same steps with the same image loading into a Quicktime Player control and not get a LiveCode Freeze to occur. I am running LiveCode 5.0.2 on Mac OSX 10.6.8. Has anyone seen this before? Any ideas on how can I prevent this freeze/lock-up from happening? --Forrest Doddington ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [ANN] EPS Import V05C
Hi Colin, Colin Holgate-2 wrote Thanks for the extra details. I've done a lot of importing of AI files today. I find that fresh AI files that have new curves are producing stacks that are zero width and height, but copying the curves into an existing AI that has something in it will give me a file that works. I save as Illustrator 3 (3, not CS3), to try to make things easier. Great! I am glad that this works for you. Please take a look at this feature that I included in the stack penTool 0.32g: http://andregarzia.on-rev.com/alejandro/stacks/penToolv032g.zip Look at this image: http://andregarzia.on-rev.com/alejandro/img/editImportedIlustratorFiles.JPG When you import an Ilustrator file using the Import/Export palette of PenTool 0.32g the shapes are editable with the tools of PenTool and (this is the most important) you could Scale/Rotate/Reflect (flip)/Skew the grouped imported vectors using the Transformation Tools palette in penToolv032g. But... There is no UNDO. I am sure that it should be easy to make an UNDO function for this drawing application, but I have not been able to create an UNDO that works reliable... :-(( Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-EPS-Import-V05C-tp4652799p4653048.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
backgroundPattern
on preOpenCard set the backgroundpattern of this card to image id 1003 end preOpenCard does NOT seem to work I wonder why? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Preview of Resolution Independent Control library for RevMobile
My very first attempt was to include scalable images in my own custom groups and show the appropriate image on the right devices. But I experienced sluggishness in going from card to card and rotating interfaces. I did not delete the unused images once the device was know and that might have helped performance. So I dropped the approach to look for better ways. In my first five or so apps I created the 'exact' layout and size of all of my custom controls in both their portrait and landscape modes on square cards and captured/stored that information pre-build. Then when launching on a device I loaded the appropriate set and its' landscape/portrait set. Two problems with that approach that I encountered: The first is that capturing 'all' properties is still not possible in the IDE in one simple command and the second is that any LC native controls will not draw at 2x size simply or reliably (You can fudge most properties but not all and I ended up creating custom versions of the native controls that I needed). Layout and size issues were also a problem when using native iOS controls with both custom and native LC controls with this approach. This turned out to be a lot of work. So I decided to create substacks for each device/resolution combo - which is a lot less work in laying out controls but is more difficult in scripting. The native control issue is still there however. I managed a few apps this way and it was easier to get my mind around and for exact laying out of controls. The last batch of apps I wrote (one of which I am showing at ISAAC here in Pittsburgh today) I decided to restrict the devices ti would run on and to create all custom controls and templates for those for pages in the app. With the success of these last few apps I decided to build a set of custom templates for each and every type of 'view' that I tend to use in my apps and re-using them in all my future apps. This is a lot of upfront work but then when building an app I can just focus on the app itself and not the controls. But, this doesn't work for every situation and other methods are still needed. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jul 29, 2012, at 7:13 PM, Monte Goulding wrote: I haven't said much in this discussion because it's all such a mess I don't know where to start. But to be honest, I agree that scaling would be better in general than sets of presized images, since as you say, they'd all need scaling anyway on some devices. Good point. I'll try to clarify my thoughts and perhaps start a new thread with a more appropriate subject. But if someone does want to implement separate image sets, I think it could be done with what we have now, without needing an extra engine property. I even started down that road on my current mobile project, but gave it up because it was just too fiddly and unreliable. I agree. The simplest way to handle this would be a library function. I rarely rely on the current directory being what it should be. I know I always reset it to the original after changing it for whatever reason but relying on everybody doing that seems a risk. I generally do something like the following because it works in development and standalone: put the effective filename of this stack into tPath set the itemDel to / put images/myimage.jpg into item -1 of tPath Now it would be really easy to write a function that returned a full image path given a relative path from the image folder. Assuming we know what density range we are running at we could easily add in the extra folder. Then what happens if the image isn't there. In java on android it searches up the density ranges for an image to scale down. If it doesn't find one it searches down for one to scale up. If we did that we would need to either scale the image before returning the path or return it with a scale difference from the environment. That all sounds complicated so it might be better to either not support that or just go with the live scaling thing. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: backgroundPattern
Is the image being used for the pattern a referenced image? If so it probably isn't there yet in preopencard. On Mon, Jul 30, 2012 at 7:21 AM, Richmond richmondmathew...@gmail.comwrote: on preOpenCard set the backgroundpattern of this card to image id 1003 end preOpenCard does NOT seem to work I wonder why? Richmond. __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: backgroundPattern
Hi Richmond, Am 30.07.2012 um 15:21 schrieb Richmond richmondmathew...@gmail.com: on preOpenCard set the backgroundpattern of this card to image id 1003 end preOpenCard does NOT seem to work I wonder why? maybe the official syntax will do: on preOpenCard set the backgroundpattern of this card to 1003 end preOpenCard ? :-) Richmond. Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: iOS - picking from a scrolling list
Howard, I am running out right now so I won't be able to look deeper into this just yet. But remember that with that code there are two scrolls going on. One for use in the IDE and the other for use on the device. The IDE code is:set the vScroll of group InputScrollerGroup to pOffsetY and the mobile code is: iphoneControlSet sScrollerId, vscroll, 0 If it is not going back to the top when coming back from another card then try adding both of them in an open card handler like this: on openCard iphoneControlSet sScrollerId, vscroll, 0 set the vScroll of group InputScrollerGroup to 0 end openCard to tested but should work if the controls exist at that point. I'll look at it later. HTHs -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jul 29, 2012, at 5:34 PM, Howard Bornstein wrote: Hi Tom, Thank you for this code. It has been very helpful in getting me going on using an IOS scroller. It works fine except for the following situation, which is baffling me at this point. If I implement a scroller with your code, everything works they way I would expect it to. However, if I scroll the list (say half-way down) and then leave the card, when I return back, the top of the scrollable field is not at the top of the scroller group (which I would expect because of this line of code: set the top of field Counter to the top of group InputScrollerGroup) but is, in fact, half-way down the scroller group. Then, if I try to scroll the field up, it never gets to the bottom of the field, but instead bounces somewhere near the middle of the content. In other words, it looks like the entire field is offset down by some amount (probably a function of how much I had it scrolled before I left the card). I can't figure out why this would happen since the CloseCard handler deletes the IOS scroll group and OpenCard should create it fresh each time I go to the card. Somehow, the field position is getting stuck after I scroll it and then leave the card. Do you understand why this is happening? -- Regards, Howard Bornstein --- www.designeq.com On Thu, Apr 5, 2012 at 6:44 AM, Thomas McGrath III mcgra...@mac.com wrote: Graham, I don't use mobgui but instead I use tmControl for layout of iOS elements. There are two types of scrolling lists possible in LC. The first is using mobilePick by itself or use an option button (that uses the iOS mobilePicker). The second is using either an LC field object or other objects like the list field in tmControl but either of these needs to be in a group and the group can now have an iOS scroller applied to it. If you create a field that is very long and group it then select the group and make it shorter than that field it will scroll. I can't remember if the group needs locked or not. There are a couple of glitches to watch out for. Here is parts of a script that controls a grouped field and an iOS scroller. A mouseUp in the field can return the desired line etc. local sScrollerId on scrollerDidScroll pOffsetX, pOffsetY lock screen set the hScroll of group InputScrollerGroup to pOffsetX set the vScroll of group InputScrollerGroup to pOffsetY unlock screen end scrollerDidScroll on openCard set the layerMode of group InputScrollerGroup of this card to scrolling set the unboundedHScroll of group InputScrollerGroup to true set the unboundedVScroll of group InputScrollerGroup to true -- add items to a field Counter and have it grow to fit the contents set the height of field Counter of this card to the formattedHeight of field Counter set the top of field Counter to the top of group InputScrollerGroup set the threeDHilite of field Lap Counter to false iphoneControlCreate scroller, InputScroller put the result into sScrollerId put the rect of group InputScrollerGroup into tRect iphoneControlSet sScrollerId, rect, tRect put the formattedHeight of field Counter into tHeight iphoneControlSet sScrollerId, contentRect, (0, 0, 0, tHeight) iphoneControlSet sScrollerId, indicatorInsets, (0,0,6,0) iphoneControlSet sScrollerId, visible, true iphoneControlSet sScrollerId, canBounce, true iphoneControlSet sScrollerId, declerationRate, fast iphoneControlSet sScrollerId, scrollingEnabled, true iphoneControlSet sScrollerId, canScrollToTop, true iphoneControlSet sScrollerId, delayTouches, true iphoneControlSet sScrollerId, vscroll, 0 set the vScroll of group InputScrollerGroup to 0 set the vScroll of field Counter to 0 focus on nothing iphoneControlDo sScrollerId, flashScrollIndicators end openCard on closeCard iphoneControlDelete InputScrollerGroup end closeCard -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit
Re: backgroundPattern
On 07/30/2012 04:25 PM, Mike Bonner wrote: Is the image being used for the pattern a referenced image? If so it probably isn't there yet in preopencard. Funnily enough, I thought I'd crack open that stack and change from preOpenCard to openCard, when, blow-me-down, the thing worked with your syntax Klaus: on preOpenCard set the backgroundPattern of this card to 1003 end preOpenCard so everybody is happy and can go skipping off down the yellow brick road (well, possibly). Thanks for the suggestions and help. Richmond. On Mon, Jul 30, 2012 at 7:21 AM, Richmond richmondmathew...@gmail.comwrote: on preOpenCard set the backgroundpattern of this card to image id 1003 end preOpenCard does NOT seem to work I wonder why? Richmond. __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Preview of Resolution Independent Control library for RevMobile
Hi all, If I understand correctly this thread, the goal and purpose is to create a library that recreate the correct interface in every device where the application runs. Ideally, every developer should have every device to test that their application runs correctly. Obviously, that it's not possible because every week there are new devices in the market. And old devices still run for years. How could you create the correct interface for a device where you have not tested your application? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Preview-of-Resolution-Independent-Control-library-for-RevMobile-tp4652555p4653056.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Is it really this hard to print currency values?
Hi. You have replies, and can see that the task is one of parsing characters into a useful form. This is a function I wrote in HC a long time ago to relieve the tedious task of writing out the text of a number when issuing checks. It should be instructive, as it sort of acts in the same way. You call it as: digitToWord(yourNumericalValue): function digitToWord theDigits put One,Two,Three,Four,Five,Six,Seven,Eight,Nine into ones put Ten,Eleven,Twelve,Thirteen,Fourteen,Fifteen,Sixteen,Seventeen,¬ Eighteen,Nineteen into teens put ,Twenty,Thirty,Forty,Fifty,Sixty,Seventy,Eighty,Ninety into tens set numberformat to #.00 get offset(.,theDigits) if it 0 then put Dollars and char it + 1 to it + 2 of theDigits /100 into temp delete char it to it + 2 of theDigits end if get number(chars of theDigits) if char it - 1 of theDigits = 1 then put item char it of theDigits + 1 of teens before temp else put item char it of theDigits of ones before temp put item char it - 1 of theDigits of tens space before temp end if if it 3 then put item char it - 2 of theDigits of ones Hundred space before temp if it = 4 then put item char it - 3 of theDigits of ones Thousand space before temp if it = 5 then put item char it - 4 of theDigits of tens Thousand space before temp if it = 6 then put item char 1 of theDigits of ones Hundred item char 2 of theDigits of tens item char 3 of theDigits of ones Thousand before temptemp end if return temp end digitToWord -Original Message- From: dunbarx dunb...@aol.com To: use-livecode use-livecode@lists.runrev.com Sent: Sun, Jul 29, 2012 12:30 pm Subject: Re: Is it really this hard to print currency values? Hi. I wrote a checkWriting stack in HC about 25 years ago. No modulo, just text parsing. It is compact and utterly basic. If nobody else replies in the next day, I will pull it from my office and send you the code. It is just chunk engineering. Fun stuff. Craig Newman -Original Message- From: Dr. Hawkins doch...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Sun, Jul 29, 2012 12:09 pm Subject: Is it really this hard to print currency values? As I sat down to finally encode currency into my output, I pulled old answers from older questions and did more searches. Is it *really* this hard to output currency? To turn 123456.78 into $123,456.78, everything I'm finding would have me using modulo arithmetic to produce three values, with these three values being output in the string (4, actually, to allow values in the millions). Am I missing something obvious here? -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Is it really this hard to print currency values?
-Original Message- From: dunbarx dunb...@aol.com To: use-livecode use-livecode@lists.runrev.com Sent: Mon, Jul 30, 2012 11:23 am Subject: Re: Is it really this hard to print currency values? Hi. Typo in the last line function digitToWord theDigits put One,Two,Three,Four,Five,Six,Seven,Eight,Nine into ones put Ten,Eleven,Twelve,Thirteen,Fourteen,Fifteen,Sixteen,Seventeen,¬ Eighteen,Nineteen into teens put ,Twenty,Thirty,Forty,Fifty,Sixty,Seventy,Eighty,Ninety into tens set numberformat to #.00 get offset(.,theDigits) if it 0 then put Dollars and char it + 1 to it + 2 of theDigits /100 into temp delete char it to it + 2 of theDigits end if get number(chars of theDigits) if char it - 1 of theDigits = 1 then put item char it of theDigits + 1 of teens before temp else put item char it of theDigits of ones before temp put item char it - 1 of theDigits of tens space before temp end if if it 3 then put item char it - 2 of theDigits of ones Hundred space before temp if it = 4 then put item char it - 3 of theDigits of ones Thousand space before temp if it = 5 then put item char it - 4 of theDigits of tens Thousand space before temp if it = 6 then put item char 1 of theDigits of ones Hundred item char 2 of theDigits of tens item char 3 of theDigits of ones Thousand before temp end if return temp end digitToWord -Original Message- From: dunbarx dunb...@aol.com To: use-livecode use-livecode@lists.runrev.com Sent: Sun, Jul 29, 2012 12:30 pm Subject: Re: Is it really this hard to print currency values? Hi. I wrote a checkWriting stack in HC about 25 years ago. No modulo, just text parsing. It is compact and utterly basic. If nobody else replies in the next day, I will pull it from my office and send you the code. It is just chunk engineering. Fun stuff. Craig Newman -Original Message- From: Dr. Hawkins doch...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Sun, Jul 29, 2012 12:09 pm Subject: Is it really this hard to print currency values? As I sat down to finally encode currency into my output, I pulled old answers from older questions and did more searches. Is it *really* this hard to output currency? To turn 123456.78 into $123,456.78, everything I'm finding would have me using modulo arithmetic to produce three values, with these three values being output in the string (4, actually, to allow values in the millions). Am I missing something obvious here? -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
peed off with P Lists
Everytime I run off a mac standalone I have to edit the Info.plist inside the application bundle so that the folk at MacUpdate don't send me 'abusive' messages. I wonder why the standalone builder doesn't cope with this automatically? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Standalones not opening in Mountain Lion
Nope. There were rumors that someone got it working in Lion, but it was some kind of spoof as I recall. Bob On Jul 28, 2012, at 2:19 AM, Bernard Devlin wrote: I seem to remember that Rosetta is still available. It is just not installed by default. I think the installation medium should have a way of installing Rosetta. Bernard ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Windows 8
Microsoft takes a cut, up to 30%, of every sale made through this store. Whoa!! How much does Apple get? Bob On Jul 28, 2012, at 12:43 PM, Richmond wrote: http://www.bbc.com/news/technology-18996377 well worth a read, and makes one think whether Apple's and Microsoft's protectionism might not be self-defeating in the end. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Preview of Resolution Independent Control library for RevMobile
In addition to the recent discussion, the hope would be to create a responsive interface layout: one that adapts to different screen dimensions/proportions. A good analogy is responsive web design (http://en.wikipedia.org/wiki/Responsive_design), where the layout changes based on size thresholds. Between client work and talking about the issue with list members, one option for thresholds I had proposed is the following: 320x480 480x800 540x960 768x1024 800x1280 Once the dimensions of a device exceed one of the above thresholds, the layout changes to the next threshold, which could involve simple size adjustments, or proportional scaling. But detecting screen dimensions is not enough -- screen resolution throws a wrench into all of this. Hopefully between discussion on the list and developments on the RunRev side, we can figure out a solution. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Alejandro Tejada wrote: Hi all, If I understand correctly this thread, the goal and purpose is to create a library that recreate the correct interface in every device where the application runs. Ideally, every developer should have every device to test that their application runs correctly. Obviously, that it's not possible because every week there are new devices in the market. And old devices still run for years. How could you create the correct interface for a device where you have not tested your application? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Preview-of-Resolution-Independe nt-Control-library-for-RevMobile-tp4652555p4653056.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
When moving from desktop to mobile - size matters!
I have been knocking my head against this problem for a while (and just solved it) and thought that others might be interested... In a little desktop standalone I made use of a tweaked version of Obello's excellent custom slider - which worked great. I was then asked to try doing a mobile version, which was fine except when I was testing the app on an iPhone 4 the 'thumb' graphic part of the slider would not slide unless I gave it an initial 'stab' to get it moving. Eventually the answer dawned on me that perhaps the 'thumb' was too small for my fat fingers so I tried doubling it's size to 44x44 and it worked very nice without need for any initial 'stab'. So, the 'thumb' graphic at 22x22 worked fine with a mouse or even with a finger on the simulator, but not on an iPhone's screen - (forum entry here with full details http://forums.runrev.com/viewtopic.php?f=27t=12459p=59515#p59515). I think Apple's HIG recommends 40x40 pixels, but a 'thumb' at that size looks a bit silly, have any of you used 30x30 pixel controls and got through Apple's acceptance process? Kind regards Dave ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: standalone building and externals as inclusions
I'm going to guess that it puts the external into the same folder as the mainStack. And I do not know what you mean by one object per external or one for all. I imagine each external is it's own file. One way to tell would be to add a couple of externals, compile a standalone, then look to see where LC put them. That is what I would do anyway. Bob On Jul 29, 2012, at 11:25 AM, Dar Scott wrote: How does the standalone builder integrate externals into a standalone? In particular, where does it insert them in the path? And does it use one object per external or one for all? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: A small love gift.
EEEK!!! On Jul 29, 2012, at 11:09 AM, Mark Wieder wrote: rotfl. I would never ever launch an unknown file that came in an email that said launch me an see what happens... er... 5.5.5? Is 6.6.6 next? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Using mobileRestorePurchases
I think your question is just extremely specific. It's quite possible that you're the only one actually trying this out... On 23.07.2012, at 22:56, Dan Friedman wrote: I posted this question about a week ago and got no answers. So, I thought I would try asking one more time before sending this one up to the Mother Ship. How do you use the mobileRestorePurchases command to restore in-app purchases? I successfully purchased an in-app purchase with the test iTunes account on the simulator. I put the mobileRestorePurchases command in an openStack handler and it did fire... I was prompted for my test iTunes password. But, then nothing happened. What should happen? I figured that a purchaseStateUpdate would have been sent to the stack where mobilePurchaseState(pPurchaseID) that was restored – but it wasn't. Furthermore, if I attempt to purchase the in-app purchase again, I am told that I have already purchased it and would I like to download it again. When I tap yes, I get an error that I can't connect to the iTunes store. ANY help or guidance would be GREATLY appreciated! -Dan ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: A small love gift.
Okay, THAT is Richmond for sure! On Jul 29, 2012, at 11:24 AM, Richmond wrote: Richmond FYI launching your stack made the tool palette disappear forever until Livecode (5.5.5) is restarted. Encouraging . . . NOT authored in 4.5 with nary a problem. This may say something about 5.5.5. ! The trouble about being at the cutting edge is that one can run out of sticking plasters. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Does this work for you?
I'm not using Mobile, but judging from the android pdf, it kinda looks as if it's not possible: You can't actually put something into a ftp url, you can only _get_ ftp urls. Also see the Android Release Note, page 16 (accessible from the help menu in the IDE) On 25.07.2012, at 23:18, Dan Friedman wrote: Can you write to a server, via ftp on a real Android device running Android version 4.0.4. When I try it, it returns no error, but doesn't write to the server. Can you confirm? Thanks, Dan ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: PowerDebug 1.1.8
Mark, you fricking rock! Bob On Jul 29, 2012, at 9:29 PM, Mark Wieder wrote: Hi- It appears that some of my new version emails have been ending up in spam folders, so I'll make this a more general announcement. Following up on a thread on the use-list this last week about trace mode no longer being in the IDE's debugger, I realized that trace mode had stopped working in PowerDebug. So it's back now in version 1.1.8. And PowerDebug is now backward compatible at least to LiveCode version 4.5.3. Maybe further, but that hasn't been tested. If registered users need your registration code again for any reason, drop me a line. There's a trace delay field that sets the number of milliseconds between trace steps. Set it to zero for maximum speed. There's a code coverage tool, of a sort: Place a breakpoint early in the code Set the trace delay to 0 for best results When the debugger starts, click Trace (Escape stops trace mode) After tracing, select the Code Coverage tab This will show you what lines of code have been executed. And maybe more importantly, what lines haven't. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Is it really this hard to print currency values?
Crazy huh? I think there should be a function that extracts the numerical value of a string. Even better, the engine should simply assume a properly formatted currency is a number and deal with it. My 2¢ Bob On Jul 29, 2012, at 9:05 AM, Dr. Hawkins wrote: As I sat down to finally encode currency into my output, I pulled old answers from older questions and did more searches. Is it *really* this hard to output currency? To turn 123456.78 into $123,456.78, everything I'm finding would have me using modulo arithmetic to produce three values, with these three values being output in the string (4, actually, to allow values in the millions). Am I missing something obvious here? -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Is it really this hard to print currency values?
Huh. I did the exact same thing in an old Hypercard stack that is now long gone so I cannot back that up! Bob On Jul 29, 2012, at 9:27 AM, dunb...@aol.com wrote: Hi. I wrote a checkWriting stack in HC about 25 years ago. No modulo, just text parsing. It is compact and utterly basic. If nobody else replies in the next day, I will pull it from my office and send you the code. It is just chunk engineering. Fun stuff. Craig Newman ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Can't PASTE into fields
I think if you have any menubar, wether there is a menu edit or not, you will not be able to use copy/paste at all, unless you have code added to your stack that the field can use. If you have a menubar, there are some situations where the IDE's menubar will be used, and some where yours will be used. Basically the IDE has scripts for copy paste behaviour, so when you use your own menu, or have a standalone with no copy/paste code from you, then it won't copy/paste at all. even shorter: automatic copy/paste handling does not exist. On 30.07.2012, at 04:28, Mark Rauterkus wrote: Hi, Still puzzled by this On stack I've created, a simple card database of campers, I can type into the text fields. But I can't PASTE into them. In other stacks and substacks, paste works. Can't figure out why. Then help came from RLG with Q: Is this in the IDE or in a standalone? Is there an edit menu with a paste command available? It sounds like nothing is trapping the keystroke. - reply This is in both the IDE and the standalone. There was an edit menu -- but then I nuked it. Still broken. In the substacks of the same project, the paste and cut and copy work fine with the keyboard shortcuts as one would expect. When I put a new field onto any card in that stack, the same broken behaviors happens. For example, a student has the same phone number for cell phone and emergency contact. I'd love to be able to select the phone # from the one field, copy it, and paste it into the other field. But it won't work. Or, seeking to select a student's name from one card. Double click works to highlight the names, as expected. Then go to another card and paste the name into a sibling field. No paste occurs. I can type in a phone number 444-222-. Then select it with click and drag. Then hit the backspace key and it is deleted. -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Is it really this hard to print currency values?
Hah! Spiceworks, a free asset management solution, put out an email that when viewed on an iPhone read, How to barcode your ass... :-) Bob On Jul 29, 2012, at 10:53 AM, Mark Wieder wrote: Richmond- Sunday, July 29, 2012, 10:43:49 AM, you wrote: Something a bit wrong with column widths on my Thunderbird e-mail client over here: My column widths seem to truncate my email send column such that my emails from Shakespeare's Associates theater troupe results in my receiving emails from Shakespeare's Ass... -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: peed off with P Lists
I'll bite. What is the issue with the default Info.plist format and how do you have to edit it? Do you mean it is non existent? Bob On Jul 30, 2012, at 8:59 AM, Richmond wrote: Everytime I run off a mac standalone I have to edit the Info.plist inside the application bundle so that the folk at MacUpdate don't send me 'abusive' messages. I wonder why the standalone builder doesn't cope with this automatically? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Upgrade to Mountain Lion and LiveCode 5.5.1 Problem
Final report from Twitland: Usually, the first thing I do whenever I have computer problems is to restart my Mac. Apparently, I failed to do that since I started this thread days ago. Last evening I tried to empty my thrash and, lo and behold, I found stuff still running which I could not quit and consequently could not dump. So, I shut down my computer. This morning I restarted my computer, emptied the thrash and found all my problems with the iOS simulator solved! My apologies especially to Colin who paid a lot of attention to my yammerings. I'm going to go hide for a while... Cheers, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Preview of Resolution Independent Control library for RevMobile
Seems like the whole pixel coordinate system achilles heel is showing. Better would be a percentage system, so that theoretically I can set the topleft of a control to a percentage of the hv of the card. This really should be an engine change, but I suppose a library could be developed for this purpose. I'll have to think about it. Off the top of my head, it would seem to me to be better to start with the smallest res supported as the baseline layout, then scale up. Bob On Jul 28, 2012, at 1:49 PM, Monte Goulding wrote: For layout to play nicely with scaling it will need to place controls relative to each other and window boundaries and not include any reference to physical pixels without multiplying by a scaling factor. So if you want a field to have 3 px padding from the edge of the card you need to use 3 * scale. So I think unfortunately the layout lib would need to be dependent on the scaling lib. It could just be a single global variable though. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 29/07/2012, at 5:23 AM, Thomas McGrath III mcgra...@mac.com wrote: I agree and would go as far as saying that these must remain separate libraries.They should play well together. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Upgrade to Mountain Lion and LiveCode 5.5.1 Problem
Roger, Just to confirm, I've upgraded to Mountain Lion on a lat 2008 15 MBP, have LiveCode 5.5.1 running, and Xcode 4.4 (4F250) and my iOS simulator is running OK. As your iOS simulator hangs by itself, it doesn't seem that the problem is Live Code related. If you have a spare USB drive, you might want to install Mountain Lion, LC, and Xcode on it, boot from it, and see if the problem persists. If not, then it's a call to Apple or a fresh install. BTW- I did have to re-point Live Code preferences to find where Xcode was located. Good luck, John Brozycki On Jul 30, 2012, at 12:10 AM, Roger Guay i...@mac.com wrote: Sorry folks i forgot the Subject line. On Jul 29, 2012, at 7:08 PM, Jim Lambert wrote: This MIGHT help. In Xcode go to Preference Downloads and download the 5.0 Simulator. Thanks, Jim. I did that early on and it made no difference. My situation remains the same: my iOS simulator hangs in every situation. I still wonder if others on this list have upgraded to Mountain Lion, Xcode 4.4 and Livecode 5.5.1 and have had no problems?? Actually, I've tried going back to LiveCode 5.5.0 which did work under Lion, and it now fails as well! So I think my problem has nothing to do with LiveCode. Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Is it really this hard to print currency values?
On Mon, Jul 30, 2012 at 10:41 AM, Bob Sneidar b...@twft.com wrote: Hah! Spiceworks, a free asset management solution, put out an email that when viewed on an iPhone read, How to barcode your ass... When one of my undergraduate professors was promoted tenured, he noted that this would change his title from Ast. Prof. to Ass. Prof. At least it would be a full professor that taught ANAL MECH (analytic mechanics). Yes, that's really how it appears on my transcript! -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: standalone building and externals as inclusions
On 7/29/12 1:25 PM, Dar Scott wrote: How does the standalone builder integrate externals into a standalone? It creates a folder named Externals in the same folder as the engine/mainstack. On Mac, that's inside the bundle. On Windows it's next to the standalone. However, there is (was?) a bug where the external files themselves didn't actually get copied. You have to move them there yourself after the build. In particular, where does it insert them in the path? Into the back, I believe. And does it use one object per external or one for all? I'm not sure what this means. The externals are available in the file directory and your scripts load them into RAM. They aren't attached to any stacks per se, though you can use the externals property of a stack to tell the engine to automatically load them. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Preview of Resolution Independent Control library for RevMobile
I have to admit that my brain gets very dizzy when thinking about resolutions/pixels/etc so please excuse if this question doesn't make sense I believe we are now looking at resolutions and screen sizes much larger that has been discussed so far. LG have just come out with 47 and 55 full 1080p HD TV with Google TV built into it. You can run any of the Andorid apps on it. I guess this situation has been around for a while with the separate Google TV set top box. Does that affect any of the solutions being discussed? Pete lcSQL Software http://www.lcsql.com On Mon, Jul 30, 2012 at 10:14 AM, Scott Rossi sc...@tactilemedia.comwrote: In addition to the recent discussion, the hope would be to create a responsive interface layout: one that adapts to different screen dimensions/proportions. A good analogy is responsive web design (http://en.wikipedia.org/wiki/Responsive_design), where the layout changes based on size thresholds. Between client work and talking about the issue with list members, one option for thresholds I had proposed is the following: 320x480 480x800 540x960 768x1024 800x1280 Once the dimensions of a device exceed one of the above thresholds, the layout changes to the next threshold, which could involve simple size adjustments, or proportional scaling. But detecting screen dimensions is not enough -- screen resolution throws a wrench into all of this. Hopefully between discussion on the list and developments on the RunRev side, we can figure out a solution. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: New standards organization created
Har! I had a saying once, Every organization agrees that we must adopt standards... their own! Bob On Jul 30, 2012, at 11:11 AM, Mark Wieder wrote: We can't continue like this. We're running out of short acronyms for standards organizations... http://humorix.org/10920 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Performance issues with setting the image source
I have a scrolling list field which I'm populating with lines of text and also setting the imagesource of up 5 chars. It turns out that it takes an average of about one tenth of a second per line to set the imagesources, so to populate the field with 100 lines takes 10 seconds. These images become hotspots for the user to click on and I would like to stick with that as a user interface if possible but the length of time it's taking is obviously not acceptable. I'm wondering if anyone has any suggestions as to how improve the performance or perhaps another technique to show image hotspots in a line of text. Pete lcSQL Software http://www.lcsql.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Performance issues with setting the image source
Hmmm... locking screen and locking messages? Bob On Jul 30, 2012, at 11:38 AM, Peter Haworth wrote: I have a scrolling list field which I'm populating with lines of text and also setting the imagesource of up 5 chars. It turns out that it takes an average of about one tenth of a second per line to set the imagesources, so to populate the field with 100 lines takes 10 seconds. These images become hotspots for the user to click on and I would like to stick with that as a user interface if possible but the length of time it's taking is obviously not acceptable. I'm wondering if anyone has any suggestions as to how improve the performance or perhaps another technique to show image hotspots in a line of text. Pete lcSQL Software http://www.lcsql.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
does openField works on mobile?
Hey folks, I have some code to intercept the openfield message and prevent the mobile keyboard from launching. It is not working. Anyone had similar experience? Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: does openField works on mobile?
yes it works guys... I had a typo on focus on nothing On Mon, Jul 30, 2012 at 4:22 PM, Andre Garzia an...@andregarzia.com wrote: Hey folks, I have some code to intercept the openfield message and prevent the mobile keyboard from launching. It is not working. Anyone had similar experience? Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Performance issues with setting the image source
Not sure if this will apply to what you're doing, but when doing painting with image data things are a lot faster with this line: set the paintCompression to RLE ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Performance issues with setting the image source
Hi Pete, Are you using a repeat loop? Don't do that. Instead, take the htmlText, replace a character with the appropriate html (have a look at the htmlText after setting an imageSource to find out the correct HTML code) and set the htmlText of the field to the modified data. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du On 30 jul 2012, at 20:38, Peter Haworth wrote: I have a scrolling list field which I'm populating with lines of text and also setting the imagesource of up 5 chars. It turns out that it takes an average of about one tenth of a second per line to set the imagesources, so to populate the field with 100 lines takes 10 seconds. These images become hotspots for the user to click on and I would like to stick with that as a user interface if possible but the length of time it's taking is obviously not acceptable. I'm wondering if anyone has any suggestions as to how improve the performance or perhaps another technique to show image hotspots in a line of text. Pete lcSQL Software http://www.lcsql.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Windows 8
On 07/30/2012 08:08 PM, Bob Sneidar wrote: Microsoft takes a cut, up to 30%, of every sale made through this store. Whoa!! How much does Apple get? Probably much the same. Bob On Jul 28, 2012, at 12:43 PM, Richmond wrote: http://www.bbc.com/news/technology-18996377 well worth a read, and makes one think whether Apple's and Microsoft's protectionism might not be self-defeating in the end. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Performance issues with setting the image source
Thanks Colin. I don't think this applies to my situation since I'm setting the image source to existing images, not creating them on the fly. But it's yet another property I didn't know about so thanks for that. Pete lcSQL Software http://www.lcsql.com On Mon, Jul 30, 2012 at 12:38 PM, Colin Holgate co...@verizon.net wrote: Not sure if this will apply to what you're doing, but when doing painting with image data things are a lot faster with this line: set the paintCompression to RLE ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: peed off with P Lists
Dear Bob and Mark, et al, RR/LC does supply Info.plist files in its Mac standalone app packages. As I work with LC 4.5 here is an extract from the Info.plist from version 1.0.2.4 of my Devawriter Pro build for Mac PPC: stringDevawriter Pro/string keyCFBundleIdentifier/key stringcom..dwpro/string keyCFBundleGetInfoString/key string1/string keyCFBundleIconFile/key stringStandalone.icns/string keyCFBundleInfoDictionaryVersion/key string6.0/string keyCFBundleLongVersionString/key string1.0.2.4/string keyCFBundleName/key stringDevawriter Pro/string keyCFBundlePackageType/key stringAPPL/string keyCFBundleShortVersionString/key string1/string keyCFBundleSignature/key string/string keyCFBundleVersion/key string4.5.0.1030 (dp-4)/string The MacUpdate people object to the last line, and I have to change 4.5.0.1030 (dp-4) to whatever the version number of my standalone is (in this case 1.0.2.4). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Windows 8
Apple gets 30%, too. They invented that model with the iOS AppStore. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Performance issues with setting the image source
Hi Mark, I use a repeat loop to put the text of each line into the field. Once it's there, I set the image source of of the appropiate chars of the line. I have to have a repeat loop but if I'm understanding you correctly, you're recommending: - put the text of each line into a variable within the loop - at the end of the loop, insert the appropriate html into each line of the variable - set the htmltext of the field to the variable Do I have that right? Pete lcSQL Software http://www.lcsql.com On Mon, Jul 30, 2012 at 12:39 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Pete, Are you using a repeat loop? Don't do that. Instead, take the htmlText, replace a character with the appropriate html (have a look at the htmlText after setting an imageSource to find out the correct HTML code) and set the htmlText of the field to the modified data. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du On 30 jul 2012, at 20:38, Peter Haworth wrote: I have a scrolling list field which I'm populating with lines of text and also setting the imagesource of up 5 chars. It turns out that it takes an average of about one tenth of a second per line to set the imagesources, so to populate the field with 100 lines takes 10 seconds. These images become hotspots for the user to click on and I would like to stick with that as a user interface if possible but the length of time it's taking is obviously not acceptable. I'm wondering if anyone has any suggestions as to how improve the performance or perhaps another technique to show image hotspots in a line of text. Pete lcSQL Software http://www.lcsql.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Performance issues with setting the image source
I think I'm locking screen but will check. Pete lcSQL Software http://www.lcsql.com On Mon, Jul 30, 2012 at 11:41 AM, Bob Sneidar b...@twft.com wrote: Hmmm... locking screen and locking messages? Bob On Jul 30, 2012, at 11:38 AM, Peter Haworth wrote: I have a scrolling list field which I'm populating with lines of text and also setting the imagesource of up 5 chars. It turns out that it takes an average of about one tenth of a second per line to set the imagesources, so to populate the field with 100 lines takes 10 seconds. These images become hotspots for the user to click on and I would like to stick with that as a user interface if possible but the length of time it's taking is obviously not acceptable. I'm wondering if anyone has any suggestions as to how improve the performance or perhaps another technique to show image hotspots in a line of text. Pete lcSQL Software http://www.lcsql.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: peed off with P Lists
Aha! I see. I wonder how many people would support a post processor section of the standalone builder, where we could run a script or something. Then you could write a simple script to replace it automagically with the CFBundleLongString key. At any rate, you could easily write such a thing. Bob On Jul 30, 2012, at 12:56 PM, Richmond wrote: Dear Bob and Mark, et al, RR/LC does supply Info.plist files in its Mac standalone app packages. As I work with LC 4.5 here is an extract from the Info.plist from version 1.0.2.4 of my Devawriter Pro build for Mac PPC: stringDevawriter Pro/string keyCFBundleIdentifier/key stringcom..dwpro/string keyCFBundleGetInfoString/key string1/string keyCFBundleIconFile/key stringStandalone.icns/string keyCFBundleInfoDictionaryVersion/key string6.0/string keyCFBundleLongVersionString/key string1.0.2.4/string keyCFBundleName/key stringDevawriter Pro/string keyCFBundlePackageType/key stringAPPL/string keyCFBundleShortVersionString/key string1/string keyCFBundleSignature/key string/string keyCFBundleVersion/key string4.5.0.1030 (dp-4)/string The MacUpdate people object to the last line, and I have to change 4.5.0.1030 (dp-4) to whatever the version number of my standalone is (in this case 1.0.2.4). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Windows 8
No I mean with their regular app store, for desktops. Bob On Jul 30, 2012, at 12:58 PM, Mike Kerner wrote: Apple gets 30%, too. They invented that model with the iOS AppStore. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Certain Images cause LC Freeze?
Alejandro and Phil, This is very curious. I'm not sure why it works for you but fails every time for me. Could you let me know if you are running LiveCode 5.0.2 or something different for an IDE version? Thank you so much for testing. The support of the LC community is great! --ForrestD On Sun, 29 Jul 2012 21:03:33 -0700, Phil Davis wrote: Hi Forrest, It works fine here. Phil Davis On 7/29/12 7:42 PM, webmas...@curiositi.com wrote: Sorry for the extra posts. Since I can't upload, here is a URL to download the example stack. http://www.curiositi.com/filestoshare/ImageCauseFreeze.zip Could some of you please download and tell me if you can recreate the error. Any ideas for preventing this error? --ForrestD On Sun, 29 Jul 2012 21:28:27 -0500, webmas...@curiositi.com wrote: Are file attachments allowed on this mailing list? I'm attempting to upload example stack as ZIPed file this time. --ForrestD On Sun, 29 Jul 2012 21:22:10 -0500, webmas...@curiositi.com wrote: Have others encountered this problem before? I've found that loading certain images into a LiveCode Image Area cause the program to become unresponsive. I have to force quit LiveCode and upon relaunch set the filename of the image area to empty. Otherwise, it will lock up again. Any ideas on why some images cause this lock-up, and others work just fine? I am attaching an example stack. Here is how to recreate: (in Run mode) 1) Click the Load Image Area button. 2) Click the Go Next button (or use keyboard shortcut) 3) Click the Go Prev button (or use keyboard shortcut) 4) Try to click anything... on the card or the tool palette -- nothing will work. Interestingly, you can perform the same steps with the same image loading into a Quicktime Player control and not get a LiveCode Freeze to occur. I am running LiveCode 5.0.2 on Mac OSX 10.6.8. Has anyone seen this before? Any ideas on how can I prevent this freeze/lock-up from happening? --Forrest Doddington ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: peed off with P Lists
Richmond, Did you enter a version number in the OSX panel of the standalone settings? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du On 30 jul 2012, at 21:56, Richmond wrote: Dear and Mark, et al, RR/LC does supply Info.plist files in its Mac standalone app packages. As I work with LC 4.5 here is an extract from the Info.plist from version 1.0.2.4 of my Devawriter Pro build for Mac PPC: stringDevawriter Pro/string keyCFBundleIdentifier/key stringcom..dwpro/string keyCFBundleGetInfoString/key string1/string keyCFBundleIconFile/key stringStandalone.icns/string keyCFBundleInfoDictionaryVersion/key string6.0/string keyCFBundleLongVersionString/key string1.0.2.4/string keyCFBundleName/key stringDevawriter Pro/string keyCFBundlePackageType/key stringAPPL/string keyCFBundleShortVersionString/key string1/string keyCFBundleSignature/key string/string keyCFBundleVersion/key string4.5.0.1030 (dp-4)/string The MacUpdate people object to the last line, and I have to change 4.5.0.1030 (dp-4) to whatever the version number of my standalone is (in this case 1.0.2.4). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: peed off with P Lists
There's a standaloneSaved message that you can use for that purpose. Pete lcSQL Software http://www.lcsql.com On Mon, Jul 30, 2012 at 1:37 PM, Bob Sneidar b...@twft.com wrote: Aha! I see. I wonder how many people would support a post processor section of the standalone builder, where we could run a script or something. Then you could write a simple script to replace it automagically with the CFBundleLongString key. At any rate, you could easily write such a thing. Bob On Jul 30, 2012, at 12:56 PM, Richmond wrote: Dear Bob and Mark, et al, RR/LC does supply Info.plist files in its Mac standalone app packages. As I work with LC 4.5 here is an extract from the Info.plist from version 1.0.2.4 of my Devawriter Pro build for Mac PPC: stringDevawriter Pro/string keyCFBundleIdentifier/key stringcom..dwpro/string keyCFBundleGetInfoString/key string1/string keyCFBundleIconFile/key stringStandalone.icns/string keyCFBundleInfoDictionaryVersion/key string6.0/string keyCFBundleLongVersionString/key string1.0.2.4/string keyCFBundleName/key stringDevawriter Pro/string keyCFBundlePackageType/key stringAPPL/string keyCFBundleShortVersionString/key string1/string keyCFBundleSignature/key string/string keyCFBundleVersion/key string4.5.0.1030 (dp-4)/string The MacUpdate people object to the last line, and I have to change 4.5.0.1030 (dp-4) to whatever the version number of my standalone is (in this case 1.0.2.4). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Preview of Resolution Independent Control library for RevMobile
LG 55'' 1080p HD TV with Google TV resolution: 1920 x 1080p LG 47'' 1080p HD TV with Google TV resolution: 1920 x 1080p http://www.lg.com/us/tvs/lg-55G2-led-tv http://www.lg.com/us/tvs/lg-47G2-led-tv Then, adding this resolution to Scott Rossi's list, there are 6 (or more) different resolution targets: 320x480 480x800 540x960 768x1024 800x1280 1920 x 1080 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Preview-of-Resolution-Independent-Control-library-for-RevMobile-tp4652555p4653102.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Preview of Resolution Independent Control library for RevMobile
I've been toying with the concept of loading the mainstack of a stackFile depending on if it's in the mobile or tablet category. The concept could be expanded to have as many size ranges and you want. If these ranges were able to be set by the dev then it would be quite flexible and allow anything from one UI stackFile for all ranges to very specific single size UI stackfiles for obscure devices that you want to support. The problem I see is you need to push as much code as possible out into libraries. I work that way but most livecoders don't. Once you develop for one device though you could just save as and adapt the stack for another device. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 31/07/2012, at 3:14 AM, Scott Rossi sc...@tactilemedia.com wrote: In addition to the recent discussion, the hope would be to create a responsive interface layout: one that adapts to different screen dimensions/proportions. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
QuickTime on Windows
Does anyone know why a player object won't load an aiff file in a standalone? It works fine in the IDE. The sound file does exist and the filename for the player is correct. Windows XP LiveCode 5.5.1 Did the default setting for dontUseQT change? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Preview of Resolution Independent Control library for RevMobile
One of the problems with this approach is that virtual machines typically have adjustable resolutions that can be anything. If you were running an LC app within one of these, there would be no way to determine the actual monitor resolution. Bob On Jul 30, 2012, at 2:17 PM, Alejandro Tejada wrote: LG 55'' 1080p HD TV with Google TV resolution: 1920 x 1080p LG 47'' 1080p HD TV with Google TV resolution: 1920 x 1080p http://www.lg.com/us/tvs/lg-55G2-led-tv http://www.lg.com/us/tvs/lg-47G2-led-tv Then, adding this resolution to Scott Rossi's list, there are 6 (or more) different resolution targets: 320x480 480x800 540x960 768x1024 800x1280 1920 x 1080 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Preview-of-Resolution-Independent-Control-library-for-RevMobile-tp4652555p4653102.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Android URLEncode libUrlDownloadToFile
Thanks, Alex. A question... and write a simple LC script to check for ID / PWD - I understand how to write the script, but not how to phrase the results of the if conditional. What commands would the LC script execute if the pwd/id are correct, so as to let the jpg file on the server be downloaded by the stack? Sorry. -- Nicolas Cueto ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
No Code Signature Found
Hei thanks for your tipp. In my case it looks not working. All certificates are valid checked it in the keycain, in xCode and Apples Dev Website. A view days before I built the same app with the same settings in both of the same version of LC 5.5.1 and xCode 4.3.3 gives me a Code Signature - but now all new iOS Standalone have no more Code Signature. Has anyone similar symptoms? Some suggestion? Ueliweb 2011/11/28 Mike Kerner mikeker...@roadrunner.com: Never mind, I found a solution on the Forums (weird - I searched but...) Anyway, for those that read this in the future, go into your Keychain (Applications-Utilities-Keychain Access). In the Certificates, find and delete any expired development certificates, rebuild in LC and reinstall using XCode. On Sun, Nov 27, 2011 at 22:58, Mike Kerner mikeker...@roadrunner.comwrote: Hmm. My iOS app made it through the simulator, the standalone builder, and I have the certificates generated. Now I'm trying to use xCode to send it across to a real device for real testing and XCode gives me No Code Signature Found. Suggestions? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: QuickTime on Windows
Hi Jacque: Is QuickTime is installed or not? You say the system is XP -- way, way back, issues sometimes cropped up with players and filepaths. I would imagine these were probably fixed by now, but FWIW, here are two notes I had saved as possible workarounds: -- use an absolute file reference with file set fileName of player 1 to \ file:///volumes/primary/users/name/really_long_filename_here.mp3 -- swap out space characters with html replace space with %20 in tURL Can't say these will help but they're simple so maybe worth a try. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Jacque Landman Gay wrote: Does anyone know why a player object won't load an aiff file in a standalone? It works fine in the IDE. The sound file does exist and the filename for the player is correct. Windows XP LiveCode 5.5.1 Did the default setting for dontUseQT change? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: QuickTime on Windows
Thanks Scott. I just this second figured it out. I didn't give enough info for you to know what was wrong. QT is installed and I'm using long file paths, and it all works in the IDE. But -- here's what I left out -- I was running the standalone in Parallels from the network drive (i.e., the folder on my Mac.) All the play audioclip commands worked fine but players with sound files assigned didn't. Apparently QT doesn't like to load sound files from a virtually mounted drive. When I copied the sounds folder to the XP VM it started working. The question is though, how come QT was happy to load the file when it was running in the IDE? Weird. Doesn't matter I guess, the standalone will always be on the same drive with the app. But I like to know these things. Thanks again. On 7/30/12 5:45 PM, Scott Rossi wrote: Hi Jacque: Is QuickTime is installed or not? You say the system is XP -- way, way back, issues sometimes cropped up with players and filepaths. I would imagine these were probably fixed by now, but FWIW, here are two notes I had saved as possible workarounds: -- use an absolute file reference with file set fileName of player 1 to \ file:///volumes/primary/users/name/really_long_filename_here.mp3 -- swap out space characters with html replace space with %20 in tURL Can't say these will help but they're simple so maybe worth a try. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Jacque Landman Gay wrote: Does anyone know why a player object won't load an aiff file in a standalone? It works fine in the IDE. The sound file does exist and the filename for the player is correct. Windows XP LiveCode 5.5.1 Did the default setting for dontUseQT change? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: QuickTime on Windows
The VM should use a drive letter to map it. Were you using the mapped drive to access it? Bob On Jul 30, 2012, at 4:10 PM, J. Landman Gay wrote: Thanks Scott. I just this second figured it out. I didn't give enough info for you to know what was wrong. QT is installed and I'm using long file paths, and it all works in the IDE. But -- here's what I left out -- I was running the standalone in Parallels from the network drive (i.e., the folder on my Mac.) All the play audioclip commands worked fine but players with sound files assigned didn't. Apparently QT doesn't like to load sound files from a virtually mounted drive. When I copied the sounds folder to the XP VM it started working. The question is though, how come QT was happy to load the file when it was running in the IDE? Weird. Doesn't matter I guess, the standalone will always be on the same drive with the app. But I like to know these things. Thanks again. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: QuickTime on Windows
On 7/30/12 6:20 PM, Bob Sneidar wrote: The VM should use a drive letter to map it. Were you using the mapped drive to access it? I was creating a relative file path based on the file path of the main stack. In Parallels the shared drive is mapped to Z but the filename of the stack comes in as pfd://home/yadda/yadda. (I think it's pfd, I've shut down Parallels now, but it was something odd like that.) The script checks for the existence of the audio file and if it's there, it loads a player. There is a file 'pfd://home/yadda' returns true. When it gets passed off to QT it fails. The exact same script and filepath works in the IDE though. Maybe the IDE is passing the mapped letter to QT for us. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Certain Images cause LC Freeze?
Hi ForrestD, webmaster wrote Alejandro and Phil, This is very curious. I'm not sure why it works for you but fails every time for me. Could you let me know if you are running LiveCode 5.0.2 or something different for an IDE version? Thank you so much for testing. The support of the LC community is great! I tested your stack in RunRev version 2.8 and RevMedia version 4 in Windows XP with Quicktime Alternative installed. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Certain-Images-cause-LC-Freeze-tp4653018p4653112.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: QuickTime on Windows
I believe it's psd for Parallels Shared Drive. If it's important to you, you might try using the mapped drive path. The IDE probably knows how to translate while a standalone might not. Just guessing there though. Bob On Jul 30, 2012, at 4:34 PM, J. Landman Gay wrote: On 7/30/12 6:20 PM, Bob Sneidar wrote: The VM should use a drive letter to map it. Were you using the mapped drive to access it? I was creating a relative file path based on the file path of the main stack. In Parallels the shared drive is mapped to Z but the filename of the stack comes in as pfd://home/yadda/yadda. (I think it's pfd, I've shut down Parallels now, but it was something odd like that.) The script checks for the existence of the audio file and if it's there, it loads a player. There is a file 'pfd://home/yadda' returns true. When it gets passed off to QT it fails. The exact same script and filepath works in the IDE though. Maybe the IDE is passing the mapped letter to QT for us. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: No Code Signature Found
Hello Ueliweb, The only time that has happened to me is when I've forgotten to select a Profile in the Standalone Settings or made the wrong selection. be well, randy - On Jul 30, 2012, at 5:43 PM, Ueliweb wrote: Hei thanks for your tipp. In my case it looks not working. All certificates are valid checked it in the keycain, in xCode and Apples Dev Website. A view days before I built the same app with the same settings in both of the same version of LC 5.5.1 and xCode 4.3.3 gives me a Code Signature - but now all new iOS Standalone have no more Code Signature. Has anyone similar symptoms? Some suggestion? Ueliweb 2011/11/28 Mike Kerner mikeker...@roadrunner.com: Never mind, I found a solution on the Forums (weird - I searched but...) Anyway, for those that read this in the future, go into your Keychain (Applications-Utilities-Keychain Access). In the Certificates, find and delete any expired development certificates, rebuild in LC and reinstall using XCode. On Sun, Nov 27, 2011 at 22:58, Mike Kerner mikeker...@roadrunner.comwrote: Hmm. My iOS app made it through the simulator, the standalone builder, and I have the certificates generated. Now I'm trying to use xCode to send it across to a real device for real testing and XCode gives me No Code Signature Found. Suggestions? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: QuickTime on Windows
On 7/30/12 6:51 PM, Bob Sneidar wrote: I believe it's psd for Parallels Shared Drive. If it's important to you, you might try using the mapped drive path. The IDE probably knows how to translate while a standalone might not. Just guessing there though. Yeah, psd sounds right. I think your diagnosis is probably right. I don't need to do the mapping for the final standalone, but I'm glad to know why it didn't work. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Certain Images cause LC Freeze?
I'm using 5.0.1 on a Mac (Lion 10.7.4). I also made your stack into a standalone using 5.0.1 and it still worked as expected. The LC community is amazing - I completely agree. OK, I opened it in LC 5.0.2 by dragging the stack onto the unopened app's icon. Startup never quite completed - the LC splash screen remained visible, the Window menu lists the menubar as being edited, and nothing worked. I tried the same thing with 5.0.1 and your stack started up fine and was functional. Phil On 7/30/12 1:40 PM, webmas...@curiositi.com wrote: Alejandro and Phil, This is very curious. I'm not sure why it works for you but fails every time for me. Could you let me know if you are running LiveCode 5.0.2 or something different for an IDE version? Thank you so much for testing. The support of the LC community is great! --ForrestD On Sun, 29 Jul 2012 21:03:33 -0700, Phil Davis wrote: Hi Forrest, It works fine here. Phil Davis On 7/29/12 7:42 PM, webmas...@curiositi.com wrote: Sorry for the extra posts. Since I can't upload, here is a URL to download the example stack. http://www.curiositi.com/filestoshare/ImageCauseFreeze.zip Could some of you please download and tell me if you can recreate the error. Any ideas for preventing this error? --ForrestD On Sun, 29 Jul 2012 21:28:27 -0500, webmas...@curiositi.com wrote: Are file attachments allowed on this mailing list? I'm attempting to upload example stack as ZIPed file this time. --ForrestD On Sun, 29 Jul 2012 21:22:10 -0500, webmas...@curiositi.com wrote: Have others encountered this problem before? I've found that loading certain images into a LiveCode Image Area cause the program to become unresponsive. I have to force quit LiveCode and upon relaunch set the filename of the image area to empty. Otherwise, it will lock up again. Any ideas on why some images cause this lock-up, and others work just fine? I am attaching an example stack. Here is how to recreate: (in Run mode) 1) Click the Load Image Area button. 2) Click the Go Next button (or use keyboard shortcut) 3) Click the Go Prev button (or use keyboard shortcut) 4) Try to click anything... on the card or the tool palette -- nothing will work. Interestingly, you can perform the same steps with the same image loading into a Quicktime Player control and not get a LiveCode Freeze to occur. I am running LiveCode 5.0.2 on Mac OSX 10.6.8. Has anyone seen this before? Any ideas on how can I prevent this freeze/lock-up from happening? --Forrest Doddington ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
LiveCode iOS Externals rreNarrator
Hello World! I'm not certain earlier my postings made the list. I was able to join the RunRev Live conference via the virtual conference option. By way of background, I'd developed in HyperCard to develop an Interactive Video-Disc application controlled via the Mac, way back in 1990's while pursuing a Master's in Educational Technology at SDSU. I came across revolution a few years ago, and worked with it intermittently while at Ford Motor Company. More recently I've developed in Adobe Flex from 1.5 through 4.5; but I've recently jumped back to RunRev, I'm also setup with OnRev hosting. As for my project, I've got a working draft of a planned iPad app: it's working as a Macintosh application, I've tested in the iOS simulator, and I've been able to publish a few revisions directly to my iPad under a personal developer account. There are a couple issues that I'm bringing to the list: 1) I have a group with a scrolling field, and three buttons shared throughout a stack to appear as a common background. This functions fine in the Mac App version, but loaded on the iPad there is ONE card that appears to function, but the text is not visible. I've removed the group from this card, and replaced it but I have the same effect with loaded to the iPad. Thoughts on how to track this down? 2) As I mentioned, the speech synthesis is working on the desktop edition, but I need a bit of a kickstart for using the rreNarrator on the iPad. (I've located the source for the text-to-speech using 'flite,' the CMU speech synthesis project). First, it's barely mentioned on the SDK document, and I've attempted working through the example, to no avail. The video shows part of the process, but stops short of testing a working project, or showing details on integrating the external with actual LiveCode examples. The video focuses on creating a new Xcode project for the external, but I've got a working draft and I don't see how to install the external into a functional project. I'm not meaning to criticize, as I'm grateful to find that an external, the documentation, and samples are available, but I'm in need of a bit of guidance to get started with the text to speech external. If those of you with experience in the rreNarrator / or general externals use, would provide some further direction on list or directly, I'd be thankful. If you have a link to an article on integrating externals with LiveCode stacks, I'd like to see it. Brian Duck, The DuckWorks Plymouth, Michigan ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Windows 8
On Monday, July 30, 2012, Mike Kerner wrote: Apple gets 30%, too. They invented that model with the iOS AppStore. hitch is why I'm not even considering selling my program through them. a dollar to sell a three dollar program hurts, but when you sell lots of them . . . A third of a thousand dollar program, which costs the same buck or tho to distribute . . . . -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Windows 8
You make more sets of $700 than you would make through other distributors. On Jul 31, 2012, at 12:06 AM, Dr. Hawkins doch...@gmail.com wrote: A third of a thousand dollar program, which costs the same buck or tho to distribute . . . . ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Preview of Resolution Independent Control library for RevMobile
Could we be thinking about this the wrong way? Could we have a standalone build time process that took our stack file and created a ldpi,mdpi,hdpi and xhdpi version? Then a loader stack that loaded the right one... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: QuickTime on Windows
Jacqueline, I've been bit by this in the distant past and got in the habit of having the app determine the desired path so that it does not matter if running in the IDE or a standalone. I cant remember what the difference I ran into that made me start this. Cheers, Jeff Sent from my iPad On Jul 31, 2012, at 12:06 AM, use-livecode-requ...@lists.runrev.com wrote: Subject: Re: QuickTime on Windows Message-ID: 50173c0a.2050...@hyperactivesw.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 7/30/12 6:51 PM, Bob Sneidar wrote: I believe it's psd for Parallels Shared Drive. If it's important to you, you might try using the mapped drive path. The IDE probably knows how to translate while a standalone might not. Just guessing there though. Yeah, psd sounds right. I think your diagnosis is probably right. I don't need to do the mapping for the final standalone, but I'm glad to know why it didn't work. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: No Code Signature Found
Thanks Randy I doesen't change any setting. But I make a check anyway its the same. And when I try with other profils/ certificates it does not change. Its at the moment every LC Project that I built again has the same Problem. It looks that the Problem is not in the .livecode Project itself. In the iPhone Simulator the Projects works well like before (but at this point no certificates are needed) Ueli 2012/7/31 Randy Hengst iowahen...@mac.com: Hello Ueliweb, The only time that has happened to me is when I've forgotten to select a Profile in the Standalone Settings or made the wrong selection. be well, randy - On Jul 30, 2012, at 5:43 PM, Ueliweb wrote: Hei thanks for your tipp. In my case it looks not working. All certificates are valid checked it in the keycain, in xCode and Apples Dev Website. A view days before I built the same app with the same settings in both of the same version of LC 5.5.1 and xCode 4.3.3 gives me a Code Signature - but now all new iOS Standalone have no more Code Signature. Has anyone similar symptoms? Some suggestion? Ueliweb 2011/11/28 Mike Kerner mikeker...@roadrunner.com: Never mind, I found a solution on the Forums (weird - I searched but...) Anyway, for those that read this in the future, go into your Keychain (Applications-Utilities-Keychain Access). In the Certificates, find and delete any expired development certificates, rebuild in LC and reinstall using XCode. On Sun, Nov 27, 2011 at 22:58, Mike Kerner mikeker...@roadrunner.comwrote: Hmm. My iOS app made it through the simulator, the standalone builder, and I have the certificates generated. Now I'm trying to use xCode to send it across to a real device for real testing and XCode gives me No Code Signature Found. Suggestions? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
My Journey... Resolution Independent Control library.
I got LC 1 year ago for no other use than mobile. Very quickly I saw the LC light and am using it as a replacement for VB6, but I digress. When the multiple resolutions and rotation reality hit me. I first tried just to resize and re-position controls by a factor calculated from resizestack message (newWidth,newHeight,oldWidth,oldHeight). This of course introduced precision errors. This was very easy to see in the IDE by just grabbing a corner and changing the size of a card. This worked for a customer mobile demo with 1 resize and no rotation enabled. Then I dropped all app development and started writing a Resolution Independent Control library. If I had the LC knowledge at the time to implement a UI like the one that Chip and Ken previewed I would have done it. Very impressive guys!!! And I may be using yours in the future. But alas I went a different direction. As Bob points out below a percent type approach was what I went with. I had these requirements: 1 card per screen 1 set of images, but the ability to use multiple images if needed for exceptions. All resolutions and aspect ratios. Ability to change control layout (or not) based on screen orientation, resolution or aspect ratio Align controls with pixel precision. Easy initial layout. Not only resize the control but the text as well. Resize text by best fit, scaling best fit, percent of IDE size, scaling percent of IDE size. Aspect ratio locking by X or Y. Vertical centering of text. Work for both mobile and desktop Be a library stack Images are of sufficient quality to be scaled. Handle controls Images Single line text Fields Multi line text fields Buttons Button labels Button icons with zoom in/out Menu and tabbed controls. With the same text resizing options Groups Stamping controls in a group n across by z down Stamping of any collection of controls n across by z down It is implemented with call(s) to my library from a switch statement structure cased by card name in the preopencard and resizestack handlers in the stack script. Each call places 1 or more controls on a card. There are several calls per card as you could imagine. Calls are a bit clunky but quite fast once I got used to it. The calls have some advantages also. This makes different layouts defined by orientation/resolution/stack aspect ratios easy, just a switch statement away. A controls position/size is defined by a percent to each side of the bounding box. The rect of the bounding box is the edge of the card or the inside/outside edges of other controls. This makes putting controls inside other controls easy. Seeing that this is just a bunch of calls, the initial layout of a card is just spit balling. The actual positions won't happen until the calls are tested from the message box or by grabbing the corner of the card and changing the size and watch everything click into position. This way if you set a control to align 10% from the left, then all controls with a 10% left margin from the same edge will align perfectly. Edges have infinite length. If you have radio buttons then all the options will be spaced out evenly (or not). We all seem to be doing a lot of work for something that could have been handled in the engine. It would be nice if the mother ship could tell us physical size of the device even if it was just phone/tablet/TV. I'm happy with my solution for now. It works and I never care about new resolutions. New resolutions to me are just a. so you don't say. I am now changing PlaceControls from calls to a custom Property Set to keep the cards layout with the card and have no coding in the stack. I can then handle the preopencard and resizestack messages from the library stack. What a year! Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar Sent: Monday, July 30, 2012 1:54 PM To: How to use LiveCode Subject: Re: Preview of Resolution Independent Control library for RevMobile Seems like the whole pixel coordinate system achilles heel is showing. Better would be a percentage system, so that theoretically I can set the topleft of a control to a percentage of the hv of the card. This really should be an engine change, but I suppose a library could be developed for this purpose. I'll have to think about it. Off the top of my head, it would seem to me to be better to start with the smallest res supported as the baseline layout, then scale up. Bob On Jul 28, 2012, at 1:49 PM, Monte Goulding wrote: For layout to play nicely with scaling it will need to place controls relative to each other and window boundaries and not include any reference to physical pixels without multiplying by a scaling factor. So if you want a field to have 3 px padding from the edge of the card you need to use 3 * scale. So I think unfortunately the layout lib would need to be
Re: peed off with P Lists
On 07/30/2012 11:47 PM, Mark Schonewille wrote: Richmond, Did you enter a version number in the OSX panel of the standalone settings? Yes: 1.0.2.4 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du On 30 jul 2012, at 21:56, Richmond wrote: Dear and Mark, et al, RR/LC does supply Info.plist files in its Mac standalone app packages. As I work with LC 4.5 here is an extract from the Info.plist from version 1.0.2.4 of my Devawriter Pro build for Mac PPC: stringDevawriter Pro/string keyCFBundleIdentifier/key stringcom..dwpro/string keyCFBundleGetInfoString/key string1/string keyCFBundleIconFile/key stringStandalone.icns/string keyCFBundleInfoDictionaryVersion/key string6.0/string keyCFBundleLongVersionString/key string1.0.2.4/string keyCFBundleName/key stringDevawriter Pro/string keyCFBundlePackageType/key stringAPPL/string keyCFBundleShortVersionString/key string1/string keyCFBundleSignature/key string/string keyCFBundleVersion/key string4.5.0.1030 (dp-4)/string The MacUpdate people object to the last line, and I have to change 4.5.0.1030 (dp-4) to whatever the version number of my standalone is (in this case 1.0.2.4). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode