AW: OT: how to convert XML data into db fields?

2012-07-17 Thread Tiemo Hollmann TB
Hi Bob, That’s what I thought, but I was looking for any good practices in this matter. Thank you Tiemo > -Ursprüngliche Nachricht- > Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] Im Auftrag von Bob Sneidar > Gesendet: Dienstag, 17. Juli 2012

RunRevLive12

2012-07-17 Thread tech1
Hi folks, I've posted some images from RunRevLive12. You can reach them from here: http://www.troutfoot.com/rev/index.html What a great time! Good to see everyone, learn stuff, see new habitats. Sandy ___ use-livecode mailing list use-livecode@lists

Re: Calling external support functions from other threads

2012-07-17 Thread Dar Scott
Thanks Mark! That is good to know. The external I'm looking might be OK. It has the send in time, but not the try wrapper. Dar On Jul 17, 2012, at 11:02 PM, Mark Wieder wrote: > Andre, Dar- > > You may find some useful information in the notes to bug 1242. > > -- > -Mark Wieder > mwie.

Re: Calling external support functions from other threads

2012-07-17 Thread Mark Wieder
Andre, Dar- You may find some useful information in the notes to bug 1242. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscriptio

Re: RevOnline fixed

2012-07-17 Thread Mark Wieder
Jacque- Tuesday, July 17, 2012, 7:48:57 PM, you wrote: > I hear that the RevOnline server has been fixed. If anyone has a stack > to upload, give it a test and let us know how it goes. Yes - Heather sent me an email about it the other day. I tried it out and uploaded a 126k file practically inst

Re: Simulate a popup menu button

2012-07-17 Thread dunbarx
I remember, by the way, that of the handful of different "popup" types of buttons. the menuItems display differently. Option and Combo Boxes will not show well formed subMenus like cascade, popup and pullDown do. This was a thread a while back. I am not sure where it all ended up. Craig New

Fwd: Simulate a popup menu button

2012-07-17 Thread dunbarx
Still not quite sure I am getting it. Is it the method of creating submenus that you need? Place this in the menuItems of your button. The "|" is a delimiter for submenus. Choice1/|1 Choice2/|2 choice2a/|3 choice3/|4 Choice4/|5 Choice5/|6 Choice6/|7 Craig Newman

RevOnline fixed

2012-07-17 Thread J. Landman Gay
I hear that the RevOnline server has been fixed. If anyone has a stack to upload, give it a test and let us know how it goes. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _

Re: Calling external support functions from other threads

2012-07-17 Thread Andre Garzia
I can only speak for external sdk for mac os x and linux where if you try SendCardMessage from a different thread you're dead. There is an odd scenario where the first subthread is able to call SendCardMessage but ones spawned after that are not. I have an webserver external that uses a pool of p

Installing LC to function on Plesk Server

2012-07-17 Thread Magicgate Software - Skip Kimpel
Anybody installed LC on a Plesk server (CentoOS)?? Just wondering what I am up against here. Any insights would be greatly appreciated! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Condtional parameters in handler calls

2012-07-17 Thread J. Landman Gay
On 7/17/12 7:54 PM, Peter Haworth wrote: Thanks everyone for the alternative ways of doing this. I think Mike's comes closest to what I was hoping for. It was pretty much an academic question. I still think it would be nice to be able to do it though. Not exactly what you're looking for, but

Re: Simulate a popup menu button

2012-07-17 Thread dunbarx
Still not quite sure I am getting it. Is it the method of creating submenus that you need? Place this in the menuItems of your button. The "|" is a delimiter for submenus. Choice1/|1 Choice2/|2 choice2a/|3 choice3/|4 Choice4/|5 Choice5/|6 Choice6/|7 Craig Newman -

Calling external support functions from other threads

2012-07-17 Thread Dar Scott
The wisdom that I have inherited is that all support functions in the externals library must be called only from an external function or command called from LiveCode. That is, they are not thread safe. Others and I have repeated this. If an external has multiple threads then some thread-sav

Re: Condtional parameters in handler calls

