Re: seconds function giving wrong time

2010-11-03 Thread Jim Ault
This script works as expected on MacOSX 10.5.8Rev 4.0.0 Build 950 get the internet date convert it to seconds put the seconds - it into test3 put the seconds into test convert test to dateItems put the internet date into test2 convert test2 to dateItems put test & return & test2 & return

Re: How to reorder lines in a list field (understood!)

2010-11-03 Thread André Bisseret
Bonjour, Thanks to this "how to" I have understood why my drag and drop scripts is working on my test stack and not working in my app. It is because, in my app; the field is part of a group (not in my test stack)!! It is a bug (# 6823) exhibited by Éric Chatonet in 2008/07 with version 2.

Skipping a mark card

2010-11-03 Thread charles61
I have a project that uses marked cards to navigate them. Aside from unmarking a card, is there a way to skip a mark card when you are using a script (go to next marked card) to go to marked cards? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Skipping-a-mark-ca

Re: Which messages are sent to a datagrid on opencard?

2010-11-03 Thread Trevor DeVore
On Sun, Oct 31, 2010 at 6:16 AM, Malte Brill wrote: > I have a rather complex stack that needs quite a few datagrids on a card. > Now when said card is opened it is noticeably laggy. I guess this is due to > the messages that are sent to the datagrids on (pre)opencard. PreopenControl > or somethi

Re: delete chunk.

2010-11-03 Thread Ken Ray
> Just tossing this out there, but I *love* this behavior. I'm sure there are > situations where it's undesirable, but are easily compensated for by just > adding another delimiter. > > Begin able to do the following is very handy and makes the code clean: > > put "foo" & cr after fld "x" > put "

LiveCode external/plugin question

2010-11-03 Thread William de Smet
Hi there, I wonder if there is a external/plugin for LiveCode that gives Apps on Windows a kiosk style/mode? And I mean true kiosk so , and the Windows Keys are disabled. Any advise is welcome. (maybe an idea for a developer and make is a paid external?) greetings, William

Re: delete chunk.

2010-11-03 Thread Klaus on-rev
Hi Ken, >> Just tossing this out there, but I *love* this behavior. I'm sure there are >> situations where it's undesirable, but are easily compensated for by just >> adding another delimiter. >> >> Begin able to do the following is very handy and makes the code clean: >> >> put "foo" & cr after

Re: delete chunk.

2010-11-03 Thread Alex Tweedly
On 03/11/2010 04:41, J. Landman Gay wrote: Right. You can't have an empty last item, and if you try, the last delimiter is removed. There's a comment about it in the dictionary under "item". You can have an empty last item - see the end of the email. But even without that special case, you

Re: LiveCode external/plugin question

2010-11-03 Thread Matthias Rebbe
William, at http://www.northcode.com/blog.php/2007/07/25/Securing-Windows-For-Use-As-A-Kiosk you find information how to solve this by modifying the registry. I used that for XP some time ago. But i do not know, if this works with Windows Vista/7 also. Maybe this helps. Regards, Matthias

Re: LiveCode external/plugin question

2010-11-03 Thread Mark Schonewille
Hi William, As an easy alternative to Matthias' solution, you could run your stack as a revlet in Internet Explorer and start IE in kiosk mode http://support.microsoft.com/kb/154780 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-

Re: delete chunk.

2010-11-03 Thread DunbarX
This seems perfectly intuitive to me. When you delete an item, you are doing something entirely different than just manipulating the contents of an item. In one case you reduce the number of items. In the other you merely insert, or remove, data from them.For example, "a,b,,," has five items. P

Re: Skipping a mark card

2010-11-03 Thread DunbarX
Do you always want to do this, to always go to the following marked card? In other words, to always go to the second marked card during any navigation? If so, why not just lock the screen, go to the next marked card, and then go to the next marked card? It seems like an odd way to get around, t

Re: delete chunk.

2010-11-03 Thread Mike Bonner
Actually, I think that's exactly the problem. "a,b,,," has 4 items. The trailing , is ignored. "a,b,,,e" has 5 items. putting a space, or some type of invisible char after the trailing , makes it 5 items. It drives me nuts, if the comma is there it should designate a null item whether its in t

Re: Skipping a mark card

2010-11-03 Thread Richmond Mathewson
'Skipping the difficult bits' is a well-documented sport, as well as 'Jumping to conclusions' and 'Running a temperature': http://openlibrary.org/books/OL2875493M/Alice_through_the_needle's_eye So 'Skipping a marked card' is an extremely SHARP thing to do; mind you I don't how much money I w

Re: Skipping a mark card

2010-11-03 Thread charles61
Richmond, Thanks for your humor! Charles Szasz csz...@mac.com On Nov 3, 2010, at 10:07 AM, Richmond Mathewson-2 [via Runtime Revolution] wrote: > 'Skipping the difficult bits' is a well-documented sport, as well as > 'Jumping to conclusions' > and 'Running a temperature': > > http://

Re: Skipping a mark card

2010-11-03 Thread charles61
Hi Craig, I have a special marked card that is always marked. This because I also want it to be included when a text file is saved. I only want the special card to be accessible via a button. In addition, I have other marked cards that the user has access to while using my application. I use

Re: delete chunk.

2010-11-03 Thread Alex Tweedly
On 03/11/2010 13:43, dunb...@aol.com wrote: This seems perfectly intuitive to me. When you delete an item, you are doing something entirely different than just manipulating the contents of an item. In one case you reduce the number of items. In the other you merely insert, or remove, data from t

Re: delete chunk.

2010-11-03 Thread zryip theSlug
On Wed, Nov 3, 2010 at 1:23 AM, Alex Tweedly wrote: > > Hmmm ... what should I get from > > put "a,b,c" into temp > delete item -1 of temp > > I think temp should now have "a,b," - i.e. the last item has disappeared, > but the (now) trailing item delimiter should still be there. > > However, I act

Re: delete chunk.

2010-11-03 Thread Alex Tweedly
I agree it would be great to be able to say set the payAttentionToTrailingDelimiters to true But in the meantime you can use the fact that doubling a trailing delimiter will be ignored. repeat for each line L in tData if the last item of (L & the itemDel) is empty then -- deal with

Re: delete chunk.

2010-11-03 Thread Jonathan Lynch
Hi Alex, I am starting to agree with you that some of this becomes counterintuitive. Not hard to work around, but potentially confusing to a newcomer. I am in the habit of fastidiously making sure that my lists do not have a trailing delimiter, so I have not been plagued by this too much. "a,b,,

Re: Skipping a mark card

2010-11-03 Thread charles61
Craig, I found that by checking the Find Command ignores box of the special marked card that I don't want the user to access using the marked command works! But this card has to be the last marked card in the stack to work. When the user is on the next to last marked card and clicks on a nav

Re: Skipping a mark card

2010-11-03 Thread charles61
Craig, I forgot to add that I had to use the following script in my navigation button in addition to checking the Find Command ignores box of the special marked card: on mouseUp if dontSearch of next marked card = false then go next marked card end if end mouseUp Charles Szasz

Re: delete chunk.

2010-11-03 Thread Mike Bonner
Yep, a delimiter should be a delimiter even if it delimits null. On Wed, Nov 3, 2010 at 8:32 AM, Jonathan Lynch wrote: > Hi Alex, > > I am starting to agree with you that some of this becomes counterintuitive. > Not hard to work around, but potentially confusing to a newcomer. > > I am in the hab

Re: delete chunk.

2010-11-03 Thread J. Landman Gay
On 11/3/10 9:00 AM, Mike Bonner wrote: Actually, I think that's exactly the problem. "a,b,,," has 4 items. The trailing , is ignored. "a,b,,,e" has 5 items. putting a space, or some type of invisible char after the trailing , makes it 5 items. It drives me nuts, if the comma is there it shou

Re: delete chunk.

2010-11-03 Thread Mike Bonner
In my opinion? it SHOULD say 3. 2 lines with stuff, and 1 blank. Of course it says 2, but this is the same reason people "delete the last char of.." when doing things. If you fill a field with "this" & cr & "that" & cr, and then click at the bottom of the field, your cursor goes to the blank lin

Re: seconds function giving wrong time

2010-11-03 Thread Bob Sneidar
JACQUE? Put that dang time travel stack away!!! Bob On Nov 2, 2010, at 10:55 PM, David Beck wrote: > > I do not remember this ever happening before. Something very strange seems to > be going on here. I'm hoping somebody can shed some light on what it is. > After typing in these commands

Re: delete chunk.

2010-11-03 Thread Jim Ault
Tomato On Nov 3, 2010, at 8:41 AM, Mike Bonner wrote: In my opinion? it SHOULD say 3. 2 lines with stuff, and 1 blank. Of course it says 2, but this is the same reason people "delete the last char of.." when doing things. If you fill a field with "this" & cr & "that" & cr, and then clic

Re: seconds function giving wrong time

2010-11-03 Thread David Beck
Thanks Jim. On 11/3/10 7:09 AM, use-revolution-requ...@lists.runrev.com wrote: This script works as expected on MacOSX 10.5.8Rev 4.0.0 Build 950 get the internet date convert it to seconds put the seconds - it into test3 put the seconds into test convert test to dateItems put the intern

Re: seconds function giving wrong time

2010-11-03 Thread J. Landman Gay
On 11/3/10 11:21 AM, Bob Sneidar wrote: JACQUE? Put that dang time travel stack away!!! It's just a misplaced breakpoint, the script has stopped somewhere next week. I'll get it running again in a few days when I catch up with it. -- Jacqueline Landman Gay | jac...@hyperactiv

Re: delete chunk.

2010-11-03 Thread J. Landman Gay
On 11/3/10 10:41 AM, Mike Bonner wrote: Having said all this, there is most likely a reason it is the way it is that I don't have enough knowledge to understand. As with removing trailing carriage returns, if it's a null item it isn't difficult to work around and i'm not sure I can come up with

Nutty as a fruitcake

2010-11-03 Thread Richmond
Release Candidate 2 of Devawriter Pro (Demo) is now available for download: http://andregarzia.on-rev.com/richmond/dwriterpro.html Be there, or be square . . . :) sincerely, Richmond Mathewson. ___ use-revolution mailing list use-revolution@lists.run

Re: LiveCode external/plugin question

2010-11-03 Thread William de Smet
@Matthias and Mark: Thanks for your replies! I was looking for true kiosk mode so Marks advise using IE isn't the right thing for me. I need all keys to be blocked. Editing the registry seems the only way but it needs the computer to reboot. I need my app on startup to block these keys without reb

Re: delete chunk.

2010-11-03 Thread Mike Bonner
It helps if I think of it that way but in the case of empty items in the middle of a line it doesn't behave that way. Still terminates nothing, but is counted as an item. Despite all the conversation, I've never really run into it as a problem except when I was playing with merge one day. Had a s

Re: delete chunk.

2010-11-03 Thread Jonathan Lynch
So think about this. If we only regard the delimiter as a delimiter between items (rather than a terminator), then how would we have a container with zero items? I mean, if 1 delimiter indicates the presence of two items, then zero delimiters would indicate one item. would an empty container hav

Re: delete chunk.

2010-11-03 Thread Mike Bonner
Hmm. I get your point, and now I think I have a little bit of gray leaking out my left ear. If you look at it as if the delimiter is both an instigator AND a terminator, then if you have a var with "," in it, it seems like it should be 2 empty (and pointless) items. I had been thinking that it cou

Re: delete chunk.

2010-11-03 Thread Ken Ray
> I agree it would be great to be able to say > set the payAttentionToTrailingDelimiters to true > > But in the meantime you can use the fact that doubling a trailing > delimiter will be ignored. > repeat for each line L in tData > if the last item of (L & the itemDel) is empty then >

Path and File Questions for On-Rev

2010-11-03 Thread Gregory Lypny
Hi everyone, How can I get a simple listing of files in a subfolder named, say, myFolder in my public_html directory at On-rev? If I run put the files I get the list of files in public_html. Does files() accept a path as a parameter? Haven't being able to get it to work. Likewise,

Re: Path and File Questions for On-Rev

2010-11-03 Thread Matthias Rebbe
Gregory you have just to change the default folder. " in tList put tList ?> Regards, Matthias Am 03.11.2010 um 19:59 schrieb Gregory Lypny: > Hi everyone, > > How can I get a simple listing of files in a subfolder named, say, myFolder > in my public_html directory at On-rev? > > If I run

Re: Path and File Questions for On-Rev

2010-11-03 Thread Mike Bonner
if you set the defaultfolder to the defaultFolder & "/myFolder" and then put the files you should be good to go. delete file takes a path as argument so if you don't want to set the default folder for that you can specify a relative (based on current default folder) or absolute path delete file "p

plisted off ?

2010-11-03 Thread Richmond
I just released a new version of the Demo of my upcoming Devawriter Pro and got this back from the people at MacUpdate: "You recently submitted an update request in which you referred to the latest version of DevaWriter Pro as simply "RC2", but according to the version strings in the info.plis

dns validation of ".fr" domain and on-rev

2010-11-03 Thread Pierre Sahores
Hi there, I'm trying to install a new companion domain on my on-rev account without success, at least for yet, because this domain, widestep.fr, needs, because the ".fr", to pass the AFNIC (french NIC office) dns validator tests and it is n't the case at the moment. Did anyone had more success

Re: Path and File Questions for On-Rev

2010-11-03 Thread Andre Garzia
better than that is to create a listFiles function such as: function listFiles pPath put the defaultfolder into tCurrentDefaultFolder set the defaultfolder to pPath get the files set the defaultfolder to tCurrentDefaultFolder return it end listFiles This way, you don't risk overwriting

Re: plisted off ?

2010-11-03 Thread Marty Knapp
Sarah has a nice plist editor: http://troz.net/rev/index.irev?category=Utility#stacks toward the bottom. Marty Knapp I just released a new version of the Demo of my upcoming Devawriter Pro and got this back from the people at MacUpdate: "You recently submitted an update request in which you

Re: plisted off ?

2010-11-03 Thread Richmond
On 11/03/2010 09:43 PM, Marty Knapp wrote: Sarah has a nice plist editor: http://troz.net/rev/index.irev?category=Utility#stacks toward the bottom. Marty Knapp Thanks; very helpful indeed . . . :) I just released a new version of the Demo of my upcoming Devawriter Pro and got this back f

Re: Skipping a mark card

2010-11-03 Thread DunbarX
Charles. I see. So might you simply put an opencard handler into the script of your special card, sending the user to the next marked card unless some property was set? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this u

Re: Skipping a mark card

2010-11-03 Thread Jim Ault
You might try preOpenCard which is sent before the user see the card being opened. On Nov 3, 2010, at 1:56 PM, dunb...@aol.com wrote: Charles. I see. So might you simply put an opencard handler into the script of your special card, sending the user to the next marked card unless some pr

Re: dns validation of ".fr" domain and on-rev

2010-11-03 Thread Björnke von Gierke
there was something similar in the forum about german domains: http://forums.on-rev.com/viewtopic.php?f=4&t=56 i think it's best to mail support, they'll fix it. On 3 Nov 2010, at 20:37, Pierre Sahores wrote: > Hi there, > > I'm trying to install a new companion domain on my on-rev account wit

Re: dns validation of ".fr" domain and on-rev

2010-11-03 Thread Pierre Sahores
Hello Björnke, Many thanks. The topic seems to contains a good workaround. Will test it tomorrow. Best Regards, Le 3 nov. 2010 à 23:39, Björnke von Gierke a écrit : > there was something similar in the forum about german domains: > > http://forums.on-rev.com/viewtopic.php?f=4&t=56 > > i thin