Re: [Server] create stack trouble

2011-08-08 Thread stephen barncard
Again, Robert I have to disagree with you about this. You seem to feel shortchanged somehow with the way stacks work on the server, yet it's really doing all it can do in that environment. What else would you want a stack to do on a server? The GUI has to be created in HTML - it's a web browser y

Re: Money Script

2011-08-08 Thread FlexibleLearning
This also handles negative values... Mark Wieder's script, adjusted to optionally support an arbitrary currency sign... on mouseUp put fNumericToMoney (fld "Value",fld "Sign") into fld "currency" end mouseUp function fNumericToMoney pNumeric,pSign local tMoney local x -- leading dolla

Re: Money Script

2011-08-08 Thread FlexibleLearning
Mark Wieder's script, adjusted to optionally support an arbitrary currency sign... on mouseUp put fNumericToMoney (fld "Value",fld "Sign") into fld "currency" end mouseUp function fNumericToMoney pNumeric,pSign local tMoney local x -- leading dollar sign and two digits for cents if pS

Re: creating an alias on a server

2011-08-08 Thread Phil Davis
Never mind. I have experimented with it enough now so I believe it's not workable even if it is possible (which I have not proven). I'll find another way. Phil On 8/8/11 6:59 PM, Phil Davis wrote: Hi all, I am building a server app with LC and would like it to create an alias (symbolic lin

RE: Sending Text Messages

2011-08-08 Thread Jim Schaubeck
Dave, There's much room for assumptions based on your question but I can tell you that I wrote a Help Ticket program that sends texts every day. Works well. You can go to Chipp Walters' site and download his altEmailHarness app. This app will show you how to communicate with the included library

Re: [On-Rev] Using Shell to Manipulate SQL

2011-08-08 Thread Andrew Kluthe
Tested it out and it just seems I don't have access to the mySQL root account on my on-rev. Probably because its shared hosting. A simple grep for uptime: Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) -- View this message in context: http://r

[On-Rev] Using Shell to Manipulate SQL

2011-08-08 Thread Andrew Kluthe
Here is another thing I am wondering about this evening. I am curious as to how much power the Shell() function in an On-Rev configuration is. I'd like to create mySQL databases & users on the fly. I know the shell() function can run commands for you, but do you think I will be able to create mys

creating an alias on a server

2011-08-08 Thread Phil Davis
Hi all, I am building a server app with LC and would like it to create an alias (symbolic link) on the server, in a folder that is among those known to Apache on the server (don't know if that makes any difference). I tried LC 'create alias' and a shell(ln -s ) without success. Then I added '

Re: Replacing the quote character

2011-08-08 Thread Jim Ault
The ascii number will depend on the font you are using. Some fonts do not use high ascii for curly quotes, so char 210 looks like something else, especially a font like Wingdings. Another caution when using the reserved word 'quote' in LC...   put word 2 of dataString -- will only work for straig

REVLET HELP

2011-08-08 Thread Ralph DiMola
I have an app that I am trying to demo using revlet. I am using IIS on SBS 2008. Access from IIS works but with some problems. Problems: 1) My app uses SQLite. Database access works when I go to the web page from my development IE XP-SP3, but won't work from any other PC, both XP or Win7.

Re: [Server] create stack trouble

2011-08-08 Thread Robert Mann
I started to work on a project involving server stacks and had to stop full stop... here is why : Servers stacks are designed as SCRIPT CONTAINERS, allowing to password protect scripts on the server and develop libraries. Card creation, field creation and navigation are crippled and do not allow

Re: Stack Password Protection

2011-08-08 Thread Andrew Kluthe
Nice! I was terrified to just try and make the leap on my finished product without asking about how it works first. I thought the standalone needed to give a password to run the stacks. Now I realize how these work! Awesome! -- View this message in context: http://runtime-revolution.278305.n4.nab

Re: Replacing the quote character

2011-08-08 Thread Mark Wieder
Roger- Monday, August 8, 2011, 5:49:54 PM, you wrote: > MS (major stooge) Curly quotes? ;-) Nyuk nyuk nyuk -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsu

Re: Replacing the quote character

2011-08-08 Thread Roger Eller
On Mon, Aug 8, 2011 at 7:57 PM, James Hurley wrote: > I discovered I have the MS curly quotes. This is what works for these: > > replace numToChar(210) with "#" in tList > replace numToChar(211) with "#" in tList > > Thanks Mike and Jerry. > > Jim Hurley > MS (major stooge) Curly quotes? ;-) ___

Re: CalendarPane

2011-08-08 Thread David Beck
Hi Bob, You can send it to me and I'll update in and post it back here with the rest of the resources: http://www.rotundasoftware.com/livecode/ If there is a central place for these open source livecode projects I can post it there as well. Sorry about the delay on getting back to you on thi

Re: Money Script

2011-08-08 Thread Nicolas Cueto
Oops. > "123456789" --> "123456789" --> "$1,234,567.89" That example should've been: "123456789" --> "1234567.89" --> "$1,234,567.89" -- Nicolas Cueto ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, uns

Re: Money Script

2011-08-08 Thread Nicolas Cueto
Charles, I had no idea what "dollar sign" script of mine you were referring to. So, I looked in the mailing-list archives. Wow! I'd completely forgotten about that. > Your script is very cool Thanks but it's embarrassingly inelegant. Found something much cleaner, by Mark Wieder. It relies on th

Re: Stack Password Protection

2011-08-08 Thread Mark Schonewille
Hi Andrew, Your standalone will be able to access the stacks, but they won't be able to make any changes to them that involves scripts, including setting scripts and copying from or pasting objects to those stacks. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engin

Re: Replacing the quote character

2011-08-08 Thread Bob Sneidar
Those are really good with ketchup. OH QOUTES! nvm Bob On Aug 8, 2011, at 4:57 PM, James Hurley wrote: > I discovered I have the MS curly quotes. This is what works for these: > > replace numToChar(210) with "#" in tList > replace numToChar(211) with "#" in tList > > Thanks Mike and Jerry. >

Re: Stack Password Protection

2011-08-08 Thread Andrew Kluthe
So password protecting these stacks don't affect what happens when my standalone opens one of them? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Stack-Password-Protection-tp3728618p3728647.html Sent from the Revolution - User mailing list archive at Nabble.com.

Re: Stack Password Protection

2011-08-08 Thread Mark Schonewille
Hi Andrew, You can set the password of a stack from the message box. The syntax is: set the password of this stack to "foo" Replace foo with your password. To remove the password, do this: set the passkey of this stack to "foo" set the password of this stack to empty Select inclusions manually

Re: Replacing the quote character

2011-08-08 Thread James Hurley
I discovered I have the MS curly quotes. This is what works for these: replace numToChar(210) with "#" in tList replace numToChar(211) with "#" in tList Thanks Mike and Jerry. Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Plea

Stack Password Protection

2011-08-08 Thread Andrew Kluthe
Hey all, I have an application that uses several different stackfiles that are loaded by a standalone launcher (sort of like stackrunner). I want to be able to encrpyt the stackfiles so that the user can't just open up the stacks in a text editor and see my code. I can't find a lot of information

Re: Replacing the quote character

2011-08-08 Thread Bob Sneidar
The reserved word "quote" contains the quote character. More are tab, return (which is just cr, or cr/lf depending on the os), cr (just cr), lf (just lf), and there may be a few more. I like to put "`" into sq as a global in any database app I am working with, so I can say something like: put s

Re: Replacing the quote character

2011-08-08 Thread Jerry J
replace quote with "#" in tList no kidding! --Jerry On Aug 8, 2011, at 4:03 PM, James Hurley wrote: > How do I replace the quote character in a string using the "replace" command? > > Replace [] with "#" in tList > > Jim Hurley > > ___ > use-live

