How to open an XML file within an OSX bundle?

2012-06-19 Thread Keith Clarke
Hi folks, Any pointers on how to extract programatically an XML file hidden within an OSX bundle that looks like a file but which Text Wrangler shows the internal folders and target XML file? Best, Keith.. ___ use-livecode mailing list

Re: Where do you save preferences?

2012-06-19 Thread Peter Haworth
I believe the class/API Richard refers to simply write the data they are given to a file in the prefs folder that Apple wants you to use. If you give bad data to them, they will foul up the prefs file just as badly as writing the same bad data directly from LC would foul it up. I thnk Apple

Re: Where do you save preferences?

2012-06-19 Thread Richmond
On 19/06/12 09:45, Peter Haworth wrote: Personally I would save any preferences from a Macintosh standalone inside the application bundle: 1. If you do an OS upgrade and Apple play silly bu**ers with how they manage preferences your preferences don't get lost track of. 2. If, like me,

Re: Clever Table Object

2012-06-19 Thread René Micout
Le 19 juin 2012 à 00:00, BNig a écrit : I hope Runrev will find the time to fix revOnline in the near future. Oh YES !!! Bernd Hello from Paris... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: Where do you save preferences?

2012-06-19 Thread Bill Vlahos
Richmond, That won't work unless you have administrative rights on your computer. If not, you won't be able to write to the Applications folder without authenticating first. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information

Re: Where do you save preferences?

2012-06-19 Thread Richmond
On 19/06/12 10:36, Bill Vlahos wrote: Richmond, That won't work unless you have administrative rights on your computer. If not, you won't be able to write to the Applications folder without authenticating first. Blast! That is a problem. Well, as far as I remember, each user normally has a

Re: AW: AW: ANN: GLX2 3.05

2012-06-19 Thread Bernard Devlin
I never use FTP to communicate with a server. I will either use webdav (over https) or scp or a ssh tunnel (I seem to remember FTP cannot be tunnelled over ssh, but it seems ridiculous that it cannot). Even on windows, putty can do secure file transmission. If we IT professionals don't insist

Android device problem

2012-06-19 Thread Nicolas Cueto
Hello All, LC and my Android phone: no problem connecting and testing. LC and my Android tablet: the Devpt Test target menu is grayed, and clicking on Test gives Unknown deployment platform. I realize this is a very vague question, since there's many factors at play -- all of which I think

Re: How to open an XML file within an OSX bundle?

2012-06-19 Thread Colin Holgate
With a stack saved in the Applications folder, this script puts the iPhoto info.plist XML file into field 1: on mouseUp put URL binfile:iPhoto.app/Contents/info.plist into field 1 end mouseUp ___ use-livecode mailing list

Re: FYI, initializing variables by reference

2012-06-19 Thread Peter M. Brigham
Yup, try it and see. The variables are loaded and their values are available in subsequent script lines. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jun 18, 2012, at 4:53 PM, Bob Sneidar wrote: You are saying these variables survive the command call because

Re: Android device problem

2012-06-19 Thread Mike Bonner
Some devices have to be specifically set up in the android sdk. For example, the kindle fire... http://mobile.tutsplus.com/tutorials/android/getting-started-with-kindle-fire-development/ (there is an official amazon page for setting up the kindle fire but I couldn't find it. The link above is

Re: Where do you save preferences?

2012-06-19 Thread Kee Nethery
Wouldn't altering a file inside the application bundle invalidate the code signing required by MAS and makes it look to the OS as though some malware has altered that application? Kee Nethery On 19/06/12 09:45, Peter Haworth wrote: Personally I would save any preferences from a Macintosh

Re: Where do you save preferences?

2012-06-19 Thread Richmond
On 19/06/12 15:50, Kee Nethery wrote: Wouldn't altering a file inside the application bundle invalidate the code signing required by MAS and makes it look to the OS as though some malware has altered that application? Kee Nethery On 19/06/12 09:45, Peter Haworth wrote: Personally I would

Re: Where do you save preferences?

