Re: Ideal Unicode?

2011-08-16 Thread Richmond Mathewson
Ideal Unicode' Will never exist for a few simple reasons: 1. Unicode is a moving target (the Unicode commission keep producing updated versions). 2. Computers and computer operating systems are moving targets. If one is prepared to invest one hell of a lot of time (and I have) poking

Re: Back to LC Inventive Users

2011-08-16 Thread Kay C Lan
Judy, I might be too late to the thread but I'll offer a slightly twisted perspective of where to go with this. These are adults, right? Don't ask them so much about what they like, instead figure out what ticks them off the most, or wastes their time the most or elicits the response 'it's a

Re: Back to LC Inventive Users

2011-08-16 Thread Richmond Mathewson
On 08/16/2011 10:24 AM, Kay C Lan wrote: Judy, I might be too late to the thread but I'll offer a slightly twisted perspective of where to go with this. These are adults, right? Don't ask them so much about what they like, instead figure out what ticks them off the most, or wastes their time

Lion snapshot trouble (was: Lion trouble with quicktime) please confirm

2011-08-16 Thread Tiemo Hollmann TB
Ok, I made some more test and the problem doesn't seems to be related to quicktime, but to the snapshop function on Lion. I tested with LC 4.6.3 on Lion with the following code: Put the rect of [image | player | button] foo into tRect Export snapshot from rect tRect to file export.png as [PNG |

Re : two really neat pdf tools

2011-08-16 Thread Francis Nugent Dixon
Hi from Beautiful Brittany, Peter, take a look at SKIM ! I junked Adobe Reader and I now use SKIM for all my pdf work. Great Open Source program. - Francis ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Lion snapshot trouble (was: Lion trouble with quicktime) please confirm

2011-08-16 Thread Klaus on-rev
Hi Tiemo, Am 16.08.2011 um 10:56 schrieb Tiemo Hollmann TB: Ok, I made some more test and the problem doesn't seems to be related to quicktime, but to the snapshop function on Lion. I tested with LC 4.6.3 on Lion with the following code: Put the rect of [image | player | button] foo into

AW: Lion snapshot trouble (was: Lion trouble with quicktime) please confirm

2011-08-16 Thread Tiemo Hollmann TB
Hi Klaus, thanks for testing, that didn't do the trick for me, I get irregular results, the more often I do testing. I think I found the reason what has changed with Lion. It is related to the alwaysbuffer property of the player. Setting it to true in my test app did the trick, but doing the same

Retrieving Date and Time From a Remote Computer

2011-08-16 Thread Gregory Lypny
Hello everyone, Another date and time retrieval question: How can I retrieve the date and time from my remote Mac? Regards, Gregory ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Re : two really neat pdf tools

2011-08-16 Thread Richmond Mathewson
On 08/16/2011 12:56 PM, Francis Nugent Dixon wrote: Hi from Beautiful Brittany, Peter, take a look at SKIM ! I junked Adobe Reader and I now use SKIM for all my pdf work. Great Open Source program. Mac only! try pdfedit for Linux and Windows http://pdfedit.cz/en/index.html - Francis

Re: Lion snapshot trouble (was: Lion trouble with quicktime) please confirm

2011-08-16 Thread Klaus on-rev
Hi Tiemo, Am 16.08.2011 um 14:34 schrieb Tiemo Hollmann TB: Hi Klaus, thanks for testing, that didn't do the trick for me, I get irregular results, the more often I do testing. I think I found the reason what has changed with Lion. It is related to the alwaysbuffer property of the player.

iOs - images from the foto library

2011-08-16 Thread Malte Brill
Hi all, out of academic interest I would like to know if it is possible to set the filename of an image to an image resource in the photo library? I guess due to the sandboxed nature of iOS apps, the answer is no, but I'd better ask before speculating... As far as I can see the only way is

[HELP] Facing a datagrid bug

2011-08-16 Thread Andre Garzia
Folks, I am consistently facing a strange bug with the datagrid in 4.6.x in more than one project. I don't have an exact recipe but I can explain how it works. I have a datagrid that mimics a table. I am just placing text in there. Some text columns will have content on just some fields and this

Using the Detailed Files Function to Get Info From a Remote Machine

