Re: What is up with FormattedHeight?

2012-02-06 Thread AndyP
Hi Howard, Interesting.. I've just tried this and can confirm your findings. What I think your seeing is the natural space that is built around the font, this is usually more pronounced in the verticle padding than the horizontal. To see what I mean, try changing the font type then refit the

Re: What is up with FormattedHeight?

2012-02-06 Thread Paul Hibbert
Howard, Why doesn't the formattedHeight of a field just do this automatically? Why does it include extra space at the top and bottom of the field? What are the relationships among text size, text height, and field height that will allow the field to adjust to exactly the size of the text

Problem with Latin 1 (I think)

2012-02-06 Thread Geoff Canyon Rev
I'm retrieving a url and parsing the HTML. If I view the URL in Safari (all of this on a mac) there are places where safari shows isn’t but livecode shows isn‚Äôt I'm using 5.0.2, and isotomac doesn't seem to fix this. Any suggestions? thx -- gc ___

Re: Problem with Latin 1 (I think)

2012-02-06 Thread Malte Brill
Hey Geoff, that would be UTF8... Use decodeUTF8 to decode. Hth, Malte /* -- encodes a string to UTF-8 -- @param content to encode -- @return encoded content */ function encodeUtf8 pContents return unidecode(uniencode(pContents, english), UTF8) end encodeUtf8 /* -- decodes an UTF-8 string

Print revBrowser to PDF?

2012-02-06 Thread Scott Rossi
Anyone know if it's possible to print the content of a revBrowser instance directly to a PDF? I see the dictionary reference to open printing to PDF but this seems to be intended for outputting the cards of a stack. Is there some way instead to programmatically send revBrowser content to a PDF?

Re: Problem with Latin 1 (I think)

2012-02-06 Thread Ken Corey
I expect you're running up against UTF8 characters in your html (just like the thread Japanese characters in HTML result). What's the encoding of the page? Here's what I wrote in that thread. Try it and see if it solves the problem: On 04/02/2012 05:14, Bob Sneidar wrote: So the trick is

OT: windows run as admin what's the difference?

2012-02-06 Thread Tiemo Hollmann TB
I know, that this should be addressed to a windows forum, but I know also, that here is so profund knowledge in this list. Since Vista there is the run as admin option to run a program. My only knowledge about this is that the rights are supposed to be higher as only to be logged on as admin. I

Re: Print revBrowser to PDF?

2012-02-06 Thread Thomas McGrath III
Scott, I could only get an import snapshot from the rect of a graphic the same size as the browser object and then save that and print it to pdf. Not exactly the same as printing the full on and off screen contents of the browser window. Maybe its possible to create an offscreen revBrowser

AUTO: Mark Hausmann/jl1 ist außer Haus / out of office (Rückkehr am 07.03.2012)

2012-02-06 Thread mark . hausmann
Ich kehre zurück am 07.03.2012. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. In dringenden Fällen wenden Sie sich bitte an meinen Kollegen Horst Strohkirch, email: horst.strohki...@pdap.de I will respond to your message when I return. In urgent cases please contact my colleague

RE: windows run as admin what's the difference?

2012-02-06 Thread Ralph DiMola
If you are logged into an account with admin rights you have the administrators group which should allow you to do the same as being logged in as Administrator in a perfect world. But for example if file has full rights for the user Administrator, but it's Administrators group has less than full

Windows - Storing data for all users

2012-02-06 Thread Malte Brill
Hi all, what is the state of the art for storing data for all users under windows? I used to write to specialfolderpath(35), this worked up to vista, however under 7 it appears to require admin rights to write there. Is there a place that works reliably for XP and above and does not require

AW: Windows - Storing data for all users

2012-02-06 Thread Tiemo Hollmann TB
Hi Malte, I am using specialfolderpath(35), which typically is on Win7 C:\ProgramData (with and without subfolders) since years for read and write access by all users Tiemo -Ursprüngliche Nachricht- Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-

AW: windows run as admin what's the difference?

2012-02-06 Thread Tiemo Hollmann TB
Hi Ralph, Ok I would understand the difference if it would be different programs with different files to be installed. In that case I could say ok, program xyz needs the admin because there are some specials going on under the hood. But that doesn't explain why the same quicktimeinstaller behaves

Re: windows run as admin what's the difference?

2012-02-06 Thread Mark Schonewille
Hi Ralph, Is it possible that one logs in as administrator, runs an app and the app still doesn't have administrator rights? What would cause this and how could this be solved without choose Run as Administrator from the popup menu after right-clicking on an app every time you want to start

Re: Windows - Storing data for all users

2012-02-06 Thread Malte Brill
Thanks Tiemo, must be some security paranoia in the government environment then. I can write to the users folder (26), however (35) requires admin rights on the machines. I was actually blaming this on Win 7, however, it might well be that rights have been changed from the default settings to

Re: Problem with Latin 1 (I think)

2012-02-06 Thread Ben Rubinstein
On 06/02/2012 16:21, Geoff Canyon Rev wrote: Okay, so I'm at a loss. This worked, but...why? I first have to *encode* it, then *decode* it? If it's already UTF8, why am I encoding it as UTF8? is it that some of it is encoded, and the encoding function is encoding the rest, but knows not to

RE: windows run as admin what's the difference?

2012-02-06 Thread Ralph DiMola
If a file owned by user abc does not have any privs for administrator OR Administrators(group)... then the only one that can delete the file is the owner. So running as administrator will not help. This is keep prying eyes of the sys admin from your files. The sys admin can take ownership of the

Clarify Article in Macworld

2012-02-06 Thread Bob Sneidar
Congratulations are in order for Trevor Devore's Clarify, which has an article in Macworld this week. Bob ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Clarify Article in Macworld

2012-02-06 Thread Bob Sneidar
I probably should include a link: Clarify Article Congratulations are in order for Trevor Devore's Clarify, which has an article in Macworld this week. Bob ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: What is up with FormattedHeight?

2012-02-06 Thread Bob Sneidar
If you have ever had to edit type faces, you would see that this space is necessary. It used to be called leading (not lead as you would a dog but lead as in a bit of lead inserted between lines of type in a press). Without leading, type in a paragraph would be much more difficult to read.

Re: Clarify Article in Macworld

2012-02-06 Thread Klaus on-rev
Hi Bob, Am 06.02.2012 um 17:57 schrieb Bob Sneidar: I probably should include a link: Clarify Article you REALLY should! :-D Congratulations are in order for Trevor Devore's Clarify, which has an article in Macworld this week. Bob Best Klaus -- Klaus Major http://www.major-k.de

Re: Windows - Storing data for all users

2012-02-06 Thread Bob Sneidar
The All Users folder? See http://vbnet.mvps.org/index.html?code/browse/csidlversions.htm as specified in the dictionary on specialFoldersPath. It looks like you can use those 0x numbers as the argument to specialFoldersPath(). I have not tried it though. Bob On Feb 6, 2012, at 7:23 AM,

Re: Problem with Latin 1 (I think)

2012-02-06 Thread Bob Sneidar
Let's say you were at a bank trying to convert all your currency to US dollars (although why you would do that these days is beyond me). You have some Chinese currency and some Euro currency. The bank you are at refuses to convert Chinese currency at all, but will convert Euros. The bank next

Re: OT: windows run as admin what's the difference?

2012-02-06 Thread Bob Sneidar
Not sure if this is what you are looking for but in vista+ an admin user is not what you would call a SuperUser in unix/linux based systems, and certain operations are reserved now for the superuser. An admin account logs into a session as an administrator. When the UAC is invoked, and proper

Re: Clarify Article in Macworld

2012-02-06 Thread Bob Sneidar
Were the words Clarify Article not a link? They are in my sent email. Perhaps the server strips those out for security. Here is the literal link: http://www.macworld.com/article/165132/2012/02/clarify_makes_it_easy_to_create_annotated_images_and_how_to_documents.html#lsrc.nl_mwweek_h_cbstories

Re: Problem with Latin 1 (I think)

2012-02-06 Thread J. Landman Gay
On 2/6/12 11:32 AM, Bob Sneidar wrote: The multibyte characters are like Chinese and Euro currency, the single byte characters are like US dollars. Uniencode is the bank next door and Unidecode is the first bank. Uniencode converts ALL the characters to multibyte, and Unidecode converts it all

Re: Problem with Latin 1 (I think)

2012-02-06 Thread Bob Sneidar
This bit in the Dictionary might be somewhat misleading then: Use the uniEncode function to convert single-byte characters to double-byte characters. Also, this bit of code: put 1234 into theTest put length(theTest) into theSingleCount put uniEncode(theTest, English) into theUniTest put

Looking for an icon designer

2012-02-06 Thread Pete
Wondering if anyone on this list is in the business of designing application icons or can recommend someone who is. This is for the icons you define as the Application icon in the standalone settings. Thanks, -- Pete Molly's Revenge http://www.mollysrevenge.com

Re: Looking for an icon designer

2012-02-06 Thread Joe Lewis Wilkins
Iconographer is now free. You may wish to try using it. http://www.mscape.com/ Joe Wilkins On Feb 6, 2012, at 10:22 AM, Pete wrote: Wondering if anyone on this list is in the business of designing application icons or can recommend someone who is. This is for the icons you define as the

Re: Problem with Latin 1 (I think)

2012-02-06 Thread J. Landman Gay
On 2/6/12 12:15 PM, Bob Sneidar wrote: Unless I am misunderstanding you, uniEncode would appear to take single byte characters and convert them to double byte. I am thinking the reason to convert it all to multibyte and back again is because mixed byte text would confuse uniDecode, as it

Re: Looking for an icon designer

2012-02-06 Thread Bob Sneidar
There are a lot of good open icon sets out there. I am using one called Glowing Green Icons, but I have seen many more very nice sets on that same site. The people who do those things probably will contract out to do custom icons for you. Bob On Feb 6, 2012, at 10:22 AM, Pete wrote:

Re: Looking for an icon designer

2012-02-06 Thread Pete
Thanks Joe. The software looks great but the problem is my graphic deisgn skills on a scale of 1 to 10 are somewhere around -37~!!! Pete On Mon, Feb 6, 2012 at 10:42 AM, Joe Lewis Wilkins pepe...@cox.net wrote: Iconographer is now free. You may wish to try using it. http://www.mscape.com/

Re: Problem with Latin 1 (I think)

2012-02-06 Thread Ken Ray
On Feb 6, 2012, at 6:21 AM, Ken Corey wrote As I understand it, you've got to get the text from UTF8 into the internal representation of a string. Then, for the field to understand it and display it properly, you must put the string into the unicodeText of it. Right - the hard part is

Re: Looking for an icon designer

2012-02-06 Thread Marty Knapp
Pete, I don't know what your budget is, but I've hired people on elance.com with good results. Marty K Thanks Joe. The software looks great but the problem is my graphic deisgn skills on a scale of 1 to 10 are somewhere around -37~!!! Pete On Mon, Feb 6, 2012 at 10:42 AM, Joe Lewis

Re: Looking for an icon designer

2012-02-06 Thread Ken Ray
On Feb 6, 2012, at 1:31 PM, Pete wrote: Thanks Joe. The software looks great but the problem is my graphic deisgn skills on a scale of 1 to 10 are somewhere around -37~!!! One thing that can work is I've used Axialis IconWorkshop to create icons - they give you packs of icon parts that you

Datagrid dgNumberOfRecords

2012-02-06 Thread Pete
Just got done converting a datagrid to use dgNumberOfRecords - speeds up the loading of data considerably. But now the datagrid doesn't respond when I click on a row in it - the row isn't highlighted and no selectionChanged message is sent to the datagrid. Anyone else run into this? The dg is a

Re: Looking for an icon designer

2012-02-06 Thread Bob Sneidar
Oooohhh I am gonna check that out. Thanks! Bob On Feb 6, 2012, at 11:43 AM, Ken Ray wrote: On Feb 6, 2012, at 1:31 PM, Pete wrote: Thanks Joe. The software looks great but the problem is my graphic deisgn skills on a scale of 1 to 10 are somewhere around -37~!!! One thing that can

Re: Looking for an icon designer

2012-02-06 Thread Pete
Thanks Ken, sounds like it's worth a try. Pete On Mon, Feb 6, 2012 at 11:43 AM, Ken Ray k...@sonsothunder.com wrote: On Feb 6, 2012, at 1:31 PM, Pete wrote: Thanks Joe. The software looks great but the problem is my graphic deisgn skills on a scale of 1 to 10 are somewhere around

Re: Looking for an icon designer

2012-02-06 Thread Bob Sneidar
Crud! I bought it and then realized the app is Windows Only! The web page made it appear it was for OS X icons as well. Perhaps it makes OS X icons, but the app only works in Windows. Bob On Feb 6, 2012, at 11:43 AM, Ken Ray wrote: One thing that can work is I've used Axialis IconWorkshop

Re: Datagrid dgNumberOfRecords

2012-02-06 Thread Bob Sneidar
That is the primary reason I have stayed away from this method. It appears that once you do this, you have to manage all the interaction with the datagrid yourself. When the time comes I am going to build a paging system into my SQL queries so that only a certain amount of data is loaded at any

standalone size

2012-02-06 Thread Art DiVito
I recently noticed that the Mac version of my standalone is 7.9 MB, while the PC version is only 3.0 MB. That's quite a difference, isn't it? Is that normal. If, so, why? (This was built  on and (initially) for Macs. So, the font throughout is only Mac appropriate, and doesn't appear as nice on

Re: Looking for an icon designer

2012-02-06 Thread Ken Ray
On Feb 6, 2012, at 2:00 PM, Bob Sneidar wrote: Crud! I bought it and then realized the app is Windows Only! The web page made it appear it was for OS X icons as well. Perhaps it makes OS X icons, but the app only works in Windows. Sorry about that, Bob - yes, it is Windows only but it

Re: Datagrid dgNumberOfRecords

2012-02-06 Thread Pete
It's really not that hard Bob. Trevor has a demo stack that shows how to do it and it took me maybe 15 minutes to convert the datagrid to use this method. The selectionChanged message works fine in his demo so I guess I must have done something to mess things up! Pete On Mon, Feb 6, 2012 at

Re: standalone size

2012-02-06 Thread William de Smet
Hi, You probably made a universal standalone. These contain both resources for PPC and Intel Macs. Greetings, William - Verstuurd vanaf mijn iPhone! Op 6 feb. 2012 om 21:25 heeft Art DiVito artdiv...@sbcglobal.net het volgende geschreven: I recently noticed that the Mac version of my

Re: standalone size

2012-02-06 Thread stephen barncard
The default checkbox on the mac tab seems to be still MacOS (Universal) - try using MacOS (intel only) Universal wil pack in two code versions, hence the bigger size. the PowerPC code is not needed unless you are targeting older Macs. On 6 February 2012 12:25, Art DiVito artdiv...@sbcglobal.net

Re: Looking for an icon designer

2012-02-06 Thread Matthias Rebbe
Bob, you could try to use Axialis IconWorkshop with Codeweavers Crossover. I was successful in installing it under Crossover. Ran it some times and could not see any problem. But normally i am using it with a real windows under parallels. Regards, Matthias Am 06.02.2012 um 21:00 schrieb

Re: Clarify Article in Macworld

2012-02-06 Thread Andre Garzia
I must say that I really enjoy using clarify. It saves me a lot of time with my coworkers and clients. On Mon, Feb 6, 2012 at 3:42 PM, Bob Sneidar b...@twft.com wrote: Were the words Clarify Article not a link? They are in my sent email. Perhaps the server strips those out for security. Here

Re: Datagrid dgNumberOfRecords

2012-02-06 Thread Pete
Never mind. I restarted LC and all works fine now. Pete On Mon, Feb 6, 2012 at 12:05 PM, Bob Sneidar b...@twft.com wrote: That is the primary reason I have stayed away from this method. It appears that once you do this, you have to manage all the interaction with the datagrid yourself. When

Re: Looking for an icon designer

2012-02-06 Thread Bob Sneidar
Yes I'm just whining. I run Parallels. Bob On Feb 6, 2012, at 12:31 PM, Ken Ray wrote: On Feb 6, 2012, at 2:00 PM, Bob Sneidar wrote: Crud! I bought it and then realized the app is Windows Only! The web page made it appear it was for OS X icons as well. Perhaps it makes OS X icons,

Re: Datagrid dgNumberOfRecords

2012-02-06 Thread Bob Sneidar
Hmmm... I should consider it then. My big problem will be accounting for large datasets. There are two types of table data in this regard. Tables whose data reaches a point, then grows no further, and data which can potentially continually grow indefinitely. The rooms in a hotel are of the

Re: Livecode handling of directories with non-ascii (?) characters.

2012-02-06 Thread Bob Sneidar
Hmmm... I wonder if you can pass urlencoded data to the files functions? Bob On Jan 24, 2012, at 11:04 AM, Mark Powell wrote: Alex, I have had this problem since the Rev 2.0 days and as far as I can tell it is not fixed. In LC, I can literally get the files and immediately ask is there a

Re: Looking for an icon designer

2012-02-06 Thread Randy Hengst
Hi Pete, I'll put in a plug for Scott Rossi (sc...@tactilemedia.com) … You, no doubt, recognize the name from his LiveCode contributions. I hired him to develop the icon for my software company. be well, randy - On Feb 6, 2012, at 12:22 PM, Pete wrote: Wondering if anyone on this list is

Android stats

2012-02-06 Thread J. Landman Gay
Some info on current Android OS and usage statistics: http://androidcommunity.com/gingerbread-runs-on-73-of-android-devices-says-reseacher-20120201/ -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com

Re: Android stats

2012-02-06 Thread Andre Garzia
Unfortunately, here in Brazil there are a lot of Android 2.1 devices. They are still popular because they are extremely cheap. Brazilian cheap is not the same as U.S. or Europe cheap. For example the iPhone 4 here costs 1000 USD with a contract, I don't want to think what it would cost without a

(OT) Re: Android stats

2012-02-06 Thread Joe Lewis Wilkins
Andre, for perspective: how much do basics such as bread and milk cost in Brazil? Thanks, Joe Wilkins On Feb 6, 2012, at 3:18 PM, Andre Garzia wrote: Unfortunately, here in Brazil there are a lot of Android 2.1 devices. They are still popular because they are extremely cheap. Brazilian

Re: (OT) Re: Android stats

2012-02-06 Thread Andre Garzia
Hi Joe, Price varies wildly. I am on a medium city 20 minutes from Rio, I live on the prime part of it, so I pay more than people who live 1 hour away from me, a lot more. A milk bottle with 1 liter will cost you about about USD 1,50 A pack of sliced bread will cost about USD 2,00 We pay heavy

Re: (OT) Re: Android stats

2012-02-06 Thread Joe Lewis Wilkins
Andre, thank you. Very infomative. Not too far out of line for the basics I mentioned. I've been impressed with almost everything I've heard about Brazil. Is your IRS actually a part of the Government; or as ours, an independent, private, pseudo governmental organization with governmental

Re: Android stats

2012-02-06 Thread gcanyon+rev
One thing that stands out (which has been mentioned in previous articles numerous times) is how far behind most Android-based phones are on their OS updates. Three-fourths of android phones are two major versions behind. The main fault lies with the carriers, who customize Android and don't

Video on Linux (again)

2012-02-06 Thread Richard Gaskin
I had set aside playing video on Linux because of an annoying rendering anomaly and I didn't really need it at the time. Now I went back to try it again, and I can't even get videos to play at all, even after setting the videoclipplayer to mplayer, smplayer, and vlc. How are you playing videos

Re: Video on Linux (again)

2012-02-06 Thread Roger Eller
On Mon, Feb 6, 2012 at 10:23 PM, Richard Gaskin wrote: I had set aside playing video on Linux because of an annoying rendering anomaly and I didn't really need it at the time. Now I went back to try it again, and I can't even get videos to play at all, even after setting the videoclipplayer

Re: Video on Linux (again)

2012-02-06 Thread Warren Samples
On 02/06/2012 09:23 PM, Richard Gaskin wrote: How are you playing videos on Linux? Are you able to do it at all? Running openSUSE 12, KDE and KWin. I get audio but no video attempting to play videoclips. Using the player, and with window effects on, I get audio but no visible video. I get

Re: Android stats

2012-02-06 Thread J. Landman Gay
On 2/6/12 8:40 PM, gcanyon+rev wrote: One thing that stands out (which has been mentioned in previous articles numerous times) is how far behind most Android-based phones are on their OS updates. Three-fourths of android phones are two major versions behind. The main fault lies with the

AW: Windows - Storing data for all users

2012-02-06 Thread Tiemo Hollmann TB
Hi Bob, as far as I can see, the (35) is the all users folder. 35 is just the LC internal code for it. What was ...\all users\... on XP is ...\programdata\... on 7 Tiemo -Ursprüngliche Nachricht- Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- boun...@lists.runrev.com]

AW: OT: windows run as admin what's the difference?

2012-02-06 Thread Tiemo Hollmann TB
Thanks Bob, yes, so far the theory. But I don't find an explanation why e.g. the quicktimeinstaller once needs and once needs not run as admin. Perhaps this is one of the many unexplainable mysteries of windows, which never get solved. Tiemo -Ursprüngliche Nachricht- Von: