Re: [Android] include files

2012-03-15 Thread Nicolas Cueto
Still no happy. Here is the script from my Android app that I thought would return the "Hello world" contents of "file1.txt": -- put url ("file:" & specialFolderPath(“engine”) & slash & "file1.txt") into tData put "If file1.txt is in engine-path, here are its contents:" & cr & tData & cr & "

Re: Scripting alignment tools

2012-03-15 Thread stephen barncard
I use that widget all the time. Invaluable... On 15 March 2012 11:40, Bob Sneidar wrote: > Scott Rossi made a widget called tmAlign. Very handy. Yes you can do this > with a script, like set the topleft of object1 to the topleft of object2 or > set the top of object1 to the top of object2. Cent

Re: [Android] include files

2012-03-15 Thread Nicolas Cueto
Hi Jacqueline, My tablet is not rooted. And, just as your message arrived, I happened to find and be reading up on the "specialFolderPath" explanation in the Android Release Notes. Thanks, though. Cheers. -- Nicolas Cueto ___ use-livecode mailing lis

Re: [Android] include files

2012-03-15 Thread J. Landman Gay
On 3/15/12 10:41 PM, Nicolas Cueto wrote: Hello, I'm testing a stack on Android. I do not know how to include specific files or folders, so that those files, folders and the folders' contents become placed on the test device. For example, I can see this directory listed by my stack when on the

[Android] include files

2012-03-15 Thread Nicolas Cueto
Hello, I'm testing a stack on Android. I do not know how to include specific files or folders, so that those files, folders and the folders' contents become placed on the test device. For example, I can see this directory listed by my stack when on the Android tablet: /data/app/tmp/ How would I

Re: queryregistry problem win

2012-03-15 Thread Mark Wieder
Klaus- Thursday, March 15, 2012, 10:17:05 AM, you wrote: > Hi friends, > I could need a little hint :-) > I am trying to query a registry entry that I CAN see in the registry editor, > but my query return NADA? What am I missing? > answer > queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\

Re: Detection of Keyboard Closing

2012-03-15 Thread Pete
As an Android user not developer, maybe this explains a somewhat annoying aspect of some Andorid apps which, when you open them, position the cursor in a field which requires input before you can continue but does not bring up the keyboard until you tap on the field. Pete On Thu, Mar 15, 2012 at

Re: Detection of Keyboard Closing

2012-03-15 Thread Ken Ray
> I am happy to report that all three approached work. The keyboard stays > hidden until the field is touched. Enter some data with the keyboard, switch > focus to another field, touch the initial field, focus switch and keyboard > comes back up. All seems normal. > > However I think I f

Help me name this external

2012-03-15 Thread Monte Goulding
Hi Folks There's 3 months of access to mergExt up for grabs. Please post on the forum so the discussion is in one place. http://forums.runrev.com/viewtopic.php?f=49&t=11394&p=53458#p53458 Cheers Monte ___ use-livecode mailing list use-livecode@lists.

RE: mobileLockIdleTimer

2012-03-15 Thread John Dixon
iphoneLockIdleTimer and iphoneUnlockIdleTimer works on an iphone... just as you have assumed..:-) > > Has anyone used the mobileLockIdleTimer APIs? The release notes are not at > all clear. > Can I assume that between these two calls the device will not go to sleep. > i.e > > > --

Re: queryregistry problem win

2012-03-15 Thread Mike Bonner
Yw, glad you have an alternate key that will work. I agree those keys must be protected some way, sneaky those microsoftians. On Thu, Mar 15, 2012 at 12:24 PM, Klaus on-rev wrote: > Hi Mike, > > Am 15.03.2012 um 18:53 schrieb Mike Bonner: > > > Just to add to it, this key also works. > > HKEY_LO

Using existing Android Sounds

2012-03-15 Thread Michael Doub
Does any know the path to the existing alarm sounds on the android? I would like to play an alarm sound but I would prefer not to include an audio file with my app. Is this possible? Thanks, Mike ___ use-livecode mailing list use-livecode@list

mobileLockIdleTimer

