Re: Bug in custom fonts on iOS?
Doing a 'Get Info' for those fonts, they all come up with names like this: Myriad Pro-Cond Myriad Pro-Bold Myriad Pro-Italic etc... Using my calibrated eye, the hyphen between 'Myriad Pro' and 'Cond' looks like an em-dash. Could that break things? Has anyone else seen this problem? (bonus: anyone have a work around?) It's not a bug, technically, but an idiosyncracy of working with mobile - this is referenced loosely in the iOS Deployment Release Notes (page 13), but here's the skinny: Fonts are assigned using the internal font name of a specific weight of a font (like AmericanTypewriter-CondensedLight), but that is not in the fontNames; it's in the fontStyles for a specific font, so to verify that you are setting a font properly, you have to check the fontStyles of every font. For example, you can set the textFont of a field in the IDE to Palatino, but when you move the app to iOS, the textFont of the field is actually Palatino-Roman, which is one of the fontStyles of the Palatino font. So for your app, if you want to display the different weights of the font, on iOS you'd say: put the fontStyles(Myriad Pro,0) into tFontWeights … which would give you back Myriad Pro-Cond, Myriad Pro-Bold, etc. What I've done for my application is to create a lookup table that I store in a custom property of my stack that maps these weights to names I want to have appear in a font menu. So for example, you could have: Myriad Pro-Cond = Myriad Pro Condensed Myriad Pro-Bold = Myriad Pro Bold (etc.) and then when someone picks Myriad Pro Condensed from the font menu, you do the lookup, find out that the weight is actually Myriad Pro-Cond and execute: set the textfont of whatever to Myriad Pro-Cond A pain, but it works… 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
Specify file download path with irev/revignitor
Hi, Have wasted enough hours -- time to ask the pros on the list! We are passing out free, promotional MP3 players to our customers. Weekly, they will be allowed to download from our web site (hosted at on-rev.com) new free mp3 files not available to the general public. Want customers/users of our web page to be able to click one button to download a set of files to specific folder -- the mp3 player, for which we know the volume name (set up before sending out the players). Want to check for the volume's existence (player is/is not mounted on computer) and then download the list of mp3s to it, failing with an error message if the player is full. I can get the files to download, but only to the download folder specified by the browser. 1) How can I set the path for the download using 'raw' irev/lc scripting, or revigniter? 2) How can I first check for existence of volume? 3) (Bonus points!) How can I erase files off the volume/players? (Of course only erasing files gotten from us -- known filenames -- and with their permission.) Any help appreciated. Tim Selander Tokyo, Japan ___ 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
LC 5.5 GM2 and trouble with standalone settings
Hi there, I was very happy RR announced support for LC 5.1 so I bought my upgrade last night. I installed it, pointed the new Xcode 4.3.1 app to the developer root and so far so good. I opened a stack and checked the standalone settings for iOS and noticed the new layout. But I think there is something wrong with it. My settings are lost every time I close and save my stack and reopen it. Everytime it opens with the default settings. It also occurs to me that the screen is to small. So I have it to drag it bigger to see all the settings. And the biggest trouble s that it doesn't show my Profiles. Only the standard iOS Team provisioning Profile is visible. I anyone else having the same problem? Am I missing something? I use OSX 10.7.3 with LC 5.5 GM2 When I use LC 5.02 with the old Xcode 4.2 and the old location of the Developer root everything works fine (except the support for iOS 5.1) greetings, William ___ 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: Translation s'il vous plait/por favor :-)
Francis, There are a lot of french in the list! Y am not fluent in English, and if I need to translate a sentence from French to English, I'll ask to the list. And Ill very happy if you help me. Jacques Clavel 2012/3/23 Bob Sneidar b...@twft.com In the words of Google, Telle est la langue. Bob On Mar 23, 2012, at 6:24 AM, Francis Nugent Dixon wrote: Hi from Beautiful Brittany, Klaus, I would hate to be pedantic, but I can't miss adding my 2 cents. Dictionnaries exist to clearly define the meaning of a word or phrase in another language. But the translations, based upon the etymology of the terms in these languages are often betrayed by the personal interpretations of the users. If we can try and forget the environment of our computer translation (files, folders, disk drives, et tutti quanti), we can try to home in on best best translation available for a specific language. The French language (to my knowledge) lacks the precise equivalent of the English into (which means from the outside of ... to the inside of ...). So may we fall into the trap of personal interpretation ! The French a denotes location only, but gives little information concerning the direction, and even less about the subtleties of inside or outside. I find it to be the worst possible translation. The French dans means in or at best inside, and has no implication of the 'into I show above. However, I find it a better solution than a. The French sur implies lying on top of and certainly does not imply inside. Much depends on the personal interpretation. As a long-standing nit-picker I would never use this. The French vers means in the direction of, which I find to be acceptable in the translation you request, because it simply skips over the notion inside, (but nevertheless implies it (The idea of copying a file to the outside of a folder would be nonsense !). But then again, this can be personal interpretation. These comments in no way undermine the scope of the French language, which can be so powerful in many areas. .. et a la fin de l'envoi, je touche .! (French Fencing term) -Francis ___ 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
Re: Tools for creating a help file
Hi Pete, Am 24.03.2012 um 01:36 schrieb Pete: Hi Klaus, Haven't used revBrowser before but I got the example from runrev's web site at http://lessons.runrev.com/s/lessons/m/4071/l/15963-how-do-i-display-a-pdf-in-rev However, nothing displays in the browser image no matter what pdf file I select. Also tried it with a straightforward http:// url and nothing displayed. Any tips on how to get this to work? I think you need to add file:// at the beginning of the url which is missing in that tutorial. Try this slightly modified mouseup script from the example mentioned above: ... on mouseUp local tFile answer file Please choose the file you would like to display with type PDF document|pdf|PDF if it is not empty then put it into tFile ##!!! replace with %20 in tFile put file:// before tFile ## !!! browserSetURL tFile end if end mouseUp Tested on my Mac and works :-) Pete 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
Can I use grouped objects as an icon button?
Hi there, In LC I grouped several objects to make an image. I used the line and rectangle tools for this. Is it possible to use this 'image' (or grouped objects) as an icon button? greetings, William ___ 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: Bug in custom fonts on iOS?
Ken, Very nice explanation and solution for dealing with the fontStyles and textFont. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 24, 2012, at 2:00 AM, Ken Ray wrote: Doing a 'Get Info' for those fonts, they all come up with names like this: Myriad Pro-Cond Myriad Pro-Bold Myriad Pro-Italic etc... Using my calibrated eye, the hyphen between 'Myriad Pro' and 'Cond' looks like an em-dash. Could that break things? Has anyone else seen this problem? (bonus: anyone have a work around?) It's not a bug, technically, but an idiosyncracy of working with mobile - this is referenced loosely in the iOS Deployment Release Notes (page 13), but here's the skinny: Fonts are assigned using the internal font name of a specific weight of a font (like AmericanTypewriter-CondensedLight), but that is not in the fontNames; it's in the fontStyles for a specific font, so to verify that you are setting a font properly, you have to check the fontStyles of every font. For example, you can set the textFont of a field in the IDE to Palatino, but when you move the app to iOS, the textFont of the field is actually Palatino-Roman, which is one of the fontStyles of the Palatino font. So for your app, if you want to display the different weights of the font, on iOS you'd say: put the fontStyles(Myriad Pro,0) into tFontWeights … which would give you back Myriad Pro-Cond, Myriad Pro-Bold, etc. What I've done for my application is to create a lookup table that I store in a custom property of my stack that maps these weights to names I want to have appear in a font menu. So for example, you could have: Myriad Pro-Cond = Myriad Pro Condensed Myriad Pro-Bold = Myriad Pro Bold (etc.) and then when someone picks Myriad Pro Condensed from the font menu, you do the lookup, find out that the weight is actually Myriad Pro-Cond and execute: set the textfont of whatever to Myriad Pro-Cond A pain, but it works… 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: Can I use grouped objects as an icon button?
On 03/24/2012 05:50 PM, William de Smet wrote: Hi there, In LC I grouped several objects to make an image. I used the line and rectangle tools for this. Is it possible to use this 'image' (or grouped objects) as an icon button? I'm not quite sure what you mean by an icon button. You can use an image or a group as a button; in fact I almost never use buttons as buttons; much preferring to use images so I can guarantee they look the same across different systems and computers. After all, you can have a script: on mouseUp put This works! end mouseUp in a group just as well as you can in a button. greetings, William ___ 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: LC 5.5 GM2 and trouble with standalone settings
William, All except the saving of settings is happening here. When I make a change in the standalone settings it stays between closing and opening of my stack. But the window not being sized correctly to handle the contents of the iOS settings and the missing Profiles is a problem. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 24, 2012, at 6:00 AM, William de Smet wrote: Hi there, I was very happy RR announced support for LC 5.1 so I bought my upgrade last night. I installed it, pointed the new Xcode 4.3.1 app to the developer root and so far so good. I opened a stack and checked the standalone settings for iOS and noticed the new layout. But I think there is something wrong with it. My settings are lost every time I close and save my stack and reopen it. Everytime it opens with the default settings. It also occurs to me that the screen is to small. So I have it to drag it bigger to see all the settings. And the biggest trouble s that it doesn't show my Profiles. Only the standard iOS Team provisioning Profile is visible. I anyone else having the same problem? Am I missing something? I use OSX 10.7.3 with LC 5.5 GM2 When I use LC 5.02 with the old Xcode 4.2 and the old location of the Developer root everything works fine (except the support for iOS 5.1) greetings, William ___ 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: Can I use grouped objects as an icon button?
Hi Richmond, I should read my own question better :-) I meant button icon. I know you can set an image as a button icon and that is what I do all the time. I use a card for all my images and call them with their ID in buttons. But with the resolution change for the new iPad and different screen sizes of Android systems I am looking for a way to 'easy' resize my button icons/images. groeten, William 2012/3/24 Richmond richmondmathew...@gmail.com: On 03/24/2012 05:50 PM, William de Smet wrote: Hi there, In LC I grouped several objects to make an image. I used the line and rectangle tools for this. Is it possible to use this 'image' (or grouped objects) as an icon button? I'm not quite sure what you mean by an icon button. You can use an image or a group as a button; in fact I almost never use buttons as buttons; much preferring to use images so I can guarantee they look the same across different systems and computers. After all, you can have a script: on mouseUp put This works! end mouseUp in a group just as well as you can in a button. greetings, William ___ 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
Re: Can I use grouped objects as an icon button?
I think there needs to be a profile like the Master Profiles but for graphics for buttons and font sizes for fields and buttons so that if my geometry changes like for a retina screen then LC can change the image used for each button to the hi-res version. I am doing this manually now but is a pain. At this point I don't think there is an 'easy' way yet. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 24, 2012, at 12:05 PM, William de Smet wrote: Hi Richmond, I should read my own question better :-) I meant button icon. I know you can set an image as a button icon and that is what I do all the time. I use a card for all my images and call them with their ID in buttons. But with the resolution change for the new iPad and different screen sizes of Android systems I am looking for a way to 'easy' resize my button icons/images. groeten, William 2012/3/24 Richmond richmondmathew...@gmail.com: On 03/24/2012 05:50 PM, William de Smet wrote: Hi there, In LC I grouped several objects to make an image. I used the line and rectangle tools for this. Is it possible to use this 'image' (or grouped objects) as an icon button? I'm not quite sure what you mean by an icon button. You can use an image or a group as a button; in fact I almost never use buttons as buttons; much preferring to use images so I can guarantee they look the same across different systems and computers. After all, you can have a script: on mouseUp put This works! end mouseUp in a group just as well as you can in a button. greetings, William ___ 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 ___ 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: LC 5.5 GM2 and trouble with standalone settings
@Thomas: Thanks for your reply! Now I can stop pulling my hear out. RR was to fast with their 'Stop Press Announcement'! greetings, William 2012/3/24 Thomas McGrath III mcgra...@mac.com: William, All except the saving of settings is happening here. When I make a change in the standalone settings it stays between closing and opening of my stack. But the window not being sized correctly to handle the contents of the iOS settings and the missing Profiles is a problem. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 24, 2012, at 6:00 AM, William de Smet wrote: Hi there, I was very happy RR announced support for LC 5.1 so I bought my upgrade last night. I installed it, pointed the new Xcode 4.3.1 app to the developer root and so far so good. I opened a stack and checked the standalone settings for iOS and noticed the new layout. But I think there is something wrong with it. My settings are lost every time I close and save my stack and reopen it. Everytime it opens with the default settings. It also occurs to me that the screen is to small. So I have it to drag it bigger to see all the settings. And the biggest trouble s that it doesn't show my Profiles. Only the standard iOS Team provisioning Profile is visible. I anyone else having the same problem? Am I missing something? I use OSX 10.7.3 with LC 5.5 GM2 When I use LC 5.02 with the old Xcode 4.2 and the old location of the Developer root everything works fine (except the support for iOS 5.1) greetings, William ___ 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
Re: Can I use grouped objects as an icon button?
Dag Willem, Am 24.03.2012 um 17:05 schrieb William de Smet: Hi Richmond, I should read my own question better :-) I meant button icon. I know you can set an image as a button icon and that is what I do all the time. I use a card for all my images and call them with their ID in buttons. But with the resolution change for the new iPad and different screen sizes of Android systems I am looking for a way to 'easy' resize my button icons/images. No you always need an image as an icon for buttons! But you could create a snapshot of that group on the fly and use that as an icon! ... lock screen import snapshot from rect(the rect of grp DRAW fake) of grp DRAW fake put the id of last img into tNewIcon hide last img set the icon of btn your button here... to tNewIcon unlock screen ... groeten, William Groetjes 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: LC 5.5 GM2 and trouble with standalone settings
Yeah, Obleo mentioned that since it is the weekend we have to wait till Monday for RR to pick up on the problem. Still it is nice to be able to test using the team profile in the iOS 5.1 simulator and to test on the iPad 3. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 24, 2012, at 12:14 PM, William de Smet wrote: @Thomas: Thanks for your reply! Now I can stop pulling my hear out. RR was to fast with their 'Stop Press Announcement'! greetings, William 2012/3/24 Thomas McGrath III mcgra...@mac.com: William, All except the saving of settings is happening here. When I make a change in the standalone settings it stays between closing and opening of my stack. But the window not being sized correctly to handle the contents of the iOS settings and the missing Profiles is a problem. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 24, 2012, at 6:00 AM, William de Smet wrote: Hi there, I was very happy RR announced support for LC 5.1 so I bought my upgrade last night. I installed it, pointed the new Xcode 4.3.1 app to the developer root and so far so good. I opened a stack and checked the standalone settings for iOS and noticed the new layout. But I think there is something wrong with it. My settings are lost every time I close and save my stack and reopen it. Everytime it opens with the default settings. It also occurs to me that the screen is to small. So I have it to drag it bigger to see all the settings. And the biggest trouble s that it doesn't show my Profiles. Only the standard iOS Team provisioning Profile is visible. I anyone else having the same problem? Am I missing something? I use OSX 10.7.3 with LC 5.5 GM2 When I use LC 5.02 with the old Xcode 4.2 and the old location of the Developer root everything works fine (except the support for iOS 5.1) greetings, William ___ 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 ___ 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: Can I use grouped objects as an icon button?
@Klaus: Thanks, this works great! greetings, William 2012/3/24 Klaus on-rev kl...@major.on-rev.com: Dag Willem, Am 24.03.2012 um 17:05 schrieb William de Smet: Hi Richmond, I should read my own question better :-) I meant button icon. I know you can set an image as a button icon and that is what I do all the time. I use a card for all my images and call them with their ID in buttons. But with the resolution change for the new iPad and different screen sizes of Android systems I am looking for a way to 'easy' resize my button icons/images. No you always need an image as an icon for buttons! But you could create a snapshot of that group on the fly and use that as an icon! ... lock screen import snapshot from rect(the rect of grp DRAW fake) of grp DRAW fake put the id of last img into tNewIcon hide last img set the icon of btn your button here... to tNewIcon unlock screen ... groeten, William Groetjes 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: Specify file download path with irev/revignitor
not clear about your methodology on the download.. you might need to set the defaultFolder are use using RevBrowser in some way or is this a LC client app on the client and RevIgniter on the host? anyway for detection of a folder on the client machine (from the docs) if there is a folder [filepath] then go card ID 3445 The folderPath specifies the name and location glossary/f/200.xml of a folder dictionary/property/1981.xml you want to check. If you specify a name but not a location, LiveCode looks for the folderdictionary/property/1981.xmlin the defaultFolder dictionary/property/1981.xml. Delete works the same way: delete file My Test.rev the defaultFolder works for this command too. Errors should be in the result - this deletes immediately, and file is not put into the trash. On 24 March 2012 00:29, Tim Selander selan...@tkf.att.ne.jp wrote: Hi, Have wasted enough hours -- time to ask the pros on the list! We are passing out free, promotional MP3 players to our customers. Weekly, they will be allowed to download from our web site (hosted at on-rev.com) new free mp3 files not available to the general public. Want customers/users of our web page to be able to click one button to download a set of files to specific folder -- the mp3 player, for which we know the volume name (set up before sending out the players). Want to check for the volume's existence (player is/is not mounted on computer) and then download the list of mp3s to it, failing with an error message if the player is full. I can get the files to download, but only to the download folder specified by the browser. 1) How can I set the path for the download using 'raw' irev/lc scripting, or revigniter? 2) How can I first check for existence of volume? 3) (Bonus points!) How can I erase files off the volume/players? (Of course only erasing files gotten from us -- known filenames -- and with their permission.) Any help appreciated. Tim Selander Tokyo, Japan __**_ 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-livecodehttp://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: Can I use grouped objects as an icon button?
Klaus wrote: ... lock screen import snapshot from rect(the rect of grp DRAW fake) of grp DRAW fake put the id of last img into tNewIcon hide last img set the icon of btn your button here... to tNewIcon unlock screen ... You can also reuse an existing image by replacing its contents with an export snapshot to a variable: export snapshot from grp Draw Fake to tVar as png put tVar into img whatever -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.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
What Livecode work with what xCode for iOS?
What versions of Livecode work with what versions of xCode for iOS? And if it depends and anybody knows... In using the test button? In creating standalones? In using externals made from that xCode? A pointer to web pages or emails to extract that will be OK. (And I'd also like to know what versions of OS X those versions of xCode will run on and what SDKs (iOS or OS X) they will support, but I should be able to pull that from the Apple site.) Dar ___ 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: Tools for creating a help file
Hi Klaus, Tried that and still no luck. When I look at the url it starts with file:/// (3 slashes). Is that OK? I'm not sure what's going on here. I'm using the revBrowser sample stack provided by runrev and it won;t access any web sites, never mind pdf files. For instance, I tried www.google.com in the URL box. The status message at the bottom says accessing http://www.google.com;, the lights at the top right flash away and it just stays like that, no web site displayed. My internet connection is working fine and I can access web site just fine with my Chrome browser. Pete On Sat, Mar 24, 2012 at 4:43 AM, Klaus on-rev kl...@major.on-rev.comwrote: replace with %20 in tFile put file:// before tFile -- 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
iOS Crash
I have an iOS app for iPad that runs great in the simulator and on my iPad1 running iOS 5.0.1. However, on a new iPad3 running iOS 5.1, the app crashes upon launch (we see the splash screen and then crash). I built the app on a Mac running: Mac OSX 10.6.8 Xcode 4.2 LiveCode 5.5 (GM 2) Am I doing something wrong? Thank you in advance! -Dan ___ 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: iOS Crash
Hi Dan, iOS 5.1 needs Xcode 4.3. Greetings, William - Verstuurd vanaf mijn iPhone! Op 24 mrt. 2012 om 18:42 heeft Dan Friedman d...@clearvisiontech.com het volgende geschreven: I have an iOS app for iPad that runs great in the simulator and on my iPad1 running iOS 5.0.1. However, on a new iPad3 running iOS 5.1, the app crashes upon launch (we see the splash screen and then crash). I built the app on a Mac running: Mac OSX 10.6.8 Xcode 4.2 LiveCode 5.5 (GM 2) Am I doing something wrong? Thank you in advance! -Dan ___ 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: iOS Crash
On Mar 24, 2012, at 11:00 AM, William de Smet wrote: Hi Dan, iOS 5.1 needs Xcode 4.3. One issue with that, William - why do apps built with earlier Xcode versions work on my Gen 3 iPad running iOS 5.1? It may be Apple's claim for running the emulator and to access the new SDK API's, but that shouldn't prevent original code from working when built with the previous Xcode version. Something seems fishy here. Anyone else running into 5.1 issues? Tim ___ 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: LC 5.5 GM2 and trouble with standalone settings
On 3/24/12 11:21 AM, Thomas McGrath III wrote: Yeah, Obleo mentioned that since it is the weekend we have to wait till Monday for RR to pick up on the problem. Still it is nice to be able to test using the team profile in the iOS 5.1 simulator and to test on the iPad 3. It looks like you might be able to manually change the profile in the custom property settings. In the custom property set cRevStandaloneSettings there is a property called iOS,profile. It looks like the ID of a profile. To see that property set, LiveCode UI elements in lists must be selected from the View menu. -- 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: iOS Crash
Hi Tim, You are right that Apple claims it needs 4.3 but I had the same thing when iOS 5.0 was released. One of my apps was not built for 5.0 (but 4.2) and kept crashing on other iPads with 5.0 but not on my own with 5.0. I loaded the app on my iPad with Xcode 4.2 and all was fine. When I downloaded my app from the App Store it also crashed. When I built it for 5.0 the crashing stopped. So Apple is right? I don't know. Greetings, William - Verstuurd vanaf mijn iPhone! Op 24 mrt. 2012 om 19:12 heeft Tim Jones tolis...@me.com het volgende geschreven: On Mar 24, 2012, at 11:00 AM, William de Smet wrote: Hi Dan, iOS 5.1 needs Xcode 4.3. One issue with that, William - why do apps built with earlier Xcode versions work on my Gen 3 iPad running iOS 5.1? It may be Apple's claim for running the emulator and to access the new SDK API's, but that shouldn't prevent original code from working when built with the previous Xcode version. Something seems fishy here. Anyone else running into 5.1 issues? Tim ___ 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: Text formatting for a slider
There is no way to get all the properties of an object, because the properties and the propertynames both are incomplete. There are been several enhancement requests in the quality center, but no action or even reply at all from LC, as usual. The only way to get all the props is to get the list of all properties from the dictionary, and then write a script that sets each property of an object within a try/catch structure: those that fail, the object does not support. It's super tedious, and then there's some undocumented properties too, but this approach will yield more of the possible ones then going with other approaches. Furthermore, there's no way to find out the possible settings out that way, again this can only be found in the dictionary, but this time around, it's not machine readable. On 21.03.2012, at 21:24, Richmond wrote: On 03/21/2012 10:12 PM, Jim Hurley wrote: Stephen, What has me puzzled, maybe you have the answer, is a function to return ALL the properties of a given object. Here's what I did to get ALL the props of a slider: on mouseUp put the properties of control ZLIDER into propARRAY combine propARRAY by return and tab put propARRAY into fld PROPPS end mouseUp I think the middle line is what throws most people off. ___ 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
ANN and OT: Calling All SETI Enthusiasts
Hi all, The SETI project has been in existence for about 50 years, and Enrico Fermi's question asked in the 1940's, Where is everybody? is still germane today. I think I have finally succeded in building a simulation of two criteria relevant to this SETI problem: 1) The asynchronous evolution of intelligence throughout the galaxy couple with 2) the relatively short duration of the radio stage of alien technologies. You can download this stack at: https://idisk.mac.com/irog//Public/SETIproblem.livecode I welcome any feedback. Thanks and cheers, Roger Guay ___ 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: ANN and OT: Calling All SETI Enthusiasts
Ready to defend your thesis? Let me toss out two great Sci-Fi antithesis to your points below - How have we determined how long the relatively short duration of the radio stage of any societies is? How have we decided, even taking asynchronous development into account, that humans aren't the most mature and advanced species in the nearby galaxy? :-) Tim On Mar 24, 2012, at 12:20 PM, Roger Guay wrote: Hi all, The SETI project has been in existence for about 50 years, and Enrico Fermi's question asked in the 1940's, Where is everybody? is still germane today. I think I have finally succeded in building a simulation of two criteria relevant to this SETI problem: 1) The asynchronous evolution of intelligence throughout the galaxy couple with 2) the relatively short duration of the radio stage of alien technologies. You can download this stack at: https://idisk.mac.com/irog//Public/SETIproblem.livecode I welcome any feedback. Thanks and cheers, Roger Guay ___ 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] A couple of links about Gnome and usability
Hi All, How sad is this recent turn in Linux development! :-(( Many, many years ago, when a group of friends (software developers) show me the Linux OS, I told them that, in a future, most computer users would be using it. Of course, they laugh a lot of my comment and proceed to show me why this could not happen. They ask me how it was possible that me (being a Macintosh User, at least in that specific moment of time) I was wishing that most of the computer users will use Linux in the future. (no, not my wish but a prediction based in the information that they told me) According to them, my wish should have been that every computer user had a Macintosh in their desk... WRONG. Most of the time, I try to be impartial with my opinions and appreciations and possibly because of this when I was a Mac user, I DO NOT joined the club of Mac fans, who (at least in the country where I live) always display a perverse joy in bashing Microsoft OS (Dos and Windows) and every other Operating Systems, including OS/2, AmigaOS, Unix and (of course) Linux. I strongly suspect that the company of that time (or their salesman) cultivated and promoted this behavior. What did I saw in Linux, that according to my opinion would make it a success? That all Developers were colaborating toward a common goal, instead of competing against each other... As simple like that. At least from my humble point of view, this is the way how everything that is worth and perdurable in this life come to existence, grows and stays with us. Eventually, these clashes about user interfaces will solve themselves, but there is an important part of the Open Source movement that was not created along with it: Open Schools that teach 1) how to use these software (open source projects documentation is sorely missing or arcane in best cases) http://www.zdnet.com/blog/open-source/why-open-source-documentation-lags/6484 and 2) how to develop software in the programming languages most frecuently used for open source projects. The Open source movement depends too much from the availability and generosity of Business, Goverments and Professional developers to fund their projects. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-A-couple-of-links-about-Gnome-and-usability-tp4498147p4502006.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
Heavy Crit. was Re: Text formatting for a slider
On 03/24/2012 08:31 PM, Björnke von Gierke wrote: There is no way to get all the properties of an object, because the properties and the propertynames both are incomplete. There are been several enhancement requests in the quality center, but no action or even reply at all from LC, as usual. This as usual begins to feel increasingly insulting. Over the years (and, I, for one, have been contributing/stirring things up on this list for about 11 years), a lot of people (most far more knowledgeable than myself) have been posting many wonderful things, AND made some fairly trenchant criticisms about a variety of problems / loopholes / inconsistencies, have it how you will. and there is a general feeling that isn't often as explicitly stated as 'Richmond-the-big-mouth' states things that, for all the fancy words about RunRev being user-friendly and receptive to user feedback this is all a load of tosh, and RunRev doesn't really give a monkey's. snip Now, Björnke made some fairly snide remarks to me at the developer conference in Edinburgh about how my 'direct way' alienated a lot of others on the Use-List; He went to great pains to tell me (in the Pollok Halls of residence) how many Use-List regulars developed special anti-Richmond filters - I felt flattered . . . :) but, of course, what he was not prepared to admit was that I am extremely convenient for those who want to do the Pastor Neimoller, in that I can be relied on to call a spade a f***ing shovel at times like them, take the heat, while they get any benefit that may accrue from it. Despite Björnke's remarks; there is a need for somebody, sometimes to stand up and state a few unpleasant truths - the silly thing about sound recording springs to mind (not forgetting the eternal one about exporting sounds). And, as somebody who does not make his money out of RunRev's products (however dearly he would like to), and does not depend on his reputation with RunRev or other subscribers to the Use-list for his CV or his next job, he is not afraid to stand up and state that, over the years, while RunRev has stated time and again, that they value end-user feedback, they have not really demonstrated that at all. After 11 years of working with RunRev/Livecode I am well aware of its strengths, and it is my weapon of choice far ahead of all the others 'out there'; this is exactly why I am very sad that there are so many things that have not been addressed by the developers which would strengthen it still further. I am well aware that quite a lot of repair work has been overlooked in the mad rush forwards to grab the handheld market; but now that has been sorted out, surely a period of retrenchment is called for, to address these very real shortcomings that have been festering away there in the back like a series of ingrowing toenails. - This hurts me all the more, because when I attended the developer conference in Edinburgh, and visited RunRev's headquarters in the New Town I could see how much LOVE (and I mean love) was being poured into Livecode, how much effort, and how much brain-power. Livecode is such a good product, and has been for a very long time, that were the RunRev people just a bit more responsive to the very real criticisms, offered not in a spirit of nastiness, but in a spirit of wanting to help, it could be absolutely outstanding. ___ 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
Collisions
I'm working on a very simple iPad app where 4 large shapes randomly float around on the screen. What I'd like to do is have them be able to bounce off each other if they happen to touch. Are there any tutorial pages or sample stacks out there that anyone knows of that I could use as a starting point? I can do collision detection with intersect, but before I spend countless hours reinventing the wheel, I thought I'd ask. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se ___ 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: Text formatting for a slider
Hi Bjornke, Does the below mean your Docu plugin won't work with 5.5? I'd be sorry if that was the case - it's sooo much better than the built in dictionary interface! Pete 2012/3/24 Björnke von Gierke b...@mac.com Furthermore, there's no way to find out the possible settings out that way, again this can only be found in the dictionary, but this time around, it's not machine readable. -- 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
Problems downloading files from iDisk pages
Hi All, Please visit these iDisk webpages from Tom McCarthy and Glenn Fisher: http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default?user=speakuptemplatefn=FileSharing17.htmlxmlfn=TKDocument.17.xmlsitefn=TKSite.9.xmlaff=consumercty=USlang=en http://homepage.mac.com/WebObjects/FileSharing.woa/wo/hrsEJEFvReUNVk0H.1/0.2.1.2.26.31.97.11.35.0.1.1.1?user=gefisherfpath=revStackstemplatefn=FileSharing2.html I found these links in the mail list archive and discover that could not download the original file posted in the mail list message or any of the visible files in the iDisk webpage. Could you download files from these pages using browsers in MacOS, iOS, Android or Linux? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problems-downloading-files-from-iDisk-pages-tp4502114p4502114.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: Problems downloading files from iDisk pages
Hi Alejandro, .Mac was discontinued 3 years ago and taken off-line 1.5 years ago. -- 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 24 mrt 2012, at 21:51, Alejandro Tejada wrote: Hi All, Please visit these iDisk webpages from Tom McCarthy and Glenn Fisher: http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default?user=speakuptemplatefn=FileSharing17.htmlxmlfn=TKDocument.17.xmlsitefn=TKSite.9.xmlaff=consumercty=USlang=en http://homepage.mac.com/WebObjects/FileSharing.woa/wo/hrsEJEFvReUNVk0H.1/0.2.1.2.26.31.97.11.35.0.1.1.1?user=gefisherfpath=revStackstemplatefn=FileSharing2.html I found these links in the mail list archive and discover that could not download the original file posted in the mail list message or any of the visible files in the iDisk webpage. Could you download files from these pages using browsers in MacOS, iOS, Android or Linux? Thanks in advance! Al ___ 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] A couple of links about Gnome and usability
Alejandro Tejada wrote: What did I saw in Linux, that according to my opinion would make it a success? That all Developers were colaborating toward a common goal, instead of competing against each other... As simple like that. I used to feel the same way, quite passionately so. I think my early posts in the Ubuntu forums may reflect that. But over the years, after spending more time at Linux conferences, IRCs, forums, etc., I've come to appreciate that one of the core values in that community is diversity: everyone gets exactly what they want. Sometimes what people want is to work on really big projects and that means tempering their own preferences in favor of the group's larger goals. Other times it means just scratching an itch, making something you'd like for yourself. That's what started all this with the utils rms made, and the same with Linus' post to Usenet when he started the kernel. To have so many distros and desktop environments isn't competition per se, any more than users of all OSes enjoy having many different apps available to solve a given problem. On the contrary, such diversity just gives us more choices. Everyone gets exactly what they want. Where Linux differs from single-company OSes is that with those your ability to make any choices about how you spend your day ends with applications; the design of the OS itself is decided by a small group of people under one roof far far away, and you either like it or you don't, but you can't change it. With Linux, you can choose among hundreds of distros, and customize them with the desktop environment of your choice, and then add all manner of widgets and tweaks to ever further hone it to be exactly what you want it to be. At least from my humble point of view, this is the way how everything that is worth and perdurable in this life come to existence, grows and stays with us. In the natural world evolution favors diversity. Since FOSS projects tend to reflect organic systems more than projects driven by a single organization, it seems natural that diversity would flourish in the Linux world. The diversity that characterizes the Linux world isn't what's holding it back. The only thing holding it back is the simple human nature of consumers: People buy whole-product solutions. Linux is an OS, and an OS isn't a complete solution; it needs a computer to run it on. Very few people truly ever choose their OS per se. What people buy is a computer, and it comes with an OS already installed. It's a complete solution, hardware and software - just turn it on and enjoy. It would never occur to the average person to replace the OS that came with their computer with something they downloaded off the Internet. Sure, more than 60 million people have done so, but those are a rare breed. Linux can only become mainstream when you can walk into your corner Walmart and buy a machine with Linux pre-installed. Dell, Asus, Acer and others release new models nearly every quarter with Ubuntu pre-installed, but mostly in markets outside the US (Italy, China, Thailand, and Taiwan were the last batches I in late 2011). But in general, PC vendors are working as hard as they can do destroy shareholder value by refusing to differentiate: No matter how much they spend on RD, no matter how many design meetings they have, no matter how much they spend on fabrication, all of it is a waste of money because as soon as the user turns on the machine the experience is identical across all computers from all of those vendors down to the pixel: Microsoft Windows. This refusal to differentiate has limited their ability to compete to just one dimension: price. And they're paying for it dearly, with margins plummeting year after year, and even the heavyweights like HP and Dell are now wondering if they can remain in the PC game at all. They seem to believe that the Ultrabook will raise their margins, but once again they're missing the mark: if everyone sells the same thing, the only leverage they have is on price. We can expect downward pressure on Ultrabook price points later this year, ultimately bringing them closer to traditional laptop prices, further eroding profits. If there was ever a time for a major PC vendor to consider launching a global line of systems with Ubuntu preinstalled, it's now - before most of them go bankrupt. As long as they all ship the same user experience in the OS, expect further consolidation with some of them dropping out entirely before 2013 is done. Here the clue train pulls into the station for PC vendors: Differentiate or die. Ubuntu is one opportunity available for that... -- 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
Re: What Livecode work with what xCode for iOS?
I think I can get most of what I need by looking at the iOS Release notes, the mobile preferences tab, and the iOS standalone settings for each LiveCode version. Also, I'm looking at the requirements for some versions of the external SDK, but only the description for the latest SDK release seems to be available online. Dar On Mar 24, 2012, at 10:54 AM, Dar Scott wrote: What versions of Livecode work with what versions of xCode for iOS? And if it depends and anybody knows... In using the test button? In creating standalones? In using externals made from that xCode? A pointer to web pages or emails to extract that will be OK. (And I'd also like to know what versions of OS X those versions of xCode will run on and what SDKs (iOS or OS X) they will support, but I should be able to pull that from the Apple site.) Dar ___ 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] A couple of links about Gnome and usability
Hi Richard, This thread has been very interesting to me as I'm considering getting a computer to run Linux. The problem I'm having is illustrated by the snippet from your post below. I'm a computer savvy person and worked with them most of my working life but I know nothing about Linux and really have no desire to spend much time installing and configuring an OS. I can buy a Mac or a PC, switch it on and it just boots up and runs. But where do I buy a computer that runs Linux and what version of Linux (if that's the right term) I need? I have pretty basic needs for this machine. Aside from running Livecode on it, I mostly need a web browser (I use Google tools for just about all my daily needs) plus some way of playing music. I already have a Windows laptop that I only use for testing out the LC apps I develop on my Mac. I don't really want another computer. It seems like Apple has just about shut the door on running anything but OS X on their computers. Can I install Linux on my Windows computer a dual boot it somehow? I'm sure these are pretty basic questions for people who are familiar with the Linux world, but I think they illustrate why the use of Linux is not more widespread, no matter what advantages it has over other OS's. Pete On Sat, Mar 24, 2012 at 3:13 PM, Richard Gaskin ambassa...@fourthworld.comwrote: People buy whole-product solutions. -- 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: [OT] A couple of links about Gnome and usability
On 3/24/12 5:48 PM, Pete wrote: I already have a Windows laptop that I only use for testing out the LC apps I develop on my Mac. I don't really want another computer. It seems like Apple has just about shut the door on running anything but OS X on their computers. Can I install Linux on my Windows computer a dual boot it somehow? I've had very good luck with Parallels. And lots of people are using several other emulators too with good results, and many are free. I run Win XP, Vista, Ubuntu (sort of, I'm way behind on that,) and Mac OS X all from my iMac. I don't see any reason these days to have several computers just to use different operating systems. -- 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: [OT] A couple of links about Gnome and usability
On 03/24/2012 05:48 PM, Pete wrote: I already have a Windows laptop that I only use for testing out the LC apps I develop on my Mac. I don't really want another computer. It seems like Apple has just about shut the door on running anything but OS X on their computers. Can I install Linux on my Windows computer a dual boot it somehow? If you have enough memory, it may be more useful, and simpler, to run a Linux distro inside VirtualBox or VMWare. To make that even easier, you can find, using your favorite search engine, downloadable, ready to go virtual machine disk images of almost any Linux distro, in current and older versions. For casual use, this would be my recommendation. Good luck, 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: [OT] A couple of links about Gnome and usability
Pete wrote: Hi Richard, This thread has been very interesting to me as I'm considering getting a computer to run Linux. ... But where do I buy a computer that runs Linux and what version of Linux (if that's the right term) I need? Every distro has its fans, some quite passionate. There's a running gag in the Ubuntu forums that whenever someone encounters an issue that's hard to solve, the answer is use Arch. :) Personally I like Ubuntu, and as a developer it's important to me that I'm working with the most popular distro (an estimated one-third of Linus desktops are running Ubuntu). With its mandate of Linux for Human Beings, it's provided a good experience for me. Mark Weider uses Fedora, and I've enjoyed that one as well. Linux Mint is another good choice. Whichever you choose, be sure to post all over the Internet that users of other distros or OSes are stupid fanbois who just don't get what Linux is all about! That'll help keep the myth of the Linux community alive for those who have no familiarity with it. :) If you were in the market for a computer with Ubuntu pre-installed, these companies are good options: http://www.system76.com/ http://zareason.com http://linucity.com While all three are very reputable vendors, the last there, LinuCity, is owned by my friend Aviv and I can personally vouch for the quality of service he provides. For more options, Canonical maintains a list of computers from major vendors they've worked with that have undergone their certification process: http://www.ubuntu.com/certification Note that that's only a subset of computers Ubuntu is compatible with. There are only so many hours in the day, and even a billionaire like Mark Shuttleworth can't afford to certify everything it runs on. One upside to Linux being mostly installed on computers designed for some other OS is that it expects that challenge and usually meets it pretty well. In my own experience, every machine I've installed it on has worked great out of the box. The only time I needed a special driver was for the NVideo card on my Dell Vostro, and Ubuntu identified that and prompted me to install it with one click on first boot. I already have a Windows laptop that I only use for testing out the LC apps I develop on my Mac. I don't really want another computer. It seems like Apple has just about shut the door on running anything but OS X on their computers. Can I install Linux on my Windows computer a dual boot it somehow? And even on your Mac. Apple's OS X EULA only prevents you from legally installing it on anything other than an Apple branded computer, but their computers are frequently used by members of the Ubuntu forum for running Linux. Boot camp is a natural fit for that sort of thing. Because Apple tends to get specialized components, it can sometimes be trickier to get a solid install on a Mac than on popular PCs where the components are in such wide use that there are plenty of good drivers for them. Dual-booting with Windows is a popular option, esp. among gamers because Windows still rules the roost with the games market. I've set up dual-boot systems before and it's not hard (the Ubuntu installer includes options for that), but personally I found I was booting into Windows so rarely that I ditched that partition and put Windows into a VM within Ubuntu. In general, the sweet spot for Linux is computers between two and six years old. It can often run on newer systems, and even most older ones (Puppy Linux can run on darn near anything), but if a computer's too old it won't have the horsepower to deliver a great experience with the latest Linux distros, and if it's too new there's a chance of needing a driver that hasn't been made available yet. Even then there's almost always a way to get things to work, but for a simple first-time experience the two-to-six years guideline may be helpful for systems that haven't been certified. Most of the popular distros allow an option to run the OS from CD or USB drive, so you can try it out on a machine without having to install anything. If you grab the Ubuntu ISO disk image here and burn it do CD, you can boot from that CD and see what works and what doesn't on your machine: http://www.ubuntu.com/download/ubuntu/download If you decide to install, the lovely Nixie Pixel teaches you how in her five-minute video: http://www.youtube.com/watch?v=GhnLk3gviWY :) Nixie's fun, but really the Ubuntu installer is so simple you probably won't need any help with that. I find it very similar to the OS X installer, and much simpler than installing Windows. Another way to explore Linux is in a VM. I use VirtualBox on all my systems (thanks to Mark Weider for the recommendaton), and here it outperforms Parallels in restoring sessions, taking less than half the time. Doesn't hurt that it's also free (in both senses of the word): https://www.virtualbox.org/ If
Re: [OT] A couple of links about Gnome and usability
Thanks for the reminder Jacque. I had some not-so-grat experiences a few years back running emulators on a Mac so that's coloring my opinion, but they've probably improved a lot since then. Pete On Sat, Mar 24, 2012 at 4:21 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 3/24/12 5:48 PM, Pete wrote: I already have a Windows laptop that I only use for testing out the LC apps I develop on my Mac. I don't really want another computer. It seems like Apple has just about shut the door on running anything but OS X on their computers. Can I install Linux on my Windows computer a dual boot it somehow? I've had very good luck with Parallels. And lots of people are using several other emulators too with good results, and many are free. I run Win XP, Vista, Ubuntu (sort of, I'm way behind on that,) and Mac OS X all from my iMac. I don't see any reason these days to have several computers just to use different operating systems. -- 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-livecodehttp://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: [OT] A couple of links about Gnome and usability
Thanks Warren. As you and Jacque both pointed out the VM approach solves the hardware problem. So now I'm left with the question of which Linux distro to go for Pete On Sat, Mar 24, 2012 at 4:28 PM, Warren Samples war...@warrensweb.uswrote: On 03/24/2012 05:48 PM, Pete wrote: I already have a Windows laptop that I only use for testing out the LC apps I develop on my Mac. I don't really want another computer. It seems like Apple has just about shut the door on running anything but OS X on their computers. Can I install Linux on my Windows computer a dual boot it somehow? If you have enough memory, it may be more useful, and simpler, to run a Linux distro inside VirtualBox or VMWare. To make that even easier, you can find, using your favorite search engine, downloadable, ready to go virtual machine disk images of almost any Linux distro, in current and older versions. For casual use, this would be my recommendation. Good luck, 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-livecodehttp://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: Specify file download path with irev/revignitor
Thanks for your reply, Stephen. Sorry for not being clear. I'm wanting to do this from a web page hosted on the on-rev.com site, using the ?irev scripting language with the revignitor framework. The clients have no LC client installed other than a web browser. One of my frustrations of using on-rev and the scripting language is that there does not seem to be any documentation clearly showing what LC features are _not_ available through the server scripting language. But it is still far easier for me to use than php. I have tried, of course, setting the full path/filename of the files I want to download, but it has not worked correctly so far... hence the post! Many thanks, Tim Selander Tokyo, Japan On 3/25/12 1:29 AM, stephen barncard wrote: not clear about your methodology on the download.. you might need to set the defaultFolder are use using RevBrowser in some way or is this a LC client app on the client and RevIgniter on the host? anyway for detection of a folder on the client machine (from the docs) if there is a folder [filepath] then go card ID 3445 The folderPath specifies the name and locationglossary/f/200.xml of a folderdictionary/property/1981.xml you want to check. If you specify a name but not a location, LiveCode looks for the folderdictionary/property/1981.xmlin the defaultFolderdictionary/property/1981.xml. Delete works the same way: delete file My Test.rev the defaultFolder works for this command too. Errors should be in the result - this deletes immediately, and file is not put into the trash. On 24 March 2012 00:29, Tim Selanderselan...@tkf.att.ne.jp wrote: Hi, Have wasted enough hours -- time to ask the pros on the list! We are passing out free, promotional MP3 players to our customers. Weekly, they will be allowed to download from our web site (hosted at on-rev.com) new free mp3 files not available to the general public. Want customers/users of our web page to be able to click one button to download a set of files to specific folder -- the mp3 player, for which we know the volume name (set up before sending out the players). Want to check for the volume's existence (player is/is not mounted on computer) and then download the list of mp3s to it, failing with an error message if the player is full. I can get the files to download, but only to the download folder specified by the browser. 1) How can I set the path for the download using 'raw' irev/lc scripting, or revigniter? 2) How can I first check for existence of volume? 3) (Bonus points!) How can I erase files off the volume/players? (Of course only erasing files gotten from us -- known filenames -- and with their permission.) Any help appreciated. Tim Selander Tokyo, Japan __**_ 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-livecodehttp://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] A couple of links about Gnome and usability
Thanks for all the info Richard. I'm already feeling SO superior to all those morons who don't run Ubuntu! I will probably try out VirtualBox since it's free and probably also a dual boot on my Windows 7 box since the only thing I ever do on Windows is test out LC apps developed on my Mac, although it is a pretty new computer so I may run into the driver issues you mentioned. Pete On Sat, Mar 24, 2012 at 4:39 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Pete wrote: Hi Richard, This thread has been very interesting to me as I'm considering getting a computer to run Linux. ... But where do I buy a computer that runs Linux and what version of Linux (if that's the right term) I need? Every distro has its fans, some quite passionate. There's a running gag in the Ubuntu forums that whenever someone encounters an issue that's hard to solve, the answer is use Arch. :) Personally I like Ubuntu, and as a developer it's important to me that I'm working with the most popular distro (an estimated one-third of Linus desktops are running Ubuntu). With its mandate of Linux for Human Beings, it's provided a good experience for me. Mark Weider uses Fedora, and I've enjoyed that one as well. Linux Mint is another good choice. Whichever you choose, be sure to post all over the Internet that users of other distros or OSes are stupid fanbois who just don't get what Linux is all about! That'll help keep the myth of the Linux community alive for those who have no familiarity with it. :) If you were in the market for a computer with Ubuntu pre-installed, these companies are good options: http://www.system76.com/ http://zareason.com http://linucity.com While all three are very reputable vendors, the last there, LinuCity, is owned by my friend Aviv and I can personally vouch for the quality of service he provides. For more options, Canonical maintains a list of computers from major vendors they've worked with that have undergone their certification process: http://www.ubuntu.com/**certificationhttp://www.ubuntu.com/certification Note that that's only a subset of computers Ubuntu is compatible with. There are only so many hours in the day, and even a billionaire like Mark Shuttleworth can't afford to certify everything it runs on. One upside to Linux being mostly installed on computers designed for some other OS is that it expects that challenge and usually meets it pretty well. In my own experience, every machine I've installed it on has worked great out of the box. The only time I needed a special driver was for the NVideo card on my Dell Vostro, and Ubuntu identified that and prompted me to install it with one click on first boot. I already have a Windows laptop that I only use for testing out the LC apps I develop on my Mac. I don't really want another computer. It seems like Apple has just about shut the door on running anything but OS X on their computers. Can I install Linux on my Windows computer a dual boot it somehow? And even on your Mac. Apple's OS X EULA only prevents you from legally installing it on anything other than an Apple branded computer, but their computers are frequently used by members of the Ubuntu forum for running Linux. Boot camp is a natural fit for that sort of thing. Because Apple tends to get specialized components, it can sometimes be trickier to get a solid install on a Mac than on popular PCs where the components are in such wide use that there are plenty of good drivers for them. Dual-booting with Windows is a popular option, esp. among gamers because Windows still rules the roost with the games market. I've set up dual-boot systems before and it's not hard (the Ubuntu installer includes options for that), but personally I found I was booting into Windows so rarely that I ditched that partition and put Windows into a VM within Ubuntu. In general, the sweet spot for Linux is computers between two and six years old. It can often run on newer systems, and even most older ones (Puppy Linux can run on darn near anything), but if a computer's too old it won't have the horsepower to deliver a great experience with the latest Linux distros, and if it's too new there's a chance of needing a driver that hasn't been made available yet. Even then there's almost always a way to get things to work, but for a simple first-time experience the two-to-six years guideline may be helpful for systems that haven't been certified. Most of the popular distros allow an option to run the OS from CD or USB drive, so you can try it out on a machine without having to install anything. If you grab the Ubuntu ISO disk image here and burn it do CD, you can boot from that CD and see what works and what doesn't on your machine: http://www.ubuntu.com/**download/ubuntu/downloadhttp://www.ubuntu.com/download/ubuntu/download If you decide to install, the lovely Nixie Pixel teaches you how in her
Displaying PDF files in an LC stack
In another thread, I've been soliciting advice about tools to use for Help Text preparation and display. One of the options was to go with a pdf file and display it using revBrowser. Been having some issues getting that to work but even if it did work, I don't think it will satisfy my needs. I want to use the pdf feature of showing bookmarks in a navigation pane (like the datagrid manual) and apparently that won't happen, at least on a Mac. I could, of course, simply launch the pdf file as a separate process but I'd really like to keep the help file within my LC stack if possible. Are there any other ways of displaying a pdf file within LC other than using revBrowser? I though I remembered seeing some sort of plugin but a quick search didn't come up with anything. I am still looking into ScreenSteps and WordLib. -- 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: Displaying PDF files in an LC stack
I've been looking for a way to display PDFs in LC in a mobile app. The browser window is not even an option for Android because the Android browser will not render PDFs natively. I have not tried iOS yet but I am told that Safari can render a PDF. Then there's the java support. That's another can of worms. The PDF spec is like 6,000 pages. Adobe has an SDKs for rendering PDFs on both Android and iOS. With an external for each mobile platforms it might be possible to render and support interactive PDFs for mobile. For desktop Adobe also has free SDKs. Just a thought.. 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 Pete Sent: Saturday, March 24, 2012 8:11 PM To: How to use LiveCode Subject: Displaying PDF files in an LC stack In another thread, I've been soliciting advice about tools to use for Help Text preparation and display. One of the options was to go with a pdf file and display it using revBrowser. Been having some issues getting that to work but even if it did work, I don't think it will satisfy my needs. I want to use the pdf feature of showing bookmarks in a navigation pane (like the datagrid manual) and apparently that won't happen, at least on a Mac. I could, of course, simply launch the pdf file as a separate process but I'd really like to keep the help file within my LC stack if possible. Are there any other ways of displaying a pdf file within LC other than using revBrowser? I though I remembered seeing some sort of plugin but a quick search didn't come up with anything. I am still looking into ScreenSteps and WordLib. -- 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: use-livecode Digest, Vol 102, Issue 49
Tim, I don't pretend to know anything! As for my thesis, I am merely making assumptions based on statistics and the vast size of our galaxy and the number of stars it contains. No one has decided anything about the nature of our species except the religious. BTW, did you look at the simulation? I think it might be best to take any further discussions of this nature off-list. Cheers, Roger On Mar 24, 2012, at 6:03 PM, use-livecode-requ...@lists.runrev.com wrote: Message: 9 Date: Sat, 24 Mar 2012 12:44:21 -0700 From: Tim Jones tolis...@me.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: ANN and OT: Calling All SETI Enthusiasts Message-ID: dabd6b02-27fe-40e6-8df5-3144fce87...@me.com Content-Type: text/plain; CHARSET=US-ASCII Ready to defend your thesis? Let me toss out two great Sci-Fi antithesis to your points below - How have we determined how long the relatively short duration of the radio stage of any societies is? How have we decided, even taking asynchronous development into account, that humans aren't the most mature and advanced species in the nearby galaxy? :-) Tim On Mar 24, 2012, at 12:20 PM, Roger Guay wrote: Hi all, The SETI project has been in existence for about 50 years, and Enrico Fermi's question asked in the 1940's, Where is everybody? is still germane today. I think I have finally succeded in building a simulation of two criteria relevant to this SETI problem: 1) The asynchronous evolution of intelligence throughout the galaxy couple with 2) the relatively short duration of the radio stage of alien technologies. You can download this stack at: https://idisk.mac.com/irog//Public/SETIproblem.livecode I welcome any feedback. Thanks and cheers, Roger Guay ___ ___ 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] A couple of links about Gnome and usability
On 03/24/2012 06:53 PM, Pete wrote: the VM approach solves the hardware problem. So now I'm left with the question of which Linux distro to go for Pete Since you can test them so easily, I would suggest firstly not to be too anxious about making the best decision. You don't have to decide Before you start; you can decide as you go. Again, you can download either fully set up virtual machine disks or run almost any distro from a liveCD, which is also a fabulously easy way to trial a distro. I run openSUSE, currently and ran Mint 9 and 10 before that. For what you expect to be casual use, I would think that the Desktop Environment (the Unity, KDE, Gnome, Enlightment, XFCE, LXDE things that people talk about - http://en.wikipedia.org/wiki/Desktop_environment) will be the most important consideration. You will need to find the one that is the most intuitive to you. After that, the software management aspect may be the second most important. This was much simpler in Mint than it is in openSUSE. I would recommend you try a Mint version first. I have no experience with Gnome 3, but Mint 9 is the long term support version of that distro and uses gnome 2. Mint 10 was very pleasant to use but it will lose support next month. I had bad experience with KDE under Mint and Kubuntu has a very poor reputation, so it's hard to recommend KDE in those distros. Do a little research about desktop variants of whatever disto you are gravitating to and (taking everything with heaping spoonfuls of salt) you should find some helpful info. Inside VirtualBox, you will probably find your desktop doesn't run with effects (Compiz, KWin) so you save some memory. This somewhat equalizes the playing field between the heavy feature-full (aka bloated) Desktop Environments and the light nimble (aka primitive) ones. That *should* mean you won't be making as many performance/feature sacrifices as you look for what best suits your taste. Good luck! 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: [OT] A couple of links about Gnome and usability
On 03/24/2012 06:53 PM, Pete wrote: So now I'm left with the question of which Linux distro to go for FWIW: http://dt.deviantart.com/journal/poll/1202084/ http://enigmacommunity.org/forums/topic/1099-whats-your-favorite-linux-desktop-environment/ http://www.muktware.com/survey/3444/poll-which-de-you-use 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: use-livecode Digest, Vol 102, Issue 49
I didn't take either comment as overly argumentative but more like a challenge (which we tend to do on this list from time to time). For me, coming up with two criteria is intriguing and caught my interest. I would love to see more on the validity of those two criteria, but what really interested me was how Roger translated those to an interesting LC project. Very cool. I would love to hear more about that. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 24, 2012, at 8:31 PM, Roger Guay wrote: Tim, I don't pretend to know anything! As for my thesis, I am merely making assumptions based on statistics and the vast size of our galaxy and the number of stars it contains. No one has decided anything about the nature of our species except the religious. BTW, did you look at the simulation? I think it might be best to take any further discussions of this nature off-list. Cheers, Roger On Mar 24, 2012, at 6:03 PM, use-livecode-requ...@lists.runrev.com wrote: Message: 9 Date: Sat, 24 Mar 2012 12:44:21 -0700 From: Tim Jones tolis...@me.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: ANN and OT: Calling All SETI Enthusiasts Message-ID: dabd6b02-27fe-40e6-8df5-3144fce87...@me.com Content-Type: text/plain; CHARSET=US-ASCII Ready to defend your thesis? Let me toss out two great Sci-Fi antithesis to your points below - How have we determined how long the relatively short duration of the radio stage of any societies is? How have we decided, even taking asynchronous development into account, that humans aren't the most mature and advanced species in the nearby galaxy? :-) Tim On Mar 24, 2012, at 12:20 PM, Roger Guay wrote: Hi all, The SETI project has been in existence for about 50 years, and Enrico Fermi's question asked in the 1940's, Where is everybody? is still germane today. I think I have finally succeded in building a simulation of two criteria relevant to this SETI problem: 1) The asynchronous evolution of intelligence throughout the galaxy couple with 2) the relatively short duration of the radio stage of alien technologies. You can download this stack at: https://idisk.mac.com/irog//Public/SETIproblem.livecode I welcome any feedback. Thanks and cheers, Roger Guay ___ ___ 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: Displaying PDF files in an LC stack
I don't remember that part. My suggestion was to read the PDF in a player object, by setting its filename property. On Mar 24, 2012, at 8:11 PM, Pete wrote: In another thread, I've been soliciting advice about tools to use for Help Text preparation and display. One of the options was to go with a pdf file and display it using revBrowser. ___ 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: Source of corruption
Richard. Since I was keeping a string of backups in reseerve, I would dump the stack that became unusable and bring up the next one. After digging in various places while still trying to use the stack itself, I noticed the errant mainstack reference. I am aware of the ease in which one can accidentally change the name of a stack in the inspector when you think you are typing somewhere else. This is a bit insidious. But this was the pulldown to set the mainstack. Though this property is settable by command, I am positive I never did this. I could be wrong. Anyway, there is only that one stack in the file. Why this spurious mainstack reference makes all that trouble, is a mystery to me. I am just glad it's over. I might play around with misnaming the mainstack again in another stack or a copy of this one just to see if I can really duplicate the old issue. Not sure I shouldn't leave well enough alone, though. Craig -Original Message- From: Richard Gaskin ambassa...@fourthworld.com To: use-livecode use-livecode@lists.runrev.com Sent: Fri, Mar 23, 2012 10:47 pm Subject: Re: Source of corruption dunbarx wrote: I had posted earlier about a stack I use that became neurotic. If launched in a new session from the finder, no problem. But if closed, it could not be reopened in the same session. The stacks showed no reference to it at all soemtimes, though at other times it was indeed listed, albeit still not visible. In those cases I could get and set its loc and other properties, I just could not see it. Lately it had become intermittantly corruptible, with a dialog telling me so, and recomending using a back-up copy. In those cases it would not even open with a fresh start, and I had to trash it and start over with a backup. Thank you, Mozy. It turns out that the stack had inexplicably had its mainstack reference changed to another stack. How were you able to determine that, and fix it, if it was unopenable? -- 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 ___ 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: Collisions
On Sat, Mar 24, 2012 at 3:57 PM, Richard MacLemale wrote: I'm working on a very simple iPad app where 4 large shapes randomly float around on the screen. What I'd like to do is have them be able to bounce off each other if they happen to touch. Are there any tutorial pages or sample stacks out there that anyone knows of that I could use as a starting point? I can do collision detection with intersect, but before I spend countless hours reinventing the wheel, I thought I'd ask. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se In LiveCode, go to the Resource Center, Sample Projects, Bouncy (uses gravity to bounce a single object of the walls of the screen). This may be a good place to start. The commercial product Animation Engine is another. ~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: Displaying PDF files in an LC stack
Thanks for the reminder Colin, forgot about that. I'll give that a try. Pete On Sat, Mar 24, 2012 at 6:05 PM, Colin Holgate co...@verizon.net wrote: I don't remember that part. My suggestion was to read the PDF in a player object, by setting its filename property. On Mar 24, 2012, at 8:11 PM, Pete wrote: In another thread, I've been soliciting advice about tools to use for Help Text preparation and display. One of the options was to go with a pdf file and display it using revBrowser. ___ 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
Compiling with XCode 10.4.2, LC 5.0.2 on OSX 10.6.8
Hi (again), I asked this some time ago and haven't solved this problem yet. Does that mean that absolutely no one on this list has any clue whatsoever? I'm trying to build an external for Mac OS X (not iOS) using ExternalsEnvironmentV3, XCode 10.4.2 and LiveCode 5.0.2 on Mac OS X 10.6.8. I'm getting many error messages complaining about SDK's that are too new and compilers that are too new and when I think that everything should work I get the error Building for Intel is not supported in 10.3.9 SDK (obviously). Could someone tell me what I need to change in the build settings of the project and the targets to get my external to compile? I've posted this on the forum as well: http://qery.us/1vf -- 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 ___ 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: Specify file download path with irev/revignitor
Ah - well that's the thing - the security features of web browsers strictly don't allow control of the user's machine from the server side - that's what those warnings for the user for plug-ins like flash and the livecode plug-in are about. Changing stuff on a remote machine by a server is forbidden for users' protection - otherwise the web would be unworkable thanks to the criminal element. Those same protections are built-in by design for Javascript on the browser side for the same reason. Hence the invention of the Livecode plug-in. That's why I thought you had a 'thin' client on the user's side that could do what you want; your mentioning of sending out players. You could do this with a Livecode plugin, but that would require users to install something on their machines anyway, and the future of this plugin has not been defined lately, hence the recent discussions online. I feel a thin client can give a better UI experience anyway and a lot easier to maintain and support. Your comment about the online documentation of Livecode server is correct - a lot of new info is available with the version notes of the latest version (5.0.2), but I get those through my involvement as a purchaser of the server product to run on my own web host. I assume you've seen what the Runrev site offers: http://www.runrev.com/developers/documentation/server/ These limitations that web browsers have do not diminish the coolness of Livecode server; it just requires being open to do it another more secure way. You never want to do stuff without the permission of your users, that would definitely creep them out. Depending on the scope of your project, number of users, etc, is it possible you could do this entirely 'in the cloud'? That way you could control the addition and deletion of files, giving each user their own space for files, and provide the player in a browser. Otherwise I'd suggest you build a thin user client for her to download and live on her machine. Or possibly use a 'splash screen' approach where a small compiled application would hold the basic livecode 'stuff', and a script could do a go URL http://musicsource/playerstack.lc; on startup thereby loading your latest stack version of your player that could be 'updated in the store' anytime you wish, as that stack would live on your server. Yet this client could have access to any folder your user has access to on her machine. This thin client can then easily manage the audio files in the user-selected (or default) folder. I've done this myself as a convenience to run many utility stacks that I store on my server, and run on one of my several machines, a kind of network based Livecode stack player. Mine is a network variation of Ken Ray's Stackrunner.http://www.sonsothunder.com/devres/livecode/downloads/StackRunner.htm It sounds like a cool project - being open and controlling expectation of what can be and can't be done is the key, work around those limitations (that everyone else has to deal with), and move forward. Livecode gives us many ways to create the solution to our problems. hope this helps. On 24 March 2012 17:00, Tim Selander selan...@tkf.att.ne.jp wrote: Thanks for your reply, Stephen. Sorry for not being clear. I'm wanting to do this from a web page hosted on the on-rev.com site, using the ?irev scripting language with the revignitor framework. The clients have no LC client installed other than a web browser. One of my frustrations of using on-rev and the scripting language is that there does not seem to be any documentation clearly showing what LC features are _not_ available through the server scripting language. But it is still far easier for me to use than php. I have tried, of course, setting the full path/filename of the files I want to download, but it has not worked correctly so far... hence the post! Many thanks, Tim Selander Tokyo, Japan 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: [OT] A couple of links about Gnome and usability
On Sat, Mar 24, 2012 at 6:48 PM, Pete wrote: I already have a Windows laptop that I only use for testing out the LC apps I develop on my Mac. I don't really want another computer. It seems like Apple has just about shut the door on running anything but OS X on their computers. Can I install Linux on my Windows computer a dual boot it somehow? Pete The easiest way for a beginner is a WUBI installation. You don't need an emulator or virtual box or parallels, etc. Just a PC that is already running Windows. When you install Ubuntu via WUBI, it is just a series of folders on the hard-drive (no dedicated partition necessary). This method sets it up to dual-boot, so you just choose which OS to run when you turn the computer on. To remove it, you just uninstall it. http://www.youtube.com/watch?v=fYw6dOXw3pc http://www.ubuntu.com/download/ubuntu/windows-installer ~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: Specify file download path with irev/revignitor
On 3/24/12 7:00 PM, Tim Selander wrote: Thanks for your reply, Stephen. Sorry for not being clear. I'm wanting to do this from a web page hosted on the on-rev.com site, using the ?irev scripting language with the revignitor framework. The clients have no LC client installed other than a web browser. One of my frustrations of using on-rev and the scripting language is that there does not seem to be any documentation clearly showing what LC features are _not_ available through the server scripting language. But it is still far easier for me to use than php. I have tried, of course, setting the full path/filename of the files I want to download, but it has not worked correctly so far... hence the post! I don't think you can control where the user downloads files. You can only control the server side; the browser controls the client side. That's actually good, because otherwise any web page could install things in places the user didn't know about. The only things you can control in a web page, no matter what language you're using, are things that happen on the page itself, or which are related to the server that hosts the page. Once you send data to the user, it's out of your hands. You have no control over their machine, their file system, or their applications. -- 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: [OT] A couple of links about Gnome and usability
On 03/24/2012 09:44 PM, Roger Eller wrote: The easiest way for a beginner is a WUBI installation. You don't need an emulator or virtual box or parallels, etc. Just a PC that is already running Windows. When you install Ubuntu via WUBI, it is just a series of folders on the hard-drive (no dedicated partition necessary). This method sets it up to dual-boot, so you just choose which OS to run when you turn the computer on. To remove it, you just uninstall it. http://www.youtube.com/watch?v=fYw6dOXw3pc http://www.ubuntu.com/download/ubuntu/windows-installer ~Roger That's interesting. I had never seen this. It seems a really simple and great way to deal with dual-boot installation, provided that one wants to run Ubuntu. However a dual-boot system is not nearly as convenient for many purposes, such as let me see real quick how this looks/works on Linux and Windows. I see that convenience as a big plus for virtual machines. Although I recognize the advantages of running the OS natively, for a lot of purposes this is moot. Maybe it's a case of choose the tool that lets you do the job the way you want it done ;) 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: Source of corruption
On 3/24/12 8:11 PM, dunb...@aol.com wrote: I am aware of the ease in which one can accidentally change the name of a stack in the inspector when you think you are typing somewhere else. This is a bit insidious. But this was the pulldown to set the mainstack. Though this property is settable by command, I am positive I never did this. I should have been more clear that the mixup doesn't just happen with the message box (which is why I ended up changing standalone settings for the wrong stack.) It also happens with the property inspector or any other IDE component that needs to look for a topstack. In my case, the working stack was modeless and my utility stack was invisible but toplevel. The utility stack had precedence in this case and not only the standalone settings dialog, but also all property inspectors, were targeting my utility stack. I usually noticed the wrong name in the inspector but breezed right past it in the standalone settings. If at any point your wonky stack was displayed at a lower mode than another stack, it would be the target stack for IDE tools. If you were trying to set the mainstack on a modeless or palette stack, and didn't notice your corrupted toplevel stack was the target, it would get its mainstack changed. That may not be what happened in your case, but it's been biting me a lot lately. I've been working on a modeless stack and I always have my utility stack open too. I have to keep remembering to make my modeless stack toplevel. Why this spurious mainstack reference makes all that trouble, is a mystery to me. I don't know why either, but it makes a sort of sense. If a piece of the message path is missing (the parent stack) then who knows what could short-circuit in the engine. -- 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: [OT] A couple of links about Gnome and usability
On 03/24/2012 06:53 PM, Pete wrote: you can find downloadable, ready to go virtual machine disk images of almost any Linux distro, in current and older versions. Here are some links to preconfigured virtual disk images. http://virtualboxes.org/images/ http://sourceforge.net/projects/virtualboximage/files/ http://virtualboximages.com/Free.VirtualBox.VDI.Downloads http://virtualboximages.com/ and info on how to get one running once you've downloaded it: http://virtualboxes.org/doc/ Good luck! 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: Compiling with XCode 10.4.2, LC 5.0.2 on OSX 10.6.8
Hi, Mark! I recently moved to ExternalsEnvironmentV3 after have gone in my own direction before ExternalsEnvironmentV1 came out. My situation was not the same as yours, I was using XCode 3.2.6 and building a universal. However, my solutions might give you a hint: In the project settings on the build tab way down at the bottom are some user settings. For my case, I needed to up the compiler to 4.0, the target to 10.4 and the SDKROOT to /Developer/SDKs/MacOSX10.4u.sdk for both Intel and ppc. With a later version of XCode you might need to up the libraries and the compiler version beyond that. I also added a line-end to the end of the export file. You might need to tweak the baseSDK, too. I still get a warning about -mlong-branch which I ignore. I did not use the test stack, so I don't know if there are any problems there. Perhaps some updated templates are needed and maybe some other tweaking. Is XCode 10.4.2 the same as XCode 4.2? Dar On Mar 24, 2012, at 7:36 PM, Mark Schonewille wrote: Hi (again), I asked this some time ago and haven't solved this problem yet. Does that mean that absolutely no one on this list has any clue whatsoever? I'm trying to build an external for Mac OS X (not iOS) using ExternalsEnvironmentV3, XCode 10.4.2 and LiveCode 5.0.2 on Mac OS X 10.6.8. I'm getting many error messages complaining about SDK's that are too new and compilers that are too new and when I think that everything should work I get the error Building for Intel is not supported in 10.3.9 SDK (obviously). Could someone tell me what I need to change in the build settings of the project and the targets to get my external to compile? I've posted this on the forum as well: http://qery.us/1vf -- 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 ___ 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 --- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. d...@swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --- ___ 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