Re: Replacing the quote character

2011-08-08 Thread Admin
chartonum(39) that's how I replace quotes (cannot remember if that's a single or double quote though)? replace chartonum(39) with chartonum(xx) in tList where xx is the ascii number for a # symbol. would be my guess. Mike On Mon, 8 Aug 2011 16:03:03 -0700, James Hurley wrote: > Ho

Replacing the quote character

2011-08-08 Thread James Hurley
How do I replace the quote character in a string using the "replace" command? Replace [] with "#" in tList Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscr

Re: mysql and android - does it work?

2011-08-08 Thread Admin
Hello everyone. My database app utilizes a mysql database. When testing for android, the app shows up fine (but needs to be in landscape mode, not portrait), but when I try to login, it gives me a revdberr - invalid database type. This works on the desktop (pc and mac). Does mysql work on A

Re: android dev - how to change screen orientation?

2011-08-08 Thread Admin
> Hello everyone, > > Right now, my app is in portrait mode, but I want it in landscape mode. What is the command to make that happen? Can I put this command in the openstack handler? > > Mike ___ use-livecode mailing list use-livecode@lists.run

Re: Any way to show progress while an ON-REV page is processing a script?

2011-08-08 Thread stephen barncard
definitely make your process times short; do small batches at a time, otherwise you might get a notice from the timeout police! In other words, you need to give time for other processes other than your own to 'do their thing'. The small performance hit is worth it for a happy server for all, besi

Re: Converting HTTP to FTP URL

2011-08-08 Thread stephen barncard
This is true for FTP apps like Transmit , Interarchy and Cyberduck that all have separate fields in their settings for web URL and FTP address. That makes features like 'copy URL' and 'copy PATH' available as a context menu item when selecting a file in their browsers. On 8 August 2011 13:51, Chi

Re: REsolving Behavior References

2011-08-08 Thread Bob Sneidar
I should have explained my reasoning more thoroughly. It all makes sense inside my head! LOL! CalendarPane uses behaviors. I was thinking that Start Using did not actually open the stack, and therefore the behaviors were not resolving, but I discovered that it was actually a different problem.

Re: Converting HTTP to FTP URL

2011-08-08 Thread Chipp Walters
Jacque, I believe you should have a separate http path and a separate ftp path. This is because as one adds users to their servers, they typically also add a different root folder for the user. So, for instance if I had a file located at: http://fred.com/coolstack/test.rev the ftp path for it mig

Re: Sean Shao's Calendar Widget

2011-08-08 Thread Chipp Walters
It used to be on my site, not sure if it's there now. Check out: http://www.gadgetplugins.com/altplugins/altAnswerDateHarness.rev On Sun, Aug 7, 2011 at 10:49 PM, Bob Sneidar wrote: > I happen to need this now. I looked on the run rev store but do not see it > for sale. I browsed for it but cou

[OT] Linux Kernel 3.0

2011-08-08 Thread Richmond Mathewson
Ubuntu: http://kernel.ubuntu.com/~kernel-ppa/mainline/ Debian; http://darmanex.blogspot.com/2011/07/quick-guide-upgrade-linux-kernel-30-on.html sorry, that website seems to be in Bahasa Melayu, although it's dead easy to understand. Source; http://www.kernel.org/ ___

Re: Any way to show progress while an ON-REV page is processing a script?

2011-08-08 Thread Bruce Pokras
Mike, Thanks for your reply. The input page has a form into which a user types or pastes a list of patents. Upon clicking "Submit" the form POSTS the list to the .lc page for processing. For each patent in the list, the script of the .ic page sends a query to a European Patent Office server. Th

Re: REsolving Behavior References

2011-08-08 Thread Pete
Maybe. The start using command is for setting up library scripts though, not behaviors. Seems like there's a case for it to do both (as an option) but right now, I do think it will resolve paths to behavior scripts. Pete Molly's Revenge On Mon, Aug 8, 2011 at 8

Re: CalendarPane

2011-08-08 Thread J. Landman Gay
On 8/8/11 12:06 PM, Bob Sneidar wrote: I am going to say that in order to start using a stack that isn't already open by Livecode, it cannot be a substack of another stack. You can see why. Even if the parent stack is in the stackfiles, Livecode apparently does not peruse the substacks of the ma

Re: CalendarPane

2011-08-08 Thread Bob Sneidar
Ok so if the calendarPane widget is now open source, I would like to upload a corrected zip file containing the CalendarPane help stack, the now separated lib_CalendarPane and the lib_Rect stacks. I think this is the form the download should take. I couldn't get it to work at first, because I as

Nicolas Cueto - Please contact me by e-mail off of list

2011-08-08 Thread Charles Szasz
Nicolas, I just came across your "dollar" script for adding fields with dollar signs! I have been "fighting" with fields that contain a $ sign for the past two days. I am doing a little app to compute mileage and expenses for our local school district. It is a free app. I retired from the sch

Re: CalendarPane

2011-08-08 Thread Devin Asay
On Aug 8, 2011, at 11:06 AM, Bob Sneidar wrote: > Hi Devin and anyone else involved. I got this to work. I opened the substack > called lib_calendarpane and set it's mainstack to itself, then I saved it. I > added that stack (now independent of it's prior mainstack) to my project's > stackfile

Re: [Server] create stack trouble

2011-08-08 Thread Robert Mann
Thanks Stephen for testing and I hope you can propagate these info. It would be great to have the official position of the "mothership" team : 1) regarding the creation of fields :: is that a choice that will be followed, or is it a bug that is bound to be corrected? 2) regarding saving stacks

Re: CalendarPane

2011-08-08 Thread Bob Sneidar
Hi Devin and anyone else involved. I got this to work. I opened the substack called lib_calendarpane and set it's mainstack to itself, then I saved it. I added that stack (now independent of it's prior mainstack) to my project's stackfiles. Now "there is a stack" and "start using" work fine on t

The emdash in RunRev's RTF is missing?

2011-08-08 Thread James Hurley
When I put the url "the file path"(of a rtf file) into a field I get a lot of formatting code. That code includes a marker for the emdash that was in the file. When I set the rtfText of a field to the url "the file path" I get well formatted rtf text in that field, EXCEPT for the emdash which

Re: [Server] create stack trouble

2011-08-08 Thread stephen barncard
Robert, on my installation of LIvecode Server, everything you say I've found to be true, except that I was able to use my preferred suffix .rev instead of .livecode. I'm impressed that there are so many things are *right* and *up to date* in the docs lately, imho. On this new stuff, there's sure

Re: [Server] create stack trouble

2011-08-08 Thread Robert Mann
Stephen Barncard-4 wrote: > > GUI objects are not applicable in a server environment. > Yes indeed, so I would not expect to create a button in the server environment, but as I pointed out, fields are NOT ONLY part of the GUI, theyr'e are ALSO a very common DATA holder. as an example, fields ca

Re: CalendarPane

2011-08-08 Thread Bob Sneidar
Hi Devin. Yes it looks exactly like what I was hoping for, but the problem seems to be in getting it into the stacks in use. I have added the calendarpane.rev stack to my stack files in the project, so finding it should not be a problem. Is there an issue with start using if the stack I want to

Re: CalendarPane

2011-08-08 Thread Devin Asay
On Aug 5, 2011, at 11:12 PM, Bob Sneidar wrote: > Is anyone successfully using CalendarPane? I cannot get it to work after > having dropped it once in a stack. I deleted everything and started over, and > now it won't work at all. Livecode says there is no such stack when I try to > start usin

Re: [Server] create stack trouble

2011-08-08 Thread stephen barncard
Why would one want to create a field one can't use anyway? There are probably a lot of little things in LCS that haven't been trapped as errors or to fail silently yet, but common sense can be a guide to "what is" and "what isn't": GUI objects are not applicable in a server environment. Reading f

Re: [Server] create stack trouble

2011-08-08 Thread Robert Mann
revServer memo :: focus on : server STACKS 1) USING an existing stack go stack myStack.livecode :: make sure the correct file extension is used effect :: sets the correct message path putting mystack ahead in the path getting values and setting values

Money Script

2011-08-08 Thread Charles Szasz
Nicolas, I just came across your "dollar" script for adding fields with dollar signs! I have been "fighting" with fields that contain a $ sign for the past two days. I am doing a little app to compute mileage and expenses for our local school district. It is a free app. I retired from the sch

Re: Converting HTTP to FTP URL

2011-08-08 Thread J. Landman Gay
On 8/8/11 10:44 AM, Mark Wieder wrote: Jacque- Monday, August 8, 2011, 8:28:27 AM, you wrote: I don't think I need four pieces of data, only two valid paths. No one All right. I was counting username and password as two. Obviously my brain has suffered after googling all weekend, and I'

Re: [OT] tmControl at San Jose LiveCode Conference

2011-08-08 Thread Bob Sneidar
Hi Scott. What is it and can I help? Bob On Aug 8, 2011, at 3:04 AM, Scott Rossi wrote: > If there is anyone here on the mail list who attended the San Jose LiveCode > conference and signed up for a pre-release version of tmControl, please > contact me off-list if you have *not* received the re

Re: iREv mysql and revexecuteSQL problem?

2011-08-08 Thread Bob Sneidar
I would have to see the error. If the record gets created, it is probably not a critical error, and it is almost definitely an SQL error. Bob On Aug 7, 2011, at 12:21 PM, John Patten wrote: > Hi All... (sending this in two parts, I tried to send it before but never saw > it show up on list..

Re: REsolving Behavior References

2011-08-08 Thread Bob Sneidar
This may have been my problem with another calendar widget I was trying to use. Originally I put the start using statements into the openStack handler and it worked. When I moved them to the preOpenStack handler, they stopped working. Bob On Aug 6, 2011, at 9:15 PM, Pete wrote: > Quoting the

CalendarPane

2011-08-08 Thread Bob Sneidar
Is anyone successfully using CalendarPane? I cannot get it to work after having dropped it once in a stack. I deleted everything and started over, and now it won't work at all. Livecode says there is no such stack when I try to start using it. Yes it is added to my stackFiles so it should be fin

Re: Converting HTTP to FTP URL

2011-08-08 Thread Mark Wieder
Jacque- Monday, August 8, 2011, 8:28:27 AM, you wrote: > I don't think I need four pieces of data, only two valid paths. No one All right. I was counting username and password as two. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailin

Re: [Server] create stack trouble

2011-08-08 Thread Robert Mann
Hi, saving a stack works fine in my case too. And this is important to my view. But create field does not work. warning :: COHERENCE WITH revServer online Dictionnary -- 1) Create stack and save are greyed in the docs but actually work on my on-rev implem

Please contact e-mail off list

2011-08-08 Thread Charles Szasz
Nicolas, Please contact me off the list using the e-mail below. Thanks! Charles Szasz csz...@mac.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferen

Re: Converting HTTP to FTP URL

2011-08-08 Thread J. Landman Gay
On 8/8/11 12:44 AM, Mark Wieder wrote: So here's my confusion about this: just because a user has http hosting doesn't necessarily mean they have ftp hosting or that they have an ftp account set up. And if they *do* have an ftp account and already know their username and password, wouldn't they

Re: Converting HTTP to FTP URL

2011-08-08 Thread J. Landman Gay
On 8/8/11 12:32 AM, Jim Ault wrote: As admin, if you give a user a login and passwd for the subdomain, they should only have ftp access to that folder tree. Yes, I think that would work. The problem is that the typical user will own the whole thing, including subdomains, and the issue happens

Re: LC and OS X version compatibility

2011-08-08 Thread Mark Wieder
Tiemo- Monday, August 8, 2011, 2:24:41 AM, you wrote: > Is LC 4.6. not working on 10.3. anymore in general, or does it concern only > some new features? It's in the 4.6 release notes. "Mac OS 10.3.9 is no longer supported Support has been dropped for Mac OS 10.3.9." -- -Mark Wieder mwie...@a

Re: AW: LC and OS X version compatibility

2011-08-08 Thread Richmond Mathewson
All G3 computers, except for the tray-loading iMacs, can cope with 10.4.11. Certainly, the one I use as my "Media delivery system" in my school, which is a slot-loader with 384 MB RAM, works very well on 10.4.11, and has no trouble with any standalones from LC 4.5.

AW: LC and OS X version compatibility

2011-08-08 Thread Tiemo Hollmann TB
Thanks Ken for your experiences, I will follow that Tiemo > -Ursprüngliche Nachricht- > Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] Im Auftrag von Ken Ray > Gesendet: Montag, 8. August 2011 15:30 > An: How to use LiveCode > Betreff: Re: LC a

Re: LC and OS X version compatibility

2011-08-08 Thread Ken Ray
On Aug 8, 2011, at 4:24 AM, Tiemo Hollmann TB wrote: > Hello, > > the LiveCode release notes say about system compatibility for: > > LC 4.5.0: Mac OS X 10.3.9 to 10.6.x > > LC 4.6.0: Mac OS X 10.4.11 to 10.7.x > > Does anybody knows if there are any trouble with LC 4.5 on 10.7 lion? No, I ha

Linux Kernel 3.0

2011-08-08 Thread Richmond Mathewson
Just upgraded my Linux rig (Ubuntu 11.04) to Kernel 3.0 and am happy to say it does not seem to affect Livecode at all. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscript

Re: LC and OS X version compatibility

2011-08-08 Thread Richmond Mathewson
On 08/08/2011 12:24 PM, Tiemo Hollmann TB wrote: Hello, the LiveCode release notes say about system compatibility for: LC 4.5.0: Mac OS X 10.3.9 to 10.6.x LC 4.6.0: Mac OS X 10.4.11 to 10.7.x Does anybody knows if there are any trouble with LC 4.5 on 10.7 lion? Is LC 4.6. not working on 10.3

[OT] tmControl at San Jose LiveCode Conference

2011-08-08 Thread Scott Rossi
If there is anyone here on the mail list who attended the San Jose LiveCode conference and signed up for a pre-release version of tmControl, please contact me off-list if you have *not* received the recent development package. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Desi

OT: How to force a Mac to search for network shares?

2011-08-08 Thread Tiemo Hollmann TB
Hello, opening the finder (on lion) it takes pretty long until my Mac (Wifi connected) finds all shares in my network, and after getting town to standby it loses the shares. Is there a way / shortcut to force the mac to search for network shares, like F5 on windows or even to keep a share in the

LC and OS X version compatibility

2011-08-08 Thread Tiemo Hollmann TB
Hello, the LiveCode release notes say about system compatibility for: LC 4.5.0: Mac OS X 10.3.9 to 10.6.x LC 4.6.0: Mac OS X 10.4.11 to 10.7.x Does anybody knows if there are any trouble with LC 4.5 on 10.7 lion? Is LC 4.6. not working on 10.3. anymore in general, or does it concern only some

Re: Converting HTTP to FTP URL

2011-08-08 Thread Jeffrey Massung
On 08/08/2011 12:55 AM, Mark Wieder wrote: Jeff- HTTP PUT is an interesting alternative, but I see two possible complications. First of all you'd have to query the Allow headers on the server to see if the PUT command is supported, and then come up with an alternate strategy if it isn't. Secondl