2012-03-15 Thread Michael Doub
Has anyone used the mobileLockIdleTimer APIs? The release notes are not at all clear. Can I assume that between these two calls the device will not go to sleep. i.e -- device can sleep mobileLockIdleTimer -- device will not sleep mobileUnlockIdleTimer -- device can sleep __

Option menu appearance on iphone... any solutions?

2012-03-15 Thread Richard Miller
Anyone come up with a solution to improve the poor appearance of an LC option menu on an iphone? I know I can substitute the menu with a btn and scrolling list field. I like the native iphone list picker, but nothing seems to activate it other than an option menu. Thanks. Richard Miller _

Re: detect line clicked in iOS multiline field

2012-03-15 Thread Thomas McGrath III
Well, thank you very much. I knew my head was not screwed on tight today…. THanks again. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 15, 2012, at 4:21 PM, Thomas McGrath III wrote: > OK, so I put my field in a scrolling group and got a nice iOS scroll bar and > m

RE: detect line clicked in iOS multiline field

2012-03-15 Thread John Dixon
Tom... formattedHeight of field "Lap Counter"... not effective height...:-) Dixie > Subject: Re: detect line clicked in iOS multiline field > From: mcgra...@mac.com > Date: Thu, 15 Mar 2012 16:21:29 -0400 > To: use-livecode@lists.runrev.com > > OK, so I put my field in a scrolling group and g

Re: detect line clicked in iOS multiline field

2012-03-15 Thread Thomas McGrath III
OK, so I put my field in a scrolling group and got a nice iOS scroll bar and my text field works and looks great. However because my field has text added to it during runtime I need to grow the text field after new lines of text are added. I thought using the effective height of the field would

Re: english message instead of localized when creating an emal with "mobileCompose...Maill"

2012-03-15 Thread Monte Goulding
They need to be added using the copy files tab on the standalone settings. -- Monte Goulding On 16/03/2012, at 6:17 AM, Matthias Rebbe wrote: > Hi Monte, > > thanks for your answer, but where do i place them? Can i just create them in > an openstack handler? Or do they have to be in the > a

Re: english message instead of localized when creating an emal with "mobileCompose...Maill"

2012-03-15 Thread Matthias Rebbe
Hi, found it. I just had to add a folder german.lproj in the standalone settings under "copy files". Matthias Am 15.03.2012 um 20:17 schrieb Matthias Rebbe: > Hi Monte, > > thanks for your answer, but where do i place them? Can i just create them in > an openstack handler? Or do they have t

Re: english message instead of localized when creating an emal with "mobileCompose...Maill"

2012-03-15 Thread Matthias Rebbe
Hi Monte, thanks for your answer, but where do i place them? Can i just create them in an openstack handler? Or do they have to be in the app already? Matthias Am 15.03.2012 um 20:12 schrieb Monte Goulding: > You probably need to indicate to ios that you support languages other than > Englis

Re: english message instead of localized when creating an emal with "mobileCompose...Maill"

2012-03-15 Thread Monte Goulding
You probably need to indicate to ios that you support languages other than English by including the localization folders in your app. They can be empty. -- Monte Goulding On 16/03/2012, at 6:04 AM, Matthias Rebbe wrote: > Hi, > > i am working here with an iPad with german iOS. If i create an

english message instead of localized when creating an emal with "mobileCompose...Maill"

2012-03-15 Thread Matthias Rebbe
Hi, i am working here with an iPad with german iOS. If i create an email with mobileComposeMail or mobileComposeHTMLemail all buttons and messages are english instead of german. If i create an email directly in the ipad mail app then all buttons and messages are localized. Any idea, if this i

english message instead of localized when creating an emal with "mobileCompose...Maill"

2012-03-15 Thread Matthias Rebbe
Hi, i am working here with an iPad with german iOS. If i create an email with mobileComposeMail or mobileComposeHTMLemail all buttons and messages are english instead of german. If i create an email directly in the ipad mail app then all buttons and messages are localized. Any idea, if this i

Re: detect line clicked in iOS multiline field

2012-03-15 Thread Colin Holgate
I tried this once, and I think I gave up, and used a picker instead. On Mar 15, 2012, at 2:50 PM, Thomas McGrath III wrote: > I must be tired.. How do you detect a clicked line in an iOS multiLine field? ___ use-livecode mailing list use-livecode@list