2012-06-19 Thread Bill Vlahos
Thanks for all the feedback on this. Here is the code I came up with to set the path for the preference file and create the folder if it didn't exist. Note I didn't include a company folder in the path like Igor's example because lcTaskList is not an executable but a plugin stack. You may want

Re: Another Question About About Screens

2012-06-19 Thread Tim Jones
On Jun 18, 2012, at 3:35 PM, Richard Gaskin wrote: Roger Guay wrote: my iOS app loads fairly quickly so I would like my Splash screen to stay up longer. Any way to do that? I see no harm and much benefit to an app that lets people get to work instantly. Rather than hamper the

Re: [ANN] moneyXchange 1.0

2012-06-19 Thread Bob Sneidar
I would have paid money for an app called Filthy Lucre, but now... well I don't know. ;-) Seriously, who thinks they ought to exclude an app not because of a name that is vulgar (I would understand that) but because they deem it *may* offend someone? Who the hell are they? The future mind

Re: Microsoft Tablet Event in LA Just Wrapped

2012-06-19 Thread Bob Sneidar
It's worse because it's a cheap knockoff. Bob On Jun 18, 2012, at 6:35 PM, Tim Jones wrote: On Jun 18, 2012, at 6:32 PM, Mark Wieder wrote: Scott- Monday, June 18, 2012, 5:06:24 PM, you wrote: From touch to type, office to living room, from your screen to the big screen, you can

Re: jumping among Mainstack and substacks isn't easy

2012-06-19 Thread Bob Sneidar
The debugger is your friend here. Insert a breakpoint and then step through your code to see what your variables *really* contain. If your variable is Roberte Clemente of stack Kids, then in the words of an old and wise farmer, You can't get there from here. You are saying that there is a card

Re: LC and ImageMagick from OSX

2012-06-19 Thread Bernard Devlin
Paolo, this is the shell command to which Bryan refers. http://docs.runrev.com/Function/shell He is invoking ImageMagick with that function on Windows, but was having trouble with it on OS X. Not sure if he resolved the issue with invoking it on OS X, because this thread seems to have become

Re: FYI, initializing variables by reference

2012-06-19 Thread Bob Sneidar
Brilliant! (Can I immigrate to the UK now please? See? I can speak the language!) Bob On Jun 19, 2012, at 5:13 AM, Peter M. Brigham wrote: Yup, try it and see. The variables are loaded and their values are available in subsequent script lines. -- Peter Peter M. Brigham

Re: Where do you save preferences?

2012-06-19 Thread Bob Sneidar
That is exactly the issue of this thread. Apple is now forbidding that apps in the App Store write directly to this folder. I suppose it's for security's sake. It might be conceivable that the location of a helper app would be saved in a preferences file, and someone else could come along and

Re: The Long Name peculiarities

2012-06-19 Thread Tim Jones
On Jun 19, 2012, at 8:36 AM, Bob Sneidar wrote: Whoa! You can use a single letter as a function name?? I thought that was strictly verboten! I see once more I am mistaken. Yep - and you can use variables like AA, b1, ae, c, e3 - just like in Commodore BASIC ;-). Tim

Re: Another Question About About Screens

2012-06-19 Thread Bob Sneidar
Perhaps it's one of the oddities of true geniuses, that they answer questions that have yet to be asked, but know will soon be. :-) Bob On Jun 19, 2012, at 7:44 AM, Tim Jones wrote: On Jun 18, 2012, at 3:35 PM, Richard Gaskin wrote: Roger Guay wrote: my iOS app loads fairly quickly so

Re: The Long Name peculiarities

2012-06-19 Thread Bob Sneidar
Ooohh Commodore Basic! My first digital love! That was fun! I kept running out of memory though. Bob On Jun 19, 2012, at 8:45 AM, Tim Jones wrote: On Jun 19, 2012, at 8:36 AM, Bob Sneidar wrote: Whoa! You can use a single letter as a function name?? I thought that was strictly

Re: Android device problem

2012-06-19 Thread J. Landman Gay
On 6/19/12 5:37 AM, Nicolas Cueto wrote: Hello All, LC and my Android phone: no problem connecting and testing. LC and my Android tablet: the Devpt Test target menu is grayed, and clicking on Test gives Unknown deployment platform. I get that error if I have specified an OS version in

