Re: how to change the background color to tab panel?

2011-11-14 Thread Mark Wieder
Mark- Here you go (LC 4.6.4 and LC 5.0 on xp): http://qery.us/1bu -- -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 prefe

Re: Auto-numbering in a field

2011-11-14 Thread J. Landman Gay
On 11/14/11 11:41 PM, AcidJazz wrote: If I paste an auto-numbered text from Microsoft Word (albeit on a Mac) into a field, I can't seem to delete the very first number no matter what I do. I can delete the text, and all the numbers but the very first one. I'm in the "contents" box of the prop

Re: Auto-numbering in a field

2011-11-14 Thread dunbarx
How are you "deleting all"? Are you saying that if you: put empty into field "yourField" the "1." stays? What happens if you ask for char 1 to 2 of the text of the field? Do you get "1.", or "fi"? I am not on a computer with MS Word, But I will try it soon. Craig Newman -Original

Auto-numbering in a field

2011-11-14 Thread AcidJazz
If I paste an auto-numbered text from Microsoft Word (albeit on a Mac) into a field, I can't seem to delete the very first number no matter what I do. I can delete the text, and all the numbers but the very first one. I'm in the "contents" box of the properties window. I can't select it, and t

Re: how to read an specific page into pdf document?

2011-11-14 Thread Kay C Lan
I know I'm very late to the party but anyone who is doing this on Mac needs to be aware of one very large WARNING. This will NOT work as expected on anything other than simple page layouts. As of Snow Leopard, Apple made PDF rendering 'smarter'. That is smarter like auto text correction on smart p

Re: Re : Wasting space on the forum.

2011-11-14 Thread Jerry Jensen
On Nov 14, 2011, at 7:10 PM, J. Landman Gay wrote: > On 11/14/11 7:25 PM, Bob Sneidar wrote: >> Top please. > > You'll start a war. But I believe it is customary to include a brief quote > and reply underneath on most lists, so that the conversation can be read from > top to bottom in order. "

Re: Re : Wasting space on the forum.

2011-11-14 Thread J. Landman Gay
On 11/14/11 7:25 PM, Bob Sneidar wrote: Top please. You'll start a war. But I believe it is customary to include a brief quote and reply underneath on most lists, so that the conversation can be read from top to bottom in order. -- Jacqueline Landman Gay | jac...@hyperactivesw.c

Re: how to change the background color to tab panel?

2011-11-14 Thread Mark Schonewille
Mark, Yes, tab menu buttons (that's what they're called, I think). I tried Rev 4.5 on Vista and LC 5.0 on XP. In both cases, I can't set the backgroundColor of the control. Here's a screenshot: http://qery.us/1bt -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Enginee

Re: Re : Wasting space on the forum.

2011-11-14 Thread Warren Samples
On 11/14/2011 07:25 PM, Bob Sneidar wrote: Top please. This is a whole other topic. I personally prefer to have the new reply at the bottom, as the quoted text prepares the context for the reply. I understand the other point of view, and I would say that it frequently doesn't make a differe

Re: Re : Wasting space on the forum.

2011-11-14 Thread Roger Eller
On Mon, Nov 14, 2011 at 8:25 PM, Bob Sneidar wrote: > This is why I only quote the relevant part of message, usually the last > one or two replies at most. The frustrating thing for me is when the email > is set up to reply at the BOTTOM of all the quoted text. Can't people see > it's a hassle to

Waiting for download to complete

2011-11-14 Thread Peter Bogdanoff
HI, I'm using the following script to download a file. After the download I move on to other things, How do I force LiveCode to wait until the download is completed before doing anything else besides updating a progress bar? Currently the program moves on to other handlers that are contingent

Re: Re : Wasting space on the forum.

2011-11-14 Thread Bob Sneidar
This is why I only quote the relevant part of message, usually the last one or two replies at most. The frustrating thing for me is when the email is set up to reply at the BOTTOM of all the quoted text. Can't people see it's a hassle to scroll all the way through 5 pages of quoted text to see w

Video Player on Android

2011-11-14 Thread ddas
Hi, Is there an eta on the android video player. Thanks, Debdoot ___ 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/lis

Re: how to change the background color to tab panel?

2011-11-14 Thread Mark Wieder
Mark- Monday, November 14, 2011, 2:06:29 PM, you wrote: > Hi, > I replied previously. I believe he means the visible background > color. I tested it and apparently this just doesn't work on Windows, > but it does work on Mac OS X. Works here for me on all platforms. Tabbed controls, right? --

Re: lc shell and command line

2011-11-14 Thread Mark Wieder
Mike- Monday, November 14, 2011, 2:06:34 PM, you wrote: > Hmm, would calling login directly work? Probably not, as on many systems > root login is not allowed. If it were allowed, then the same basic idea > works. open process login then do the magic stuff, then exit out. It's not allowed, or

Re: Scrolling of DataGrid driven by Database on IOS

2011-11-14 Thread Terry Judd
On 15/11/2011, at 09:22 AM, Michael Doub wrote: > Does anyone have an example of a DataGrid form with non fixed height rows > being directly loaded from the database that is also hooked up to the IOS > scroller? > > Yes I am being kind of specific here. I have found examples for large > dat