detect line clicked in iOS multiline field

2012-03-15 Thread Thomas McGrath III
I must be tired.. How do you detect a clicked line in an iOS multiLine field? Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, uns

Re: Scripting alignment tools

2012-03-15 Thread Bob Sneidar
Scott Rossi made a widget called tmAlign. Very handy. Yes you can do this with a script, like set the topleft of object1 to the topleft of object2 or set the top of object1 to the top of object2. Center alignments get trickier as you have to use items of the loc. set item 1 of the loc of object1

Re: queryregistry problem win

2012-03-15 Thread Klaus on-rev
Hi Mike, Am 15.03.2012 um 18:53 schrieb Mike Bonner: > Just to add to it, this key also works. > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > NT\CurrentVersion\Accessibility\ATs\animations > > Nothing under DefaultProductKey works for me. looks like this is protected somehow... I now use: H

Re: queryregistry problem win

2012-03-15 Thread Mike Bonner
Just to add to it, this key also works. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Accessibility\ATs\animations Nothing under DefaultProductKey works for me. On Thu, Mar 15, 2012 at 11:51 AM, Mike Bonner wrote: > No keys in that area work. About to try a different branch. >

Re: queryregistry problem win

2012-03-15 Thread Mike Bonner
No keys in that area work. About to try a different branch. If the key path is just WRONG it gives a no key result so it appears there is no weird hard to see typo error in the key path. Ok, this key works from the user branch HKEY_USERS\.DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Windo

Re: Standalone Origin Mismatch

2012-03-15 Thread Mark Schonewille
Hi Richmond, I found this problem mentioned on the MetaCard list, but there was no real answer that helped me. I'm building a standalone on Mac OS X and try to use it on the same machine. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://eco

Re: Sqlite and performances in LiveCode

2012-03-15 Thread Pete
Thanks Trevor, I found the problem. I had a set dgText to empty in there, forgetting that dgText doesn't exist in these circumstances. Changed that to se the dgNumberOfRecords to zero and all works fine now. Pete On Thu, Mar 15, 2012 at 4:55 AM, Trevor DeVore wrote: > On Wed, Mar 14, 2012 at 9:

Re: queryregistry problem win

2012-03-15 Thread Klaus on-rev
Hi Mike, Am 15.03.2012 um 18:37 schrieb Mike Bonner: > when I do > get queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > NT\CurrentVersion\DefaultProductKey\ProductId") > put it > > I get "bad key" > like you, despite the fact that its there staring me in the face in regedit. ??? H

Re: Standalone Origin Mismatch

2012-03-15 Thread Richmond
On 03/15/2012 02:41 PM, Mark Schonewille wrote: Hi, I try to build a standalone with LiveCode 4.0 and when I try to run the Mac OS X version (UB, x86 and PPC) I always get the error "standalone origin mismatch" in the console. What does this mean? How can I solve this problem? I have a feeli

Re: queryregistry problem win

2012-03-15 Thread Mike Bonner
when I do get queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DefaultProductKey\ProductId") put it I get "bad key" like you, despite the fact that its there staring me in the face in regedit. On Thu, Mar 15, 2012 at 11:17 AM, Klaus on-rev wrote: > Hi friends, > > I

queryregistry problem win

2012-03-15 Thread Klaus on-rev
Hi friends, I could need a little hint :-) I am trying to query a registry entry that I CAN see in the registry editor, but my query return NADA? What am I missing? answer queryregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DefaultProductKey\ProductId") I'm on Window

Scripting alignment tools

2012-03-15 Thread Devin Asay
Hi all, The alignment pane in the property inspector allows us to do size, align and distribute selected controls in relation to each other. Does anyone know if this functionality can be accessed by scripting? Obviously I can figure it out and write my own handler, but can I just call the exist

Works in IDE but not Application?

2012-03-15 Thread Glen Bojsza
I have a frustrating problem... In my application I allow a user to add a text field which they can resize, move and delete. In the IDE (OS X) everything works as it should. In the application the popmenu shows but it does not delete the field when chosen? Also, I have the following scripts in

Re: Suggestions for an iOS/Android/CD/web site strategy