Re: The Long Name peculiarities

2012-06-19 Thread Peter Haworth
Thanks Peter, I will give this a try. Pete lcSQL Software http://www.lcsql.com On Tue, Jun 19, 2012 at 5:47 AM, Peter M. Brigham pmb...@gmail.com wrote: As a work-around, here's a handler that I use from time to time, and it could be modified for your purpose:

Re: Where do you save preferences?

2012-06-19 Thread Richmond
On 06/19/2012 06:42 PM, Bob Sneidar wrote: That is exactly the issue of this thread. Apple is now forbidding that apps in the App Store write directly to this folder. I suppose it's for security's sake. It might be conceivable that the location of a helper app would be saved in a preferences

Re: The Long Name peculiarities

2012-06-19 Thread Richmond
On 06/19/2012 06:51 PM, Bob Sneidar wrote: Ooohh Commodore Basic! My first digital love! That was fun! I kept running out of memory though. Bob On Jun 19, 2012, at 8:45 AM, Tim Jones wrote: On Jun 19, 2012, at 8:36 AM, Bob Sneidar wrote: Whoa! You can use a single letter as a function

Re: The Long Name peculiarities

2012-06-19 Thread Richmond
On 06/19/2012 08:10 PM, Peter M. Brigham wrote: On Jun 19, 2012, at 11:51 AM, Bob Sneidar wrote: I kept running out of memory though. Yeah, that happens more and more to me as time goes on Ha, Ha, Ha; tried to shove a RAM module in my ear last week . . . . -- Peter Peter M. Brigham

Re: The Long Name peculiarities

2012-06-19 Thread J. Landman Gay
On 6/19/12 12:15 PM, Richmond wrote: On 06/19/2012 08:10 PM, Peter M. Brigham wrote: On Jun 19, 2012, at 11:51 AM, Bob Sneidar wrote: I kept running out of memory though. Yeah, that happens more and more to me as time goes on Ha, Ha, Ha; tried to shove a RAM module in my ear last week

Re: [NOT] From my Yahoo Spam box: mtp.mc

2012-06-19 Thread Alejandro Tejada
Hi Richmond, Richmond Mathewson-2 wrote [snip] However . . . if I am to put in 6-7 hours tarting up the mtp.mc stack, it would be nice if it could then become readily available for anybody who wants it . . . So, if any of the mages could tell me if I am going to fall foul of any

Re: The Long Name peculiarities

2012-06-19 Thread Richmond
On 06/19/2012 08:20 PM, J. Landman Gay wrote: On 6/19/12 12:15 PM, Richmond wrote: On 06/19/2012 08:10 PM, Peter M. Brigham wrote: On Jun 19, 2012, at 11:51 AM, Bob Sneidar wrote: I kept running out of memory though. Yeah, that happens more and more to me as time goes on Ha, Ha, Ha;

Re: [NOT] From my Yahoo Spam box: mtp.mc

2012-06-19 Thread Richmond
On 06/19/2012 08:24 PM, Alejandro Tejada wrote: Hi Richmond, Richmond Mathewson-2 wrote [snip] However . . . if I am to put in 6-7 hours tarting up the mtp.mc stack, it would be nice if it could then become readily available for anybody who wants it . . . So, if any of the mages could tell

Re: The Long Name peculiarities

2012-06-19 Thread Peter M. Brigham
On Jun 19, 2012, at 1:20 PM, J. Landman Gay wrote: On 6/19/12 12:15 PM, Richmond wrote: On 06/19/2012 08:10 PM, Peter M. Brigham wrote: On Jun 19, 2012, at 11:51 AM, Bob Sneidar wrote: I kept running out of memory though. Yeah, that happens more and more to me as time goes on Ha,

Re: Another Question About About Screens

2012-06-19 Thread Roger Guay
Thanks again, Tim. My app loads so fast that the splash screen is a flash of splash! So I wait just 3 seconds in the openStack script, thus solving that problem. Cheers, Roge On Jun 19, 2012, at 10:00 AM, use-livecode-requ...@lists.runrev.com wrote: Message: 5 Date: Tue, 19 Jun 2012

