64-bit App Store requirement
Recently read the Ars Technica article “Apple: Beginning February 2015, App Store submissions need to be 64-bit”: http://arstechnica.com/apple/2014/10/apple-beginning-february-2015-app-store-submissions-need-to-be-64-bit/ http://arstechnica.com/apple/2014/10/apple-beginning-february-2015-app-store-submissions-need-to-be-64-bit/ ...and was wondering if anyone knew what RunRev’s plans are for this. I don’t see anything about 64-bit in the roadmap. Regards, John ___ 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
How to install under Elementary of Mint Linux
Sorry for the likely dumb question: How do you install Livecode under 64-bit Linux? Specifically, I'm trying the latest versions of Elementary and Mint, which are Ubuntu derived. The Livecode download (Commercial or Community) are .x86 files. Changing the properties to allow execution doesn't help, and that's about all I've been able to find online. Running: ./LivecodeCommunityInstaller-6_5_0-Linux.86 (also tried: sudo ./LivecodeCommunityInstaller-6_5_0-Linux.86) ...seems to produce a file called: LivecodeCommunityInstaller-6_5_0-Linux.86~ ...which I can't seem to do anything with. I'm unsure if these OSes can't run 32-bit code, or if it's me. I've exhausted my Google-fu. Help! Appreciatively, John ___ 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: How to install under Elementary of Mint Linux
Many thanks, Mark. That worked! So for anyone else trying to install LC on 64-bit Linux that's: sudo apt-get install ia32-libs chmod u+x LC_download_filename.x86 (gksu seems to be included by default in Elementary Linux and Mint Linux) -John On Feb 14, 2014, at 1:18 PM, Mark Wieder mwie...@ahsoftware.net wrote: John Brozycki livecode@... writes: Sorry for the likely dumb question: How do you install Livecode under 64-bit Linux? Runrev hasn't yet seen fit to release a 64-bit binary, so your best option is to install the ia32lib libraries from the usual repos. You still have to set the executable bit on the downloaded binary, and if you don't have gksu installed and you want to install for all users you'll have to su and run the installer from a commandline. -- Mark Wieder ahsoftw...@gmail.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: 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: Lion [and the Mac app store]
On the topic of Lion: Has anyone recently gotten a Mac OS X app through the Mac App store successfully? I remember a threat a while back asking about adding Lion's native full screen support into LiveCode, and I'd read that Apple was/is rejecting apps that don't support full screen. I've never submitted anything to the Mac App store but am considering something for the future. It would be nice to know if that route isn't a possibility until fullscreen is support before meeting with rejection. Will full screen be coming to LC5.5? Any insights greatly appreciated. John On Feb 15, 2012, at 3:14 AM, Paul Hibbert wrote: Hi Joe, Two more issues I've come up against since upgrading to Lion: If you use 'import snapshot' without any parameters the resulting snapshot is just total garbage, this command was a problem under Snow Leopard, Vista and MX although not quite as bad. RR have known about it for several years, but have not fixed it so far, so I'm not anticipating fix real soon. Another command that returns total garbage under Lion is 'mouseColor' and even worse, if the 'mouseColor' command is active and you move the cursor to the top of the screen, LC or a standalone will crash. Both of these issues have been reported, (#6430 #9980) and they both affect apps that I'm building so it meant some major rethinking on my part. The first one was no big deal, it actually forced me to improve the app, but the second issue is a problem, I've had to disable a feature for Lion users, that's not good. Apart from that, I felt it was important to know what my apps were like on Apple's latest system, it's been out for a while now so there's a good chance your app may end up running on it somewhere. Paul On 15 Feb 2012, at 04:15, Joe Lewis Wilkins wrote: Anyone using Lion: Are your stand-alones created with LC using Snow Leopard or earlier running OK on Lion? I have yet to move up to Lion. Also, is LC 4.5.2 running OK on Lion? What about other apps such as AppleWorks? And is Lion much different than Snow Leopard? I'm sure that must be discussed on the Apple website, but while I'm at it TIA, Joe Wilkins ___ 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: OT: Tracking Santa
Lynn, Very cool! My 8 yr old son has been closely following this all night. He was really impressed how it even had Rudolf, and Rudolf's nose was red. Well done! Happy Holidays, all! -John On Dec 24, 2011, at 3:21 PM, Lynn Fredricks wrote: Hi Everyone, NORAD TRACKS SANTA is live today with Santa being tracked live and using Google Earth. Totally off-topic, but if you watch those videos, you'll see a Santa and sleigh. These come from Meshbox Design, which is a part of Proactive International (and based partially on my original design!). We've been a co-contributor to this project for 5+ years now. Have a Merry Christmas everyone! Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.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: uuencoded
Warren, Although UUENCODE and BASE64 are not the same, there is some similarity and newer versions of UUENCODE have the ability to output to BASE64. If you have any control of the image production process, you might be able to output them in BASE64, then you can use the base64Decode command in LiveCode. If not: I've never tried decoding a uuencoded file with base64Decode, but it wouldn't hurt to give it a try. (I don't think base64Decode will decode uuencoded files, but it's possible that the uuencoded files could actually be BASE64.) If this fails, you could shell an external command. For example, in Mac OS X there are built in commands uuencode and uudecode. Good luck, John On Nov 25, 2011, at 10:41 AM, Warren Kuhl wrote: I have files (jpg/gif) that are uuencoded. Is there a simple way in LiveCode to convert these to jpg or gif files? Thanks for any help, Warren ___ 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: text color part 2
This still isn't exactly what I want. Given search term of http: this will change color of the entire word http://somesite.com;. I only want to change the color of what matches. Tried the following: on mouseUp set the traversalOn of field Results to true put the text of field Results into tResults put the text of field SearchField into strSearch put the length of strSearch into tLength put 1 into tFramePos put 0 into tPreviousOffset repeat while tFramePos 0 put itemOffset(strSearch,tResults,tPreviousOffset) into tFramePos select characters (tFramePos+tPreviousOffset) to (tFramePos+tPreviousOffset+tLength) of field Results set the textColor of the selection to red set the BackgroundColor of the selection to yellow put tFramePos + tPreviousOffset into tPreviousOffset end repeat end mouseUp I get a syntax error on the select characters line. After consulting the Dictionary/User Guide/web I can't find syntax how to select characters. Am I specifying this wrong or is there another command to do this? Thx, John On Nov 21, 2011, at 8:31 PM, Mike Bonner wrote: you can set the textcolor of the selection to red Be aware though, if you just have an insertion point in the field, and set the textcolor of the selection to red, any typing done afterwards will be red. If this isn't what you desire you'll probably want to check to see what is selected so you can avoid this behavior. On Mon, Nov 21, 2011 at 6:31 PM, John Brozycki jo...@hvc.rr.com wrote: Is it possible to select text in a field and change the text or highlight color of JUST the selected text? I realize I could do this with HTML ( such as FONT COLOR=#00) but what if you are trying to highlight and display HTML source, and thus the field is plaintext so that HTML commands display instead of being rendered in the field? find string... - only provides a highlight box around sequential searches for the text, and in the same color of the text. set the textColor of field x... - changes the color for the entire field. Any suggestions greatly appreciated! Thanks, John ___ 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: text color
Mike, Thanks! You got me started with your first reply. I saw that it was grabbing the first characters of the word, even if not what you wanted. For example, if word was timebandit, but you wanted bandit, it selected timeba. Also, I messed up incrementing my offset, so it only got the first match correctly. Here is my working code for setting the color for any specified search text in a field. Again, a HUGE thanks for your efforts! Really appreciate it! I'm sooo happy this finally works! on mouseUp set the traversalOn of field Results to true put the text of field Results into tResults put the text of field SearchField into strSearch put the length of strSearch into tLength put 1 into tFramePos put 0 into tPreviousOffset repeat while tFramePos 0 put wordOffset(strSearch,tResults,tPreviousOffset) into tFramePos put word(tFramePos+tPreviousOffset) of tResults into tFullWord put offSet(strSearch,tFullWord) into tCharOffset if tCharOffset = 0 then select char (tCharOffset) to (tCharoffset+tLength-1) of word (tFramePos+tPreviousOffset) of field Results set the textColor of the selection to red end if put tFramePos + tPreviousOffset into tPreviousOffset -- put tFramePos + tPreviousOffset into tPreviousOffset end repeat select empty end mouseUp On Nov 22, 2011, at 12:43 PM, Mike Bonner wrote: Last time. I swear. Really. Would help if I'd locate all the quirks before posting, eh? The problem with the last code is that if nothing is found it still hilites from the beginning of the field for the number of chars in the search string. So to fix 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: text color part 2
Mark, Thanks for the suggestion. I've typically done just that to color text. The problem is, in this case, the field contains plaintext that is actual html, and I need to be able to view it without it disappearing and modifying other text. For example, a search could be done on, say, font and I want it to find all of this occurrences and color them to make them stand out. Mike's suggestion got me to an answer, and we both posted working solutions. Just want to say how thankful I am for this list and everyone who has helped me either directly by replying to a question I asked, or indirectly by helping someone else and I've benefited from the answer. Best, John On Nov 22, 2011, at 7:54 PM, Mark Wieder wrote: John- If you can get by without setting the background color, try using the htmlText property of the field, something like this: on mouseUp local tText local tStrReplace put the htmlText of field Original into tStrReplace put font color= quote red quote \ field SearchField \ /font into tStrReplace replace field SearchField with tStrReplace in tText set the htmlText of field Results to tText end mouseUp -- -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
OT: VMware special and running OS X 10.5/6 under Fusion
For anyone interested in VMware Fusion for Mac or VMware Workstation for Windows, VMware is going to offer 30% off next Monday ($34.99 USD for Fusion): http://stepcoupons.com/vmware-cyber-monday-sale/ It also appears that with the latest update VMware has removed the check in Fusion to see if pre-Lion OS X versions are server versions, meaning you should be able to install Leopard and Snow Leopard under VMware Fusion. Haven't tried this yet and not sure that Apple is going to like it, but it would be great for testing against older versions of OS X on one machine without having to boot off an alternate boot device. http://arstechnica.com/apple/news/2011/11/vmware-fusion-users-can-now-install-leopard-snow-leopard-in-vms.ars Cheers, John ___ 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
text color
Is it possible to select text in a field and change the text or highlight color of JUST the selected text? I realize I could do this with HTML ( such as FONT COLOR=#00) but what if you are trying to highlight and display HTML source, and thus the field is plaintext so that HTML commands display instead of being rendered in the field? find string... - only provides a highlight box around sequential searches for the text, and in the same color of the text. set the textColor of field x... - changes the color for the entire field. Any suggestions greatly appreciated! Thanks, John ___ 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: lc shell and command line
Regarding shell commands and LiveCode I've noticed that under OS X, invocation of a shell command is silent. But under Windows, you see a CMD window quickly pop up and disappear. I haven't found any options to prevent the shell command popping up under Windows, but wondered if anyone knew of a way to prevent it from happening. Thanks, John On Nov 14, 2011, at 3:12 AM, Peter Alcibiades wrote: I'm having trouble with the livecode shell and cd command also. pwd in a terminal does: :~/ runrev 4.5/livecode-4.5.2$ cd .. :~/ runrev 4.5$ pwd runrev 4.5$ If you do the exact same things using put shell(), this doesn't work. In particular, put shell(pwd) does indeed return the working directory, but put shell(cd ..) does not work at all. Why not? Probably an obvious reason - is it something to do with escaping characters? Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/lc-shell-and-command-line-tp4036681p4038742.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: Automatic object resizing on card changes
A big thanks to BvG and Mark for your replies. Not only did BvG provide the quick and dirty answer: on opencard revUpdateGeometry end opencard ...but both BvG and Mark provided sample code code for handling resizing on your own. Thanks! I really appreciate it, guys! -John On Nov 4, 2011, at 7:44 AM, Mark Schonewille wrote: Hi John, This really depends on the situation. Here's a very simple example: on resizeStack put the rect if this cd into myRect add 16 to item 1 of myRect add 16 to item 2 of myRect subtract 16 from item 3 of myRect subtract 16 from item 4 of myRect set the rect of fld 1 to myRect end resizeStack By setting object sizes and positions relative to the card rect, you avoid many problems. If e.g. you calculate the new points based on the current points relative to the card rect, your objects will slowly change location: // wrong on resizeStack theOldW,theOldH,theNewW,theNewH put the loc of fld 1 into myLoc put item 1 of fld myLoc / theOldW into myRatio put myRatio * theNewW comma item 2 of myLoc into myNewLoc set the loc of fld 1 to myNewLoc end resizeStack The script above will eventually round off the loc of the object and the location may be off by one pixel. Instead, try to find a way to set the location directly: // correct on resizeStack set the loc of fld 1 to item 1 of the loc of this cd comma item 2 of the loc of fld 1 end resizeStack The second (quite obvious) approach will never cause rounding problems. Btw, the second and third script change the location of a field horizontally, relative to the right side of a card, keeping the field horizontally centered. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 3 nov 2011, at 18:46, John Brozycki wrote: Hello, Given a resizable stack with, say, two cards that both have objects that have their geometry set to scale on resize (like a text field) what is the best way to get objects on card 2 to automatically resize when card one is resized and then a button is selected to go to card 2? It doesn't do this automatically- you have to resize the second card. Make the second card much larger than the first was, and when you go back the objects on the first card are all off. With each card, you have to manually resize for the objects to adjust properly. Shouldn't this happen automatically when you configure the geometry settings? I've tried using revWChangeWindowSize on my button to the next card, but it doesn't appear to do anything for object sizing. Sorry if this is a basic question, but I can't find how to do this. Much thanks, John ___ 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: Limiting field entry to plain text
Thanks, Terry and Klaus for responding. I used Klaus' recommendation. Sure enough, there WAS a better way! On Oct 25, 2011, at 3:46 PM, Klaus on-rev wrote: Hi John, Am 25.10.2011 um 21:05 schrieb Terry Judd: On 26/10/2011, at 05:51 AM, John Brozycki wrote: Hi all, I have an input field that accepts URLs. If a user copies a URL from an email or a website and pastes it, it is pasted in HTML format. I only want the field to be plain text. I can set the font and size, but it seems like fields always exist with (plain)text and htmltext states and LiveCode automatically accepts htmltext when it's entered. Is there a setting to make a field ONLY plaintext, even if a user copies and pastes a URL from an email or browser? My current workaround is to trap the paste function for the field, then paste and convert it, which happens instantaneously from a user standpoint: on pasteKey paste set the htmltext of field URLField to the text of field URLField end pasteKey try this: on pasteKey put the clipboarddata[text] into fld URLField end pasteKey Check clipboarddata in the dictionary. So, this works, but I was wondering if there is a way to limit a field to only plaintext so I wouldn't have to do this. Any recommendations appreciated. Much of a muchness, but you could try clearing the clipboardData[html] before you paste in your pasteKey handler. That way you should just be pasting plain text. Terry... Thanks, John 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 ___ 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