Re: Checking out the "Resources" button in LC9
By the way, Happy Birthday Richmond!!! Hope you have a great day. Tom McGrath ___ 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
Price Rising and a hard decision
Well, I’ve thought long and hard about this decision and have put it off time and again struggling to hang on for the last few years while watching my commercial licenses run out. With the push towards doubling the price of LiveCode by the end of the year I can no longer afford to keep up with these ‘improvements' that I thought would be so awesome way back before the start of the original Kickstart campaign. I’m done. I’ve got no more to give. It’s been a great fun ride this past decade or so and the people! WOW the people I’ve met along the way are just awesome and have been the heart and soul of this experience for me. I wish I could hang on and see the promise of a truly great product come true but it’s just too expensive for me. Time to rethink what role the Community version can play, if any, in my plans. Thank you everyone for everything, Tom McGrath ___ 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: Open Source Kickstarter Report Card
I haven’t posted in a long long time and I have a question. I just reread the entire Kickstarter Campaign promises and they state very clearly that IOS deployment is included in the open source edition It will run on every popular platform and device.” and “...running on six platforms - Windows, Mac, Linux, iOS, Android and Server” but on the new livecode pricing page it states that “Note: IOS deployment is not included in the open source edition”. I am really confused by this and was wondering which is true. I have always paid for and had the biggest commercial version available and will probably buy into the Indie version once they are up, but I convinced a lot of people to contribute to the Campaign and am wondering if I owe them all apologies. Tom McGrath On Aug 17, 2015, at 2:47 PM, William Prothero proth...@earthednet.org wrote: Terry: This was my concern. Richard: Thanks for clarifying. Sorry if I spread mis-information. But I did read it, so the clarification is helpful, and appropriate (at least for me). Regards, Bill On Aug 17, 2015, at 11:33 AM, Terence Heaford t.heaf...@icloud.com wrote: On 17 Aug 2015, at 19:13, Richard Gaskin ambassa...@fourthworld.com wrote: and I don't recall seeing it on either the Kickstarter stretch goals Are we to conclude form all these type of comments that if it was not in the KickStarter Stretch goals then it’s fair game to be omitted from future Open Source releases and included in future Commercial releases? All the best Terry ___ 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: Open Source Kickstarter Report Card
Ralph, Thanks for clarifying that. Kevin, That’s why I asked first before assuming. Thanks for clarifying as well. (Might want to include something to that affect on the pricing page.) Back to my woodwork. Tom On Aug 17, 2015, at 3:28 PM, Kevin Miller ke...@runrev.com wrote: As we've said, we aren't removing anything. You've always been able to build for iOS in Community. The fact you can't deploy to the store is down to Apple's licensing incompatibility with the GPL, nothing to do with us and no change there on our part. On 17 Aug 2015, at 20:18, Thomas McGrath III mcgra...@mac.com wrote: I haven’t posted in a long long time and I have a question. I just reread the entire Kickstarter Campaign promises and they state very clearly that IOS deployment is included in the open source edition It will run on every popular platform and device.” and “...running on six platforms - Windows, Mac, Linux, iOS, Android and Server” but on the new livecode pricing page it states that “Note: IOS deployment is not included in the open source edition”. I am really confused by this and was wondering which is true. I have always paid for and had the biggest commercial version available and will probably buy into the Indie version once they are up, but I convinced a lot of people to contribute to the Campaign and am wondering if I owe them all apologies. Tom McGrath On Aug 17, 2015, at 2:47 PM, William Prothero proth...@earthednet.org wrote: Terry: This was my concern. Richard: Thanks for clarifying. Sorry if I spread mis-information. But I did read it, so the clarification is helpful, and appropriate (at least for me). Regards, Bill On Aug 17, 2015, at 11:33 AM, Terence Heaford t.heaf...@icloud.com wrote: On 17 Aug 2015, at 19:13, Richard Gaskin ambassa...@fourthworld.com wrote: and I don't recall seeing it on either the Kickstarter stretch goals Are we to conclude form all these type of comments that if it was not in the KickStarter Stretch goals then it’s fair game to be omitted from future Open Source releases and included in future Commercial releases? All the best Terry ___ 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 ___ 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: RELEASE LiveCode 6.6.2 RC4
Hello all, I have been away for a little while and am just getting back into LC again. Andre coming back and finishing the fbAuth library sparked my creative juices again. Anyway, I was wondering if anyone noticed arrowkey or keyDown not working correctly in this build. I downloaded this tetris stack http://livecodegamedeveloper.com/blog/2014-02-10/livecode-tetris.lc from a previous thread and noticed that it was not working on my Mac OSX machine. So I put in a couple of answer commands but no luck. I then put in a rawKeyDown and got it to work using the arrow keys that way. on arrowKey pKey put pKey into sKeyPress -- answer sKeyPress pass arrowKey end arrowKey on keyDown pKey if pKey = space then put space into sKeyPress -- answer sKeyPress pass keyDown end keyDown on rawKeyDown pKey if pKey is 65361 then put left into sKeyPress if pKey is 65363 then put right into sKeyPress if pKey is 65362 then put up into sKeyPress if pKey is 65364 then put space into sKeyPress --answer pKey end rawKeyDown Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com O ___ 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 Say This Is Crap In Different Cultures
If you haven’t tried the new iTunes radio, I suggest you give it a try. It is almost as good as Pandora with no ads. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Feb 26, 2014, at 9:39 AM, Richmond richmondmathew...@gmail.com wrote: For the sake of argument; the last time I used iTunes was at version 6, and, as far as I remember the radio function then was OK, if, like me, you happen to like Hickey Rockabilly-cum-Bluegrass music from Memphis. ___ 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] MIA
Monte, I am so so sorry for your loss. I lost both of my daughters brothers before she was born. They were twins and died eight days apart after being born into the world. I am praying for you and your wife. Contact me if you need to, other wise we can keep an eye out for you on the lists and forums….. Yours truly, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jan 20, 2014, at 3:12 PM, Monte Goulding mo...@sweattechnologies.com wrote: Hi Folks I'm going to be off the reservation for a little while. For those that knew we had a baby due in a couple of weeks we lost her yesterday and I just need to focus on family for a while. If my friends here notice anyone getting upset about lack of communication from me/mergExt on the forums etc could you please let people know I'll be back when life settles down a bit. Thanks Monte -- M E R Goulding Software development services 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: Hacking the GUI
Jim, Are you saying that you got smooth rotating of large images on iOS? Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Oct 9, 2013, at 1:45 AM, Jim sims s...@ezpzapps.com wrote: I just spent a few hours on an iOS app where i was using Grab to move a large, 2-4mb, photo around. Was jerky, until i realized that the scroller was accounting for the jerkiness. Found a way to do preopenstack before and after that moving process (killing reviving) the scroller. Can grab photo and spin it around now. Is there a scroller? Are you on iOS? sims On Wednesday, October 9, 2013, Earthednet-wp wrote: Folks, Thanks for the comments. What I'm doing is dragging an image that is larger than the viewing area. I set the loc of the image (according to the mouseloc) inside a repeat loop. The general idea is below. On drag repeat while the mouseStillDown --set the loc of the image according to the mouseloc end repeat end drag The motion of the image is pretty jerky. It's a pretty large image. The reason I wanted to add and subtract points is to calculate the new loc for the image. I do this now by separating out x and y and operating on them individually. I suspect that most of the time is spent moving that large image, though, instead of doing the calculations. The image is a map, and I intend on plotting symbols on it. To speed this up, I'm plotting on a snapshot of the visible part of the image (which sits on top of the visible part). The plot will need to be updated each time the map is dragged or is magnification changed. If there is a faster way to move a large image around, I'd like to hear of it. Thanks again, Bill William Prothero http://es.earthednet.org On Oct 8, 2013, at 7:33 PM, J. Landman Gay jac...@hyperactivesw.comjavascript:; wrote: On 10/8/13 9:29 PM, Monte Goulding wrote: On 09/10/2013, at 1:25 PM, J. Landman Gay wrote: I think my answer was condescending, I apologize. Maybe I read a different answer ;-) The dictionary in 6.1.1 doesn't have an example of addition in the points entry. Is that in a different version's dictionary? It's the point entry not the points entry. Aha. Thanks, found it. -- Jacqueline Landman Gay | jac...@hyperactivesw.comjavascript:; HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com javascript:; 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 javascript:; 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: Hacking the GUI
Jim, No, I was referring to rotate around a 2d point on a flat plane not 3D. Rotating an image around a point on a 2D plane still causes anomalies on iOS in the rotated image and I was hoping it was fixed and you had done it smoothly. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Oct 9, 2013, at 9:44 AM, Jim sims s...@ezpzapps.com wrote: If by rotate you mean like 3D then no way ;-) I mean using grab to move a large photo around on an iPad. What had to be done was to disable/kill the scroller that lived in the same space. There is a scrolling group of about one hundred rows that have groups of: THUMBNAIL_MAGE - FIELD - FIELD That scroller affected that Grab so it only worked for a small distance. Clicking on the thumbnail brought up the following image which can be increased/decreased in size. This video does not show the scroller part which gets disappears using hide grp AllItems I wanted them to be grabbed and moved so you can increase in size for viewing details - that meant that you needed to grab and drag parts back into the view of the iPad as the image gets larger than the iPad space. This is for a museum and they have items such as coins and clothing that cannot be handled but details can be viewed by using this technique. The following is recorded from the iOS simulator - using the iPad looks much smoother. http://ezpzapps.com/grabMove.mov So, that is what I meant by spin. sims On Wed, Oct 9, 2013 at 2:47 PM, Thomas McGrath III mcgra...@mac.com wrote: Jim, Are you saying that you got smooth rotating of large images on iOS? Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Oct 9, 2013, at 1:45 AM, Jim sims s...@ezpzapps.com wrote: I just spent a few hours on an iOS app where i was using Grab to move a large, 2-4mb, photo around. Was jerky, until i realized that the scroller was accounting for the jerkiness. Found a way to do preopenstack before and after that moving process (killing reviving) the scroller. Can grab photo and spin it around now. Is there a scroller? Are you on iOS? sims On Wednesday, October 9, 2013, Earthednet-wp wrote: Folks, Thanks for the comments. What I'm doing is dragging an image that is larger than the viewing area. I set the loc of the image (according to the mouseloc) inside a repeat loop. The general idea is below. On drag repeat while the mouseStillDown --set the loc of the image according to the mouseloc end repeat end drag The motion of the image is pretty jerky. It's a pretty large image. The reason I wanted to add and subtract points is to calculate the new loc for the image. I do this now by separating out x and y and operating on them individually. I suspect that most of the time is spent moving that large image, though, instead of doing the calculations. The image is a map, and I intend on plotting symbols on it. To speed this up, I'm plotting on a snapshot of the visible part of the image (which sits on top of the visible part). The plot will need to be updated each time the map is dragged or is magnification changed. If there is a faster way to move a large image around, I'd like to hear of it. Thanks again, Bill William Prothero http://es.earthednet.org On Oct 8, 2013, at 7:33 PM, J. Landman Gay jac...@hyperactivesw.com javascript:; wrote: On 10/8/13 9:29 PM, Monte Goulding wrote: On 09/10/2013, at 1:25 PM, J. Landman Gay wrote: I think my answer was condescending, I apologize. Maybe I read a different answer ;-) The dictionary in 6.1.1 doesn't have an example of addition in the points entry. Is that in a different version's dictionary? It's the point entry not the points entry. Aha. Thanks, found it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com javascript:; HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com javascript:; 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 javascript:; 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
Re: iOS 7 / Xcode 5 and the status bar.
Ralph, Have you noticed that the simulator does not respect any settings for display status bar or status bar style. The device seems to respect them just not the simulator. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Oct 2, 2013, at 11:44 AM, Ralph DiMola rdim...@evergreeninfo.net wrote: I'm doing the same thing but using a % of the display height as to account for different pixel densities.(retina vs. non-retina). Non-retina is 20 pixels and retina is 40 pixels. Now that I understand this seasons style I will adapt. ___ 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: iPhoneControls group close
Gerry, If the backgroundBehavior is true then you can remove the group from every card in a stack using Remove Group without deleting the group. Then at any point you can Place Group to put it where you want. I am not sure if that is what the OP wanted or not since he never replied back. Regards, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Sep 7, 2013, at 2:12 AM, Gerry Orkin gerry.or...@gmail.com wrote: That will delete the group from the stack - is that what the OP wanted?? On 05/09/2013, at 11:18 AM, Thomas McGrath III mcgra...@mac.com wrote: Go to the main Stack where the offending group is being shown in the IDE and select Remove Group from the Object Menu. That should do it. ___ 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: iPhoneControls group close
Vaughn, The Card Script should include a closeCard handler: on closeCard mobileControlDelete browserID end closeCard or on closeCard mobileControlDelete browser end closeCard Either will work. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Sep 7, 2013, at 10:28 PM, Vaughn Clement vclem...@gmail.com wrote: Hi all The Stack Script for the same stack as the group: on openStack if environment() = mobile then mobileStartTrackingSensor location,true end if end openStack on locationChanged latitude, longitude set the theCurrentLocation of this stack to latitude comma longitude end locationChanged on openCard put the short id of this card into field Screen Number pass opencard end openCard The Card Script: global browserID, theURL on openCard focus on nothing end openCard on loadBrowser iphoneControlCreate browser put the result into browserID iphoneControlSet browserID, url, theURL iphoneControlSet browserID, autofit,true iphoneControlSet browserID, rect, the rect of group browser iphoneControlSet browserID, delayRequests, false iphoneControlSet browserID, dataDetectorTypes, link, calendar event, phone number iphoneControlSet browserID, visible, true end loadBrowser The load Browser Button script: global theURL, witchmap on mouseUp if witchmap = Google then put fld id 1039 into theURL end if if witchmap = Mapquest then put fld id 1035 into theURL end if loadBrowser end mouseUp Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/* Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclem...@gmail.com LogMeIn also avaialble Call on ooVoo at address: vaughnclement or 9282549062 Ph. 928-254-9062 On Sat, Sep 7, 2013 at 5:19 PM, Gerry Orkin gerry.or...@gmail.com wrote: Can you show us the code you use to create the browser control? Gerry On 08/09/2013, at 9:23 AM, Vaughn Clement vclem...@gmail.com wrote: The browser group is the name of the group object that I am using to display the Google or MapQuest web site. ___ 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: iPhoneControls group close
Vaughn. Also, you should just use a rectangle for the browser 'rect' instead of a group, you have: iphoneControlSet browserID, rect, the rect of group browser Instead of using a group browser -- delete that group and instead put a rectangle on the card named browser and then replace the line above with this in your script as well as adding the on closeCard handler from my other email: iphoneControlSet browserID, rect, the rect of control browser Do both of these and that should solve your problems. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Sep 7, 2013, at 10:28 PM, Vaughn Clement vclem...@gmail.com wrote: Hi all The Stack Script for the same stack as the group: on openStack if environment() = mobile then mobileStartTrackingSensor location,true end if end openStack on locationChanged latitude, longitude set the theCurrentLocation of this stack to latitude comma longitude end locationChanged on openCard put the short id of this card into field Screen Number pass opencard end openCard The Card Script: global browserID, theURL on openCard focus on nothing end openCard on loadBrowser iphoneControlCreate browser put the result into browserID iphoneControlSet browserID, url, theURL iphoneControlSet browserID, autofit,true iphoneControlSet browserID, rect, the rect of group browser iphoneControlSet browserID, delayRequests, false iphoneControlSet browserID, dataDetectorTypes, link, calendar event, phone number iphoneControlSet browserID, visible, true end loadBrowser The load Browser Button script: global theURL, witchmap on mouseUp if witchmap = Google then put fld id 1039 into theURL end if if witchmap = Mapquest then put fld id 1035 into theURL end if loadBrowser end mouseUp Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/* Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclem...@gmail.com LogMeIn also avaialble Call on ooVoo at address: vaughnclement or 9282549062 Ph. 928-254-9062 On Sat, Sep 7, 2013 at 5:19 PM, Gerry Orkin gerry.or...@gmail.com wrote: Can you show us the code you use to create the browser control? Gerry On 08/09/2013, at 9:23 AM, Vaughn Clement vclem...@gmail.com wrote: The browser group is the name of the group object that I am using to display the Google or MapQuest web site. ___ 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: iPhoneControls group close
Vaughn The mobileControlDelete needs either the controlID or the control name to work and should be put in the close card handler for the Map card. You might want to check the id or name again. I have not had any problems with controls not deleting correctly. You might want to check the name when running in the simulator using: get mobileControls() answer it -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Sep 4, 2013, at 11:58 AM, Vaughn Clement vclem...@gmail.com wrote: Good Day All I am another new user who has a question about removing a iPhoneControl i.e. a browser after the task is done. Issue: I created a mainstack that included a series of image objects that were to be used to simulate a tab interface. I used scripts in buttons to Hide / Show the group for each image area. My buttons worked for the most part, but I ran into and issue when I tried to display Google Maps in the main stack. The iPhoneControl in the simulator would not display the grouped object. I was told to use a new card in the main stack to allow the grouped object to function. I added the card and upon testing I was able to get the map app to work in the group browser as required. The issue: When I leave the card with the map showing, the map now appears on top of all the other group images in the main stack. I tired everything I could think of to close the iPhone control when leaving the card with the group. Nothing seems to work. I tried iPhoneControlDelete and it had no effect. I read the tutorials and tried anything that looked like it might work. Has anyone had this issue? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/* Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclem...@gmail.com LogMeIn also avaialble Call on ooVoo at address: vaughnclement or 9282549062 Ph. 928-254-9062 ___ 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: iPhoneControls group close
Ohh, It is not the Browser that won't go away but a grouped background. Got it. Go to the main Stack where the offending group is being shown in the IDE and select Remove Group from the Object Menu. That should do it. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Sep 4, 2013, at 5:15 PM, Vaughn Clement vclem...@gmail.com wrote: Hi Thomas This is difficult for a new user to explain but here I go: In the simulator how do I test for the ID when there is no way to add the get statement? I have a question that might lead to the solution: When I view the Project Browser and look at the other grouped objects that were show / hide objects on the Main Stack, they also appear on the new card I created as group objects. My understanding is that the main stack objects needed to have the acts like a background in order to create new cards in the main stack. Likewise the new card where I added the browser group where the map was to appear did not need to be treated as a background because it was called by a script. I turned off all of the group objects in the main stack with acts like a background and retested the sim. The map group object stilled appeared in the main stack group objects even after adding the closeCard close handler. The map also appeared in the calling screen object area in the main stack on top of the controls in the hide show item. Actually it was still in all of the main card hide show objects. I know that there is some convention for backgrounds that is not clearly defined in the LC documentations. I think I am not doing something correct? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/* Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclem...@gmail.com LogMeIn also avaialble Call on ooVoo at address: vaughnclement or 9282549062 Ph. 928-254-9062 On Wed, Sep 4, 2013 at 10:26 AM, Thomas McGrath III mcgra...@mac.comwrote: Vaughn The mobileControlDelete needs either the controlID or the control name to work and should be put in the close card handler for the Map card. You might want to check the id or name again. I have not had any problems with controls not deleting correctly. You might want to check the name when running in the simulator using: get mobileControls() answer it -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Sep 4, 2013, at 11:58 AM, Vaughn Clement vclem...@gmail.com wrote: Good Day All I am another new user who has a question about removing a iPhoneControl i.e. a browser after the task is done. Issue: I created a mainstack that included a series of image objects that were to be used to simulate a tab interface. I used scripts in buttons to Hide / Show the group for each image area. My buttons worked for the most part, but I ran into and issue when I tried to display Google Maps in the main stack. The iPhoneControl in the simulator would not display the grouped object. I was told to use a new card in the main stack to allow the grouped object to function. I added the card and upon testing I was able to get the map app to work in the group browser as required. The issue: When I leave the card with the map showing, the map now appears on top of all the other group images in the main stack. I tired everything I could think of to close the iPhone control when leaving the card with the group. Nothing seems to work. I tried iPhoneControlDelete and it had no effect. I read the tutorials and tried anything that looked like it might work. Has anyone had this issue? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/* Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclem...@gmail.com LogMeIn also avaialble Call on ooVoo at address: vaughnclement or 9282549062 Ph. 928-254-9062 ___ 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
Re: iOS and the defaultfolder
Ralph, Do you have File Sharing selected or unselected in the iOS pane in the application standalone settings? -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Aug 28, 2013, at 12:41 AM, Ralph DiMola rdim...@evergreeninfo.net wrote: This works in the simulator but not on the device.. --- Set the defaultfolder to the documents folder --- There is nothing in the result but==the defaultfolder to the documents folder This does work --- Set the defaultfolder to the engine folder --- I can also read/write/delete files in the documents folder. I just can't set the defaultfolder there. Is this an iOS security restriction or a bug? Thanks! Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.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
medical dictionary and spell checker for Livecode
Curious if anyone has a Medical Dictionary and Spell checker for Livecode? Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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
textStyle with native iOS fields
Has anyone been able to get textStyles to work with native iOS fields? Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: textStyle with native iOS fields
Mike, iPhoneControlSet does not have a textStyle property. I need Bold Italic Underline Mixed for NATIVE text fields in an iOS app. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Aug 6, 2013, at 12:04 PM, Mike Kerner mikeker...@roadrunner.com wrote: you mean instead of using iphonecontrolset? I haven't had any issues with iphonecontrolset to change properties for native fields. On Tue, Aug 6, 2013 at 11:54 AM, Thomas McGrath III mcgra...@mac.comwrote: Has anyone been able to get textStyles to work with native iOS fields? Thanks Tom ___ 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: revOnline and Open Source
Copyright Law aside, Isn't revOnline a place to openly 'share' code with other users. In fact what other purpose does revOnline perform? Doesn't the idea of sharing code openly in a public space enough to declare it as public? Or is that presuming too much? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: delete Url on mobile
How can one know something one day and then not know it the next. It is a conundrum. Thanks G J T -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jul 30, 2013, at 12:16 AM, J. Landman Gay jac...@hyperactivesw.com wrote: On 7/29/13 9:19 PM, Thomas McGrath III wrote: Can you delete a file on mobile if it is in the engine folder? delete URL (file: specialFolderPath(engine) / tName) I doubt it. I believe the commandment is: thou shalt not write, nor edit, nor delete, nor add to the sacred documents, lest thy sandbox become defiled with corruption and render thy checksum invalid. -- 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
Free to first caller
Does anyone need a free license to Animation Engine or MobGUI? I have an extra of each from the kickstarted campaign and would like to give them away. First reply gets one or both. You decide. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: Free to first caller
Done and Done. I sent a letter to Heather with you emails and a copy to you both. Enjoy. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jul 30, 2013, at 9:45 AM, Curiositi Webmaster webmas...@curiositi.com wrote: Would love to have AE. Already have MobGUI. Thanks for the generosity! --Forrest Doddington Sent from my Verizon Wireless Phone Hi Tom, Does anyone need a free license to Animation Engine or MobGUI? I have an extra of each from the kickstarted campaign and would like to give them away. First reply gets one or both. You decide. I could need a MobGUI license! Best Klaus -- Klaus Major ___ 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
delete Url on mobile
Can you delete a file on mobile if it is in the engine folder? delete URL (file: specialFolderPath(engine) / tName) Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: delete Url on mobile
Neither one of these works in the simulator? delete URL (file: specialFolderPath(engine) / tName) delete file (specialFolderPath(engine) / tName) -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jul 29, 2013, at 10:19 PM, Thomas McGrath III mcgra...@mac.com wrote: Can you delete a file on mobile if it is in the engine folder? delete URL (file: specialFolderPath(engine) / tName) Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: App builds but will not install
Jim, How are you doing the 'syncing'? Xcode Organizer? iTunes? Other? Sometimes you have to delete the original app on the iPad before installing a new one? But there is usually an error. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jul 27, 2013, at 5:30 AM, Jim sims s...@ezpzapps.com wrote: Have an iPad app that would install and run ten days ago. Did some work on it (it does not use externals) - builds fine - when synched to my iPad it will not install. Same ios application settings as before , in the one that installed and ran. No dialogs popping up with warnings. Just will not install. Any suggestions on where to look for a cure? TIA sims ___ 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
dispatch usage versus send
I am trying to figure out the 'correct' use of dispatch: I first set up a lot of details in an iOS app on launch. I load some text files and populate some custom props for use throughout the app. After that I want to load the appropriate fields and other aspects of the app from those custom props BUT only if everything else loaded. I won't know what the data is so I can't check that, I can only tell wether or not something was loaded. I was trying to determine if I should use send or dispatch. I am using this code now: on openstack loadCustomPropsFromFile dispatch loadAllUsers to card Users of this stack if it is handled then dispatch loadCurrentUser to card Users of this stack if it is handled then dispatch loadCurrentUserForm to card Users of this stack end if end if end openstack But I could use: send loadAllUsers to card Users of this stack send loadCurrentUser to card Users of this stack send loadCurrentUserForm to card Users of this stack My question is Is the right usage of dispatch? Is there another 'better' way to accomplish this? Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: How to manage file name containing a date with /
André I don't know how to make windows recognize the / but you are in luck that the Mac can see them. Others might have a better approach but if it were my project I would 'bite the bullet' as it were and build a quick and dirty tool in LC on the Mac and rename/fix all of those file names at once and then include them with the app so you can move on to writing your main app for the client. A pain but doable and once done you don't have to deal with this again. if tFilename contains / then replace / with _ in tFilename -- should do the trick when processing each line of the files in folder DOCS BASE Wish you luck on this Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jul 23, 2013, at 2:26 PM, André Bisseret andre.bisse...@wanadoo.fr wrote: Thanks a lot Thomas for your precise questions; that help me a lot to better explain my problem. That's what I am trying below. ___ 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 manage file name containing a date with /
Andre, You are not answering the proper questions to come up with a solution for this. Questions: 1. Where are the files located when using the Mac version of your app? (same computer? different computer?) 2. Where are the filed located when using the Windows version of your app? (same computer? different computer?) 3. Are they on a server? 4. Are they included with the app when passed on to a Windows machine? 5. What happens when you -- answer file Choose a file: -- do they show up? 6. If so what happens when you -- put url (file: it) into tFile -- does tFile hold the correct full path or does it just say 2013.pdf ? 7. Please post the code that you are trying to use so that we can see it and help you. Suggestions: 1. Stop the process of naming files with a / -- instruct the client how to change this in the scanner software. 2. If the files exist on the Mac then why not run a batch on them and rename them all with a correctly formatted name -- then ship those to the Windows users. Do this with LC. 3. If there are many files 'and' many Mac and Windows users are to access them then suggest a server -- that way all of the clients can use the same code to access them. 4. If the answer file shows them then use 'it' to choose them. 5. If put URL (file: it) shows the correct file path then use 'it' to choose them. 6. If not THEN you need to deal with the file name issue as suggested previously. I know we can solve this one if we know enough about the workflow. Yours Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jul 22, 2013, at 4:38 PM, André Bisseret andre.bisse...@wanadoo.fr wrote: Le 22 juil. 2013 à 21:39, J. Landman Gay a écrit : On 7/22/13 2:32 PM, Dar Scott wrote: I'm not trying to fool the OS. It is already fooled the way I understand the problem. The scanner created files with / in the name. Hm. That would make my last response moot then. I guess I missed where these odd file names were coming from, but apparently they're not coming from disk. the files are on the disk. The user receives paper documents. He digitizes the paper documents and saves them as PDF; if he receives the document by email he saves them as PDF. Anyway he saves this PDF files on his disk in a unique folder (say DOCS BASE) giving a name to each document an informative name. In a lot of these names he is including a date with slash as separator. such as Joe PATIENT - bio checkup - 09/2013.pdf I just discovered last week that he should have choose another separator. As I am developing on Mac and he is using a Mac we had no problem.The problem arises because he needs to pass the app to colleagues the majority of which are working on Windows. André ___ 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: Convert date to seconds
That's weird. I still get the 16th. Can anyone else confirm the 15th? (not doubting you Dar) I might have to change this then… Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jul 18, 2013, at 12:39 AM, Dar Scott d...@swcp.com wrote: On Jul 17, 2013, at 7:03 PM, Thomas McGrath III wrote: I am converting the short date (08/16/13) to seconds and I get 1376625600 When I converted it back earlier today, I got the 15th. I guess there is a problem related to timezones or something. Consider NAMEmmdd. It is easy to parse. It lists in order. It is somewhat readable. It is two characters shorter. Dar ___ 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 and html text
Maybe too many steps were involved. If you pasted: pBoldpRegularp into the field and see the markers then: set the htmlText of fld MyField to the text of fld MyField should work. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jul 17, 2013, at 8:46 AM, Graham Samuel livf...@mac.com wrote: I was asked to do some editing of a field with a lot of text in it in someone else's program. The field consists of lines, some of which are in the default color (black) and some in red. I couldn't find a reliable way of doing find and replace on the field in situ, so I copied the whole contents and pasted it into a simple text editor (TextEdit on the Mac). All the text came across, but when I'd edited it and pasted it back, it didn't look the same (for example, the line spacing looked wrong). I then looked at all the properties of the original field (prior to my edit), where the text was revealed to be the htmlText of the field, with included paragraph (p) and color markers etc. I copied that into TextEdit, edited it and tried to paste it back - but I could see all the markers. I realised that I had somehow replaced htmlText with plain text in the field. I then tried to correct this by executing the following in the message box: set the htmlText of fld MyField to the text of fld MyField Nothing happened. How can I get back to the original situation after editing the text? TIA Graham ___ 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
Convert date to seconds
I am converting the short date (08/16/13) to seconds and I get 1376625600 My question is Is the converted seconds always that many digits when converted from that type of date? The reason I ask is I am making filenames by merging a name like Thomas or Tom with the date converted to seconds as in Thomas1376625600.txt or Tom1376625600.txt I would like to script this conversion like: put char -10 to the number of chars of tFilename into tSeconds put char 1 to -10 of tFilename into tName --put 1376625600 into tSeconds convert tSeconds to short date and now tName should be either Tom or Thomas regardless of length and tSeconds will be 08/16/13 so I can use them in my app. This will not work if the converted seconds ever gets longer ( over the next twenty or thirty years or so). So, Does the converted seconds always stay at 10 digits in this scenario? Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: mApp LC6.1 crash
Monte, Do you have a fix? workaround? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jul 9, 2013, at 4:20 PM, Monte Goulding mo...@sweattechnologies.com wrote: On 10/07/2013, at 12:45 AM, Thomas McGrath III mcgra...@mac.com wrote: I have been trying to test a sample stack in 6.1 Build 2005 for iOS simulator and it just crashes immediately when selecting Test. This stack works perfectly in 5.5.5 It uses mAPP Mobile Application Framework Crashed Thread: 0 Dispatch queue: com.apple.main-thread That's the one ;-) Note that you will probably need to fix the behavior of the stack and delete the stack named mAppLibrary the seconds... -- Monte Goulding M E R Goulding - software development services 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
BrainDead on Groups
I always seem to get messed up when working with groups. I have a group with groups in it and subgroups in those groups like this: MainGroup Index1 SubGroup1 SubGroup2 Index2 SubGroup1 SubGroup2 Index3 SubGroup1 SubGroup2 Index4 SubGroup1 SubGroup2 Index5 SubGroup1 SubGroup2 I am trying to get the number of groups in group MainGroup but I am getting all sub groups as well. put the number of groups of group MainGroup into tGroups gives me 15 groups instead of 5 like I would like. What I would like to do is delete group Index3 and then rename the the rest so that they are in order again. I was planning on using a repeat loop on the number of groups: repeat with x = 1 to the number of groups of group MainGroup set the name of group x of group MainGroup to (Index x) end repeat Then when I want to add a group I can just clone the first group and rename it. I would like to name it 1 + the number of groups like: clone group Index1 of group MainGroup set the name of it to (Index (the number of groups of group MainGroup + 1)) The problem is that because some of the groups have groups in them I am not getting the right number back from using the number of. Help?! Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: Livecode 5.5.5 and what?
Jim, I use 5.5.5 for all of my current testing. But I use xCode 4.6.3 and have successfully published to the App store with that combo. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jul 1, 2013, at 8:02 AM, Jim Sims s...@ezpzapps.com wrote: Hello - been far far away from (many) things for a while :-P I have LiveCode version 5.5.5 (also have 5.5.4) and Xcode 4.4.1 Can anyone please tell me: 1. can I use 5.5.5 and Xcode 4.4.1 to make test iOS apps with that version? In other words, do an ad hoc thing on Apple Developer and then use iTunes to load onto an iPad? [Do the above and maybe not submit it to the Apple Store but just do testing on an iPad] 2. if the above is a no-can-do now, what do I need for doing the above? 3. what versions of LiveCode and Xcode do I need to actually submit to the Apple Store now? sims ___ 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: Communicate with server using PUT
Ralph, I'm trying to learn about the Google api and understand your code and wanted to know what is expected in CSZ to feed to this function? what is your typical line of code that calls this function? Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 26, 2013, at 8:03 PM, Ralph DiMola rdim...@evergreeninfo.net wrote: J, Well I guess no attachments on the list. Here it is in-line. function GeoCode StreetAddress , CSZ --Status Codes --OK indicates that no errors occurred; the address was successfully parsed and at least one geocode was returned. --ZERO_RESULTS indicates that the geocode was successful but returned no results. This may occur if the geocode was passed a non-existent address or a latlng in a remote location. --OVER_QUERY_LIMIT indicates that you are over your quota. --REQUEST_DENIED indicates that your request was denied, generally because of lack of a sensor parameter. --INVALID_REQUESTgenerally indicates that the query (address or latlng) is missing --Location Types --ROOFTOP indicates that the returned result is a precise geocode for which we have location information accurate down to street -- address precision. --RANGE_INTERPOLATED indicates that the returned result reflects an approximation (usually on a road) interpolated between two --precise points (such as intersections). Interpolated results are generally returned when rooftop geocodes are unavailable --for a street address. --GEOMETRIC_CENTER indicates that the returned result is the geometric center of a result such as a polyline (for example, a street) --or polygon (region). --APPROXIMATE indicates that the returned result is approximate local gxml , txml , str1 , pos1 , add1 , I , str2 Local Geo put empty into Geo repeat with I = 1 to the number of lines in StreetAddress put offset (#,line I of StreetAddress) into pos1 if pos1 0 then put char 1 to (pos1-1) of line I of StreetAddress into line I of Streetaddress Replacewith in line I of StreetAddress replace with + in line I of StreetAddress put Add1 Line I of Streetaddress into Add1 end repeat delete char 1 in Add1 Replacewith in CSZ replace with + in CSZ put url (http://maps.googleapis.com/maps/api/geocode/xml?address=; add1 comma + CSZ sensor=false) into gxml delete line 1 in gxml put revCreateXMLTree(gxml,true,true,false) into txml put revxmlnodecontents(txml,GeocodeResponse/status) into geo[Status] replace OVER_ with in geo[Status] if revxmlnodecontents(txml,GeocodeResponse/status) = OK then if xmlnodecontents(txml,GeocodeResponse/result/formatted_address) is not empty then \ put xmlnodecontents(txml,GeocodeResponse/result/formatted_address) into Geo[FormattedAddress] put xmlnodecontents(txml,GeocodeResponse/result/partial_match) into Geo[PartialMatch] repeat with I = 1 to revxmlnumberofchildren(txml,/GeocodeResponse/result,address_component,1) switch revxmlnodecontents(txml,GeocodeResponse/result/address_component[ I ]/type) Case administrative_area_level_2 put revxmlnodecontents(txml,GeocodeResponse/result/address_component[ I ]/long_name) into geo[County] Break Case administrative_area_level_3 put revxmlnodecontents(txml,GeocodeResponse/result/address_component[ I ]/long_name) into geo[City] Break Case street_number put revxmlnodecontents(txml,GeocodeResponse/result/address_component[ I ]/long_name) into geo[StreetNumber] Break Case route put revxmlnodecontents(txml,GeocodeResponse/result/address_component[ I ]/long_name) into geo[Route] Break Case locality put revxmlnodecontents(txml,GeocodeResponse/result/address_component[ I ]/long_name) into geo[City] Break Case administrative_area_level_1 put revxmlnodecontents(txml,GeocodeResponse/result/address_component[ I ]/long_name) into geo[StateName] put revxmlnodecontents(txml,GeocodeResponse/result/address_component[ I ]/short_name) into geo[State] Break Case Country put revxmlnodecontents(txml,GeocodeResponse/result/address_component[ I ]/long_name) into geo[Country] Break Case postal_code put revxmlnodecontents(txml,GeocodeResponse/result/address_component[ I ]/long_name) into geo[ZIP] Break default --breakpoint break end switch end repeat put revXMLChildNames(txml,/GeocodeResponse/result/geometry,comma,,false) into str1 repeat for each item nodename in str1 switch nodename
Re: Custom Properties
Graham, When ever possible paste the code you are using and the version of Livecode. It will be a lot easier to give an answer. If you want to put quotes into a customProperty you have to use: set the cAddress of this card to quote http://www.google.com; quote and then you can use this line to get the custom property back: put the cAddress of this card into field Address of this card HTHs -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 27, 2013, at 10:15 AM, Graham Pearson gspear...@gmail.com wrote: Now I am very lost as usual. on my stack script I did the set script with a new custom property called altNewCustomPropertythat has a value of http://www.google.com; and when I did the answer I got http:/www.google.com However, In the stack or in the card property inspector under custom properties I do not see this custom property called altNewCustomProperty so I must be trying to put the name/value items in the wrong location. I would have thought that if I set a custom property it would have shown up in the Property Inspector under Custom Property until the time it was deleted if they can even be deleted via a script. Back to the drawing board. ___ 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: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2
I was reading the specs on this and found under UUID: A cryptographic quality pseudo-random number generator is used to generate the randomness. Which in and of itself is very cryptic and rather unspecific in exactly what it is saying. I had to laugh…. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 27, 2013, at 11:15 AM, Benjamin Beaumont b...@runrev.com wrote: iOS Remote Control Support ___ 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
New properties Property
I know there was some talk earlier on 'how' the new properties Property was being changed and that there was a conversation going on somewhere else but I wanted to know if anyone has actually tried to store and later recreate livecode objects based solely on this new implementation? I had a couple of projects that I put on hold due to the old implementation not working correctly. Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 orientation question
Lars, You can lock the orientation per card but not per element like a group. look up mobileLockOrientation and mobileUnlockOrientation in the dictionary. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 22, 2013, at 9:04 AM, Lars Brehmer larsbreh...@mac.com wrote: I am working on an iPad app that is so far only suitable in portrait orientation, but I want to add an element (group) that would need to be in landsape orientation. Is it possible to make the standalone with all orientations, but be able to block and unblock the orientation switch when moving between this element and all others? Cheers, Lars ___ 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
new password on-rev
I have tried twice now to change my password in cPanel for my on-rev account and have been unsuccessful both times. The first time it locked me out and I had to get support to reset it for me. This time it just didn't do anything and my old password still worked. Has anyone else had trouble setting a new password on on-rev??? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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
imageData again
Ok, here is my script where I am simply trying to grab an image from another card and set it up for viewing when a thumbnail is pressed. The images get all messed up with black spaces etc. I am sure that I am setting the width and height to the same size as the original but i get garbage. No in the simulator this will work IF I touch the button twice in a row? on mouseUp if the width of this card 1025 then put 1204 into pWidth put 904 into pHeight put 778,562 into pLoc else put 602 into pWidth put 452 into pHeight put 389,281 into pLoc end if lock screen for visual effect in rect the rect of this card put the cImageName of me into tImage if there is an image tImage of card 3 then if there is an image Preview then delete image Preview create image Preview set the width of image Preview to the width of image tImage of card 3 set the height of image Preview to the height of image tImage of card 3 set the imageData of image Preview to the imageData of image tImage of card 3 set the lockLoc of image Preview to true set the dropShadow[color] of image Preview to 0,0,0 set the script of image Preview to the cImageScript of this card put the long id of image Preview into pImageID setAreaProportional pImageID, pWidth, pHeight set the loc of image Preview to pLoc end if unlock screen with visual effect dissolve very fast end mouseUp ANy ideas -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: imageData again
I will give that a try. Thank Mike, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 21, 2013, at 5:36 PM, Mike Bonner bonnm...@gmail.com wrote: Silly question, but if you create your image, set its size and lock it then use the text of.. instead of the imagedata, seems like it would avoid the possibility of munging the imagedata (though it seems like it should work if the sizes are identical). Using the text of the image should avoid the issue entirely. Changed the script below to reflect, but untested. On Fri, Jun 21, 2013 at 3:31 PM, Thomas McGrath III mcgra...@mac.comwrote: Ok, here is my script where I am simply trying to grab an image from another card and set it up for viewing when a thumbnail is pressed. The images get all messed up with black spaces etc. I am sure that I am setting the width and height to the same size as the original but i get garbage. No in the simulator this will work IF I touch the button twice in a row? on mouseUp if the width of this card 1025 then put 1204 into pWidth put 904 into pHeight put 778,562 into pLoc else put 602 into pWidth put 452 into pHeight put 389,281 into pLoc end if lock screen for visual effect in rect the rect of this card put the cImageName of me into tImage if there is an image tImage of card 3 then if there is an image Preview then delete image Preview create image Preview set the width of image Preview to the width of image tImage of card 3 set the height of image Preview to the height of image tImage of card 3 set the lockLoc of image Preview to true set the text of image Preview to the text of image tImage of card 3 set the dropShadow[color] of image Preview to 0,0,0 set the script of image Preview to the cImageScript of this card put the long id of image Preview into pImageID setAreaProportional pImageID, pWidth, pHeight set the loc of image Preview to pLoc end if unlock screen with visual effect dissolve very fast end mouseUp ANy ideas -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 ___ 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: Printing puzzle
Jac, all this explanation needs is a code example and it could replace the docs on printing. Nice. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 19, 2013, at 12:01 AM, J. Landman Gay jac...@hyperactivesw.com wrote: I'm not sure I follow all that, but I'll toss out a couple of things. The printPaperSize won't change unless the user changes the paper feed setting in the print setup (or a script changes it) -- it's the physical size of the paper. If they change from letterhead to envelope, the printPaperSize will change, otherwise it won't. Every printer has a hard, physical limitation on how far from the edges it will print. If you get a half-inch unprintable margin at 100% scale, it will still be the same at any other scale. The print head won't travel any closer to the edge than half an inch. The printRectangle represents the largest available printing area for the paper that's currently loaded, and takes the unprintable area into account. The scale of the printout doesn't change that available area, though it will be filled with more or fewer pixels depending on the print scale. I'm not sure if you're trying to print outside the available print region (you can't), or if you're trying to scale your card to fit it. -- 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
imageData and resizing
I'm trying to find a solution to images getting messed up after doubling their size for retina and then trying to set the imageData after they have been resized. The images get messed up with either horizontal lines or color shifts. This works for one image but not for a group of images. As soon as I try to set the imageData of a group of images about half way through the images start to screw up. set the resizeQuality of image x of group images to best set the lockLoc of image x of group images to true set the width of image x of group images to (the width of image x of group images * 2) set the height of image x of group images to (the height of image x of group images * 2) set the imageData of image x to tempimage Any ideas or workarounds??? Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: change orientation on just one card
FYI, I had a library interrupting the preOpenCard handler and so was not getting the expected results that I needed. It is fixed now and this works as expected for me. John, I have my set allowed in the preOpen card and it works on iOS. Which one is needed for Android??? Thanks to everyone for the sanity check. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 12, 2013, at 8:26 AM, John Dixon dixo...@hotmail.co.uk wrote: No that is not the case... setting the setAllowedOrientations to a new configuration is sufficient... I have an example where viewing a map on a card in landscape... tapping the callout... the card rotates automatically to portrait when displaying the info on another card... all that has been done is to drop landscape from the allowed orientations... Subject: Re: change orientation on just one card From: mcgra...@mac.com Date: Wed, 12 Jun 2013 08:17:43 -0400 To: use-livecode@lists.runrev.com Apparently it seems that the mobileUnlockOrientation is needed to allow a card to auto rotate to the desired new set of orientations allowed (even though there was no mobileLockOrientation set before). -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 12, 2013, at 5:54 AM, Pierre Sahores s...@sahores-conseil.com wrote: Works fine here (LC 5.5.5) in using the following code to open a substack in landscape mode and return to portrait mode as soon as the app closes it and goes back to the main stack : 1.- In the substack stack's script : on preopenStack if the environment is not mobile then exit preopenStack else if playerA is in the short name of this stack then mobileSetAllowedOrientations portrait,landscape left,landscape right end preopenStack 2.- In the substack card's script : on preopencard mobileUnlockOrientation mobileSetAllowedOrientations portrait,landscape left,landscape right end preopencard on closeCard mobileSetAllowedOrientations portrait end closeCard 3.- In the mainstack stack's script : nothing 4.- In the mainstack card's script : nothing Both preopenStack and preopenCard are needed to get the mobileSetAllowedOrientations message being efficiently catched on both iOS and Android platforms. Le 12 juin 2013 à 05:17, Scott Rossi a écrit : Seems to work here in LC 5.5.3 (what I have handy). Not sure if anything has changed in later versions. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/11/13 6:40 PM, Thomas McGrath III mcgra...@mac.com wrote: Has anyone been successful in having just one card in an app be restricted to just landscape. I have an app that is supported for all orientations but for one card I want to restrict the allowed orientations to just landscape. I tried this on the card I want to restrict but with no luck: on preopencard if the environment is mobile then mobileSetAllowedOrientations landscape left,landscape right end if end preopencard Is there a way to set the orientation when opening a card. I can't seem to discover any. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.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 ___ 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: change orientation on just one card
PASS seems to help a lot when working with many libraries. ;-) But tracking down the messages path for this with locked libraries is a real pain. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 13, 2013, at 12:04 PM, Dar Scott d...@swcp.com wrote: Maybe PASS in such handlers is a good habit. I'm not sure. Dar On Jun 13, 2013, at 9:04 AM, Thomas McGrath III wrote: FYI, I had a library interrupting the preOpenCard handler and so was not getting the expected results that I needed. It is fixed now and this works as expected for me. John, I have my set allowed in the preOpen card and it works on iOS. Which one is needed for Android??? Thanks to everyone for the sanity check. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 12, 2013, at 8:26 AM, John Dixon dixo...@hotmail.co.uk wrote: No that is not the case... setting the setAllowedOrientations to a new configuration is sufficient... I have an example where viewing a map on a card in landscape... tapping the callout... the card rotates automatically to portrait when displaying the info on another card... all that has been done is to drop landscape from the allowed orientations... Subject: Re: change orientation on just one card From: mcgra...@mac.com Date: Wed, 12 Jun 2013 08:17:43 -0400 To: use-livecode@lists.runrev.com Apparently it seems that the mobileUnlockOrientation is needed to allow a card to auto rotate to the desired new set of orientations allowed (even though there was no mobileLockOrientation set before). -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 12, 2013, at 5:54 AM, Pierre Sahores s...@sahores-conseil.com wrote: Works fine here (LC 5.5.5) in using the following code to open a substack in landscape mode and return to portrait mode as soon as the app closes it and goes back to the main stack : 1.- In the substack stack's script : on preopenStack if the environment is not mobile then exit preopenStack else if playerA is in the short name of this stack then mobileSetAllowedOrientations portrait,landscape left,landscape right end preopenStack 2.- In the substack card's script : on preopencard mobileUnlockOrientation mobileSetAllowedOrientations portrait,landscape left,landscape right end preopencard on closeCard mobileSetAllowedOrientations portrait end closeCard 3.- In the mainstack stack's script : nothing 4.- In the mainstack card's script : nothing Both preopenStack and preopenCard are needed to get the mobileSetAllowedOrientations message being efficiently catched on both iOS and Android platforms. Le 12 juin 2013 à 05:17, Scott Rossi a écrit : Seems to work here in LC 5.5.3 (what I have handy). Not sure if anything has changed in later versions. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/11/13 6:40 PM, Thomas McGrath III mcgra...@mac.com wrote: Has anyone been successful in having just one card in an app be restricted to just landscape. I have an app that is supported for all orientations but for one card I want to restrict the allowed orientations to just landscape. I tried this on the card I want to restrict but with no luck: on preopencard if the environment is mobile then mobileSetAllowedOrientations landscape left,landscape right end if end preopencard Is there a way to set the orientation when opening a card. I can't seem to discover any. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.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 ___ 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
Dropbox in livecode
Is it possible to directly load a text file stored on dropbox into LC for processing then change that info and re-upload to the same file on dropbox??? The share link from dropbox is to a web addy that includes a link to download the file instead of a direct link to the file itself. Tom Thomas J McGrath III 3mcgr...@comcast.net Lazy River Software http://lazyriver.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: change orientation on just one card
Apparently it seems that the mobileUnlockOrientation is needed to allow a card to auto rotate to the desired new set of orientations allowed (even though there was no mobileLockOrientation set before). -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 12, 2013, at 5:54 AM, Pierre Sahores s...@sahores-conseil.com wrote: Works fine here (LC 5.5.5) in using the following code to open a substack in landscape mode and return to portrait mode as soon as the app closes it and goes back to the main stack : 1.- In the substack stack's script : on preopenStack if the environment is not mobile then exit preopenStack else if playerA is in the short name of this stack then mobileSetAllowedOrientations portrait,landscape left,landscape right end preopenStack 2.- In the substack card's script : on preopencard mobileUnlockOrientation mobileSetAllowedOrientations portrait,landscape left,landscape right end preopencard on closeCard mobileSetAllowedOrientations portrait end closeCard 3.- In the mainstack stack's script : nothing 4.- In the mainstack card's script : nothing Both preopenStack and preopenCard are needed to get the mobileSetAllowedOrientations message being efficiently catched on both iOS and Android platforms. Le 12 juin 2013 à 05:17, Scott Rossi a écrit : Seems to work here in LC 5.5.3 (what I have handy). Not sure if anything has changed in later versions. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/11/13 6:40 PM, Thomas McGrath III mcgra...@mac.com wrote: Has anyone been successful in having just one card in an app be restricted to just landscape. I have an app that is supported for all orientations but for one card I want to restrict the allowed orientations to just landscape. I tried this on the card I want to restrict but with no luck: on preopencard if the environment is mobile then mobileSetAllowedOrientations landscape left,landscape right end if end preopencard Is there a way to set the orientation when opening a card. I can't seem to discover any. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.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
change orientation on just one card
Has anyone been successful in having just one card in an app be restricted to just landscape. I have an app that is supported for all orientations but for one card I want to restrict the allowed orientations to just landscape. I tried this on the card I want to restrict but with no luck: on preopencard if the environment is mobile then mobileSetAllowedOrientations landscape left,landscape right end if end preopencard Is there a way to set the orientation when opening a card. I can't seem to discover any. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: I'm a Happy Kickstart Camper . . .
The runrev.com site is a responsive site that scales to mobile proportions but the livecode.com site is not responsive. It's like they hired two different companies to build them. Interesting. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 9, 2013, at 1:51 PM, Mark Wieder mwie...@ahsoftware.net wrote: Richmond- Sunday, June 9, 2013, 10:42:29 AM, you wrote: On 06/09/2013 08:36 PM, Colin Holgate wrote: Which website? Probably this one: http://runrev.com/ This one, too. http://www.livecode.com -- -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: is anyone using FieldTrip Rich Text Editor
No, inside the plugin stack it says 1.0 but the folder name and test stack says beta 1 -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 10, 2013, at 9:52 AM, Magicgate Software - Skip Kimpel s...@magicgate.com wrote: Beta 1a here. Tom, you have a non-beta version??? On Mon, Jun 10, 2013 at 9:23 AM, Thomas McGrath III mcgra...@mac.comwrote: I have version 1.0 -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 9, 2013, at 4:43 PM, Matthias Rebbe matthias_livecode_150...@m-r-d.de wrote: Hi Skip, i am not Tom, but what version do you have? I have here Beta-1a. I asked Curry what version the most current one is, but did not get an precise answer. The same with SpreadLib. Purchased both in summer 2012 and never got an update only the first beta. I will think twice in future before paying for just beta software. Btw: Does anyone have a newer version of SpreadLib than SpreadLib02001 I know Curry had some health problems in the past, so software updates could be a problem. But some more information or replies to email would have been nice. Matthias Am 09.06.2013 um 21:50 schrieb Magicgate Software - Skip Kimpel s...@magicgate.com: What version are you using? On Fri, May 24, 2013 at 8:30 AM, Thomas McGrath III mcgra...@mac.com wrote: I tried using it but I kept getting no such object errors and this stack is password protected in the script editor. So I am not using it. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 24, 2013, at 7:56 AM, Matthias Rebbe matthias_livecode_150...@m-r-d.de wrote: Hi, is anyone on list using FieldTrip and would like to answer me some questions about the usage? Right now i am experiencing some strange behaviour: 1. ftplaceToolbar places the toolbar and a field to the stack 2. sometimes the toolbar suddenly grays out and is not responsive anymore (IDE and standalone) Is it just me or is anyone else noticing that behaviour? Did you manage to place only some of the FieldTrip buttons(e.g. size, bold, italic, underline) to the stack instead of the whole toolbar? Regards, Matthias ___ 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 ___ 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: Mail List Move Planned
I always wanted to travel through a black hole. Can I do it anyway even if my email vanishes??? Please??? -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 6, 2013, at 4:10 AM, Heather Laine heat...@runrev.com wrote: Dear list members, Just a heads up that we are planning to move this list to a different server on Monday. This will mean it will be offline for a few hours during the move. We'll let you know just before we start the move, and when it is back up again. During this period please don't attempt to post to the list as your mail is likely to vanish into a black hole. Once moved, you can continue to post as before, no change is required to the address. Warm Regards, Heather Heather Laine Customer Services Manager http://www.runrev.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: Successful recipe for LC iPhone apps...
Yeah, but that would be great plugin for Chip to build for crowd control… Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 6, 2013, at 5:47 AM, Paul Maguire m...@paulmaguire.me wrote: On 6 Jun 2013, at 10:41, Paul Maguire wrote: altMobResizer plug in by Chip Walters That should be 'altMobileResizer' ___ 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: First App rejected for odd reasons
Mark, At first I wanted to object to the need for JPEG only for large images as all of the research that I have done (especially concerning transparency issues) has told me to never use JPEG (except for the web) in most of my apps but then I realized that I have not tested those same results for iOS and Android engines, so I will need to do those tests again to verify/reject my findings. That said, using 2048 png's with transparency layers on fourteen cards with special visual effects and playing song files on one channel and a voice over on another channel did not slow down either the logic code or the effects code. I created a Ken Burns effect in LC and it runs as smoothly with the larger images as it does with smaller variations. So I'm not sure what would constitute a stack being 'much larger' than it needs to be - in my first case it was the main stack that was large and now it is the images folder that is large - either way the download is going to be the same size and be too big for cellular download (which is why I believe Apple has that warning in the first place.) I would not think that 14 retina sized images on 14 different cards is too large for a mobile app and that instead they must be referenced and that that would be a requirement. Normally I think if it was like 50 images it should be referenced but not just 14. Most LC projects I have seen all use lower quality images or regular 1024 images enlarged for retina via code, but they are definitely not retina images. All of that said, I think what you stated is spot on and should be included in a best practices type document somewhere for mobile development. Maybe with some recommendations for audio and compression comparisons. Thanks, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 5, 2013, at 5:21 AM, Mark Wilcox m_p_wil...@yahoo.co.uk wrote: I may be wrong about this (can anyone verify?), but if you're building for iOS 5 or later, you should be perfectly safe selecting armv7 only and building for that, since any devices capable of running iOS 5 and above are armv7 devices only. Yes, this is correct and a good idea - the iPhone 3G was the last device to have an ARMv6 processor and that can only run iOS 4.3 or earlier - that's why Apple has dropped support for armv6 builds from the more recent Xcode versions. I expect (really hope) that LiveCode only duplicates the engine code within the Universal binary and puts the main stack in a data section that is shared by both code variants - if that's the case, this might only save you a few megabytes of engine code, but you should do it anyway - iOS5+ with armv6 is pure waste. I'd not seen the main executable size issue before and a quick Google suggests both this and the not yet mandatory PIE warning are new. This is either a subtle crackdown on low quality apps produced by tools other than XCode or there are some new products or tools on the way which will care about this in the future. I'll bring it up on the engine forum. As I understand it, only the main stack is actually bundled inside the executable in a standalone, so a simple fix would be to create a launcher stack as your main stack which simply loads the previous main stack which you can include in the bundle separately. However, creating apps much, much larger than they need to be is not friendly to your users. Large images should be JPEG compressed - if they contain text that loses quality due to JPEG compression then split the images up (or if it's all text, store it as text not an image!). Audio should also be in a suitable compressed format (i.e. not WAV). In this case it sounds like LiveCode 6's application browser might be handy for finding out what's actually inside the stack easily, then removing all the media and referencing it externally. Otherwise it might be easier to rebuild the stack by copying the scripts across into a new one that only references external media from the start? Mark From: Chris Sheffield cmsheffi...@icloud.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Monday, 3 June 2013, 20:54 Subject: Re: First App rejected for odd reasons Another thought. In the standalone settings, are you building a universal binary? I may be wrong about this (can anyone verify?), but if you're building for iOS 5 or later, you should be perfectly safe selecting armv7 only and building for that, since any devices capable of running iOS 5 and above are armv7 devices only. This may also reduce the size of your executable. ___ 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: First App rejected for odd reasons
I hope that didn't sound argumentative. I think this topic needs more discussion and input. Thanks again Mark for the input on this. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 5, 2013, at 8:41 AM, Thomas McGrath III mcgra...@mac.com wrote: Mark, At first I wanted to object to the need for JPEG only for large images as all of the research that I have done (especially concerning transparency issues) has told me to never use JPEG (except for the web) in most of my apps but then I realized that I have not tested those same results for iOS and Android engines, so I will need to do those tests again to verify/reject my findings. That said, using 2048 png's with transparency layers on fourteen cards with special visual effects and playing song files on one channel and a voice over on another channel did not slow down either the logic code or the effects code. I created a Ken Burns effect in LC and it runs as smoothly with the larger images as it does with smaller variations. So I'm not sure what would constitute a stack being 'much larger' than it needs to be - in my first case it was the main stack that was large and now it is the images folder that is large - either way the download is going to be the same size and be too big for cellular download (which is why I believe Apple has that warning in the first place.) I would not think that 14 retina sized images on 14 different cards is too large for a mobile app and that instead they must be referenced and that that would be a requirement. Normally I think if it was like 50 images it should be referenced but not just 14. Most LC projects I have seen all use lower quality images or regular 1024 images enlarged for retina via code, but they are definitely not retina images. All of that said, I think what you stated is spot on and should be included in a best practices type document somewhere for mobile development. Maybe with some recommendations for audio and compression comparisons. Thanks, Tom ___ 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: JSON
Monte, Are you saying that array's are not supported on iOS or are you saying that mergJSON is not supported on iOS? This is needed from an iOS app to send the data to my server from the app. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 10:32 PM, Monte Goulding mo...@sweattechnologies.com wrote: Unfortunately as there's no array support for iOS externals I can't implement mergJSON there... ___ 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: JSON
Thanks for the info. I am trying to use Igor's library and I am trying to build my first array to convert to json. This is the info I have to send as json: {data: {appuser_details: { name:Tom_iPad, email:i...@gmail.com, device_type:2, dentist_id:73, device_token:98be5c7a3cc9e400ae6a90977ac6d64f498bb01cbe83c3c3d1bb4856de59ba1c } } } I think I need to send text/json as a header. I have tried many things but I don't think I am sending the information correctly. I got a result error 400 Bad Request I don't think my array is right. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: JSON
I don't know Monte, I will try and find out. But the info below is what was sent in the test using a restful client by the developer of the api. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 4, 2013, at 6:07 PM, Monte Goulding mo...@sweattechnologies.com wrote: Are device_type and dentist_id meant to be strings or integers? On 05/06/2013, at 7:55 AM, Thomas McGrath III mcgra...@mac.com wrote: Thanks for the info. I am trying to use Igor's library and I am trying to build my first array to convert to json. This is the info I have to send as json: {data: {appuser_details: { name:Tom_iPad, email:i...@gmail.com, device_type:2, dentist_id:73, device_token:98be5c7a3cc9e400ae6a90977ac6d64f498bb01cbe83c3c3d1bb4856de59ba1c } } } I think I need to send text/json as a header. I have tried many things but I don't think I am sending the information correctly. I got a result error 400 Bad Request I don't think my array is right. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 -- Monte Goulding M E R Goulding - software development services 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: JSON
Andrew, That did it. I had the headers wrong. set the httpHeaders to Content-Type: application/json worked and not set the httpHeaders to text/json did not. It actually worked. THanks to everyone who helped me out. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 4, 2013, at 7:40 PM, Andrew Kluthe and...@ctech.me wrote: I dont know about the libraries he is using, but if it is based at all on the late mark smiths's the numbers in his array would translate to integers in terms of the json it spits out. I actually had to modify the output of the mark smith library to place 0's before decimal points to avoid bad request errors. { data: { appuser_details: { name: Tom_iPad, email: i...@gmail.com, device_type: 2, dentist_id: 73, device_token: 98be5c7a3cc9e400ae6a90977ac6d64f498bb01cbe83c3c3d1bb4856de59ba1c } } } Also doing something like set the httpHeaders to Content-Type: application/json could help if you aren't doing this already. Hmm, I wonder why your back end developer would be looking to use strings in the place of integers. I On Tue, Jun 4, 2013 at 6:13 PM, Monte Goulding mo...@sweattechnologies.comwrote: On 05/06/2013, at 8:57 AM, J. Landman Gay wrote: I got the same error at first. The web server can't understand what you're sending. You just need to create a regular LiveCode array (none of that punctuation stuff,) pass it through Igor's library, and then send a POST with whatever you get back. I'm not sure about the headers, I don't think I had to change those but it might depend on the server. Something like this off the top of my head: put Tom_iPad into tArray[data][appuser_details][name] put i...@gmail.com into tArray[data][appuser_details][email] ...etc put jsonFromArray(tArray) into tJSON post tJSON to http://xxx.xxx; You might have to twiddle that a bit. Ah... how is that library working out if something is a number or a string? If it's doing it's just using is a number then given you have numbers that you need to send as strings you're going to have a problem. You might need to look at the api and find out if it has a way to force elements to be a string. Alternatively... seeing as it's really not a big document and you don't need to do JSONToArray you could just put a template in a custom property and use merge... 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 -- Regards, Andrew Kluthe and...@ctech.me ___ 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
First App rejected for odd reasons
I just tried to upload a free app to the Apple App Store and was immediately rejected. I have seen some people get some of these warning but I got four reasons and the Binary was rejected as invalid. I am not using Push notification. I am not accessing the UDID. The project is large because it has 2048x1536 images in it for Retina iPad it is 387 MB. I don't know what a Non-PIE Binary is but I am looking it up now. This was built with Livecode 5.5.4 Any Ideas? Non-public API usage: Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6. Invalid Executable Size - Your app's executable file 'GospelOfMark.app/GospelOfMark' is a size of 249868688 bytes, which exceeds the maximum allowed size of 80 MB. Abnormally large executable files are often the result of using a development environment that stores excessive or unnecessary data in the compiled binary. You may need to contact your tool vendor for assistance if your app was built with a developer tool other than Xcode. Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the aps-environment entitlement. Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical QA QA1788 - Building a Position Independent Executable --- -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: First App rejected for odd reasons
Colin, Thanks for getting back to me. My app crashes on a device with 5.5.5 so I went back to 5.5.4 Also, the Non-PIE goes away by building for iOS 4.3 or later. I had the default 3.1.3 or Later selected so I changed that. I will see what the rejection is for this new upload and then try the 5.5.5 again. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 1:35 PM, Colin Holgate co...@verizon.net wrote: You need to use 5.5.5 to get past the UDID problem, and the other errors are not ones that will stop it from being approved. ___ 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: First App rejected for odd reasons
Chris, I just replied to Colin about the Non-PIE issue but the gist was to build for iOS 4.3 or later. If I update to get rid of the UDID issue I will see if I still get the other errors and if so then I will try and build with references instead of embedded images. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 1:37 PM, Chris Sheffield cmsheffi...@icloud.com wrote: Tom, To get rid of the UDID issue, you'll need to install and use the latest LC 5.5.5 update. It fixes that problem. The push notification entitlement issue is a non-issue. Your app can get approved even with that warning. As for the executable size, I wasn't really aware of any limits, so I find that kind of odd. Are your images embedded in your app (imported as controls into your stack)? If so, is it possible to reference any of them on disk instead using the filename property? So they could still be part of your app bundle, but not be embedded in the executable. Not sure if that's the issue or not. Kind of guessing here. But it seems like the error is referring to the actual executable, not necessarily the app bundle. As for the Non-PIE binary, I'm not sure about that one either, but I'm curious to find out what it means. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Jun 3, 2013, at 11:25 AM, Thomas McGrath III mcgra...@mac.com wrote: I just tried to upload a free app to the Apple App Store and was immediately rejected. I have seen some people get some of these warning but I got four reasons and the Binary was rejected as invalid. I am not using Push notification. I am not accessing the UDID. The project is large because it has 2048x1536 images in it for Retina iPad it is 387 MB. I don't know what a Non-PIE Binary is but I am looking it up now. This was built with Livecode 5.5.4 Any Ideas? Non-public API usage: Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6. Invalid Executable Size - Your app's executable file 'GospelOfMark.app/GospelOfMark' is a size of 249868688 bytes, which exceeds the maximum allowed size of 80 MB. Abnormally large executable files are often the result of using a development environment that stores excessive or unnecessary data in the compiled binary. You may need to contact your tool vendor for assistance if your app was built with a developer tool other than Xcode. Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the aps-environment entitlement. Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical QA QA1788 - Building a Position Independent Executable --- -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 ___ 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: First App rejected for odd reasons
Chris, I just reduced all of my embedded images to 1024 instead of 2048 which should have changed the size of the app somewhat. But I am getting only a 6 meg reduction from 387 down to 381 Is there a way to recover the space used by those images? I tried to compact this stack but no change (besides I thought save did that from the file menu) -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 1:37 PM, Chris Sheffield cmsheffi...@icloud.com wrote: Tom, To get rid of the UDID issue, you'll need to install and use the latest LC 5.5.5 update. It fixes that problem. The push notification entitlement issue is a non-issue. Your app can get approved even with that warning. As for the executable size, I wasn't really aware of any limits, so I find that kind of odd. Are your images embedded in your app (imported as controls into your stack)? If so, is it possible to reference any of them on disk instead using the filename property? So they could still be part of your app bundle, but not be embedded in the executable. Not sure if that's the issue or not. Kind of guessing here. But it seems like the error is referring to the actual executable, not necessarily the app bundle. As for the Non-PIE binary, I'm not sure about that one either, but I'm curious to find out what it means. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Jun 3, 2013, at 11:25 AM, Thomas McGrath III mcgra...@mac.com wrote: I just tried to upload a free app to the Apple App Store and was immediately rejected. I have seen some people get some of these warning but I got four reasons and the Binary was rejected as invalid. I am not using Push notification. I am not accessing the UDID. The project is large because it has 2048x1536 images in it for Retina iPad it is 387 MB. I don't know what a Non-PIE Binary is but I am looking it up now. This was built with Livecode 5.5.4 Any Ideas? Non-public API usage: Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6. Invalid Executable Size - Your app's executable file 'GospelOfMark.app/GospelOfMark' is a size of 249868688 bytes, which exceeds the maximum allowed size of 80 MB. Abnormally large executable files are often the result of using a development environment that stores excessive or unnecessary data in the compiled binary. You may need to contact your tool vendor for assistance if your app was built with a developer tool other than Xcode. Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the aps-environment entitlement. Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical QA QA1788 - Building a Position Independent Executable --- -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 ___ 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: First App rejected for odd reasons
Paul, I am now trying to build with 5.5.5 and I still got all four errors. Checking again now. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 1:37 PM, Paul Maguire m...@paulmaguire.me wrote: Hi. You need to update to 5.5.5 to avoid 2 of these errors: UDID, and non-PIE. Get it from the Livecode site. On 3 Jun 2013, at 18:25, Thomas McGrath III wrote: I just tried to upload a free app to the Apple App Store and was immediately rejected. I have seen some people get some of these warning but I got four reasons and the Any Ideas? ___ 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: First App rejected for odd reasons
Ok, after upgrading to 5.5.5 and changing the iOS to 5.0 and above I am still getting a Binary rejection for Three of the four reasons: Invalid Executable Size - Your app's executable file 'GospelOfMark.app/GospelOfMark' is a size of 243446992 bytes, which exceeds the maximum allowed size of 80 MB. Abnormally large executable files are often the result of using a development environment that stores excessive or unnecessary data in the compiled binary. You may need to contact your tool vendor for assistance if your app was built with a developer tool other than Xcode. If your app was built using Xcode, you may contactApple Developer Technical Support if you need assistance. Though you are not required to fix the following issues, we wanted to make you aware of them: Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the aps-environment entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the aps-environment entitlement. See Provisioning and Development in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API. Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical QA QA1788 - Building a Position Independent Executable Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: First App rejected for odd reasons
Roger, I was hoping to have to avoid that. It seems that 80 MB is the max limit which seems crazy to me. I can't seem to reclaim any of the memory from reducing from 2048 down to 1024 and that bother me. I was hoping to find out why that is happening. But I will have to rewrite this to reference the images to get this down below 80 I think. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 2:19 PM, Roger Eller roger.e.el...@sealedair.com wrote: Can you make the images referenced from a URL, or must they be included in the app? ~Roger On Mon, Jun 3, 2013 at 2:17 PM, Thomas McGrath III mcgra...@mac.com wrote: Ok, after upgrading to 5.5.5 and changing the iOS to 5.0 and above I am still getting a Binary rejection for Three of the four reasons: Invalid Executable Size - Your app's executable file 'GospelOfMark.app/GospelOfMark' is a size of 243446992 bytes, which exceeds the maximum allowed size of 80 MB. Abnormally large executable files are often the result of using a development environment that stores excessive or unnecessary data in the compiled binary. You may need to contact your tool vendor for assistance if your app was built with a developer tool other than Xcode. If your app was built using Xcode, you may contactApple Developer Technical Support if you need assistance. Though you are not required to fix the following issues, we wanted to make you aware of them: Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the aps-environment entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the aps-environment entitlement. See Provisioning and Development in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API. Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical QA QA1788 - Building a Position Independent Executable Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 ___ 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: First App rejected for odd reasons
Colin, This were all PNG files. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 2:31 PM, Colin Holgate co...@verizon.net wrote: The file size will be based on the JPEG settings more than just the image size. If you have an external folder of your images, how big is the folder if the JPEG quality is 60% instead of 80%? ___ 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: First App rejected for odd reasons
Sh_t, what is the address that I want to link these images to in the engine: ___ 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: First App rejected for odd reasons
I just got finished changing the filename of each image to the referenced image and added them to the copy files pane. Then saved the app. Then ran through to make sure each was changed from an image to a referenced image. The .livecode got down to 195 MB but the binary is now larger at 400 MB. Damn that was a lot of work to not get this smaller. Do I need to delete the image and then copy an image object and then set the filename? I just can't seem to get rid of the memory originally used up… Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 3:27 PM, Chris Sheffield cmsheffi...@icloud.com wrote: Scott, If I'm understanding correctly, the limitation is on the actual executable inside the app bundle, not the entire app bundle. I too have downloading very large apps in the past, but I'm pretty sure these all have their resources external to the executable. That's why my suggestion was to pull out all possible embedded resources (images, sounds, etc.) and access them externally to the executable. Again, I'm not 100% sure this is the issue. Chris On Jun 3, 2013, at 1:10 PM, Scott Rossi sc...@tactilemedia.com wrote: I wonder if there's something else going on with the size limitation. I routinely download games that are 300, 400, 500MB in size all the time (even more sometimes). Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design Original message Subject: Re: First App rejected for odd reasons From: Thomas McGrath III mcgra...@mac.com To: How to use LiveCode use-livecode@lists.runrev.com CC: Roger, I was hoping to have to avoid that. It seems that 80 MB is the max limit which seems crazy to me. I can't seem to reclaim any of the memory from reducing from 2048 down to 1024 and that bother me. I was hoping to find out why that is happening. But I will have to rewrite this to reference the images to get this down below 80 I think. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 2:19 PM, Roger Eller roger.e.el...@sealedair.com wrote: Can you make the images referenced from a URL, or must they be included in the app? ~Roger On Mon, Jun 3, 2013 at 2:17 PM, Thomas McGrath III mcgra...@mac.com wrote: Ok, after upgrading to 5.5.5 and changing the iOS to 5.0 and above I am still getting a Binary rejection for Three of the four reasons: Invalid Executable Size - Your app's executable file 'GospelOfMark.app/GospelOfMark' is a size of 243446992 bytes, which exceeds the maximum allowed size of 80 MB. Abnormally large executable files are often the result of using a development environment that stores excessive or unnecessary data in the compiled binary. You may need to contact your tool vendor for assistance if your app was built with a developer tool other than Xcode. If your app was built using Xcode, you may contactApple Developer Technical Support if you need assistance. Though you are not required to fix the following issues, we wanted to make you aware of them: Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the aps-environment entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the aps-environment entitlement. See Provisioning and Development in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API. Non-PIE Binary - The executable 'GospelOfMark.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical QA QA1788 - Building a Position Independent Executable Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url
Re: JSON
Thanks Mark, That's just the kind of advice I was looking for. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 4:54 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Tom, If you don't need to send any binary data (that includes unicode text) then you have no need for JSON (or XML for that matter). You'll need to make sure that everybody understands what type of data you're going to use, though, and what the record and item delimiters are. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi On 6/3/2013 22:37, Thomas McGrath III wrote: OK, So I have some developers creating a server solution for my Push needs and they wanted me to send them JSON posts but I had never done that before and asked here on the list a few days ago about the JSON library. Well they said they can now remove the need for JSON and provide me a new API for simple form data BUT the question I have is Is it better to go the JSON route from within a Livecode Mobile app or should I go for the easy way out and have them change the API? I don't mind learning something new but since it was new to me I didn't want to spend the time at first but now I am second guessing. Any advice??? Thanks Tom ___ 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: JSON
Mark, The data is very simple with no binary at all. I won't need to receive any back. So… -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 6:20 PM, Mark Wieder mwie...@ahsoftware.net wrote: Thomas McGrath III mcgrath3@... writes: have is Is it better to go the JSON route from within a Livecode Mobile app or should I go for the easy way out Is this a trick question? The easy way out is *always* better g. Do you have a lot of data to push? Any binary data? Do you need to receive JSON data as well? JSON is just a formatted collection of key:value pairs. Lots of nested curly braces and not particularly human-readable, but generating JSON data is fairly easy. Parsing it is a little trickier. -- 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: Is Snapshot Possible with Two Monitors?
You can import snapshots from secondary and tertiary monitors using the working screenRects: on mouseUp put line 1 of the working screenRects into tRect import snapshot from rectangle tRect end mouseUp on mouseUp put line 2 of the working screenRects into tRect import snapshot from rectangle tRect end mouseUp on mouseUp put line 3 of the working screenRects into tRect import snapshot from rectangle tRect end mouseUp -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 5:52 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Ray, Snapshots don't work with secondary monitors. You can make snapshots of the main screen only. Perhaps you can use a command line utility instead. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3 jun 2013, at 23:03, Ray Horsley wrote: I'm running into a variety of issues designing a standalone which will import PDF's. If quicktime isn't installed it seems impossible and even if the user installs it (Windows) it often doesn't work for certain PDF's. With this in mind I thought I'd let users open their PDF's in whatever program they choose and use Livecode's import snapshot command. I don't pass a rectangle since I don't know where the image is on screen and unfortunately it seems I can't get the rectangle [the user opens up] returned to me. I do, however, get an image imported, although on a system with two monitors in extended display mode it seems almost random where the actual snapshot gets taken from. It's anything but where the user actually dragged. Does anybody have any suggestions for grabbing a snapshot of the same rectangle the user opens up on the desktop or in another application? Thanks, Ray Horsley LinkIt! Software ___ 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 Snapshot Possible with Two Monitors?
This will also work: on mouseUp import snapshot from rectangle ( line 2 of the working screenRects) end mouseUp -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 10:22 PM, Thomas McGrath III mcgra...@mac.com wrote: You can import snapshots from secondary and tertiary monitors using the working screenRects: on mouseUp put line 1 of the working screenRects into tRect import snapshot from rectangle tRect end mouseUp on mouseUp put line 2 of the working screenRects into tRect import snapshot from rectangle tRect end mouseUp on mouseUp put line 3 of the working screenRects into tRect import snapshot from rectangle tRect end mouseUp -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 5:52 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Ray, Snapshots don't work with secondary monitors. You can make snapshots of the main screen only. Perhaps you can use a command line utility instead. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3 jun 2013, at 23:03, Ray Horsley wrote: I'm running into a variety of issues designing a standalone which will import PDF's. If quicktime isn't installed it seems impossible and even if the user installs it (Windows) it often doesn't work for certain PDF's. With this in mind I thought I'd let users open their PDF's in whatever program they choose and use Livecode's import snapshot command. I don't pass a rectangle since I don't know where the image is on screen and unfortunately it seems I can't get the rectangle [the user opens up] returned to me. I do, however, get an image imported, although on a system with two monitors in extended display mode it seems almost random where the actual snapshot gets taken from. It's anything but where the user actually dragged. Does anybody have any suggestions for grabbing a snapshot of the same rectangle the user opens up on the desktop or in another application? Thanks, Ray Horsley LinkIt! Software ___ 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: Galactic Gauntlet crashes and questions
Works well in the simulator here. I will try it on my iPads later. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 2, 2013, at 10:16 AM, William Waldman wwald...@klht.org wrote: Hello List! I happen to have the Galactic Gauntlet project files (from the Academy DVD). When I compile and load it on my iPhone and iPad (both iOS 6.1.3) it runs very herky-jerky (especially as the rocket ship descends) and usually crashes within a few moments. So does the commercial version as uploaded to iTunes. I showed this to David Williams at the conference in Edinburgh - and have not yet heard back. When I raised these questions he seemed unaware of these issues. Judging from his furrowed brow (he was having a very long week) it seemed to me there might be some effort in his resurrecting his old code and getting to the bottom of this. Here's what troubles me (rant ahead): This was an absolutely wonderful course, and is spectacular demo code - less so if it does not run. Actually - it's very poor as a demo if it can't run smoothly and well. The lousy reviews are stacking up on iTunes. Not good for the LiveCode Brand. So - hasn't this community dug into this code? It's the largest, best demo of the language in action that I know of - especially for teaching. There's no discussion on the boards - have I missed something? It seems to crash for no good reason. It is not a great thing if straight LiveCode processes cause a crash under iOS (nothing fancy going on here). Have people moved away from iPad development in preference to Android (and so no critical mass of users has noticed)? Has anyone got this running under Android smoothly? I just feel this is a critical element of the public relations / school integration / new user outreach stuff that's got to shine now more than ever. Just sayin. Bill Waldman Director of Technology King School 1450 Newfield Avenue Stamford, CT 06905 www.klht.org br a href=http://www.facebook.com/kingStamford; target=_newimg src=http://forum.klht.org/Social_Media_Images/fb.png; border=0/a a href=https://twitter.com/#%21/kingstamford; target=_newimg src=http://forum.klht.org/Social_Media_Images/twit.png; border=0/a a href=http://www.youtube.com/kingstamford; target=_newimg src=http://forum.klht.org/Social_Media_Images/yt.jpg; border=0/a br br This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and any attachments and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized. ___ 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: AnimationEngine pending messages
Malte, All I can say is that when I was working on this project it seemed to be a natural thing to look for. Every time I would go to a new card the same scripts would run and animate image 1 but If I went to the next card before the current card animation was done it would then build up on top of the new cards animation of image 1. So when I specifically targeted the name of image 1 (which was different on each card) then it no longer built up. In this case it would have been a no brainer that when I wanted to skip quickly through the cards that I could clear the messages from the previous cards animation sequence. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 26, 2013, at 7:38 AM, Malte Brill revolut...@derbrill.de wrote: Hey Tom, Should be adding an aeCancelAllAEMessages command? Sounds like something that could be useful… Cheers, Malte -- derbrill IT-service Malte Pfaff-Brill Tanneneck 2, d-24790 Ostenfeld Tel: +49 4331-337 640 0 eMail: i...@derbrill.de web: http://www.derbrill.de Steuernummer: 28 015 03865 VAT ID: DE223571286 ___ 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 anyone using FieldTrip Rich Text Editor
I tried using it but I kept getting no such object errors and this stack is password protected in the script editor. So I am not using it. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 24, 2013, at 7:56 AM, Matthias Rebbe matthias_livecode_150...@m-r-d.de wrote: Hi, is anyone on list using FieldTrip and would like to answer me some questions about the usage? Right now i am experiencing some strange behaviour: 1. ftplaceToolbar places the toolbar and a field to the stack 2. sometimes the toolbar suddenly grays out and is not responsive anymore (IDE and standalone) Is it just me or is anyone else noticing that behaviour? Did you manage to place only some of the FieldTrip buttons(e.g. size, bold, italic, underline) to the stack instead of the whole toolbar? Regards, Matthias ___ 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
AnimationEngine pending messages
I am having trouble canceling the pending messages that are built up with use of AE in my mobile app. I have a series of AE commands on card open but want to stop them all when moving to a new card. Even in the IDE with the pending messages/message box open I can only delete one line of the pending messages and then a new message keeps coming after a bit. Is there a way to absolutely stop ALL of them that I am missing? I am trying this in my openCard handler but they still seem to stack up. put the pendingmessages into tPendingMsgs repeat for each line x in tPendingMsgs cancel item 1 of x end repeat Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: AnimationEngine pending messages
Actually, I did see the note in the dictionary and tried that. But I think since I was using AE to generate effects using image 1 that each card was somehow newly stacking commands for image 1 of each card. When I changed it to the name of image 1 then they no longer stacked for each card. Weird. So in the end I avoided having to cancel the pending messages. Still don't know exactly what was happening and how but I'm good now. Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 24, 2013, at 1:27 PM, Scott Rossi sc...@tactilemedia.com wrote: Just because it's in the dictionary doesn't mean I've seen it :-) Regards, Scott Rossi Creative Director Tactile Media, UX Design On May 24, 2013, at 10:10 AM, John Dixon dixo...@hotmail.co.uk wrote: Scott... like on cancelThisMsg tMsg put the pendingmessages into tPendingMsgs IF tMsg is in tPendingMsgs then repeat for each line x in tPendingMsgs if tMsg is in x then cancel item 1 of x end repeat end if end cancelThisMsg from the notes in the dictionary..:-) Subject: Re: AnimationEngine pending messages From: sc...@tactilemedia.com Date: Fri, 24 May 2013 10:05:49 -0700 To: use-livecode@lists.runrev.com May not make a difference, but have you already tried: repeat for each line x in the pendingMessages I'm asking only because I haven't seen message canceling done by putting the messages in a variable first. Regards, Scott Rossi Creative Director Tactile Media, UX Design On May 24, 2013, at 8:34 AM, Thomas McGrath III mcgra...@mac.com wrote: I am having trouble canceling the pending messages that are built up with use of AE in my mobile app. I have a series of AE commands on card open but want to stop them all when moving to a new card. Even in the IDE with the pending messages/message box open I can only delete one line of the pending messages and then a new message keeps coming after a bit. Is there a way to absolutely stop ALL of them that I am missing? I am trying this in my openCard handler but they still seem to stack up. put the pendingmessages into tPendingMsgs repeat for each line x in tPendingMsgs cancel item 1 of x end repeat Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 ___ 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: mApp Framework problems
Alan, I have been working with mApp a lot the past few days. Although I did not see this particular problem I can say that you have to be careful deleting elements after applying rules to them. I ran into something where everything went haywire after deleting a background group. Let us know what you figure out. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 23, 2013, at 11:53 AM, Alan Stenhouse alanstenho...@hotmail.com wrote: G'day all Am starting to use Monte's mApp framework and have run into a couple of problems: 1. Added a datagrid and this works and displays fine on normal resolution displays but on Retina displays for iPhone + iPad nothing is displayed. Seems sort of strange - just want to check if anyone else has done this ok or not? 2. In testing/playing further, I now seem to have mucked something else up - am certainly getting some unexpected behaviour (Think this error came up after deleting a datagrid from one of the cards in the UI stack, though there are still datagrids on other cards) . When I now open the mainstack or try testing on the simulator, what had previously worked now gives me the error Could not find stack This error comes from the mApp framework - I can see the code and see that the property (added by the framework) mAppProps[UIStack] of my main UI stack is empty, thus resulting in this error. Strange. If anyone has ideas I'm keen to learn... or else I'll start again and see if I can somehow replicate. Thanks for any help! cheers Alan :-) p.s. Very much looking forward to that high-priority item on the development list - the beer machine! -- Alan Stenhouse alanstenho...@hotmail.com Check out our apps on the App Store: BeatSpeak - the multilingual talking metronome; EV-Point - Find your nearest Electric Vehicle Recharge Station. ___ 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: mApp Framework problems
Monte has a download link on his website for mApp which is interesting in doing UI scaling and positioning. http://mergext.com/mergext/ Way down at the bottom. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 23, 2013, at 3:13 PM, Peter Haworth p...@lcsql.com wrote: Ummm... what did I miss? What is mApp? Pete lcSQL Software http://www.lcsql.com On Thu, May 23, 2013 at 11:21 AM, Thomas McGrath III mcgra...@mac.comwrote: Alan, I have been working with mApp a lot the past few days. Although I did not see this particular problem I can say that you have to be careful deleting elements after applying rules to them. I ran into something where everything went haywire after deleting a background group. Let us know what you figure out. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 23, 2013, at 11:53 AM, Alan Stenhouse alanstenho...@hotmail.com wrote: G'day all Am starting to use Monte's mApp framework and have run into a couple of problems: 1. Added a datagrid and this works and displays fine on normal resolution displays but on Retina displays for iPhone + iPad nothing is displayed. Seems sort of strange - just want to check if anyone else has done this ok or not? 2. In testing/playing further, I now seem to have mucked something else up - am certainly getting some unexpected behaviour (Think this error came up after deleting a datagrid from one of the cards in the UI stack, though there are still datagrids on other cards) . When I now open the mainstack or try testing on the simulator, what had previously worked now gives me the error Could not find stack This error comes from the mApp framework - I can see the code and see that the property (added by the framework) mAppProps[UIStack] of my main UI stack is empty, thus resulting in this error. Strange. If anyone has ideas I'm keen to learn... or else I'll start again and see if I can somehow replicate. Thanks for any help! cheers Alan :-) p.s. Very much looking forward to that high-priority item on the development list - the beer machine! -- Alan Stenhouse alanstenho...@hotmail.com Check out our apps on the App Store: BeatSpeak - the multilingual talking metronome; EV-Point - Find your nearest Electric Vehicle Recharge Station. ___ 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
JSON
I have a server project where I need to send some JSON to a URL. I've never done this before. Has anyone got a simple example/explanation of how this is achieved? Thanks in advance. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: randomly order a list
LOL…. I just spit my coffee all over my screen…… -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 23, 2013, at 3:52 PM, Björnke von Gierke b...@mac.com wrote: Fuck me that's correct. :( ___ 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: Multiple Images on Card
Graham, There are many tools or plugins that you can get for better alignment and positioning in LiveCode. There is Dar's Tiny Loupe and also Guides Picker 2.0 And outside of LiveCode xScope for the Mac is an awesome tool which also has support for layouts for Mobile. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 21, 2013, at 9:39 AM, Graham Pearson gspear...@gmail.com wrote: As part of my learning LiveCode and moving an application from Adobe Air I have come up with something that I have not been able to find in the IDE. Does anyone know if it is possible to Zoom a card so that lines can be matched up on different images. I have inserted as control 20 images that make an entire picture and have done it this way so that when a user hovers over a section of the picture, it would change colors and upon clicking a section of the picture it would display a new card with detailed information of the section of the image selected. The images started as Vector Images which I converted to a Symbol then imported as a control in LiveCode. Once the lines have lined up then I can reduce zoom back to 100% for the project. ___ 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: DataGrid Helper - Registering the product
Been there many times myself…. Hope you get your project done in time. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 18, 2013, at 5:59 AM, Nigel Soden nig...@amglighthouse.co.za wrote: I have made a completer and utter idiot of myself. ___ 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: scrolling stack I made
Colin, I tried this (awesome) stack on an iPad Retina and there seems to be a problem with the scrolling logos being cut off. There seems to be a square section either missing or constrained for most logo images. I have a screen shot if you are interested here: https://www.dropbox.com/s/wlesoa70gy0yt2e/scrollingParallax.png Thanks for sharing this informative demo. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 19, 2013, at 7:04 PM, Colin Holgate co...@verizon.net wrote: Hopefully some of you will try it on iOS and Android, it works well there too. On May 19, 2013, at 10:55 PM, Alejandro Tejada capellan2...@gmail.com wrote: This Scrolling Stack works really nice in Windows, too! :D ___ 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: scrolling stack I made
This screenshot shows an LC logo in the upper middle that seems to be constrained by the square where others seem to be cut out by the square. https://www.dropbox.com/s/vb57wkia6b1l1qq/scrollingParallax2.png Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 20, 2013, at 8:34 AM, Thomas McGrath III mcgra...@mac.com wrote: Colin, I tried this (awesome) stack on an iPad Retina and there seems to be a problem with the scrolling logos being cut off. There seems to be a square section either missing or constrained for most logo images. I have a screen shot if you are interested here: https://www.dropbox.com/s/wlesoa70gy0yt2e/scrollingParallax.png Thanks for sharing this informative demo. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 19, 2013, at 7:04 PM, Colin Holgate co...@verizon.net wrote: Hopefully some of you will try it on iOS and Android, it works well there too. On May 19, 2013, at 10:55 PM, Alejandro Tejada capellan2...@gmail.com wrote: This Scrolling Stack works really nice in Windows, too! :D ___ 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: scrolling stack I made
Colin, For once I did not even open the script before I tested and loaded this. I saw the comment mentioning accelerometer and immediately loaded it on my iPad to see it in action. This was run straight from the download. Here is what is happening on my iPhone 4: https://www.dropbox.com/s/4po1t2brbq57jlm/ScrollingParallaxiPhone4.png Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 20, 2013, at 8:52 AM, Colin Holgate co...@verizon.net wrote: That's just showing that a script error has happened. All of the logos should be different sizes, and if they're all the same size, like they are in the screenshot, something went wrong. Did you make any changes to the script? ___ 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: scrolling stack I made
Colin, I just checked a build using 6.0.1 and everything runs as expected. The original build was using 5.5.4 where it didn't work. So it seems that something in 5.5.4 has changed for 6.0.1 Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 20, 2013, at 8:57 AM, Thomas McGrath III mcgra...@mac.com wrote: Colin, For once I did not even open the script before I tested and loaded this. I saw the comment mentioning accelerometer and immediately loaded it on my iPad to see it in action. This was run straight from the download. Here is what is happening on my iPhone 4: https://www.dropbox.com/s/4po1t2brbq57jlm/ScrollingParallaxiPhone4.png Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 20, 2013, at 8:52 AM, Colin Holgate co...@verizon.net wrote: That's just showing that a script error has happened. All of the logos should be different sizes, and if they're all the same size, like they are in the screenshot, something went wrong. Did you make any changes to the script? ___ 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
Live13
No video, no chat, what's going on -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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
ChatRev not working
I am getting a socket error using chat rev. Any ideas how to get around that??? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: Live13
Mark, Thank you so much for this update. The video simulcast is only of the main speaker and this year there is no video of the other tracks. I do remember the lack of a decent internet connection at AC. Wish I was there Mark. Keep up the catch up. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 14, 2013, at 6:31 AM, Mark Talluto use...@canelasoftware.com wrote: The Keynote is over and we are in a mingling session for networking. The spirit is quite high. The RunRev staff is highly available to talk to. The vibe is very upbeat. The venue is one of the best so far. I might add that the internet works at this location. If you were at the Atlanta conference, you know what I mean. Tom, you surely remember that fiasco. The weather is cool but comfortable. This is your one minute catch up on what is going on over here. Brought to you by your friends at Canela. Best regards, Mark Talluto http://www.canelasoftware.com On May 14, 2013, at 8:57 AM, Thomas McGrath III mcgra...@mac.com wrote: No video, no chat, what's going on -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 ___ 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: Import Snapshot in iOS
Hadn't tried it with acceleratedRendering true. a-r can be turned off at will so it shouldn't be too much of a problem but if it's a bug and not a 'feature' should let RR know about it. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 14, 2013, at 8:25 AM, Roger Guay i...@mac.com wrote: Hi, I've discovered that Import Snapshot does not work in iOS if acceleratedRendering is set to true. Works fine in OS X but not iOS. Any thoughts? 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: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects
Monte, I won't be attending this year but I will be on the simulcast so I'll sort of be there in spirit at the conference….. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 10, 2013, at 1:15 AM, Monte Goulding mo...@sweattechnologies.com wrote: I asked this exact question on StackOverflow a couple of weeks ago and before I was attacked by Mark for not asking the question he answered we were getting somewhere... I did create solution that works by retaining an offset for the child objects to use in their resizing. http://stackoverflow.com/questions/16168091/how-do-you-change-the-rect-of-a-group-without-changing-the-location-of-the-objec/16178454#16178454 Anyway... all will be revealed at the conference on Tuesday On 10/05/2013, at 5:23 AM, Thomas McGrath III mcgra...@mac.com wrote: Is there a way to resize and move a scrolling group without touching the inside contents of that group??? This is on mobile and I need to resize a scrolling group based on the position of the UI (navbar and toolbar when in portrait and landscape) when the UI changes and then after the scrolling group is right I then need to separately resize the contents for retina if needed -- to double their height, width and topleft -- or regular. If I resize the group first then it moves the content and then doubling the content makes it the right size but positioned wrong. If I resize the content and then move the group then it again correctly sizes the contents but positions them wrong. If the group moves then everything is in a different position from when I laid them out in the desktop so they are off. I want the scrolling group code to be separate from the resizing code if possible. Thanks, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 -- Monte Goulding M E R Goulding - software development services 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: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects
Geoff, What you state here about the rounding is exactly what I have been seeing and your suggestion that one should always start from the stored original sizes and attributes when cumulative resizes or back to back resizes are needed is the only solution so far that I believe will work for this. I will be testing your script tomorrow. tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 10, 2013, at 4:23 PM, Geoff Canyon gcan...@gmail.com wrote: Hi Scott, I tried to simplify this and make it so that each control is adjusted in one step. This also optionally take different scaling factors for horizontal and vertical. Let me know if I missed anything. I'm not sure what everyone was seeing with resizing the group affecting the objects in it -- I'm not seeing that as far as I can tell. All the implementations shown so far are losing fidelity due to rounding. If anyone is going to repeatedly resize groups/objects like this, it would make sense to store the original rects as a separate property, and always start from there. If the resizing needs to be cumulative, then I'd store the cumulative resizing factor as a property of the group, then when resizing multiply that by the new/additional factor before applying that to the stored rects to set the sizes. Once we have open language, I'm so looking forward to being able to say something like: set the rect of every control of G to integerRect(shiftRect(scaleRect(shiftRect((the rect of it),-L,-T),H,V),L,T)) gc command scaleGroup G,H,V if V is empty then put H into V put the left of G into L put the top of G into T put shiftRect(scaleRect(shiftRect((the rect of G),-L,-T),H,V),L,T) into R repeat with N = 1 to number of controls of G set the rect of control N of G to integerRect(shiftRect(scaleRect(shiftRect((the rect of control N of G),-L,-T),H,V),L,T)) end repeat set the margins of G to scaleRect((the margins of G),H,V) set the rect of G to R end scaleGroup function scaleRect R,H,V if V is empty then put H into V return (H * item 1 of R),(V * item 2 of R),(H * item 3 of R),(V * item 4 of R) end scaleRect function shiftRect R,H,V if V is empty then put H into V return (H + item 1 of R),(V + item 2 of R),(H + item 3 of R),(V + item 4 of R) end shiftRect function integerRect R return round(item 1 of R),round(item 2 of R),round(item 3 of R),round(item 4 of R) end integerRect On Fri, May 10, 2013 at 7:00 AM, Thomas McGrath III mcgra...@mac.comwrote: Monte, I won't be attending this year but I will be on the simulcast so I'll sort of be there in spirit at the conference….. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 10, 2013, at 1:15 AM, Monte Goulding mo...@sweattechnologies.com wrote: I asked this exact question on StackOverflow a couple of weeks ago and before I was attacked by Mark for not asking the question he answered we were getting somewhere... I did create solution that works by retaining an offset for the child objects to use in their resizing. http://stackoverflow.com/questions/16168091/how-do-you-change-the-rect-of-a-group-without-changing-the-location-of-the-objec/16178454#16178454 Anyway... all will be revealed at the conference on Tuesday On 10/05/2013, at 5:23 AM, Thomas McGrath III mcgra...@mac.com wrote: Is there a way to resize and move a scrolling group without touching the inside contents of that group??? This is on mobile and I need to resize a scrolling group based on the position of the UI (navbar and toolbar when in portrait and landscape) when the UI changes and then after the scrolling group is right I then need to separately resize the contents for retina if needed -- to double their height, width and topleft -- or regular. If I resize the group first then it moves the content and then doubling the content makes it the right size but positioned wrong. If I resize the content and then move the group then it again correctly sizes the contents but positions them wrong. If the group moves then everything is in a different position from when I laid them out in the desktop so they are off. I want the scrolling group code to be separate from the resizing code if possible. Thanks, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 -- Monte Goulding M E R Goulding - software development services 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
[Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects
Is there a way to resize and move a scrolling group without touching the inside contents of that group??? This is on mobile and I need to resize a scrolling group based on the position of the UI (navbar and toolbar when in portrait and landscape) when the UI changes and then after the scrolling group is right I then need to separately resize the contents for retina if needed -- to double their height, width and topleft -- or regular. If I resize the group first then it moves the content and then doubling the content makes it the right size but positioned wrong. If I resize the content and then move the group then it again correctly sizes the contents but positions them wrong. If the group moves then everything is in a different position from when I laid them out in the desktop so they are off. I want the scrolling group code to be separate from the resizing code if possible. Thanks, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: Anyone else experiencing crashes with Commercial Build 1513?
I get hangs at least four times a day. I work hard, I play hard, I code hard. So I figure it comes with the territory. But it is annoying. Save often and then save again. Then Zip/compress the file at every big change and then back that up as well……. Oh yeah, and save again…. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: US at conference?
I will not be attending this year due to 'financial' reasons and neither will Victoria (for the same reasons). I will be on the simulcast however so drop by a camera and say hello to me……. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: mergSettings
Actually, Monte updated the latest download to include the resource folder and the settings.bundle so It is working now. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Apr 26, 2013, at 12:27 PM, Matthias Rebbe matthias_livecode_150...@m-r-d.de wrote: Hi Thomas, i ran into this a fews day ago too, but had no time to investigate further. Did you try the resource folder from an older download of mergSettings? Is that working? Or does the resource folder need to contain more current versions? Matthias Anfang der weitergeleiteten Nachricht: Von: Thomas McGrath III mcgra...@mac.com Betreff: Aw: mergSettings Datum: 25. April 2013 22:41:50 MESZ An: How to use LiveCode use-livecode@lists.runrev.com Antwort an: How to use LiveCode use-livecode@lists.runrev.com Ahh, The resources folder is missing in the current mergSettings download folder. There is no resources folder. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Apr 25, 2013, at 4:28 PM, Thomas McGrath III mcgra...@mac.com wrote: Ok, I'm off to find it now. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Apr 25, 2013, at 4:08 PM, Monte Goulding mo...@sweattechnologies.com wrote: Hi Tom Have you included all the resources correctly? I've got a YouTube video that shows what to do for mergSettings. I'm on my phone now so its a bit hard to get the URL but just search for mergExt on YouTube. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 25/04/2013, at 11:17 PM, Thomas McGrath III mcgra...@mac.com wrote: Running the demo app on my device gives a crash report: Hardware Model: iPhone3,1 Process: mergSettings [8424] Path: /var/mobile/Applications/766E0FBE-E6E2-4696-861A-CE9594D8F7F0/mergSettings.app/mergSettings Identifier: mergSettings Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2013-04-25 08:39:28.859 -0400 OS Version: iOS 6.1.3 (10B329) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x, 0x Crashed Thread: 0 -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Apr 25, 2013, at 9:13 AM, Thomas McGrath III mcgra...@mac.com wrote: Is anyone having a problem getting mergSettings to work correctly with Livecode 6.0 and iOS 6.1.3 When running the demo when I click settings the app closes and nothing happens. It seems like a crash. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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 ___ 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 ___ 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: mergSettings
Running the demo app on my device gives a crash report: Hardware Model: iPhone3,1 Process: mergSettings [8424] Path: /var/mobile/Applications/766E0FBE-E6E2-4696-861A-CE9594D8F7F0/mergSettings.app/mergSettings Identifier: mergSettings Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2013-04-25 08:39:28.859 -0400 OS Version: iOS 6.1.3 (10B329) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x, 0x Crashed Thread: 0 -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Apr 25, 2013, at 9:13 AM, Thomas McGrath III mcgra...@mac.com wrote: Is anyone having a problem getting mergSettings to work correctly with Livecode 6.0 and iOS 6.1.3 When running the demo when I click settings the app closes and nothing happens. It seems like a crash. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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