Re: jumping among Mainstack and substacks isn't easy

2012-06-19 Thread Mark Rauterkus
Hi, Still here with newbie frustration and needing to move along. So, This works for me in a button. on mouseUp tUserName put Roberto Clemente into tUserName put Present on the short english date return after field Attendance of card tUserName of stack Kids end mouseUp But this

Re: jumping among Mainstack and substacks isn't easy

2012-06-19 Thread Devin Asay
Mark, You don't need to include the quotes in your card name. The way you're doing it the name is literally: Roberto Clemente So in effect you are asking LC to go to a card with the name that *includes* the quotes. Just leave out the quote constants: put tFirstName space tSecondName

Re: jumping among Mainstack and substacks isn't easy

2012-06-19 Thread Peter Haworth
Don't put the quotes around the name in tUsername. Pete lcSQL Software http://www.lcsql.com On Tue, Jun 19, 2012 at 11:04 AM, Mark Rauterkus mark.rauter...@gmail.comwrote: Hi, Still here with newbie frustration and needing to move along. So, This works for me in a button. on

Re: jumping among Mainstack and substacks isn't easy

2012-06-19 Thread Peter M. Brigham
The mouseup message accepts one parameter, which is the number of the button pressed, normally 1 (left-click) or 3 (right-click). You can't pass other info along with the message, you have to build up your data inside the handler, as you in fact do with the stuff below that works. On Jun 19,

Re: Rev Online

2012-06-19 Thread Mark Wieder
Mark Rauterkus mark.rauterkus@... writes: With Rev Online, can I delete some of my stacks already uploaded? I put some junk there in the past that should be deleted. RevOnline's functionality has been dead for over six months now. To bring it back you will need to sacrifice a chicken to Papa

Re: Android device problem

2012-06-19 Thread Nicolas Cueto
Figured it out. After updating to Win7, I had forgotten to also re-install the tablet-specific USB driver. Thanks. -- Nicolas Cueto ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

problems building standalone

2012-06-19 Thread Dr. Hawkins
I am trying to build a standalone. I get the notice, A stack answer dialog in file longname is already in memory. THe revolution UI does not distinguish stacks which have idnetical names, . . . This happens even if I have just opened livecode and my file. There is no such stack or substack,

LiveCodeOnline [Was: Re: Rev Online]

2012-06-19 Thread Alex Tweedly
RevOnline has been effectively broken for a long time. Long enough that we should be able to predict that it won't be fixed any time soon. And I think that's probably a good resource allocation decision for runrev. revonline is basically a website to collect stacks and similar resources,

Re: LiveCodeOnline [Was: Re: Rev Online]

2012-06-19 Thread Richard Gaskin
Alex Tweedly wrote: RevOnline has been effectively broken for a long time. Long enough that we should be able to predict that it won't be fixed any time soon. And I think that's probably a good resource allocation decision for runrev. revonline is basically a website to collect stacks and

Re: problems building standalone

2012-06-19 Thread Dr. Hawkins
More poking, and I successfully built a simple stack, with just a picture. That worked executed. I then set the standalone settings to mac only. Then instead of the answer stack problem, I got a long, detailed and incomprehensible message with lots of numbers and commas. And now, after

Re: LiveCodeOnline [Was: Re: Rev Online]

2012-06-19 Thread Mark Wieder
Alex, Richard- Yes, but... three things: it wouldn't have the authority of the company behind it, in the way that the Apple store, etc does I don't recall a link from the runrev site to LiveCode Journal, or it's somewhere out of the way. it would look really bad for the company to have this

Re: problems building standalone

2012-06-19 Thread Mark Schonewille
Hi Richard, Is any of your stacks protected by a password? Sometimes, this causes the problem. Another reason can be that the destroyStack property is false. The first line of the long and incomprehensible message should start with three numbers: an error code, a line number and a character

Re: problems building standalone

2012-06-19 Thread J. Landman Gay
On 6/19/12 6:51 PM, Dr. Hawkins wrote: I am trying to build a standalone. I get the notice, A stack answer dialog in file longname is already in memory. THe revolution UI does not distinguish stacks which have idnetical names, . . . This happens even if I have just opened livecode and my

