Sqlite connection problem
I have serius connection problem with my database sqlite. my code is this: on mouseUp put tAppPath() GestPres.db into tDB put revOpenDatabase(sqlite,tDB,) into mydb revCloseDatabase mydb end mouseUp function tAppPath put effective filename of this stack into tFilename set itemdel to / if the platform = MacOS AND the environment development then ##!! delete item -4 to -1 of tFileName ## MacApp.app/Contents/MacOS/Standalonestack else delete item 1 of tFileName end if return tFilename / end tAppPath this is the error: Database error:Unable to open the database file I have created the db with Sqlite Manger . I open the db with the Sqlite Manager. thanks Cordiali Saluti Alessandro Pisoni System.ini di Pisoni Alessandro Via Grandi,5 20062 Cassano d'Adda (MI) Tel 0363-361487 Fax 1782260060 Cell. 335440150 email:i...@system-ini.it www.system-ini.it ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[OT] HIG Free books.
After 12 hours straight sleep I feel human again; the compounded effects of wrestling with bucketloads of Beta-tester feedback on my Devawriter Pro and teaching from 8 am to 6.30 pm were getting a bit much. However, as I, phoenix-like, arise from the ashes; I am inevitably spitting my usual fire, so, during a walk over to a local hotel to cheer on some of my pupils in a chess olympiad I started musing about LIvecode and Human Interface Guidelines (HIG) and, on returning, found these: Windows; http://www.microsoft.com/downloads/details.aspx?displaylang=enFamilyID=e49820cb-954d-45ae-9cb3-1b9e8ea7fe8c (PDF) Macintosh; http://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGIntro/XHIGIntro.html GNOME; http://library.gnome.org/devel/hig-book/stable/ KDE; http://techbase.kde.org/Projects/Usability/HIG OLPC; http://wiki.sugarlabs.org/go/Human_Interface_Guidelines ECLIPSE; http://wiki.eclipse.org/User_Interface_Guidelines Kaplan seem to be giving away books about the iOS HIG until 17 January; time to shift oneself pretty quickly . . . :) http://www.pupuweb.com/blog/search/ibook-ios-hig/ Love, Richmond. ___ 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: Sqlite connection problem
Buongiorno Alessandro, I have serius connection problem with my database sqlite. my code is this: on mouseUp put tAppPath() GestPres.db into tDB put revOpenDatabase(sqlite,tDB,) into mydb revCloseDatabase mydb end mouseUp function tAppPath put effective filename of this stack into tFilename set itemdel to / if the platform = MacOS AND the environment development then ##!! delete item -4 to -1 of tFileName ## MacApp.app/Contents/MacOS/Standalonestack else delete item 1 of tFileName end if return tFilename / end tAppPath this is the error: Database error:Unable to open the database file I have created the db with Sqlite Manger . I open the db with the Sqlite Manager. Does the current user of your standalone have ADMIN rights? Only users with ADMIN privileges are allowed to WRITE in the application folder! thanks Cordiali Saluti Alessandro Pisoni 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
different screen resolutions (iOS)
With the upcoming iPad 2 and its once again new screen resolution it will be more difficult to support all devices. As it looks there will be two logical resolutions each with two physical resolutions on the iOS, perhaps more to come. As far as I know it is much easier to support those differing physical resolutions with the syntax @2x for high resolution graphics which will be used when the screen is a retina display. If Apple also doubles in physical resolution of the iPad 2 the technic to support this new resolution would be the same. When I think about handling all this with LiveCode (which i love) and the need to make so many different versions I would like to have a tool or something which automates this. Thought about use all shown graphics via functions which do the same @2x-thing. Haven't found out yet how I could make a clean double the whole stack in size without visual or logical errors (text sizes, perfect element positions and so on). Wouldn't it be a good idea to make a tool or bundle of functions which handle this doubling of resolution? How are you all handling this? Best regards, Harald. | Harald Müller (www.etcpp.de) | Theodor-Körner-Straße 4, 97072 Würzburg | Telefon + 49-[0]931-329090-42 ___ 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: Dictionary Random Picks - now on RevOnline
Jacque wrote: HyperCard had an error message that said, Script too silly to execute. No, really. It did. What would trigger that? I want to submit a feature request to add 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 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: different screen resolutions (iOS)
On Jan 15, 2011, at 6:13 AM, Harald Müller wrote: With the upcoming iPad 2 and its once again new screen resolution it will be more difficult to support all devices. As it looks there will be two logical resolutions each with two physical resolutions on the iOS, perhaps more to come. Can you point to the specifications page, where they say that the resolution is different? This article here: http://www.ilounge.com/index.php/articles/comments/new-in-ios-4.3-the-full-breakdown-with-screenshots/ looks at the various art inside iOS 4.3, and that art suggests that the new iPad would be the same resolution as the current one. About your overall point of dealing with different screen sizes, there are a few difficulties. With Flash I do use the kind of approach you're suggesting, where my single sized iPhone stage gets scaled up to fill the iPad screen, but there are a good amount of hoops I have to jump through to make sure that the quality remains good. The larger screen size isn't as big a problem as the different aspect ratios. In Flash I get away with it by having extra content above and below the stage, and when it's blown up to fill the iPad, that extra content becomes visible. With LC, so far at least, the content seems to be aligned top left. That could work out ok, if you have bitmap versions of the different size backgrounds you could jump to the card that has the corresponding sized art, and button layout, etc. With that way of working you could take care of 480x320, 1024x768, and the other device sizes of 800x480 and 1024x600. Any time you learn about a new screen size that you want to support you would need to make a card, or cards, that are laid out for that new size. Or you might be able to do a lot of the work using code. ___ 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
R: Re: a help ..
Messaggio originale Da: jac...@hyperactivesw.com Data: 14-gen-2011 21.00 A: How to use LiveCodeuse-livecode@lists.runrev.com Ogg: Re: a help .. On 1/14/11 11:38 AM, bacches...@tin.it wrote: i am at the beginning... p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial; min-height: 14.0px} span.s1 {font: 12.0px Arial} i would like to manage the About This Application menu item I tried to do somthing with Menu builder, but in a StandAlone appllication nothing goes as i would If somebody may give me indications i'll be infinitely grateful to him Can you explain more about what you want to do? I don't understand why you have css, or how css should apply to an About box. Your About box should be a substack of the main app stack. Place text fields, images, or other controls in it. Then show that stack when a user chooses About from the application 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 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} the question is how realize that an user chooses About from the application menu ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Newbie questions
I just tried to make an application from my program that I've been working on and using for the last seven or eight years. I'm on Mac OS. I was surprised to find out that the application it created with the defaults in place was a windows exe program. ___ 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: No Check Box in the Dictionary??
Calvin Waterbury wrote: I don't mean to be picky, but neither checkbox nor check box is in the dictionary. If I missed something, please tell me? By default the IDE is set to what an occasionally-rude person like myself might call Lie Mode, in which the names it displays in the Property Inspectors aren't the actual English-like tokens used in the language itself, but presumably some more-English-like-than-English-like label that attempts to be more descriptive. My personal problem with that is that I find it slows rather than smooths the experience of getting started with the tool, since using the GUI is a much smaller part of the experience than coding, and for coding you need to know the actual token. As Phil noted that's a button style, so you can turn it up in the Dictionary entry for style. Two tips to shorten the distance between Whiskey Tango Foxtrot? and Ah, I get it going forward: 1. In LC's Preferences window, at the top of the first pane is an option labeled Property labels are: with the default setting of Description of option. If you change that to Name of LiveTalk property you'll pick up the language just a little faster, since the GUI will then reflect the tokens you'll be using in your scripts. 2. Those coming from a background in VB, ToolBook, or a good many other IDEs are accustomed to finding a property sheet tool, which lists all of the properties for a selected object and allows a means of editing them. The Property Inspector does a fine job of providing convenient ways to edit a subset of these, but for learning the language it can be very helpful to see a list of all of them. Got you covered there: 4W Props is a simple property sheet tool for LiveCode, available through the Stacks section in RevNet - in the IDE see: Development-Plugins-GoRevNet HTH - -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: No Check Box in the Dictionary??
Richard Thanks for these tips! On Sat, Jan 15, 2011 at 10:51 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Calvin Waterbury wrote: I don't mean to be picky, but neither checkbox nor check box is in the dictionary. If I missed something, please tell me? By default the IDE is set to what an occasionally-rude person like myself might call Lie Mode, in which the names it displays in the Property Inspectors aren't the actual English-like tokens used in the language itself, but presumably some more-English-like-than-English-like label that attempts to be more descriptive. My personal problem with that is that I find it slows rather than smooths the experience of getting started with the tool, since using the GUI is a much smaller part of the experience than coding, and for coding you need to know the actual token. As Phil noted that's a button style, so you can turn it up in the Dictionary entry for style. Two tips to shorten the distance between Whiskey Tango Foxtrot? and Ah, I get it going forward: 1. In LC's Preferences window, at the top of the first pane is an option labeled Property labels are: with the default setting of Description of option. If you change that to Name of LiveTalk property you'll pick up the language just a little faster, since the GUI will then reflect the tokens you'll be using in your scripts. 2. Those coming from a background in VB, ToolBook, or a good many other IDEs are accustomed to finding a property sheet tool, which lists all of the properties for a selected object and allows a means of editing them. The Property Inspector does a fine job of providing convenient ways to edit a subset of these, but for learning the language it can be very helpful to see a list of all of them. Got you covered there: 4W Props is a simple property sheet tool for LiveCode, available through the Stacks section in RevNet - in the IDE see: Development-Plugins-GoRevNet HTH - -- 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 -- http://www.bluewatermaritime.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: Required: shell scripting wizard!
does the relaunch message not work on command line apps in windows? On 14 Jan 2011, at 21:31, David Bovill wrote: Hmmm... I wander if simply polling for an environmental variable change will work. In the current case I know that LiveCode is open - I just want the external command line program to redirect the browser call back to Livecode and not open up another browser. On 14 January 2011 16:11, Mike Bonner bonnm...@gmail.com wrote: Ah. Maybe a plugin thats set to start with LC that listens to a socket? Or checks an env variable ever so often, or a file for changes, or a combination of these such as hit a listening port in your plugin and check a file/var whatever. As for the multiple instances problem, if you go with the plugin route, could have it create a tmp file to indicate running status, delete it on close so you know whether to start up rev or not. NB - on OSX you use launch rather than start Makes me think though is there any way to have a compiled Livecode app act as a cli? ___ 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: Re: a help ..
Hello, I have uploaded a *very plain* sample stack that has little more than a menu and About box pointing to a substack, that you should be able to use as a rough guide: http://www.docstoolchest.com/catch_all/TestMenu.rev Hope that is what you are looking for, David C. On Sat, Jan 15, 2011 at 8:37 AM, bacches...@tin.it bacches...@tin.it wrote: Messaggio originale Da: jac...@hyperactivesw.com Data: 14-gen-2011 21.00 A: How to use LiveCodeuse-livecode@lists.runrev.com Ogg: Re: a help .. On 1/14/11 11:38 AM, bacches...@tin.it wrote: i am at the beginning... p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial; min-height: 14.0px} span.s1 {font: 12.0px Arial} i would like to manage the About This Application menu item I tried to do somthing with Menu builder, but in a StandAlone appllication nothing goes as i would If somebody may give me indications i'll be infinitely grateful to him Can you explain more about what you want to do? I don't understand why you have css, or how css should apply to an About box. Your About box should be a substack of the main app stack. Place text fields, images, or other controls in it. Then show that stack when a user chooses About from the application 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 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} the question is how realize that an user chooses About from the application menu ___ 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: usb driver problem
I now keep getting file is not open for read on the cu.usbmodem1a21 and eof on the tty.usbmodem1a21 What am I missing here? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 15, 2011, at 11:18 AM, Thomas McGrath III wrote: I am having trouble accessing an Arduino Uno attached to my computer via USB. The device driver shows up as /dev/tty.usbmodem1a21 I tried a simple open driver then read from driver then close driver. But Livecode keeps crashing or worse my computer panics and dies. on mouseUp put into field IOresult open driver /dev/tty.usbmodem1a21 for binary read // tried text read, text update, binary update wait 50 read from driver /dev/tty.usbmodem1a21 for 1 line in 4 second // tried for 3 char in 3 seconds, tried until eof if it is not then put it:it into field IOresult else put result: the result into field IOresult end if wait 50 close driver /dev/tty.usbmodem1a21 end mouseUp I just want to read data that is being sent from the board. In Arduino there is a serial monitor which does read the data coming from the board. It is a bunch of numbers one per line as in 1023 then 992 then 992 etc. I can't seem to figure out what I am doing wrong. This seems pretty straight forward. I sent an email to Mark Weider but then thought that others might also have ideas. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: No Check Box in the Dictionary??
This thread reminds me so much of going through all the same questions when I first started using LC. Seems like a document that listed all these little idiosyncracies of LC, specifically targeted at newbies, would be extremely useful. Maybe one already exists somewhere? One thing I'd add to Calvin's list of gotchas is to realise that you cannot permanently store data in a stack in a standalone program. Lots of recommended workarounds of course but this is something you don't typically find out about until well down the development path (at least I didn't) because it's not a problem when working in the IDE, and it can mean fairly major changes to your application. Pete Haworth On Jan 15, 2011, at 6:51 AM, Richard Gaskin wrote: Calvin Waterbury wrote: I don't mean to be picky, but neither checkbox nor check box is in the dictionary. If I missed something, please tell me? By default the IDE is set to what an occasionally-rude person like myself might call Lie Mode, in which the names it displays in the Property Inspectors aren't the actual English-like tokens used in the language itself, but presumably some more-English-like-than-English-like label that attempts to be more descriptive. My personal problem with that is that I find it slows rather than smooths the experience of getting started with the tool, since using the GUI is a much smaller part of the experience than coding, and for coding you need to know the actual token. As Phil noted that's a button style, so you can turn it up in the Dictionary entry for style. Two tips to shorten the distance between Whiskey Tango Foxtrot? and Ah, I get it going forward: 1. In LC's Preferences window, at the top of the first pane is an option labeled Property labels are: with the default setting of Description of option. If you change that to Name of LiveTalk property you'll pick up the language just a little faster, since the GUI will then reflect the tokens you'll be using in your scripts. 2. Those coming from a background in VB, ToolBook, or a good many other IDEs are accustomed to finding a property sheet tool, which lists all of the properties for a selected object and allows a means of editing them. The Property Inspector does a fine job of providing convenient ways to edit a subset of these, but for learning the language it can be very helpful to see a list of all of them. Got you covered there: 4W Props is a simple property sheet tool for LiveCode, available through the Stacks section in RevNet - in the IDE see: Development-Plugins-GoRevNet HTH - -- 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
problem importing tab delimited text files
Hi all I have a table of data in an excel spreadsheet.40 rows x 30 columns approx. I save the file as a tab delimited text file for import into LC. I import the file and its empty - nothing there in LC. I open the text file in Notepad and save it again, making no changes. I import the same file into LC again and all the data is where it should be. My question is what could be preventing LC from importing an 'Excel' text file (or perhaps failing to detect the information it contains) since there are no errors generated. I thought that this problem was an aberration on my part but no it has reappeared this evening. Any pointers would be greatly appreciated. Using LC 4.5.1 on Win 7 -- Regards Ian McKnight iangmckni...@gmail.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: How to uninstall Livecode from a Linux system
Glen- Saturday, January 15, 2011, 2:07:45 PM, you wrote: Hello everyone, Are there standard steps in properly uninstalling Livecode for a Linux system (I'm using Fedora 13). I know I can delete files but I would like the menu to not show Livecode if it is not installed. I'm not in front of my Fedora system at the moment, but from memory if you navigate into the folder where it's installed (if you opted for all users it's in /opt/runrev) you'll find an executable program that is not livecode. Run that from a commandline with an argument of /uninstall. That *should* uninstall it, including the menu item. And, of course, you'll need to su to do this. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: How to uninstall Livecode from a Linux system
Great... thanks. On Sat, Jan 15, 2011 at 3:30 PM, Mark Wieder mwie...@ahsoftware.net wrote: Glen- Saturday, January 15, 2011, 2:07:45 PM, you wrote: Hello everyone, Are there standard steps in properly uninstalling Livecode for a Linux system (I'm using Fedora 13). I know I can delete files but I would like the menu to not show Livecode if it is not installed. I'm not in front of my Fedora system at the moment, but from memory if you navigate into the folder where it's installed (if you opted for all users it's in /opt/runrev) you'll find an executable program that is not livecode. Run that from a commandline with an argument of /uninstall. That *should* uninstall it, including the menu item. And, of course, you'll need to su to do this. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: problem importing tab delimited text files
Thanks for the advice David. I went back and checked. As I still had the text file open in Excel when I was trying to import it into LC the file must have been locked in some way by Excel - as soon as I closed the file in XL it worked perfectly. Makes perfect sense really. I think I'll start writing down my gaffs down in a notebook to try and save time in future :) Thanks again. On 15 January 2011 22:53, David C. davidoco...@gmail.com wrote: On Sat, Jan 15, 2011 at 4:21 PM, Ian McKnight iangmckni...@gmail.com wrote: Hi all I have a table of data in an excel spreadsheet.40 rows x 30 columns approx. I save the file as a tab delimited text file for import into LC. I import the file and its empty - nothing there in LC. I open the text file in Notepad and save it again, making no changes. I import the same file into LC again and all the data is where it should be. My question is what could be preventing LC from importing an 'Excel' text file (or perhaps failing to detect the information it contains) since there are no errors generated. I thought that this problem was an aberration on my part but no it has reappeared this evening. Any pointers would be greatly appreciated. Using LC 4.5.1 on Win 7 -- Regards Ian McKnight iangmckni...@gmail.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 Hello Ian, I use tab delimited files from excel all the time without any difficulties... same exact platform and LC version. Based on your description, I'd try to open just a simple text file without tabs, just to verify that the intended file is being opened successfully. (Been there, done that, more than once) Also, make sure to set the itemdelimiter to tab. (Been there, done that also) It has always been solid as a rock for me on this end and I cannot imagine any other scenario where it would fail. Best regards, David C. ___ 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 -- Regards Ian McKnight iangmckni...@gmail.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
Setting visibility on start up
Hi, I need some guidance of the LC parlance when making objects visible/invisible on start up. I've tried some experiments, but nothing works. FYI - for anyone that is interested, I *really* learned a lot from Mark's presentation/chat (I couldn't get good video consistently on David's). A number of things congealed in my mind. I'm still scraping around on some of the syntax particulars, but what I am coding is working great for pseudocode until I figure out the real syntax. :) Standing by... Calvin ___ 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: Setting visibility on start up
Hi, I need some guidance of the LC parlance when making objects visible/invisible on start up. I've tried some experiments, but nothing works. FYI - for anyone that is interested, I *really* learned a lot from Mark's presentation/chat (I couldn't get good video consistently on David's). A number of things congealed in my mind. I'm still scraping around on some of the syntax particulars, but what I am coding is working great for pseudocode until I figure out the real syntax. :) Standing by... Calvin Hey Calvin, Try this: set the visible of object ObjectName to true/false As in... set the visible of button YourButton to true set the visible of field MyField to true -or- set the visible of button YourButton to false set the visible of field MyField to false ..where button/field can be any object selected on your card Best regards, David C. ___ 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: Setting visibility on start up
Calvin- Saturday, January 15, 2011, 4:13:48 PM, you wrote: Hi Mark, I was referring to standalone, but I got a bonus on this one! ;) g part of the bonus is that the startup and preopenstack are both sent before the stack is visible, so you don't have to worry about any flashing on the screen while you're making changes. OTOH you do have to worry about some libraries not having been loaded yet, so there are some things you can't do in those handlers and should be deferred. YMMV. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Line Hint
Hi, I can find nothing in the dictionary nor the user guide... what exactly is a line hint? Thanks, Calvin ___ 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: usb driver problem
Tom- Saturday, January 15, 2011, 8:18:26 AM, you wrote: I am having trouble accessing an Arduino Uno attached to my computer via USB. I haven't looked at the Arduino since they changed the chipset, but it *should* be straightforward. I realize that's no help, and crashing LC is something that shouldn't happen. Is there a crashlog? I helped fund this project on kickstarter, and I'm watching it eagerly, waiting for the boards to be ready: http://www.kickstarter.com/projects/bushing/openvizsla-open-source-usb-protocol-analyzer -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Line Hint
Hi, I can find nothing in the dictionary nor the user guide... what exactly is a line hint? Thanks, Calvin Calvin, Not sure that I understand. are you asking about toolTips that are display when you hover over an object of some type? Best regards, David C. ___ 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: Line Hint
Hi David C., Nope. I'm referring to the Errors window when something flubs. It says on the left side of that dialog... Type Object Line Hint I know this is an error message, but does line hint mean anything else? Thanks, Calvin David C. mailto:davidoco...@gmail.com Saturday, January 15, 2011 6:32 PM Calvin, Not sure that I understand. are you asking about toolTips that are display when you hover over an object of some type? Best regards, David C. ___ 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 Calvin Waterbury mailto:c...@eml.cc Saturday, January 15, 2011 6:24 PM Hi, I can find nothing in the dictionary nor the user guide... what exactly is a line hint? Thanks, Calvin ___ 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: Line Hint
On Sat, Jan 15, 2011 at 6:41 PM, Calvin Waterbury c...@eml.cc wrote: Hi David C., Nope. I'm referring to the Errors window when something flubs. It says on the left side of that dialog... Type Object Line Hint I know this is an error message, but does line hint mean anything else? Thanks, Calvin I guess you've lost me in this case... maybe one of the guru's will chime in with words of wisdom. Sorry. Best regards, David C. ___ 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: Line Hint
On Jan 15, 2011, at 5:41 PM, Calvin Waterbury wrote: Hi David C., Nope. I'm referring to the Errors window when something flubs. It says on the left side of that dialog... Type Object Line Hint I know this is an error message, but does line hint mean anything else? Well, line hint isn't really accurate, because aren't they two separate items? So line would be the line # the error occurred on and hint would be something like Field 'hoohaw' doesn't exist, right? I haven't done hardly anything with error decoding in LC, but that would make sense to me. Jeff M. ___ 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: Line Hint
We have a winner! Boy! do I feel like a schmolez! Thanks for the clarification, Jeff. Calvin Jeffrey Massung mailto:mass...@gmail.com Saturday, January 15, 2011 7:12 PM Well, line hint isn't really accurate, because aren't they two separate items? So line would be the line # the error occurred on and hint would be something like Field 'hoohaw' doesn't exist, right? I haven't done hardly anything with error decoding in LC, but that would make sense to me. Jeff M. ___ 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 Calvin Waterbury mailto:c...@eml.cc Saturday, January 15, 2011 6:41 PM Hi David C., Nope. I'm referring to the Errors window when something flubs. It says on the left side of that dialog... Type Object Line Hint I know this is an error message, but does line hint mean anything else? Thanks, Calvin ___ 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
Open Source Licenses (yet again)
All- I notice that Adobe/O'Reilly posts Actionscript snippets using the Creative Commons 3.0 license: http://creativecommons.org/licenses/by-nc-sa/3.0/ example (which btw is an easy example showing how to use OAuth to access foursquare.com data): http://cookbooks.adobe.com/post_Accessing_a_OAuth_secured_API_via_Flash_Actionscri-18036.html -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Layers, revNavigator, DataGrids
I'm looking at it now... On Thu, Jan 13, 2011 at 12:43 PM, Peter Brigham MD pmb...@gmail.com wrote: On Jan 13, 2011, at 11:25 AM, Chipp Walters wrote: AltLayerTools http://www.gadgetplugins.com/altplugins/altLayerTools.rev It keeps you from moving objects in and out of groups. It only move groups around. just put in msg box: go URL http://www.gadgetplugins.com/altplugins/altLayerTools.rev; then save to plugins. I use with my toolbar palette. here's another which is most helpful: AltGroupMgr http://www.gadgetplugins.com/altplugins/altGroupMgr.txt It does a great job of placing and removing groups on different cards. Both use ZERO frontscripts in favor of a 'refresh button,' mostly for robustness and lack of conflict with some of my other frontscripts. I really need to create a single frontscript library which manages everything. C'est la vie. But no replacement for the really great ability that revNavigator used to have, of moving a control (or a group) in or out of a group? That's what I miss! Geoff Canyon, can you convince that developer of yours to do something about this...? :-) -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ 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: Setting visibility on start up
preOpenStack works in both the IDE and in a standalone while on startup only works when compiled to a standalone? That's good to know. I wonder why any one would use startup? On Sat, Jan 15, 2011 at 8:10 PM, Mark Wieder mwie...@ahsoftware.net wrote: on startup -- the startup message is only sent to standalone apps -- make some things invisible -- set the visible of someObject to false -- set the visible of group lotsOfObjects to false end startup on preOpenStack -- this one works in the IDE -- make some things invisible end preOpenStack -- http://www.bluewatermaritime.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: Line Hint
Try creating know errors, then observe the error reporting. Start with small scripts, misspell, mis-reference, etc to get a feel for this. On Jan 15, 2011, at 5:17 PM, Calvin Waterbury wrote: We have a winner! Boy! do I feel like a schmolez! Thanks for the clarification, Jeff. Calvin Jeffrey Massung mailto:mass...@gmail.com Saturday, January 15, 2011 7:12 PM Well, line hint isn't really accurate, because aren't they two separate items? So line would be the line # the error occurred on and hint would be something like Field 'hoohaw' doesn't exist, right? I haven't done hardly anything with error decoding in LC, but that would make sense to me. Jeff M. Calvin Waterbury mailto:c...@eml.cc Saturday, January 15, 2011 6:41 PM Hi David C., Nope. I'm referring to the Errors window when something flubs. It says on the left side of that dialog... Type Object Line Hint I know this is an error message, but does line hint mean anything else? Jim Ault Las Vegas ___ 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: Line Hint
Hi Jim, I did this somewhat, but the idea of matching errors with error messages is certainly wise. Thank you, Calvin Sent from my Verizon Wireless BlackBerry -Original Message- From: Jim Ault jimaultw...@yahoo.com Sender: use-livecode-boun...@lists.runrev.com Date: Sat, 15 Jan 2011 18:38:19 To: How to use LiveCodeuse-livecode@lists.runrev.com Reply-To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Line Hint Try creating know errors, then observe the error reporting. Start with small scripts, misspell, mis-reference, etc to get a feel for this. On Jan 15, 2011, at 5:17 PM, Calvin Waterbury wrote: We have a winner! Boy! do I feel like a schmolez! Thanks for the clarification, Jeff. Calvin Jeffrey Massung mailto:mass...@gmail.com Saturday, January 15, 2011 7:12 PM Well, line hint isn't really accurate, because aren't they two separate items? So line would be the line # the error occurred on and hint would be something like Field 'hoohaw' doesn't exist, right? I haven't done hardly anything with error decoding in LC, but that would make sense to me. Jeff M. Calvin Waterbury mailto:c...@eml.cc Saturday, January 15, 2011 6:41 PM Hi David C., Nope. I'm referring to the Errors window when something flubs. It says on the left side of that dialog... Type Object Line Hint I know this is an error message, but does line hint mean anything else? Jim Ault Las Vegas ___ 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: Setting visibility on start up
william- Saturday, January 15, 2011, 6:33:19 PM, you wrote: preOpenStack works in both the IDE and in a standalone while on startup only works when compiled to a standalone? That's good to know. I wonder why any one would use startup? I parse commandline arguments there for a standalone. It's also useful for loading libraries that the IDE would normally already have loaded for you. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: different screen resolutions (iOS)
There were many articles and speculations. The last one: http://www.macrumors.com/2011/01/15/ipad-2-screen-likely-to-have-2048x1536-resolution/ (As the dreamer that I am I would love it when the engine could blow up a normal card to the double size and would search for corresponding @2x graphics for every referenced image.) Am 15.01.2011 um 15:15 schrieb Colin Holgate: On Jan 15, 2011, at 6:13 AM, Harald Müller wrote: With the upcoming iPad 2 and its once again new screen resolution it will be more difficult to support all devices. As it looks there will be two logical resolutions each with two physical resolutions on the iOS, perhaps more to come. Can you point to the specifications page, where they say that the resolution is different? This article here: http://www.ilounge.com/index.php/articles/comments/new-in-ios-4.3-the-full-breakdown-with-screenshots/ looks at the various art inside iOS 4.3, and that art suggests that the new iPad would be the same resolution as the current one. About your overall point of dealing with different screen sizes, there are a few difficulties. With Flash I do use the kind of approach you're suggesting, where my single sized iPhone stage gets scaled up to fill the iPad screen, but there are a good amount of hoops I have to jump through to make sure that the quality remains good. The larger screen size isn't as big a problem as the different aspect ratios. In Flash I get away with it by having extra content above and below the stage, and when it's blown up to fill the iPad, that extra content becomes visible. With LC, so far at least, the content seems to be aligned top left. That could work out ok, if you have bitmap versions of the different size backgrounds you could jump to the card that has the corresponding sized art, and button layout, etc. With that way of working you could take care of 480x320, 1024x768, and the other device sizes of 800x480 and 1024x600. Any time you learn about a new screen size that you want to support you would need to make a card, or cards, that are laid out for that new size. Or you might be able to do a lot of the work using code. ___ 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: usb driver problem
On 1/15/11 10:54 AM, Thomas McGrath III wrote: I now keep getting file is not open for read on the cu.usbmodem1a21 and eof on the tty.usbmodem1a21 What am I missing here? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 15, 2011, at 11:18 AM, Thomas McGrath III wrote: I am having trouble accessing an Arduino Uno attached to my computer via USB. The device driver shows up as /dev/tty.usbmodem1a21 I tried a simple open driver then read from driver then close driver. But Livecode keeps crashing or worse my computer panics and dies. This came up in the support queue. Basically open driver is only for (real) serial devices. To open a usb device that is posing as a serial device (i.e., you have a usb/serial port adapter) then you should use open file instead. Treat the port just as you would a regular file. There's no USB support per se, so if the device doesn't present itself as a serial port device it won't work. The path you use when you open a serial port as a file is the same one you'd use in shell -- use the /dev/tty.usbmodem1a21 path you mentioned. Also, see if you can talk to it in shell just as a test. -- 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: usb driver problem
Jacque- Saturday, January 15, 2011, 7:31:30 PM, you wrote: There's no USB support per se, so if the device doesn't present itself as a serial port device it won't work. The path you use when you open a serial port as a file is the same one you'd use in shell -- use the /dev/tty.usbmodem1a21 path you mentioned. Also, see if you can talk to it in shell just as a test. That should work then, since the Arduino driver has always presented itself as a serial port. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Live LiveCode Code Event #6
For those of us who missed it, is there an archive of past presentations? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Live-LiveCode-Code-Event-6-tp3215816p3219718.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
Groups - Lock Size and Position
I have some groups within a Tab Menu. I am trying to make the tab menu and groups scalable based on the size of the stack. When I test this, it keeps setting on the lock size and position on for the groups. What would cause this when I keep unhiliting the lock size and position of the groups? I don't have any code within my stack to lock the size. Thanks for any help! 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