Re: What is up with FormattedHeight?
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 contents, notice how the verticle padding changes. This is a function of the font itself and not I believe a problem with LiveCode. See here for a pictorial representation: http://slodive.com/wp-content/uploads/2011/07/helvetica/helvetica-font-download.jpg http://slodive.com/wp-content/uploads/2011/07/helvetica/helvetica-font-download.jpg With Helvetica at 100pt I've found that margins of -5, -20,-5,-20 work well, but only at 100pt. To get a consistent removal of padding for all font sizes ( for one type font) you will need to work out the ratio of the natural padding to the size of the font and calculate and update the margins for each new font size. - Andy Piddock My software never has bugs. It just develops random features. PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode (v1.4.1 released 26/08/2011) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-is-up-with-FormattedHeight-tp4360344p4360697.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ 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/listinfo/use-livecode
Re: What is up with FormattedHeight?
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 regardless of the text size. There is a great deal more information contained in any font than the characters you see on screen. 1234 as you used for your test are all similar height characters, but consider chars like 'Å' and 'g' that need more room to display their information. Each character is sat on a baseline, but has clear space above and below so they are readable when typed into a paragraph, 100 pt type doesn't measure 100 points from the bottom of an individual character to it's the top, but is more often (not always) measured from the top of the highest ascender within the font to the bottom of the lowest descender of all the characters within the font, so you are not seeing the full picture with typing '1234'. Every font has it's own totally unique set of relationships and parameters for baseline, line height, x-height, ascenders, descenders etc. So, as you can probably imagine, any adjustments you make for say Helvetica will be totally different for a font like Brush Script. From my experience of working with type for over 35 years, both off and on computers, I really don't think LiveCode (or any other application) could do what you are asking without first converting the displayed text to a graphic (either vector or bitmap) and then processing the resulting information. Regards, Paul ___ 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/listinfo/use-livecode
Problem with Latin 1 (I think)
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 ___ 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/listinfo/use-livecode
Re: Problem with Latin 1 (I think)
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 -- @param UTF-8 encoded string -- @return decoded content */ function decodeUtf8 pContents local tContents put unidecode(uniencode(pContents,UTF8),english) into tContents if chartonum(the last char of tContents)=10 then delete the last char of tContents return tContents end decodeUtf8 ___ 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/listinfo/use-livecode
Print revBrowser to PDF?
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? Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ 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/listinfo/use-livecode
Re: Problem with Latin 1 (I think)
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 to programmatically determine what is double byte and what is not? Well, if you take a look at the headers from that page, the Content-Type: text/html; charset=UTF-8 Which is specifies exactly how the data will fall: http://en.wikipedia.org/wiki/UTF-8 For regular ascii characters, nothing changes. For the higher ranges, you could have 2 to 4 bytes per character. http://runrev.com/newsletter/december/issue62/newsletter2.php I've not tried it, but I think your solution is something like this: put https://www.googleapis.com/books/ETC; into tURL get url tURL set the unicodeText of field X to uniencode(it,UTF8) 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. Hope that helps. -Ken On 06/02/2012 09:43, Geoff Canyon Rev wrote: 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? ___ 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/listinfo/use-livecode
OT: windows run as admin what's the difference?
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 didn't find yet anybody who could clearly explain to me, WHAT excactly is the difference and when or for what you need it. For example my customers have to install the windows quicktime player as a requirement for my program. In 95% of cases, they just start the installer and everything is fine, but from time to time I get a clean installation of the quicktime player only with run as admin. All cases are standard personal vista or win7 computers with only one (admin-) user configured, so no lack of rights from users side and antivirus guards switched off. I understand that I need the run as option, when I am logged on as non admin, to get the admin rights. But obviously there still is a difference between logged on as admin and logged on as admin + run as admin. And since years I don't understand what different things are going on when installing quicktime as log on + run as admin and why is it installed correctly in all other cases without run as Why does it work one time without and once only with run as admin with the same installer? Can anybody shed some light on this system topic? It is so frustrating to pick in the dark. Thanks Tiemo ___ 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/listinfo/use-livecode
Re: Print revBrowser to PDF?
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 window big enough to handle the whole web page then import a snapshot of that and save it. Then delete the offscreen browser and lastly print to PDF??? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Feb 6, 2012, at 6:03 AM, Scott Rossi wrote: 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? Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
AUTO: Mark Hausmann/jl1 ist außer Haus / out of office (Rückkehr am 07.03.2012)
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 Horst Strohkirch, email: @ horst.strohkirch pdap.de Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht Re: What is up with FormattedHeight? gesendet am 06.02.2012 09:48:30. Diese ist die einzige Benachrichtigung, die Sie empfangen werden, während diese Person abwesend ist. ___ 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/listinfo/use-livecode
RE: windows run as admin what's the difference?
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 rights(say no delete) you will unable to delete the file unless you are logged in as administrator. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Tiemo Hollmann TB Sent: Monday, February 06, 2012 7:59 AM To: 'How to use LiveCode' Subject: OT: windows run as admin what's the difference? 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 didn't find yet anybody who could clearly explain to me, WHAT excactly is the difference and when or for what you need it. For example my customers have to install the windows quicktime player as a requirement for my program. In 95% of cases, they just start the installer and everything is fine, but from time to time I get a clean installation of the quicktime player only with run as admin. All cases are standard personal vista or win7 computers with only one (admin-) user configured, so no lack of rights from users side and antivirus guards switched off. I understand that I need the run as option, when I am logged on as non admin, to get the admin rights. But obviously there still is a difference between logged on as admin and logged on as admin + run as admin. And since years I don't understand what different things are going on when installing quicktime as log on + run as admin and why is it installed correctly in all other cases without run as Why does it work one time without and once only with run as admin with the same installer? Can anybody shed some light on this system topic? It is so frustrating to pick in the dark. Thanks Tiemo ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Windows - Storing data for all users
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 admin rights? A place that is accessible by all users for read and write? All the best, Malte ___ 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/listinfo/use-livecode
AW: Windows - Storing data for all users
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- boun...@lists.runrev.com] Im Auftrag von Malte Brill Gesendet: Montag, 6. Februar 2012 16:23 An: use-livecode@lists.runrev.com Betreff: Windows - Storing data for all users 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 admin rights? A place that is accessible by all users for read and write? All the best, Malte ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
AW: windows run as admin what's the difference?
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 sometimes different. It is always the same installer with same files to be installed and the users are always logged in as a user belonging to the administrator group. Tiemo -Ursprüngliche Nachricht- Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- boun...@lists.runrev.com] Im Auftrag von Ralph DiMola Gesendet: Montag, 6. Februar 2012 16:07 An: 'How to use LiveCode' Betreff: RE: windows run as admin what's the difference? 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 rights(say no delete) you will unable to delete the file unless you are logged in as administrator. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net ___ 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/listinfo/use-livecode
Re: windows run as admin what's the difference?
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 the app? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 6 feb 2012, at 16:06, Ralph DiMola wrote: 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 rights(say no delete) you will unable to delete the file unless you are logged in as administrator. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net ___ 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/listinfo/use-livecode
Re: Windows - Storing data for all users
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 restrict this to admins only. *sigh* Well, that leaves me to check the result after the write operation and prompt that they need admin rights to store the preferences, which is not much of a problem, as the admin should make these settings anyway. Does anyone happen to know if we can ask for admin permissions on Windows from within the liveCode app though? (Not permanently, but for a set of operations only). Thanks again, Malte ___ 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/listinfo/use-livecode
Re: Problem with Latin 1 (I think)
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 encode the characters that are already encoded? If that's the case, why isn't the decode function smart enough to only decode the characters that need it? Or am I completely misunderstanding? ... put unidecode(uniencode(pContents,UTF8),english) It is confusing - and unfortunately the unixxcode stuff is still a bit underspecified. Essentially the way to convert between character sets is via Unicode (back in the hypercard days I had an external for this job, called viaUnicode). In an ideal world there might be a single function convertCharset, which takes some text, a source character encoding and a destination character encoding. For historical reasons, LiveCode instead has two functions, one that converts text from (some encoding) into Unicode; and from Unicode into (some encoding). The former is called uniEncode (because it encodes text as Unicode); the latter uniDecode. So Malte's statement above converts pContents from UTF8 to Unicode; then passes that as the first parameter to uniDecode, to be converted from Unicode to... english. It's at that last point that I say WTF?. What character encoding is english, FFS? (I tend to find dealing with character encoding issues makes me swear a lot.) The answer in the curious world of MetaCard was that on a Mac, english meant the MacRoman character set. On Windows it meant, I think, Windows Latin 1, although it might be ISO-8859-1, which is almost the same but not quite. However this is really unhelpful, because very often I know that my source encoding is, and it may not be related to the platform my app happens to be running on right now. And there are a world of other character encodings out there, which I'd like to be able to address directly. So I and others have long hoped that the modern world of LiveCode would be able, in this respect, to move beyond the curious world of MetaCard. Hence... http://quality.runrev.com/show_bug.cgi?id=3674 Ben ___ 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/listinfo/use-livecode
RE: windows run as admin what's the difference?
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 file manually and do anything they want, but then user abc will see that they no longer own the file. User abc now knows that the sys admin (anyone with admin privs) has diddled their file. User abc can tell who did this by checking the ownership of the file. This is so user ABC can keep a file protected. As long as they don't give out their password it either remains protected or a sys admin has taken ownership. If you don't check your privs and ownerships of sensitive files now and then, a sys admin could take ownership give you back the privs you need to access it and you would never know the difference. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mark Schonewille Sent: Monday, February 06, 2012 10:46 AM To: How to use LiveCode Subject: Re: windows run as admin what's the difference? 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 the app? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 6 feb 2012, at 16:06, Ralph DiMola wrote: 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 rights(say no delete) you will unable to delete the file unless you are logged in as administrator. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Clarify Article in Macworld
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 preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Clarify Article in Macworld
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 subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: What is up with FormattedHeight?
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. There needs to be room for the height of the ascender the body, the tail and the leading. The sum of all that is the formatted height. Bob On Feb 5, 2012, at 7:30 PM, Howard Bornstein wrote: I need to find the smallest rectangle that will enclose a line of text of arbitrary text size in a field. I thought I could use formattedheight and formattedwidth to do this but it doesn't seem to be working. The dictionary says about FormattedHeight: Use the *formattedHeight* property to determine how much vertical space an object needs. The *formattedHeight* of a chunk in a field is the amount of vertical space that portion of the field's text requires That's not what I get. If you'd like to follow along at home, here are some simple steps to show what I mean: Create a field in LC. set the showborder to true Set the border to 1 (this is only to show what LC thinks is the boundary of the field) Set the 3D to false set the margins to 0,0,0,0 Set the fixedlineheight to off Set the textfont to Helvetica Set the textsize to 100 Type in the following into the field 1234 Go to the size and positioning tab of the object inspector and click both Fit Content buttons for width and height. I would have expected the border to tighten down to include the text and no more. But instead, look at all that space at the top—and a fair amount of space at the bottom. Why is that space considered part of the height of the text? I can gain what I want by manually adjusting a number of properties. If I use the fixed line height property, I get a little more control, although, as far as I can tell, formattedheight should work without it, but it doesn't. If I turn on the fixed line height (i.e. the textheight property) in the inspector (with the configuration I described above), it is automatically set to a text height of 93 and the text jumps up to the top of the bounding box (I've got nice screen shots of all this but I seem to remember that we're not supposed to use attachments or images on this list). If I click Fit Content for height at this point, the box closes down and gets rid of some, but not all, of the space at the bottom. If I adjust the field height value to 73, I can finally get the bounding box to match the height of the text. This is what I am looking for. I am trying to figure out the relationship of settings which will always produce a bounding box with this level of tightness for any size text (I am ignoring the extra space on the left of the field for now). I need to be able to do this under script control. If I go through the same exercise but set the text size to 200 points, I can again adjust things so that the bounding box only encloses the text with no additional space, but I can't find any clear relationship between the settings for 100 points and 200 points. So my questions are these: 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 regardless of the text size. Please let me know if I'm totally missing the point about formattedHeight or if there is something else obvious that has eluded me. -- Regards, Howard Bornstein --- www.designeq.com ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: Clarify Article in Macworld
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 kl...@major.on-rev.com ___ 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/listinfo/use-livecode
Re: Windows - Storing data for all users
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, Malte Brill wrote: 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 admin rights? A place that is accessible by all users for read and write? All the best, Malte ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: Problem with Latin 1 (I think)
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 door will convert Chinese to Euros but nothing to US. The solution? Go next door and convert your Chinese currency to Euros, then come back and convert all your Euros to US dollars. 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 back to the single byte equivalents of the language you specify. It's kind of like that (I think). Bob On Feb 6, 2012, at 8:21 AM, 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 encode the characters that are already encoded? If that's the case, why isn't the decode function smart enough to only decode the characters that need it? Or am I completely misunderstanding? thanks for the solution in any case. gc On Mon, Feb 6, 2012 at 3:51 AM, Malte Brill revolut...@derbrill.de wrote: put unidecode(uniencode(pContents,UTF8),english) ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: OT: windows run as admin what's the difference?
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 credentials of an administrator are entered, a SECOND SESSION is created transparently just for that process (and all child processes it spawns). That second session is a super user, but only for the process it was authorized for. At least that was how it was explained to me. I disable UAC on all my Vista/Win7 installs because it makes remote administration virtually impossible on some processes, specifically sessions without a terminal. There is no user interface within which to present a UAC prompt so the session silently fails. There are probably ways to do it, but it's too much of a hassle for me and we do not require that level of security. Bob On Feb 6, 2012, at 4:58 AM, Tiemo Hollmann TB wrote: 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 didn't find yet anybody who could clearly explain to me, WHAT excactly is the difference and when or for what you need it. For example my customers have to install the windows quicktime player as a requirement for my program. In 95% of cases, they just start the installer and everything is fine, but from time to time I get a clean installation of the quicktime player only with run as admin. All cases are standard personal vista or win7 computers with only one (admin-) user configured, so no lack of rights from users side and antivirus guards switched off. I understand that I need the run as option, when I am logged on as non admin, to get the admin rights. But obviously there still is a difference between logged on as admin and logged on as admin + run as admin. And since years I don't understand what different things are going on when installing quicktime as log on + run as admin and why is it installed correctly in all other cases without run as Why does it work one time without and once only with run as admin with the same installer? Can anybody shed some light on this system topic? It is so frustrating to pick in the dark. Thanks Tiemo ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: Clarify Article in Macworld
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 watch for line breaks Bob On Feb 6, 2012, at 9:13 AM, Klaus on-rev wrote: 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 kl...@major.on-rev.com ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: Problem with Latin 1 (I think)
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 back to the single byte equivalents of the language you specify. That's a pretty good analogy. The missing bit of info, I think, is that LiveCode unicode isn't standard, it's a combination of single and double-byte characters. So we need to convert the text twice, once to get it into LiveCode's non-standard form and then again to convert it to display in a field. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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/listinfo/use-livecode
Re: Problem with Latin 1 (I think)
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 length(theUniTest) into theMultiCount put theSingleCount cr theMultiCount produces this result: 4 8 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 assumes everything in the second argument is multibyte. Bob On Feb 6, 2012, at 9:47 AM, J. Landman Gay wrote: 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 back to the single byte equivalents of the language you specify. That's a pretty good analogy. The missing bit of info, I think, is that LiveCode unicode isn't standard, it's a combination of single and double-byte characters. So we need to convert the text twice, once to get it into LiveCode's non-standard form and then again to convert it to display in a field. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Looking for an icon designer
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 ___ 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/listinfo/use-livecode
Re: Looking for an icon designer
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 Application icon in the standalone settings. Thanks, ___ 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/listinfo/use-livecode
Re: Problem with Latin 1 (I think)
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 assumes everything in the second argument is multibyte. Yes, you're right. My explanation was backwards. The main point is basically that LiveCode unicode isn't completely double-byte. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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/listinfo/use-livecode
Re: Looking for an icon designer
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: 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 ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: Looking for an icon designer
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/ 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 Application icon in the standalone settings. Thanks, ___ 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/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ 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/listinfo/use-livecode
Re: Problem with Latin 1 (I think)
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 figuring out that the text is actually UTF8 encoded grin. But assuming it is, something like: put unidecode(uniencode(theText,utf8)) into theCleanText should work... Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ 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/listinfo/use-livecode
Re: Looking for an icon designer
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 Wilkinspepe...@cox.net wrote: ___ 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/listinfo/use-livecode
Re: Looking for an icon designer
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 can assemble into interesting configurations. The icon for StackRunner (http://www.sonsothunder.com/devres/revolution/downloads/images/StackRunner_icon.png) was created that way… Just one more idea for the hopper... Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ 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/listinfo/use-livecode
Datagrid dgNumberOfRecords
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 table by the way. Thanks, -- Pete Molly's Revenge http://www.mollysrevenge.com ___ 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/listinfo/use-livecode
Re: Looking for an icon designer
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 work is I've used Axialis IconWorkshop to create icons - they give you packs of icon parts that you can assemble into interesting configurations. The icon for StackRunner (http://www.sonsothunder.com/devres/revolution/downloads/images/StackRunner_icon.png) was created that way… Just one more idea for the hopper... Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: Looking for an icon designer
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 -37~!!! One thing that can work is I've used Axialis IconWorkshop to create icons - they give you packs of icon parts that you can assemble into interesting configurations. The icon for StackRunner ( http://www.sonsothunder.com/devres/revolution/downloads/images/StackRunner_icon.png) was created that way… Just one more idea for the hopper... Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ 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/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ 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/listinfo/use-livecode
Re: Looking for an icon designer
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 to create icons - they give you packs of icon parts that you can assemble into interesting configurations. ___ 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/listinfo/use-livecode
Re: Datagrid dgNumberOfRecords
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 one time. Bob On Feb 6, 2012, at 11:43 AM, Pete wrote: 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 table by the way. Thanks, -- Pete Molly's Revenge http://www.mollysrevenge.com ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
standalone size
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 PCs. But that shouldn't cause the difference, should it?) Thanks. ___ 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/listinfo/use-livecode
Re: Looking for an icon designer
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 creates icons for Mac, WIndows, iOS, Android, and Linux, and also has a great icon editor and can import/export images in multiple formats and maintain your own libraries of icon families… I'm generally a Mac guy, but for icon manipulation, I always go to IconWorkshop… :D Maybe you could run it under Boot Camp or Parallels/VMWare Fusion? Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ 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/listinfo/use-livecode
Re: Datagrid dgNumberOfRecords
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 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 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 one time. Bob On Feb 6, 2012, at 11:43 AM, Pete wrote: 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 table by the way. Thanks, -- Pete Molly's Revenge http://www.mollysrevenge.com ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ 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/listinfo/use-livecode
Re: standalone size
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 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 PCs. But that shouldn't cause the difference, should it?) Thanks. ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: standalone size
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 wrote: 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 PCs. But that shouldn't cause the difference, should it?) Thanks. ___ 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/listinfo/use-livecode -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ 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/listinfo/use-livecode
Re: Looking for an icon designer
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 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 to create icons - they give you packs of icon parts that you can assemble into interesting configurations. ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: Clarify Article in Macworld
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 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 watch for line breaks Bob On Feb 6, 2012, at 9:13 AM, Klaus on-rev wrote: 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 kl...@major.on-rev.com ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ 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/listinfo/use-livecode
Re: Datagrid dgNumberOfRecords
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 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 one time. Bob On Feb 6, 2012, at 11:43 AM, Pete wrote: 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 table by the way. Thanks, -- Pete Molly's Revenge http://www.mollysrevenge.com ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ 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/listinfo/use-livecode
Re: Looking for an icon designer
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, but the app only works in Windows. Sorry about that, Bob - yes, it is Windows only but it creates icons for Mac, WIndows, iOS, Android, and Linux, and also has a great icon editor and can import/export images in multiple formats and maintain your own libraries of icon families… I'm generally a Mac guy, but for icon manipulation, I always go to IconWorkshop… :D Maybe you could run it under Boot Camp or Parallels/VMWare Fusion? Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: Datagrid dgNumberOfRecords
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 first kind. The reservation data is of the second. At some point I am going to have to update my methods to account for this. Bob On Feb 6, 2012, at 12:41 PM, Pete wrote: 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 ___ 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/listinfo/use-livecode
Re: Livecode handling of directories with non-ascii (?) characters.
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 file (line whatever of it) and I get a doesn't exist if line whatever of its contains a violater character in the file name. This happens with me for all Czech characters in the high ASCII range, and I have no workaround, either through terminal or through native LC. I am on Windows, not MacOS. It was a deal-breaker on an app I was developing a couple years back. -- I'm not sure if this is a LC question, or an OSX question, or a unicode question, or ... or what. I have a folder with funny characters (:-) in its name, and that seems to cause a problem in LC. ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Re: Looking for an icon designer
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 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 ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode
Android stats
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 ___ 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/listinfo/use-livecode
Re: Android stats
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 contract. So, by making Android 2.1 device available for USD 200, the carriers make sure they reach what we call class C and D, class A is rich, class B is middle. Remember that Brazil has the most wide spread usage of mobile phones in the whole world. Homeless people here living on the slums have cell phones. iPhones sell like hot cakes and they are more expensive than laptops. Android is more popular than iPhones, mostly because there are cheap Android availables. On Mon, Feb 6, 2012 at 8:56 PM, J. Landman Gay jac...@hyperactivesw.com wrote: 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 ___ 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/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ 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/listinfo/use-livecode
(OT) Re: Android stats
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 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 contract. So, by making Android 2.1 device available for USD 200, the carriers make sure they reach what we call class C and D, class A is rich, class B is middle. Remember that Brazil has the most wide spread usage of mobile phones in the whole world. Homeless people here living on the slums have cell phones. iPhones sell like hot cakes and they are more expensive than laptops. Android is more popular than iPhones, mostly because there are cheap Android availables. On Mon, Feb 6, 2012 at 8:56 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Some info on current Android OS and usage statistics: http://androidcommunity.com/gingerbread-runs-on-73-of-android-devices-says-reseacher-20120201/ ___ 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/listinfo/use-livecode
Re: (OT) Re: Android stats
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 taxes, about 60%.for imported eletronics. The Brazilian IRS takes about 30% of my income. we have free schools and free healthcare. But people from Class B and up will have private healthcare plans and will go to private high schools because they are better. Public university is better than private one. The whole country takes exams once a year to qualify for entrance, it is very difficult. On Mon, Feb 6, 2012 at 9:30 PM, Joe Lewis Wilkins pepe...@cox.net wrote: 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 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 contract. So, by making Android 2.1 device available for USD 200, the carriers make sure they reach what we call class C and D, class A is rich, class B is middle. Remember that Brazil has the most wide spread usage of mobile phones in the whole world. Homeless people here living on the slums have cell phones. iPhones sell like hot cakes and they are more expensive than laptops. Android is more popular than iPhones, mostly because there are cheap Android availables. On Mon, Feb 6, 2012 at 8:56 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Some info on current Android OS and usage statistics: http://androidcommunity.com/gingerbread-runs-on-73-of-android-devices-says-reseacher-20120201/ ___ 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/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ 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/listinfo/use-livecode
Re: (OT) Re: Android stats
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 clout? I suspect not. My apologies to the list for not taking this off-line, but I thought others might be similarly curious. Please don't extend this thread any longer on the list. Thanks, Joe Wilkins On Feb 6, 2012, at 5:30 PM, Andre Garzia wrote: 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 taxes, about 60%.for imported eletronics. The Brazilian IRS takes about 30% of my income. we have free schools and free healthcare. But people from Class B and up will have private healthcare plans and will go to private high schools because they are better. Public university is better than private one. The whole country takes exams once a year to qualify for entrance, it is very difficult. On Mon, Feb 6, 2012 at 9:30 PM, Joe Lewis Wilkins pepe...@cox.net wrote: 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 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 contract. So, by making Android 2.1 device available for USD 200, the carriers make sure they reach what we call class C and D, class A is rich, class B is middle. Remember that Brazil has the most wide spread usage of mobile phones in the whole world. Homeless people here living on the slums have cell phones. iPhones sell like hot cakes and they are more expensive than laptops. Android is more popular than iPhones, mostly because there are cheap Android availables. On Mon, Feb 6, 2012 at 8:56 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Some info on current Android OS and usage statistics: http://androidcommunity.com/gingerbread-runs-on-73-of-android-devices-says-reseacher-20120201/ ___ 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/listinfo/use-livecode
Re: Android stats
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 bother to update their customizations. By comparison, the last time I read about this, the number of iPhones on the latest OS version was over 95%. Sent from my iPad On Feb 6, 2012, at 4:56 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Some info on current Android OS and usage statistics: http://androidcommunity.com/gingerbread-runs-on-73-of-android-devices-says-reseacher-20120201/ ___ 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/listinfo/use-livecode
Video on Linux (again)
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 on Linux? Are you able to do it at all? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ 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/listinfo/use-livecode
Re: Video on Linux (again)
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 to mplayer, smplayer, and vlc. How are you playing videos on Linux? Are you able to do it at all? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv Are videos playing for you OUTSIDE of LiveCode (with mPlayer or VLC)? If not, you probably don't have the non-free codecs installed. ˜Roger ___ 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/listinfo/use-livecode
Re: Video on Linux (again)
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 video if I turn off window effects before launching Livecode. It renders normally with full opacity. Once launched, I can turn window effects back on and video is still normal. Toggling window effects after launch has no effect on the video, either way. Mint 9 in VirtualBox, running without window effects, videoclips behave as above above. Video playback using a player is fine. When I ran Mint 10 with Compiz, I got the same transparent masking effect you have described seeing under Ubuntu. Warren ___ 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/listinfo/use-livecode
Re: Android stats
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 carriers, who customize Android and don't bother to update their customizations. By comparison, the last time I read about this, the number of iPhones on the latest OS version was over 95%. Very true, and I don't see much hope for improvement. On the other hand, it's pretty much expected you'll jailbreak an Android tablet so people update that way. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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/listinfo/use-livecode
AW: Windows - Storing data for all users
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] Im Auftrag von Bob Sneidar Gesendet: Montag, 6. Februar 2012 18:20 An: How to use LiveCode Betreff: Re: Windows - Storing data for all users 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 ___ 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/listinfo/use-livecode
AW: OT: windows run as admin what's the difference?
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: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- boun...@lists.runrev.com] Im Auftrag von Bob Sneidar Gesendet: Montag, 6. Februar 2012 18:40 An: How to use LiveCode Betreff: Re: OT: windows run as admin what's the difference? 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 credentials of an administrator are entered, a SECOND SESSION is created transparently just for that process (and all child processes it spawns). That second session is a super user, but only for the process it was authorized for. At least that was how it was explained to me. I disable UAC on all my Vista/Win7 installs because it makes remote administration virtually impossible on some processes, specifically sessions without a terminal. There is no user interface within which to present a UAC prompt so the session silently fails. There are probably ways to do it, but it's too much of a hassle for me and we do not require that level of security. Bob On Feb 6, 2012, at 4:58 AM, Tiemo Hollmann TB wrote: 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 didn't find yet anybody who could clearly explain to me, WHAT excactly is the difference and when or for what you need it. For example my customers have to install the windows quicktime player as a requirement for my program. In 95% of cases, they just start the installer and everything is fine, but from time to time I get a clean installation of the quicktime player only with run as admin. All cases are standard personal vista or win7 computers with only one (admin-) user configured, so no lack of rights from users side and antivirus guards switched off. I understand that I need the run as option, when I am logged on as non admin, to get the admin rights. But obviously there still is a difference between logged on as admin and logged on as admin + run as admin. And since years I don't understand what different things are going on when installing quicktime as log on + run as admin and why is it installed correctly in all other cases without run as Why does it work one time without and once only with run as admin with the same installer? Can anybody shed some light on this system topic? It is so frustrating to pick in the dark. Thanks Tiemo ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode ___ 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/listinfo/use-livecode