Re: problems building standalone

2012-06-19 Thread Dr. Hawkins
On Tue, Jun 19, 2012 at 6:02 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Richard, Is any of your stacks protected by a password? none have passwords, but . . . Sometimes, this causes the problem. Another reason can be that the destroyStack property is false. The set

Re: problems building standalone

2012-06-19 Thread Dr. Hawkins
OK, I can't attach that much. Here are links for the message below: http://dochawk.org:Screen Shot 2012-06-19 at 6.33.48 PM (2).png http://dochawk.org:Screen Shot 2012-06-19 at 6.42.16 PM.png http://dochawk.org:Screen Shot 2012-06-19 at 6.43.05 PM.png http://dochawk.org:Screen Shot 2012-06-19 at

Re: problems building standalone

2012-06-19 Thread Warren Samples
On 06/19/2012 11:05 PM, J. Landman Gay wrote: On 6/19/12 8:53 PM, Dr. Hawkins wrote: OK, I can't attach that much. Here are links for the message below: http://dochawk.org:Screen Shot 2012-06-19 at 6.33.48 PM (2).png http://dochawk.org:Screen Shot 2012-06-19 at 6.42.16 PM.png

Re: problems building standalone

2012-06-19 Thread Warren Samples
On 06/19/2012 11:37 PM, J. Landman Gay wrote: On 6/19/12 11:14 PM, Warren Samples wrote: On 06/19/2012 11:05 PM, J. Landman Gay wrote: On 6/19/12 8:53 PM, Dr. Hawkins wrote: OK, I can't attach that much. Here are links for the message below: http://dochawk.org:Screen Shot 2012-06-19 at

Re: problems building standalone

2012-06-19 Thread Warren Samples
On 06/19/2012 11:43 PM, Warren Samples wrote: http://dochawk.org/Screen Shot 2012-06-19 at 6.33.48 PM (2).png http://dochawk.org/Screen Shot 2012-06-19 at 6.42.16 PM.png http://dochawk.org/Screen Shot 2012-06-19 at 6.43.05 PM.png http://dochawk.org/Screen Shot 2012-06-19 at 6.43.35 PM.png ???

Re: problems building standalone

2012-06-19 Thread Paul Hibbert
These should work… http://dochawk.org/Screen%20Shot%202012-06-19%20at%206.33.48%20PM%20(2).png http://dochawk.org/Screen%20Shot%202012-06-19%20at%206.42.16%20PM.png http://dochawk.org/Screen%20Shot%202012-06-19%20at%206.43.05%20PM.png

Re: LiveCodeOnline [Was: Re: Rev Online]

2012-06-19 Thread Peter Haworth
Hi Mark, I'd have more sympathy for all that if the many QCC reports on the issue had received a response of some sort, even if it was Sorry guys, we know it's broken but it's not a high enough priority for us to fix right now. Mine never received a response, not sure if any did. I have several

Re: Rev Online

2012-06-19 Thread Igor de Oliveira Couto
Dear List Folks, On 20/06/2012, at 6:04 AM, Mark Wieder wrote: Mark Rauterkus mark.rauterkus@... writes: With Rev Online, can I delete some of my stacks already uploaded? I put some junk there in the past that should be deleted. RevOnline's functionality has been dead for over six months

Re: LiveCodeOnline [Was: Re: Rev Online]

2012-06-19 Thread Richmond
On 06/20/2012 03:01 AM, Alex Tweedly wrote: RevOnline has been effectively broken for a long time. Long enough that we should be able to predict that it won't be fixed any time soon. And I think that's probably a good resource allocation decision for runrev. revonline is basically a

[ANN] Settings app integration added to mergExt

2012-06-19 Thread Monte Goulding
Hi LiveCoders mergSettings 1.0 has just been added to the mergExt suite. mergSettings is an iOS External that integrates a LiveCode app with the Settings app and also includes InAppSettingsKit to present a matching dialog from within your app. The suite is rapidly growing and now includes 13