2011-08-16 Thread Gregory Lypny
Hello everyone, Can the Detailed Files function be used to get file information from a remote Mac or am I limited to the listing provided by put url (“ftp://...”)? Regards, Gregory ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Trevor DeVore
On Tue, Aug 16, 2011 at 11:04 AM, Andre Garzia an...@andregarzia.comwrote: This is happening here in three different projects all related to database frontends. I have a card with a list of records. When for example I click the header of column Title, it will fail and die. I don't know why.

Re: Using the Detailed Files Function to Get Info From a Remote Machine

2011-08-16 Thread Andre Garzia
Gregory, You can't access remote machines unless they have an FTP server or something similar or you can mount their volumes as a disk. If you mount the remote machine volumes, then you can use the detailed files but I think that appleshare file sharing only works on LAN. You best option would

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Andre Garzia
Trevor, Thanks very much for the quick reply I will investigate this and will post back to the list with my findings. Thanks for the lesson link as well, I might create my own sorting for some columns. :-D On Tue, Aug 16, 2011 at 12:14 PM, Trevor DeVore li...@mangomultimedia.comwrote: On

Re: Retrieving Date and Time From a Remote Computer

2011-08-16 Thread Bob Sneidar
Remote as in a different time zone?? If they are both set to query a time server, then the remote mac will ALWAYS have the same time as the local one. If it is always in the same time zone, calculate it. Apart from that, I suppose you would have to ssh in which means setting up firewalls

Praise for Screensteps Pro

2011-08-16 Thread Martin Koob
I have been updating a pdf manual for my LiveCode application which I created with Screensteps Pro. It is such a great product. I had to redo many screen shots since I had some UI changes. Piece of cake. I also decided to rearrange the order of the sections in the manual and move sections

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Bob Sneidar
You can override everything about the datagrid. Copy the behavior script to a button in your own stack: set the behavior of button myBehaviorButton to the script of the behavior of group dgMyDataGrid Then set the behavior of your datagrid to the new button: set the behavior of group

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Andre Garzia
Thanks Bob and Trevor, I am trying to pinpoint where the error happens... tried using a try/catch block on the sort routine to no effect. Here is a shot of the error when I try to order something: http://andregarzia.com/shots/_datagridbug-20110816-124238.png error in object expression, any

Re: Praise for Screensteps Pro

2011-08-16 Thread Andre Garzia
Martin, I've built manuals for myself using Screensteps, it is a great product! :-D On Tue, Aug 16, 2011 at 12:29 PM, Martin Koob mk...@rogers.com wrote: I have been updating a pdf manual for my LiveCode application which I created with Screensteps Pro. It is such a great product. I had

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Andre Garzia
the error is not on sorting, it is on: _table.DrawColumns some error in an object reference... odd... only when ascending, the descending sort works. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Andre Garzia
On Tue, Aug 16, 2011 at 12:58 PM, Andre Garzia an...@andregarzia.comwrote: the error is not on sorting, it is on: _table.DrawColumns some error in an object reference... odd... only when ascending, the descending sort works. I think I found it. When sorting ascending, the pIndexesToDraw

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Bob Sneidar
I am going to say that there are characters in the text that Livecode does not expect. But I am guessing. You can try a divide and conquer approach to test this. Start by creating two globals. Put half the data into one global and half the data into the other. Populate the dataGrid with one

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Andre Garzia
On Tue, Aug 16, 2011 at 1:09 PM, Andre Garzia an...@andregarzia.com wrote: On Tue, Aug 16, 2011 at 12:58 PM, Andre Garzia an...@andregarzia.comwrote: the error is not on sorting, it is on: _table.DrawColumns some error in an object reference... odd... only when ascending, the descending

Re: Using the Detailed Files Function to Get Info From a Remote Machine

2011-08-16 Thread Gregory Lypny
Thanks Andre, Much obliged. Gregory On Tue, Aug 16, 2011, at 11:44 AM, use-livecode-requ...@lists.runrev.com wrote: Message: 22 Date: Tue, 16 Aug 2011 12:20:35 -0300 From: Andre Garzia an...@andregarzia.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Using the

Re: Grabbing the Date and Time From a Time Server on the Internet

2011-08-16 Thread Gregory Lypny
Hi Bob, Good summary, Bob. It summarizes nicely the issues that I’m dealing with in creating a client-side student helper app. Your RealTime function works nicely. The only thing missing is the year, which again, is something that a user could set manually. Regards, Gregory On Tue, Aug

Re: Retrieving Date and Time From a Remote Computer

2011-08-16 Thread Gregory Lypny
Hi Bob, No, just my office Mac a few kilometres away. I was thinking of other ways of not relying on the date and time settings of users who would FTP data to me. If my client app can grab the date and time from my office make, then I have a consistent timestamp that I can rely on. Gregory

Re: Re : two really neat pdf tools

2011-08-16 Thread Pete
Depending on your needs, another good one is Formulate Pro (Mac only, free). You can place graphics, text, draw shapes. Pete Molly's Revenge http://www.mollysrevenge.com On Tue, Aug 16, 2011 at 2:56 AM, Francis Nugent Dixon effe...@wanadoo.frwrote: Hi from Beautiful Brittany, Peter, take

Re: Retrieving Date and Time From a Remote Computer

2011-08-16 Thread stephen barncard
Wouldn't it be better to get time data from a place that's mission-critical consistent, like the NAVY and WWV? Then you wouldn't have to maintain it or deal with outages. On 16 August 2011 09:37, Gregory Lypny gregory.ly...@videotron.ca wrote: Hi Bob, No, just my office Mac a few kilometres

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Bob Sneidar
Brilliant Andre. I am betting though that the problem occurs in the code that calls this function. I am going to wait until Trevor finds the source and releases an update for the dataGrid. Bob On Aug 16, 2011, at 9:14 AM, Andre Garzia wrote: On Tue, Aug 16, 2011 at 1:09 PM, Andre Garzia

Re: Grabbing the Date and Time From a Time Server on the Internet

2011-08-16 Thread Bob Sneidar
I see the problem here. The url I use does not return the year! And I cannot just get the year from the system date, because that defeats the whole purpose of a RealTime function. Going to have to do a bit more research. Bob On Aug 16, 2011, at 9:33 AM, Gregory Lypny wrote: Hi Bob, Good

Re: Retrieving Date and Time From a Remote Computer

2011-08-16 Thread Gregory Lypny
Hi Stephen, Yes, and Bob Sneidar has kindly provided us with a function that does that (see Re: Grabbing the Date and Time From a Time Server on the Internet”). The only thing it lacks at the moment is the year. I asked about doing the same with a remote computer only to explore an

Re: Retrieving Date and Time From a Remote Computer

2011-08-16 Thread J. Landman Gay
On 8/16/11 12:31 PM, Gregory Lypny wrote: Hi Stephen, Yes, and Bob Sneidar has kindly provided us with a function that does that (see Re: Grabbing the Date and Time From a Time Server on the Internet”). The only thing it lacks at the moment is the year. I asked about doing the same with a

ASCII, Unicode and Livecode

2011-08-16 Thread Richmond Mathewson
So, there I am reading a BBC computer manual (as one does) where I am informed that the ASCII set consists of 128 chars . . . . . . that's funny, because I had 256 (i.e. 2 x 128) rumbling around in my mind. As I have to develop a script that determines whether a char is a single-byte char or

Re: Unicode woes

2011-08-16 Thread Richmond Mathewson
On 08/15/2011 10:51 PM, Malte Brill wrote: Hey Richmond, maybe these might come in handy: setprop cUTF8Text pUTF8String if word 1 of the name of the targetfield and word 1 of the name of the targetbutton then if dev is in the environment then throw cUTF8Text: Target

Re: Using the Detailed Files Function to Get Info From a Remote Machine

2011-08-16 Thread Gregory Lypny
Thanks Andre, The LIST option returns what url (“ftp://...”) does in the absence of libURLSetFTPListCommand, so I guess the idea of the command is to toggle between LIST and NLST. Unfortunately, neither returns the creation or modification dates of the files. Regards, Gregory On Tue, Aug

Re: Unicode woes

2011-08-16 Thread Paul Dupuis
On 8/15/2011 3:51 PM, Malte Brill wrote: I have taken these scripts from the unicode lib that I am still trying to set up. If there is any interested, I'll upload it to revOnline and announce it on the list. Cheers, Malte Malte, Thank you. I for one would love any Unicode library any one

Re: Using the Detailed Files Function to Get Info From a Remote Machine

2011-08-16 Thread Andre Garzia
Gregory, Are you sure that they don't because they usually return the same output as ls which contains such data strange... andre On Tue, Aug 16, 2011 at 2:52 PM, Gregory Lypny gregory.ly...@videotron.cawrote: Thanks Andre, The LIST option returns what url (“ftp://...”) does in the

Re: Retrieving Date and Time From The Internet

2011-08-16 Thread Bob Sneidar
Okay, I contacted the USNO site via email and requested that they include the year in the returned date/time. I have a modified script which includes the year, but I caution you that the convert command is getting the current year from the system if it is not supplied, which defeats the whole

Re: Unicode woes

2011-08-16 Thread stephen barncard
Roadmaps shouldn't be discussed on the use-list... nda ... On 16 August 2011 11:06, Paul Dupuis p...@researchware.com wrote: On 8/15/2011 3:51 PM, Malte Brill wrote: I have taken these scripts from the unicode lib that I am still trying to set up. If there is any interested, I'll upload

Re: Unicode woes

2011-08-16 Thread Paul Dupuis
Err - my bad. Posted to the wrong list! Arrgh! On 8/16/2011 2:24 PM, stephen barncard wrote: Roadmaps shouldn't be discussed on the use-list... nda ... On 16 August 2011 11:06, Paul Dupuisp...@researchware.com wrote: On 8/15/2011 3:51 PM, Malte Brill wrote: I have taken these scripts

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Andre Garzia
bob, don't praise me, Trevors work is brilliant. I think the bug goes deeper than that. While I solved the drawing problem, I am facing a new problem now. When I click a line, it selects the line on top of it. I guess the indexes are wrong because of what I did. I think that the array

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Andre Garzia
Update the sortByKey function calculates a variable theData that is used to compute the sorting. This variable had a leading CR here in some cases and thus broke the functions after it. Deleting that line made things work. Andre On Tue, Aug 16, 2011 at 3:39 PM, Andre Garzia

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Andre Garzia
RRRGGHHH It stopped working again... well, back to the debugging board. folks, for anyone following this thread, to try to script the rev stacks, you can break your IDE or introduce real problems. I am doing this because I have a backup of Trevors original stack, so I can play and if I break

Double byte trouble

2011-08-16 Thread Richmond Mathewson
I did this: set the useUnicode to true set the unicodeText of fld INN to numToChar(69) and, unsurprisingly, an 'E' appeared in fld INN when I then did this: delete char 1 of fld INN 'E' vanished; again, unsurprisingly when I put a spot of unicodeText in my fld INN the delete char 1 script

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Bob Sneidar
You must mean DON'T try to script the rev stacks. :-) Bob On Aug 16, 2011, at 12:04 PM, Andre Garzia wrote: RRRGGHHH It stopped working again... well, back to the debugging board. folks, for anyone following this thread, to try to script the rev stacks, you can break your IDE or

Re: Double byte trouble

2011-08-16 Thread Bob Sneidar
I'm going to say that if you were to delete the first char of a 2 byte unicode char and then put more unicode text after it, things would not go so well, but I am just guessing. Bob On Aug 16, 2011, at 12:06 PM, Richmond Mathewson wrote: I did this: set the useUnicode to true set the

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Trevor DeVore
On Tue, Aug 16, 2011 at 3:04 PM, Andre Garzia an...@andregarzia.com wrote: It stopped working again... well, back to the debugging board. Andre, Cant you send me a single stack with a single data grid in it that has the data causing problems? I should be able to determine the problem based on

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Andre Garzia
Yes what Bob said... you can see by my reactions that one should not try to script rev stacks... On Tue, Aug 16, 2011 at 4:28 PM, Bob Sneidar b...@twft.com wrote: You must mean DON'T try to script the rev stacks. :-) Bob On Aug 16, 2011, at 12:04 PM, Andre Garzia wrote: RRRGGHHH

Re: Double byte trouble

2011-08-16 Thread Mark Schonewille
Hi Richmond, I wrote this yesterday already. The availability of byte and char indicate that RunRev is aware of this problem. Unfortunately, RunRev hasn't actually taken action to solve it yet. For now, it is just a fact that fields who have the unicodeText property set, need two bytes for a

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Andre Garzia
On Tue, Aug 16, 2011 at 4:43 PM, Trevor DeVore li...@mangomultimedia.comwrote: On Tue, Aug 16, 2011 at 3:04 PM, Andre Garzia an...@andregarzia.com wrote: It stopped working again... well, back to the debugging board. Andre, Cant you send me a single stack with a single data grid in it

Email issues at quartam.com

2011-08-16 Thread Jan Schenkel
Dear LiveCode Users, Due to an unfortunate misconfiguration of a spam filter in my domain email delivery chain, a number of emails to 'quartam.com' were delayed, going back as far as July 22nd, 2011. Having just 'liberated' those emails, I am working my way through them now. If you are still

Re: Retrieving Date and Time From The Internet

2011-08-16 Thread Scott Rossi
Recently, Bob Sneidar wrote: Until someone can come up with an HTTP link that returns the year with the date and time, or else Livecode supports NTP queries, we are SOL. I have searched high and low and cannot find one single web site besides http://tycho.usno.navy.mil/cgi-bin/timer.pl that

Re: Retrieving Date and Time From The Internet

2011-08-16 Thread Warren Samples
On Tuesday, August 16, 2011 11:13:58 AM Bob Sneidar wrote: Okay, I contacted the USNO site via email and requested that they include the year in the returned date/time. You could try this: http://www.worldtimeserver.com/current_time_in_CA-QC.aspx Your time info is here in the html it

Re: ASCII, Unicode and Livecode

2011-08-16 Thread Bernard Devlin
If you get the htmlText of a char in a unicode mixed field (i.e. containing single double byte chars), there is an attribute of the p/p tag that tells you the font. If you get char 1 of a double byte char, that font attribute of the paragraph tag will (in my experience) contain unicode as item 2

Re: Retrieving Date and Time From The Internet

2011-08-16 Thread Bob Sneidar
Thanks Waren and Scott. I will have a look at those. I can extrapolate UTX time from those zones I suppose, and then do the math for the particular time zone in the system settings. Thanks. Bob On Aug 16, 2011, at 2:10 PM, Warren Samples wrote: On Tuesday, August 16, 2011 11:13:58 AM Bob

Re: Using the Detailed Files Function to Get Info From a Remote Machine

2011-08-16 Thread Roger Eller
On Tue, Aug 16, 2011 at 2:08 PM, Andre Garzia wrote: Gregory, Are you sure that they don't because they usually return the same output as ls which contains such data strange... andre On Tue, Aug 16, 2011 at 2:52 PM, Gregory Lypny gregory.ly...@videotron.cawrote: Thanks Andre,

Re: Re : two really neat pdf tools

2011-08-16 Thread Bob Sneidar
sigh On Aug 16, 2011, at 1:11 PM, Francis Nugent Dixon wrote: Hi from Beautiful Brittany, Mac only! try pdfedit for Linux and Windows You mean . you mean that there is another world, out there . which is not .. aware about REAL COMPUTING

Re: Exporting vector images

2011-08-16 Thread Alejandro Tejada
Hi Richmond, Richmond Mathewson-2 wrote: [snip] HOWEVER; I am bu**ered if I am going to have an app with an accompanying directory full of, say, 5,000 EPS files; that is real monkey business. Actually, it's only 1522 letters that you could store as compressed custom properties.

Re: [HELP] Facing a datagrid bug

2011-08-16 Thread Trevor DeVore
On Tue, Aug 16, 2011 at 3:55 PM, Andre Garzia an...@andregarzia.com wrote: Thanks, I will build the stack here. I isolated the problem to a carriage return character in one of the records. The \n character mess up the theData variable in sortDataByKey and it all breaks down from that

OT: Beginning Programming with LiveCode for the world

2011-08-16 Thread Sivakatirswami
http://www.nytimes.com/2011/08/16/science/16stanford.html?_r=1hpw It would be interesting if someone did a Basic Programming course for the whole planet, using LiveCode. I think Devin Asay is well positioned this. We have a new young recruit here at the monastery. I sent him all the URLS

OT: Slideshow Image CMS Best Practice

2011-08-16 Thread Sivakatirswami
I am using Galleria on our web site.. (galleria aino.se) I love it... so extensible, customizable, documentation is excellent I've written some .irev libraries that only need a path to a folder with images and adjacent matching text files for captions and then LiveCode dynamically builds the

Re: Retrieving Date and Time From The Internet

2011-08-16 Thread stephen barncard
I thought it could be done directly with a time server, and one can! I did some dicking around with sockets and made this up. this uses the Daytime Protocol (RFC-867)http://www.nist.gov/pml/div688/grp40/its.cfm function returnNISTime -- returns UTC time in RFC-867 (Daytime) format