2012-03-15 Thread Richard Miller
Thanks, Tom. Great suggestions. Richard On 3/15/2012 11:14 AM, Thomas McGrath III wrote: Richard, Just a gut reaction but I would say "no" to forcing them to buy the app on those stores. It is odd at best. How about "IF" they buy the app then you supply in the app a link to the private w

Re: Suggestions for an iOS/Android/CD/web site strategy

2012-03-15 Thread Thomas McGrath III
Richard, Just a gut reaction but I would say "no" to forcing them to buy the app on those stores. It is odd at best. How about "IF" they buy the app then you supply in the app a link to the private web site free with user name and password and a years subscription. BUT if they do not have an i

Suggestions for an iOS/Android/CD/web site strategy

2012-03-15 Thread Richard Miller
I'd looking for suggestions on the best strategy for this situation. I have an app I'd like to make available on 4 platforms: iPhone/iPad, Android, standalone download (both Mac & Windows), and a protected web site. Preferably, I'd like buyers of the iOS or Android versions to get a free stan

Re: Detection of Keyboard Closing

2012-03-15 Thread Michael Doub
I am happy to report that all three approached work. The keyboard stays hidden until the field is touched. Enter some data with the keyboard, switch focus to another field, touch the initial field, focus switch and keyboard comes back up. All seems normal. However I think I found a bug.

Re: OT: I give away for free 1 License of SQL Yoga and 1 License for PowerDebug

2012-03-15 Thread Éric Miclo
Hello Matthias, I'be interested in the sql-yoga license. Thanks, Warmest regards, ÉrIC Le 15 mars 2012 à 13:17, Matthias Rebbe a écrit : > Hi, > > this is the last announcement. ;) > > I have here > > 1 x License of SQL Yoga > http://www.bluemangolearning.com/revolution/software/libraries

OT: I give away for free 1 License of SQL Yoga and 1 License for PowerDebug

2012-03-15 Thread Matthias Rebbe
Hi, this is the last announcement. ;) I have here 1 x License of SQL Yoga http://www.bluemangolearning.com/revolution/software/libraries/sql-yoga/ and 1 x License of PowerDebug http://ahsoftware.net/PowerTools/PowerDebug/PDDemo.html which i want to give away for free as i already own lice

Re: Sqlite and performances in LiveCode

2012-03-15 Thread Trevor DeVore
On Wed, Mar 14, 2012 at 9:35 PM, Pete wrote: > > I'm using the datagrid in question as a general purpose viewer of data from > any table in an sqlite database. The circumstances that cause the problem > are if I have data from a table displayed, then I filter it in some way, so > the number and

AW: App-Design question, was: how to resize icons when resizing objects?

2012-03-15 Thread Tiemo Hollmann TB
Hi Terry, Thanks Terry, thats how I could do it, though it's a lot of work with all buttons and all states of icons... But would you do that? Actually I haven't seen much interfaces of this kind, is it absolutely unusual or would it be helpful? What do you think? Tiemo > -Ursprüngliche Nachric

[OT] That question again.

2012-03-15 Thread Richmond
What sort of education for a computerised world? http://www.bbc.co.uk/news/technology-17373972 well worth a read, if, as always with the BBC, over-simplified. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscri

Re: App-Design question, was: how to resize icons when resizing objects?

2012-03-15 Thread Terry Judd
On 15/03/2012, at 07:42 PM, Tiemo Hollmann TB wrote: Perhaps I've asked the wrong question. If you have a resizable screen-layout (with additionally chooseable textsize), is there an approach to also resize the buttons, if they have graphical icons? Ok, most programs I know don't resize the butto

App-Design question, was: how to resize icons when resizing objects?

2012-03-15 Thread Tiemo Hollmann TB
Perhaps I've asked the wrong question. If you have a resizable screen-layout (with additionally chooseable textsize), is there an approach to also resize the buttons, if they have graphical icons? Ok, most programs I know don't resize the buttons, when resizing the window or the fields, but I would

Re: bluetooth and LC

2012-03-15 Thread René Micout
Le 14 mars 2012 à 23:54, Vokey, John a écrit : > Please avoid sending me Word or PowerPoint attachments. > See I do not have a solution for you, but thank you for the link above !! Bon souvenir de Paris René _