Scrolling of DataGrid driven by Database on IOS

2011-11-14 Thread Michael Doub
Does anyone have an example of a DataGrid form with non fixed height rows being directly loaded from the database that is also hooked up to the IOS scroller? Yes I am being kind of specific here. I have found examples for large datasets using data grids, but none of which have variable hight r

Re: lc shell and command line

2011-11-14 Thread Mike Bonner
oh that sucks. I tried quite a few other methods none of which worked very well if at all. Hmm, would calling login directly work? Probably not, as on many systems root login is not allowed. If it were allowed, then the same basic idea works. open process login then do the magic stuff, then exit

Re: how to change the background color to tab panel?

2011-11-14 Thread Mark Schonewille
Hi, I replied previously. I believe he means the visible background color. I tested it and apparently this just doesn't work on Windows, but it does work on Mac OS X. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitt

Re: how to change the background color to tab panel?

2011-11-14 Thread Mark Wieder
Alessandro- Monday, November 14, 2011, 3:40:05 AM, you wrote: > how to change the background color to tab panel? > the problem is under windows xp , 7 , vista > the background under windows is white and only white > why this? You asked this a couple of days ago. Do you mean the reported backgr

Re: lc shell and command line

2011-11-14 Thread Mark Wieder
Mike- Monday, November 14, 2011, 12:16:39 PM, you wrote: > open elevated process seems to work ok. The following handler, opens bash > as an elevated process, then writes to it and reads from it. Should be > possible to run a pre-made shell script too. That's a nice script. Unfortunately openin

special folders in iOS

2011-11-14 Thread Chris Sheffield
I'm still trying to do some research, but so far I'm hitting a dead end. Can anyone tell me if there is a certain folder in an iOS app's sandbox where data (in this case data would be media files such as pictures, audio, etc.) can be placed where it will get backed up to iTunes *as well as* sync

Re: lc shell and command line

2011-11-14 Thread Mike Bonner
open elevated process seems to work ok. The following handler, opens bash as an elevated process, then writes to it and reads from it. Should be possible to run a pre-made shell script too. Yep, just tried it works fine. Notice the "whoami" command that is written, it confirms that using open ele

Re: [DGH] inks needs to be reset to addMin; sometimes inks is disabled

2011-11-14 Thread zryip theSlug
On Mon, Nov 14, 2011 at 2:17 PM, Bernard Devlin wrote: Hi Bernard, I will reply in the list, but this is more a specific question than a LiveCode general question. For any question relative to DGH, remember that you are always welcome to contact me directly. 8-) > When I use DGH to add a cust

Re: lc shell and command line

2011-11-14 Thread J. Landman Gay
On 11/14/11 11:03 AM, Peter Alcibiades wrote: My second problem with livecode was how to call the shell in such a way as to have the user enter the password and then carry on with the script. I probably shouldn't post about something I know so little about, but... If you know you will need a p

Re: lc shell and command line

2011-11-14 Thread Mike Bonner
Don't forget you can open a script as a process for update and then send whatever you need to it directly from livecode. I also seem to recall that its possible to open a process with elevated privileges but I can't find the info on that for some reason. If you can figure out that portion it could

Re: lc shell and command line

2011-11-14 Thread Peter Alcibiades
Thanks guys. Yes, I know about sudo. The idea was to get the user to put in the root password on each occasion, not to store it someplace which you're quite right of course would be very unwise. I think maybe livecode is not what I should be using for this, the right way is probably to have a sh

Re: lc shell and command line

2011-11-14 Thread Mike Bonner
if I recall correctly, you can grab a password from a file (as bd stated, this is dangerous) sudo su < filewithpword.txt; command 1; command 2; etc 3 scary thing to do though. On Mon, Nov 14, 2011 at 8:31 AM, Bernard Devlin wrote: > It may be that the easiest way around that is to edit /etc/su

Re: OT: Live Support Chat script/solution?

2011-11-14 Thread James Little
Hi Matthias, Ralf Bitter has a tutorial for a simple chat application in the RevIgniter documentation. I have not tried it myself. I have dabbled with RevIgniter over the past week. The documentation is excellent, as others on this list have mentioned. Regards, Jim L. On Nov 13, 2011,

Re: OT: Live Support Chat script/solution?

2011-11-14 Thread Matthias Rebbe
Am 14.11.2011 um 15:14 schrieb Pierre Sahores: > Untested but this AJAX lib should certainly help to build such a reliable > solution : > > https://github.com/flowersinthesand/jquery-socket > > HTH, > Pierre, thanks for your suggestion, but i do not have the knowledge and also not the time

Re: OT: Live Support Chat script/solution?

2011-11-14 Thread Matthias Rebbe
Am 14.11.2011 um 14:35 schrieb Björnke von Gierke: > There's a gazillion of website chat thingies in free php or cgi library > repositories. How reliable, bug ridden, spyware installing or useful the > different ones are no idea. > > There's a similar plethora of libraries for flash-based

Re: OT: Live Support Chat script/solution?

2011-11-14 Thread Matthias Rebbe
HI Stephan, yes, i should have mentioned that. I am looking for a text chat, like Adobe is using for support. Regards, Matthias Am 14.11.2011 um 02:12 schrieb stephen barncard: > what kind of chat? text, audio or video? > > On 13 November 2011 17:03, Matthias Rebbe > wrote: > >> Hi, >> >

Re: Permanent data in IOS app

2011-11-14 Thread Chris Sheffield
Hi Paolo, If you are simply installing an update to an app, the app's data will *not* be deleted. But if you manually delete the app, then the app's data does get deleted and there is no way around this as far as I know. -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Nov 14,

Re: lc shell and command line

2011-11-14 Thread Bernard Devlin
It may be that the easiest way around that is to edit /etc/sudoers and configure some username, such that said the logged-in user does not need to enter a password in order to call 'sudo su - auser'. If you look inside /etc/sudoers it should explain what is required to make access to sudo password

Re: lc shell and command line

2011-11-14 Thread Mike Bonner
you can use a semicolon as command delimiter. So you could do shell("command 1; command 2; command 3") and it would do them in succession. However rather than su to root its a much better idea to use sudo. Beyond that, it might be easier to use open process so that you can open a persistant conne

Re: lc shell and command line

2011-11-14 Thread Peter Alcibiades
Bernard, many thanks, yes, that works. Can I ask one more question, how then would you get the shell to interact, like if you do su and want to get the password in, and then run a script that requires root password? Or maybe all that has to be done in shell? Peter -- View this message in contex

Re: OT: Live Support Chat script/solution?

2011-11-14 Thread Pierre Sahores
Untested but this AJAX lib should certainly help to build such a reliable solution : https://github.com/flowersinthesand/jquery-socket HTH, Le 14 nov. 2011 à 02:03, Matthias Rebbe a écrit : > Hi, > > does anyone know if there is a free LiveChat/LiveSupport tool available.I am > looking for a

Re: mouse within oval filled area: A solution using geometry

2011-11-14 Thread James Hurley
Hugh, You'll love the atan2 function. It takes care of all nasty bits at 90 and 270 degrees as well as dealing with the quadrants issues. Use atan2(y,x) for angles measure clockwise from the x-axis Use atan2(-y,x) for angles measure counterclockwise from the x-axis. Jim Hurley --| Get the p

Re: OT: Live Support Chat script/solution?

2011-11-14 Thread Björnke von Gierke
There's a gazillion of website chat thingies in free php or cgi library repositories. How reliable, bug ridden, spyware installing or useful the different ones are no idea. There's a similar plethora of libraries for flash-based chats, but my 60 year old boss, who doesn't know the differenc

[DGH] inks needs to be reset to addMin; sometimes inks is disabled

2011-11-14 Thread Bernard Devlin
When I use DGH to add a custom control to a datagrid (e.g. just a 'classic' field control), I can get my custom field to display the data when the datagrid is updated. However, the datagrid for that column(s) loses the alternating row colour that is found in other columns. In my experiments with

Re: liveCode server on UBUNTU

2011-11-14 Thread Malte Brill
Ok. After installing the 32 Bit compatibility layer I got it up and running. :-) (Thanks Andre!!!) Crawling back into my cave now. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage you

Re: lc shell and command line

2011-11-14 Thread Bernard Devlin
put shell("cd ..; pwd") would appear to do what you want. There is going to be no state maintained between different calls of shell(). Thus, changing to a directory in one calls is not (IMO) going to be maintained on a subsequent call of shel|(). Concatenating commands (as I did above using the

Re: liveCode server on UBUNTU

2011-11-14 Thread Malte Brill
Hi all, thanks for your patience with me... While with Mikes help, I managed to install the engine under UBUNTU Desktop, I can for the life of me not get it to run on the UBUNTU server version. I do get an error 500, so I suspect now this has something to do with the permissions for the engin

how to change the background color to tab panel?

2011-11-14 Thread Alessandro Pisoni
how to change the background color to tab panel? the problem is under windows xp , 7 , vista the background under windows is white and only white why this? thanks Alessandro Pisoni ___ use-livecode mailing list use-livecode@lists.runrev.co

Re: Permanent data in IOS app

2011-11-14 Thread Ian Wood
On 14 Nov 2011, at 10:01, paolo mazza wrote: > I need data not to be cancelled when the user reinstalls the > application or installs a new version of the application . > > Is it possible? How can I do it ? Locally on the device this isn't possible. This is intentional on Apple's part - delet

Permanent data in IOS app

2011-11-14 Thread paolo mazza
Hi all. Referring to LC documentation "Each application in iPhoneOS is stored in its own 'sandbox' folder. An application is free to read and write files within this folder and its descendants, but is not allowed to access anything outside of this." So I guess that when you delete the application a

Re: lc shell and command line

2011-11-14 Thread Peter Alcibiades
I'm having trouble with the livecode shell and cd command also. pwd in a terminal does: :~/ runrev 4.5/livecode-4.5.2$ cd .. :~/ runrev 4.5$ pwd runrev 4.5$ If you do the exact same things using put shell(""), this doesn't work. In particular, put shell("pwd")