2012-07-17 Thread Peter Haworth
Thanks everyone for the alternative ways of doing this. I think Mike's comes closest to what I was hoping for. It was pretty much an academic question. I still think it would be nice to be able to do it though. Pete lcSQL Software On Tue, Jul 17, 2012 at 4:35 PM, Mike B

Re: Condtional parameters in handler calls

2012-07-17 Thread Dar Scott
One should remember that this evaluates both parameter options. For constants, this is not a problem but for terminating recursive functions, it can be fatal. The debugDo version might not be worth the work, but might be fun to talk about. I often use 'get' in 'if', keeping the whole 'if' as

Re: Simulate a popup menu button

2012-07-17 Thread Lars Brehmer
Thanks Bob! But no, I will not go this way. I have and use Snapz Pro and other screen capture apps, but they just won't do here for several reasons. First of all, just using RunRev with commands like - move this to that, send mouseEnter to this, send mouseUp to this, send mouseLeave to this, mo

Re: Condtional parameters in handler calls

2012-07-17 Thread Mike Bonner
How about something like this? command myCommand parm1,parm2,parm3 put parm1 && parm2 && parm3 end myCommand function myFunc parm1,parm2,pConditional if value(pConditional) then return parm1 else return parm2 end if end myFunc on mouseup myCommand 14,myFunc(3,22,"parm1

Re: Condtional parameters in handler calls

2012-07-17 Thread Dick Kriesel
Hi, Pete. You can wrap your "if" in a function, so any caller can have just one line. myCommand parm1,iff(,,),parm3 function iff pBoolean,pTrueValue,pFalseValue if pBoolean then return pTrueValue else return pFalseValue end if end iff -- Dick On Jul 17, 2012, at 4:18 PM,

Re: Condtional parameters in handler calls

2012-07-17 Thread Kee Nethery
if then put into parm2 else put into parm2 end if myCommand parm1, parm2, parm3 I don't think it is possible and ... I think you are heading towards the single line Perl programming contest where they see who can write a single line of Perl that does something amazing and ca

Condtional parameters in handler calls

2012-07-17 Thread Peter Haworth
I'm pretty sure this is not possible but it would be very cool if a parameter to a command could be a conditiion something like: myCommand parm1,if then else ,parm3 I've tried every which way to do that but always get compile errors. Not possible, right? Pete lcSQL Software

RE: mobileControlDelete doesn't work

2012-07-17 Thread John Dixon
Rick... Nice one !... You don't want to know for how long I have pondered on this...:-) I still think that you should be able to destroy the scroller as you leave the card and build it again on returning... but as a work around it certainly works... ! be well Dixie > Hi Dixie, Jacque, etc.

Re: Non-blocking transfers ...

2012-07-17 Thread Monte Goulding
On 18/07/2012, at 4:25 AM, gpb01 wrote: > Thanks, but ... it's for a library that I wrote totally in Livecode (/so .. > can run on any platform/) and I would like to avoid the use externals or > other tricks ... ;) Then it's not currently possible. Non-blocking http is really critical as far as

Re: Working with video files in LC?

2012-07-17 Thread stephen barncard
yes there are externals and stack examples that demonstrate these things. On Tue, Jul 17, 2012 at 8:26 AM, Klaus on-rev wrote: > Hi Paul, > > Am 17.07.2012 um 17:17 schrieb Paul Hibbert: > > > I have been asked by a potential client about working with small video > files (primarily on desktop). H

Re:

2012-07-17 Thread stephen barncard
I was hoping Kathy had posted. On Tue, Jul 17, 2012 at 10:58 AM, Bob Sneidar wrote: > Someone's site probably got hacked. > > Bob > On Jul 17, 2012, at 10:45 AM, Kathy Jaqua wrote: > > > > > ___ > > > Stephen Barncard > San Francisco Ca. USA > > more

Re: Simulate a popup menu button

2012-07-17 Thread Bob Sneidar
I hate to be the one to say it, but my suggestion is, don't do it like that. Have you considered using a screen capture utility like Snapz Pro to do create short video animations in your tutorial? Maybe I do not know what you are really up to. Bob On Jul 17, 2012, at 12:59 PM, Lars Brehmer w

Re: mobileControlDelete doesn't work

2012-07-17 Thread Rick Harrison
Hi Dixie, Jacque, etc. Here is the fix! Since scroller IDs are not deleted even though the scroller itself is deleted what needs to be done is to: 1. First check for the existence of a scroller ID control. 2. If it doesn't yet exist - then create it. 3. When you closeCard do not delete the scr

Re: Simulate a popup menu button

2012-07-17 Thread Lars Brehmer
Thanks Craig! But I still haven't got it figured out. This ia a popUp button with several cascading items. What I am trying to do is in a tutorial animation. 1. move the cursor onto the button and then have the meunu appear (click at the buttonLoc). 2. move the cursor to the menu choice an

Re: iOS 6 beta 3 and LC 5.5.1?

2012-07-17 Thread stephen barncard
I posted this same question to this list yesterday. I worry constantly about Apple's paranoid, unpredictable, and inconsistent download and install processes. One never knows what they might delete without asking. After all the stories I've heard, I've been zipping the older Xcode, (which is now a

Re: Non-blocking transfers ...

2012-07-17 Thread gpb01
Thanks, but ... it's for a library that I wrote totally in Livecode (/so .. can run on any platform/) and I would like to avoid the use externals or other tricks ... ;) If I understand correctly, currently, in Livecode we have ONLY the "load" (HTTP GET), and nothing else ... right ? Thanks, Gugl

RE: mobileControlDelete doesn't work

2012-07-17 Thread John Dixon
Rick.. Yes... >From the iOS release notes editable read/write Determines whether the text field can be edited. This is a boolean value. be well Dixie > Subject: Re: mobileControlDelete doesn't work > From: harri...@all-auctions.com > Date: Tue, 17 Jul 2012 14:10:07 -0400 > To: use-livecode@lis

Re: Can't PASTE into fields

2012-07-17 Thread J. Landman Gay
On 7/16/12 11:03 PM, Mark Rauterkus wrote: Hi, On stack I've created, a simple card database of campers, I can type into the text fields. But I can't PASTE into them. In other stacks and substacks, paste works. Can't figure out why. Is this in the IDE or in a standalone? Is there an edit men

Re: mobileControlDelete doesn't work

2012-07-17 Thread Rick Harrison
Hi Dixie, Can I turn off (or disable) the editing capability of UI TextView? Thanks, Rick On Jul 17, 2012, at 1:43 PM, John Dixon wrote: > > Rick... > > UI TextView - multiline input control of each card > > be well > > Dixie > >> Subject: Re: mobileControlDelete doesn't work >> From: ha

Re: mobileControlDelete doesn't work

2012-07-17 Thread J. Landman Gay
On 7/17/12 12:29 PM, John Dixon wrote: Jacque... 2 cards in a stack Each card has a list field using a scroller The scroller will work on card 1 Go to the second card The scroller will work on card 2 Go back to the first card The Scroller will not scroll Go to the second card The scroller will

Re: Non-blocking transfers ...

2012-07-17 Thread Ken Corey
I've written a small asynchronous HTTP library based on rresocket that allows for access to headers. Your code looks like this: on openCard httpGet "http://my.url.path/blah","callBackFunctionName"; [...] end openCard on callBackFunctionName [...] put httpBuildCookies() into tCookie end

Re:

2012-07-17 Thread Bob Sneidar
Someone's site probably got hacked. Bob On Jul 17, 2012, at 10:45 AM, Kathy Jaqua wrote: > > ___ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

[no subject]

2012-07-17 Thread Kathy Jaqua
http://www.sericraft.com/wp-content/plugins/zyowxqepely/likeit.php?attack223.png ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com

[no subject]

2012-07-17 Thread Kathy Jaqua
http://coresphere.com.br/blog/wp-content/plugins/zorqnasgalw/test.php?library223.php ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev

Quicktime VR, Livecode and iOS

2012-07-17 Thread Timothy Bleiler
Hi, Any suggestions for how to replace the Quicktime VR functionality in iOS for our Livecode programs? The VR functionality appears to be gone in the latest versions of QT and in the mobile version. There are some Javascript tools but I don't think I want to use the browser approach in

RE: mobileControlDelete doesn't work

2012-07-17 Thread John Dixon
Rick... UI TextView - multiline input control of each card be well Dixie > Subject: Re: mobileControlDelete doesn't work > From: harri...@all-auctions.com > Date: Tue, 17 Jul 2012 13:40:28 -0400 > To: use-livecode@lists.runrev.com > > Hi Dixie, > > Thank you for your clarification and suppor

Re: mobileControlDelete doesn't work

2012-07-17 Thread Rick Harrison
Hi Dixie, Thank you for your clarification and support. So, what is my work around then without having to use native iOS scrollers which have too much capability? I just want to scroll these fields by iOS touch. Rick On Jul 17, 2012, at 1:29 PM, John Dixon wrote: > > Jacque... > > 2 cards i

Re: Non-blocking transfers ...

2012-07-17 Thread gpb01
slylabs13 wrote > > The way others have proposed this in the past is to have an agent of some > sort, a web agent or else a standalone app do the work for you, while your > app periodically checks the status of the transfer in some way. I don't > think that would work for iOS though. > > Bob >

RE: mobileControlDelete doesn't work

2012-07-17 Thread John Dixon
Jacque... 2 cards in a stack Each card has a list field using a scroller The scroller will work on card 1 Go to the second card The scroller will work on card 2 Go back to the first card The Scroller will not scroll Go to the second card The scroller will not scroll This has been the case for a

Re: Non-blocking transfers ...

2012-07-17 Thread Bob Sneidar
The way others have proposed this in the past is to have an agent of some sort, a web agent or else a standalone app do the work for you, while your app periodically checks the status of the transfer in some way. I don't think that would work for iOS though. Bob On Jul 17, 2012, at 10:06 AM,

Re: mobileControlDelete doesn't work

2012-07-17 Thread J. Landman Gay
On 7/17/12 11:16 AM, Rick Harrison wrote: On one card, I created a scroller field which works just fine. When I use the closeCard to execute the mobileControlDelete the result content reports empty. That's correct and it means the deletion was successful. If there was a problem, the result wo

Non-blocking transfers ...

2012-07-17 Thread gpb01
As I know, is possible to transfer a file using the URL in a non-blocking way only for the HTTP GET (put URL "...myURL..." into myVAR) using the "load" command, but ... there is a way to have a non-blocking transfer also for the HTTP PUT (put myVAR into URL "...myURL") and HTTP POST (post myData to

Re: mobileControlDelete doesn't work

2012-07-17 Thread Bob Sneidar
It is not a bug. It is the way ID's work. The ID of the stack itself is not really an ID at all, but a next object ID counter. Whenever you create an object, it gets the stack ID and the stack ID is incremented by 1. This of course assumes there is not an object already with that ID in which cas

Re: Working with video files in LC?

2012-07-17 Thread Paul Hibbert
On 2012-07-17, at 8:26 AM, Klaus on-rev wrote: > maybe Trevors wonderful Enhanced QuickTime External might help you: > Thank you Klaus, that looks interesting. Off to do some reading now. :-) Paul ___

Re: "Little Arrows" scrollbar

2012-07-17 Thread Peter Haworth
Thanks Mark. I now understand Jacque's comment about these objects. It's not a big deal really. I'm using my own "application browser" and it uses icons to differentiate between the differernt types of fields, buttons and scrollbars so I was lookimng for a way to identify Little Arrows for that

mobileControlDelete doesn't work

2012-07-17 Thread Rick Harrison
Hi there, mobileControlDelete and iphoneControlDelete do not work properly. On one card, I created a scroller field which works just fine. When I use the closeCard to execute the mobileControlDelete the result content reports empty. I created a button to confirm that this process is really what i

Re: Images in Button

2012-07-17 Thread Bob Sneidar
Okay nobody panic!! This is a very dangerous situation. DO NOT under ANY CIRCUMSTANCES change the margins of your dryers to all positive numbers! The deluge of socks may bury you, and you will suffocate before anyone can get to you! Back your margins off one at a time, and then fold each sock as

Re: OT: how to convert XML data into db fields?

2012-07-17 Thread Bob Sneidar
I think you have to develop the logic yourself. XML is not a strict standard, so there is no unique method for conversion, at least to my knowledge. Bob On Jul 17, 2012, at 2:50 AM, Tiemo Hollmann TB wrote: > Hi it's a logical/design question, > > I want to read a given XML format into a fie

Re: [OT] Between the lines of the previous post.

2012-07-17 Thread Bob Sneidar
I don't think they contradict at all. The likelyhood of someone having already read much of what was quoted in an ongoing thread is high, but it is certainly not absolute. I may have been following the thread with great interest, while you may have just gotten back from vacation and begun to rea

Re: iOS - Talk and Play Simultaneously?

2012-07-17 Thread Bob Sneidar
I don't think the device itself can do it. Bob On Jul 16, 2012, at 6:33 PM, Scott Rossi wrote: > I don't know if this is possible using a high level tool like LiveCode, but > does anyone know if one can play sound/music on an iPhone while a call is > connected? I know the default behavior of

Re: Working with video files in LC?

2012-07-17 Thread Klaus on-rev
Hi Paul, Am 17.07.2012 um 17:17 schrieb Paul Hibbert: > I have been asked by a potential client about working with small video files > (primarily on desktop). He wants to be able to add overlays for things like > watermarks, titles and possibly links then export the movie with the overlays > e

Working with video files in LC?

2012-07-17 Thread Paul Hibbert
I have been asked by a potential client about working with small video files (primarily on desktop). He wants to be able to add overlays for things like watermarks, titles and possibly links then export the movie with the overlays embedded within the movie. I know there are plenty of programs av

Re: Simulate a popup menu button

2012-07-17 Thread dunbarx
Hi. Are you using an actual pop-up style button, like a PullDown or cascade? Or are you rolling your own, as it seems, when you said 'simulate'? If you are making your own, what is the reason to do that? If you are using one of the standard button styles, the usual method is something like

Re: Images in Button

2012-07-17 Thread Peter M. Brigham
On Jul 17, 2012, at 2:34 AM, Scott Rossi wrote: > Your suggestion of "hiding stuff" has given me an idea. All these years, > we've been wondering where missing socks go -- maybe they're behind a > negative margin. That's it!! I was hacked!! I just checked -- "put the margins of myDryer" gives m

OT: how to convert XML data into db fields?

2012-07-17 Thread Tiemo Hollmann TB
Hi it's a logical/design question, I want to read a given XML format into a field based ("db like") LC application. My question is how you create the assignment between XML-Tags and LC fields. Most of the XML-Tags are unique, like , or the parent nodes make them unique. Here I can easily create a

iOS 6 beta 3 and LC 5.5.1?

2012-07-17 Thread Graham Samuel
I got a developer email from Apple today inviting me (and a quarter of a million others, I suppose) to download iOS 6 beta 3 and XCode 4.5 Developer Preview 3. Maybe my search of RunRev's iOS Release notes hasn't been thorough enough, but I can't work out whether, if I did this, I could still go

Simulate a popup menu button

2012-07-17 Thread Lars Brehmer
I am trying to simulate the action of using a popup menubutton, but I can't figure out how to do the middle step (if that is even possible) click at the buttonLoc reveals the menu choices and send "menuPick" && "the menu choice" executes the menuPick. But I can't figure out to hi

Re: "Little Arrows" scrollbar

2012-07-17 Thread Mark Schonewille
Hi, It doesn't matter. If scrollbar objects get small enough, they automatically turn into "little arrows". Unfortunately, I just did a test and I am able to create very large scrollbars that are still "little arrows". This picture http://qery.us/2da shows it. I think you can still use the siz