How can I copy from one stack to another with identical names?
Hello, I have two versions of the same stack with a bunch of substacks. I would like to copy objects and scripts from one version to the other. I know, that I can't open two stacks with the same name for editing. I tried to open the two versions in two instances of LC, but it seems, that the copy/paste object doesn't work between instances. Renaming all stacks in one version would be an approach. Is there a better trick to do this job? Thanks for your experience Tiemo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
AW: How can I copy from one stack to another with identical names?
I tried it again with two instances and now the paste menu is active and I can copy/paste between two instances of LC. I don't know, why paste wasn't active before - does anybody knows what could led to this behavior? Thanks Tiemo -Ursprüngliche Nachricht- Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- boun...@lists.runrev.com] Im Auftrag von Tiemo Hollmann TB Gesendet: Dienstag, 24. Januar 2012 09:43 An: 'How to use LiveCode' Betreff: How can I copy from one stack to another with identical names? Hello, I have two versions of the same stack with a bunch of substacks. I would like to copy objects and scripts from one version to the other. I know, that I can't open two stacks with the same name for editing. I tried to open the two versions in two instances of LC, but it seems, that the copy/paste object doesn't work between instances. Renaming all stacks in one version would be an approach. Is there a better trick to do this job? Thanks for your experience Tiemo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Getting Text from another open application window
Bob , Thanks No logging which would have worked. Regards Camm - Original Message - From: Bob Sneidar b...@twft.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Monday, 23 January, 2012 10:40:58 PM Subject: Re: Getting Text from another open application window I don't believe any program can unless there is a way to do it built into the source app. QuicKeys for instance will intercept menus, buttons etc. because something is actually happening in the OS when the user interacts with those objects. Assuming that the developer followed the guidelines of the OS when creating and interacting with those objects, QuicKeys can intercept what the system is doing. But if the developer did something custom, say with the menus, and they are not built by the OS API the QuicKeys is as blind as any other app. The old Procedural Foxpro is a good example of that. But what interaction with the OS is there when a window is displaying data? If you find the answer to that, then you would be well on your way to finding a means to do this. Did you check to see if there is any logging going on? It may be possible to get data from the log if so. See if the app has any kind of verbose logging option. Bob On Jan 23, 2012, at 12:06 PM, Camm wrote: It a Windows based app. The machine is standalone and has no external data connections. It could be possible via the SDK , but that would mean writing externals. Are we saying that livecode cannot get text from other displayed window ? Best Regards Camm -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of stephen barncard Sent: 23 January 2012 18:12 To: How to use LiveCode Subject: Re: Getting Text from another open application window Most professional test instruments have some kind of interface - does the test device have any serial or IEEE interface?Livecode really can't grok the data space of another application. The application must provide an API or some kind of hardware interface. If it's a Macintosh application, check and see if it has an Applescript dictionary. You can use the Applescript script editor to examine the app in question. If there is one, you will see the definitions and can do a Do as Applescript. For instance, I built a mute button in Livecode to control Skype and iTunes at the same time. On 23 January 2012 09:28, Camm cam...@tesco.net wrote: Hi , I have a windows (non-livecode) application that displays text data from a test instrument , is it possible for livecode to import the displayed data realtime for decoding etc. Regards Camm ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode - No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1901 / Virus Database: 2109/4761 - Release Date: 01/23/12 - No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1901 / Virus Database: 2109/4761 - Release Date: 01/23/12 - No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1901 / Virus Database: 2109/4761 - Release Date: 01/23/12 - No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1901 / Virus Database: 2109/4761 - Release Date: 01/23/12 ___ 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: Getting Text from another open application window
Thanks , yeah that looks like the only way Regards Camm - Original Message - From: stephen barncard stephenrevoluti...@barncard.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Monday, 23 January, 2012 10:41:21 PM Subject: Re: Getting Text from another open application window I don't think any application can do that without an API. On 23 January 2012 12:06, Camm cam...@tesco.net wrote: It a Windows based app. The machine is standalone and has no external data connections. It could be possible via the SDK , but that would mean writing externals. Are we saying that livecode cannot get text from other displayed window ? Best Regards Camm 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 ___ 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
Throttling Accelerated Rendering...
Has anyone been playing with the accelerated rendering ? Can it be switched on and off on a per card basis ? in an iOS mobile stack, I have a card in a stack that really benefits from this when scrolling a group that contains groups and it makes the scrolling really smooth... BUT... I have another card which displays a browser... on rotating the iphone it seems that the browser is not placed correctly and there is a lot of flashing when repositioning controls when rotating... Any ideas ? Dixie ___ 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: Navigating XML in LiveCode
You could also consider using JSON instead of XML. Particularly since we have 2 libraries around which convert LiveCode arrays to JSON and vice-versa. JSON is known as the fat-free xml. I don't think either format is paritcularly easy to scan by the naked eye. One library is by Andre, the other by Mark Smith. Another option would be to use a sqlite database, and have your program export/backup the database to a series of SQL insert statements. I think I'd find that easier to scan with the naked eye than XML. I don't understand why a CSV (or tab-separated) text file would not suit your purposes, but I'll assume it because your data is more complex than would be suitable to that format. Bernard On Mon, Jan 23, 2012 at 4:34 PM, Graham Samuel livf...@mac.com wrote: However the real reason that I'm trying to go down the XML route is that I need this data to persist and I don't want the overhead of storing it in a stack rather than just keeping a trivial amount of text which furthermore could be easily examined/edited by non-LC programs. [...] I suppose more generally I'm trying to understand if XML is suitable for this kind of data structure, where there are several nodes identical or similar in structure but containing different data. It looks ideal to me, but the difficulty of finding the last item you added, and of adding attributes at creation time, is giving me doubts. But maybe I'm just confused. ___ 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: Navigating XML in LiveCode
Thanks for the replies: Bob - I know about the 'host of commands' and I've done a lot of worked examples with them. It's the fact that LiveCode is happy with XML that was a factor in making me think of using it - that and the fact that, for my purposes, all the data could be saved in a trivially small text file to give persistence. The trouble was that I couldn't understand exactly how to do certain things, and I was unsure if I'd picked the right medium for my message, so to speak. Ken - ever helpful! I'm sorry I grumbled about not getting replies. That's just stupid, given that everyone on this list is busy, and it's bad manners too. Anyway your reply (which I haven't quoted in full) shows me how to get round my specific issues, so I see that it can be done: what I have to do now is to decide between a perhaps more appropriate structure using arrays, with the disadvantage of having to put them in a stack and save it to get persistence, or to put up with the rather clunky XML functions (yours or LC's) in order to get a simpler storage solution. What I plan to do now is to write my own little API to the data storage part of my app, so that the main script doesn't know or care how the data is stored - then I can experiment with both methods without messing with the logic of my program. It's the right way to go anyway, IMHO. Thanks again Graham On Mon, 23 Jan 2012 10:08:44 -0800, Bob Sneidar b...@twft.com wrote: Doesn't Livecode have a complete XML Library? I just searched for XML in the dictionary and came up with a host of commands. I bet studying these would shed some light on what needs to be done. Also, perhaps looking at a simple XML file would benefit you. Many Apple prefs files are XML I think. Bob On Mon, 23 Jan 2012 12:15:13 -0600, Ken Ray k...@sonsothunder.com wrote: On Jan 23, 2012, at 10:34 AM, Graham Samuel wrote: Pete - thanks for your reply (the only one so far - are there no XML users on the list??). Sorry, Graham? was a bit busy before to respond. [followed by a ton of useful stuff…] ___ 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: Navigating XML in LiveCode
Graham Samuel wrote: However the real reason that I'm trying to go down the XML route is that I need this data to persist and I don't want the overhead of storing it in a stack rather than just keeping a trivial amount of text which furthermore could be easily examined/edited by non-LC programs. XML is the way to go for inter-app data transfer, but FWIW if your app was the only one using it you can save arrays to disk using arrayEncode/arrayDecode: global gMyArray on LoadData pFile put url (binfile: pFile) into tData put arrayDecode(tData) into gMyArray end LoadData on SaveData pFile put arrayEncode(gMyArray) into tData put tData into url (binfile: pFile) end SaveData -- 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: Opening a Supercard file in Livecode?
Bob Earp wrote: Well, I think you are half correct Richard. These sort of decisions need to be made on a case by case basis On further consideration I think you're absolutely correct. I was talking about this with Ken Ray last night, and we hit on a distinction which may be useful for deciding when to use a converter and when to rewrite: If an app has more content than code use a converter, but if more code than content then rewrite. Even then there may be exceptions, but the idea is that multimedia projects usually have a lot of objects which need to be laid out in specific ways, and that's the sort of thing a converter can do well; redoing hundreds of card layouts by hand is a waste of time. But things like productivity apps often have relatively little content, i.e. fewer objects, but tons of code, and code written in another xTalk dialect will be of questionable value in terms of robustness, extensibility, and performance in LiveCode. While xTalks have many commonalities, they're all very different products -- if they weren't there would be only one. :) Those differences lie in object types and syntax options that result in ports which may have code that makes no sense in the target environment, or at best uses language conventions that aren't optimized for the target. Also, many productivity apps attempt to adhere to the UI conventions of the host platform as much as possible, but if a project is being ported from an older xTalk to LiveCode chances are it was designed for an earlier version of the OS and needs revision to look current anyway. Moreover, most other xTalks are single-platform tools, so they have no methods for handling UI differences between OSes and will require revision to account for that. So code-heavy projects with relatively few objects can be an opportunity for updating the app not only for the current version of its original target platform, but for multiple platforms that it never previously had to take into account. But for content-heavy apps, I fully agree: it's nothing but RSI to reproduce hundreds of card layouts by hand. -- 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: Opening a Supercard file in Livecode?
Pete wrote: All good points. I guess I'm thinking of a different situation that multiple people working on the same project. When someone reports a bug that crept into a particular version of an application, it would be useful to see what changes were made to the stack that might have introduced the bug. That's a very good point. It shouldn't be too hard to write a tool that can examine two sets of stack files and produce a list of handlers which have been modified. It would be a little tricky to write because we can't currently have two stacks open with the same name, but I think it may be doable using something like this: The tool would create an array with object references as the primary key and handler names as the secondary key, where the value is the handler definition itself. Then after it completes a scan of a given stack, it then goes through the other version and compares the same handler definitions, noting changes, missing items, and new items, and produces a clickable list of changes that could take the developer to the script in question. I'll add this to my To Do list; seems like it would be useful. -- 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: Breakpoints on a Global
On 1/23/12 4:30 PM, Bob Sneidar wrote: I've mentioned it before, that if you set a breakpoint on a global, the IDE will crash to desktop. If you mean trying to break on a global declaration, I'm not sure how that could work at all. That's just a memory assignment. There's nothing to break on, and it never even occured to me to try it. Breakpoints only work inside handlers. The engine shouldn't crash regardless, but you won't get any useful info from examining a memory assignment. -- 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: Revlets on the web
On 1/23/12 2:16 PM, Jim Hurley wrote: I think I knew how to do this at one time. I have an app saved for the Web as a revlet After saving as a standalone (for the web) a page opens in Safari that says it is a test page--BUT NOT APP. Is the app supposed to open in Safari as a RevLet? Yes, provided you have the plugin installed, but currently it only works in 32-bit mode. I think Safari defaults to 64-bit now. The file created on my drive consists as a folder (MyAppFolder) containing two files (MyApp.revlet and test.html) I uploaded the folder to my web site. Now, how would someone run it on the web? Assuming they have downloaded the player. What is the url? The URL is the one that opens the HTML page. When the page opens it will load the revlet. -- 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: Opening a Supercard file in Livecode?
My thought is to not limit it to scripts necessarily, but all objects in a stack - stack, substacks, cards, controls, along with all their properties both standard and custom. I see it as a standalone program that would open a stack file, grab all the above info and write it into a database. There would then be an option to compare two versions of the same stack and present a list of everything that had changed between them. I guess you could even recreate a stack file in an emergency. I already have code that does a lot of the work to get all the info needed from a stack but currently it just presents it online and doesn't store it anywhere. I'm guessing there'll be some gotchas along the way, but I think this could be a useful tool as part of some sort of version control system. I can think of several occasions where it would have saved me a lot of time. Pete On Tue, Jan 24, 2012 at 7:17 AM, Richard Gaskin ambassa...@fourthworld.comwrote: Pete wrote: All good points. I guess I'm thinking of a different situation that multiple people working on the same project. When someone reports a bug that crept into a particular version of an application, it would be useful to see what changes were made to the stack that might have introduced the bug. That's a very good point. It shouldn't be too hard to write a tool that can examine two sets of stack files and produce a list of handlers which have been modified. It would be a little tricky to write because we can't currently have two stacks open with the same name, but I think it may be doable using something like this: The tool would create an array with object references as the primary key and handler names as the secondary key, where the value is the handler definition itself. Then after it completes a scan of a given stack, it then goes through the other version and compares the same handler definitions, noting changes, missing items, and new items, and produces a clickable list of changes that could take the developer to the script in question. I'll add this to my To Do list; seems like it would be useful. -- 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.irvhttp://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-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: Developing on Mac, standalone on Windows
Set the alignment of the label to Centered, set the width to autofit, align objects by their centers. One thing I do that seems to help is I set the width of the object (field, label, button, menu) to the formatted width of the object. On Jan 23, 2012, at 4:19 PM, Pete wrote: Of course, there are still related issues! For example, I have a series of buttons with icons associated with them. Each one also has a label underneath it. I carefully centered the button and the label on my Mac development machine but on the WIndows machine, they're not quite centered, presumably because of the font change. ___ 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: AW: How can I copy from one stack to another with identical names?
Sometimes if the app I am pasting into is not open when I copy, the app does not seem to be aware of the correct contents of the clipboard. This can especially be true if you have some kind of Office app installed, but I cannot state that for a certainty because I have never fully tested that theory. One way to do it might be to write an applescript that does a file copy. Then insert a frontScript that closes the first stack and removes it from memory, then opens the copy. I mention the frontScript because I am pretty sure you cannot continue to run a script in a stack that has been removed from memory. Bob On Jan 24, 2012, at 1:23 AM, Tiemo Hollmann TB wrote: I tried it again with two instances and now the paste menu is active and I can copy/paste between two instances of LC. I don't know, why paste wasn't active before - does anybody knows what could led to this behavior? Thanks Tiemo -Ursprüngliche Nachricht- Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- boun...@lists.runrev.com] Im Auftrag von Tiemo Hollmann TB Gesendet: Dienstag, 24. Januar 2012 09:43 An: 'How to use LiveCode' Betreff: How can I copy from one stack to another with identical names? Hello, I have two versions of the same stack with a bunch of substacks. I would like to copy objects and scripts from one version to the other. I know, that I can't open two stacks with the same name for editing. I tried to open the two versions in two instances of LC, but it seems, that the copy/paste object doesn't work between instances. Renaming all stacks in one version would be an approach. Is there a better trick to do this job? Thanks for your experience Tiemo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Breakpoints on a Global
No, I mean I want to break when the value of the variable is something. In the default script editor there is a tab called Breakpoints. You can set something called a watch. You can set the scope to be global, and enter a variable, and set the break to happen when the variable matches a condition. It would be insanely useful, if it didn't crash to desktop just having the thing set to anything!! Bob On Jan 24, 2012, at 7:53 AM, J. Landman Gay wrote: On 1/23/12 4:30 PM, Bob Sneidar wrote: I've mentioned it before, that if you set a breakpoint on a global, the IDE will crash to desktop. If you mean trying to break on a global declaration, I'm not sure how that could work at all. That's just a memory assignment. There's nothing to break on, and it never even occured to me to try it. Breakpoints only work inside handlers. The engine shouldn't crash regardless, but you won't get any useful info from examining a memory assignment. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Breakpoints on a Global
Hi Phil. I cannot change the variable to a local because it is the array that contains the record data for the form I am using, so all objects have to be aware of it. You set a variable checkpoint either in the debugger, or by script. I'll be daggum if I remember the script command though. Bob On Jan 23, 2012, at 11:37 PM, Phil Davis wrote: Hi Bob, Does it crash when you set a breakpoint on a local? If not, can you change the global to a local variable? Just grasping at straws... I've never set a breakpoint on a variable declaration. Didn't know you could. Is your global declared in a handler or outside all handlers? (I assume in a handler, otherwise the breakpoint couldn't be triggered, right?) Phil Davis On 1/23/12 2:30 PM, Bob Sneidar wrote: I've mentioned it before, that if you set a breakpoint on a global, the IDE will crash to desktop. I have verified this is a problem even when all plugins are disabled. Does anyone know a workaround for this? I am in desperate need of finding where an array is getting set to empty. For whatever reason tracing it has been extremely elusive. Bob ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis PDS Labs Professional Software Development http://pdslabs.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: Opening a Supercard file in Livecode?
Actually, I think plain text would work here better, unless arrays were stored in properties. Even then, you could save the arrays as text using the printKeys() function. There are text comparison utilities out there which are quite good at highlighting the differences between two plain text files. I think grouped objects would have to be kept together too. Easier to put back together later. This actually seems like the beginnings of a version management plugin. The bugger in all of it is that you would have to avoid recording object ID's, opting for the long names of everything. Also, behaviors would be problematic. They would have to be listed without the ID's of the objects they were set to. Bob On Jan 24, 2012, at 7:17 AM, Richard Gaskin wrote: Pete wrote: All good points. I guess I'm thinking of a different situation that multiple people working on the same project. When someone reports a bug that crept into a particular version of an application, it would be useful to see what changes were made to the stack that might have introduced the bug. That's a very good point. It shouldn't be too hard to write a tool that can examine two sets of stack files and produce a list of handlers which have been modified. It would be a little tricky to write because we can't currently have two stacks open with the same name, but I think it may be doable using something like this: The tool would create an array with object references as the primary key and handler names as the secondary key, where the value is the handler definition itself. Then after it completes a scan of a given stack, it then goes through the other version and compares the same handler definitions, noting changes, missing items, and new items, and produces a clickable list of changes that could take the developer to the script in question. I'll add this to my To Do list; seems like it would be useful. -- 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
Livecode handling of directories with non-ascii (?) characters.
I'm not sure if this is a LC question, or an OSX question, or a unicode question, or ... or what. I have a folder with funny characters (:-) in its name, and that seems to cause a problem in LC. When I do 'ls' in terminal, I get Björg Þórhallsdóttir I cannot copy/paste this into a LC script using the script editor, but copy/pasting it into a text file, and then reading that (as a binfile) shows that the characters are B j ˆ r g fi Û r h a l l s d Û t t i r 66 106 246 114 103 32 222 243 114 104 97 108 108 115 100 243 116 116 105 114 10 However, in LC if I do put the folders into myVar what I get is 66 106 154 114 103 32 63 151 114 104 97 108 108 115 100 151 116 116 105 114 i.e. instead of 246 I get 154 243 I get 151 222 I get 63 and (naturally) I cannot then do set the defaultfolder to line 2 of myVar So - is there anything I can do to get around this ? Thanks -- Alex. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: Livecode handling of directories with non-ascii (?) characters.
Alex, I have had this problem since the Rev 2.0 days and as far as I can tell it is not fixed. In LC, I can literally get the files and immediately ask is there a file (line whatever of it) and I get a doesn't exist if line whatever of its contains a violater character in the file name. This happens with me for all Czech characters in the high ASCII range, and I have no workaround, either through terminal or through native LC. I am on Windows, not MacOS. It was a deal-breaker on an app I was developing a couple years back. -- I'm not sure if this is a LC question, or an OSX question, or a unicode question, or ... or what. I have a folder with funny characters (:-) in its name, and that seems to cause a problem in LC. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Livecode handling of directories with non-ascii (?) characters.
Alex, No, LiveCode is hopelessly obsolete when it comes to unicode and interaction with other programmes or the operating system. You could try to create your own file management system for LiveCode using the shell, AppleScript and VBScript. LiveCode is the only current cross-platform tool I know of that is unable to do this. Even SuperCard, which isn't really unicode compliant, can deal with files that have non-ASCII characters in them. -- 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 jan 2012, at 19:27, Alex Tweedly wrote: I'm not sure if this is a LC question, or an OSX question, or a unicode question, or ... or what. I have a folder with funny characters (:-) in its name, and that seems to cause a problem in LC. When I do 'ls' in terminal, I get Björg Þórhallsdóttir I cannot copy/paste this into a LC script using the script editor, but copy/pasting it into a text file, and then reading that (as a binfile) shows that the characters are B j ˆ r g fi Û r h a l l s d Û t t i r 66 106 246 114 103 32 222 243 114 104 97 108 108 115 100 243 116 116 105 114 10 However, in LC if I do put the folders into myVar what I get is 66 106 154 114 103 32 63 151 114 104 97 108 108 115 100 151 116 116 105 114 i.e. instead of 246 I get 154 243 I get 151 222 I get 63 and (naturally) I cannot then do set the defaultfolder to line 2 of myVar So - is there anything I can do to get around this ? Thanks -- Alex. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Livecode handling of directories with non-ascii (?) characters.
Mark, It is a LC question. Definitely an LC question. -- 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 jan 2012, at 20:04, Mark Powell wrote: Alex, I have had this problem since the Rev 2.0 days and as far as I can tell it is not fixed. In LC, I can literally get the files and immediately ask is there a file (line whatever of it) and I get a doesn't exist if line whatever of its contains a violater character in the file name. This happens with me for all Czech characters in the high ASCII range, and I have no workaround, either through terminal or through native LC. I am on Windows, not MacOS. It was a deal-breaker on an app I was developing a couple years back. -- I'm not sure if this is a LC question, or an OSX question, or a unicode question, or ... or what. I have a folder with funny characters (:-) in its name, and that seems to cause a problem in LC. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Navigating XML in LiveCode
Ken - ever helpful! I'm sorry I grumbled about not getting replies. That's just stupid, given that everyone on this list is busy, and it's bad manners too. Anyway your reply (which I haven't quoted in full) shows me how to get round my specific issues, so I see that it can be done: what I have to do now is to decide between a perhaps more appropriate structure using arrays, with the disadvantage of having to put them in a stack and save it to get persistence, or to put up with the rather clunky XML functions (yours or LC's) in order to get a simpler storage solution. If it's *really* simple, you might want to consider a simple tab-delimited text file - by far the easiest approach, IMHO. :D Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Opening a Supercard file in Livecode?
Bob, I think you'd have to find some way to preserve object IDs or a lot of stuff would break. Datagrids, for example, store the row template as a long id. And, as you pointed out, behaviors. On Tue, Jan 24, 2012 at 9:43 AM, Bob Sneidar b...@twft.com wrote: Actually, I think plain text would work here better, unless arrays were stored in properties. Even then, you could save the arrays as text using the printKeys() function. There are text comparison utilities out there which are quite good at highlighting the differences between two plain text files. I think grouped objects would have to be kept together too. Easier to put back together later. This actually seems like the beginnings of a version management plugin. The bugger in all of it is that you would have to avoid recording object ID's, opting for the long names of everything. Also, behaviors would be problematic. They would have to be listed without the ID's of the objects they were set to. Bob On Jan 24, 2012, at 7:17 AM, Richard Gaskin wrote: Pete wrote: All good points. I guess I'm thinking of a different situation that multiple people working on the same project. When someone reports a bug that crept into a particular version of an application, it would be useful to see what changes were made to the stack that might have introduced the bug. That's a very good point. It shouldn't be too hard to write a tool that can examine two sets of stack files and produce a list of handlers which have been modified. It would be a little tricky to write because we can't currently have two stacks open with the same name, but I think it may be doable using something like this: The tool would create an array with object references as the primary key and handler names as the secondary key, where the value is the handler definition itself. Then after it completes a scan of a given stack, it then goes through the other version and compares the same handler definitions, noting changes, missing items, and new items, and produces a clickable list of changes that could take the developer to the script in question. I'll add this to my To Do list; seems like it would be useful. -- 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 -- 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: Developing on Mac, standalone on Windows
I do all that already, still looks different on Windows than on Mac, I think because of the different character widths of different fonts. The only way I can think to keep it looking the same is do all the centering, etc when a card is opened. On Tue, Jan 24, 2012 at 9:14 AM, Bob Sneidar b...@twft.com wrote: Set the alignment of the label to Centered, set the width to autofit, align objects by their centers. One thing I do that seems to help is I set the width of the object (field, label, button, menu) to the formatted width of the object. On Jan 23, 2012, at 4:19 PM, Pete wrote: Of course, there are still related issues! For example, I have a series of buttons with icons associated with them. Each one also has a label underneath it. I carefully centered the button and the label on my Mac development machine but on the WIndows machine, they're not quite centered, presumably because of the font change. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Navigating XML in LiveCode
one can even store fields that contain returns - replace them with an 'invisible' character such as vertical tab and each record will be one line. Tab-delimited text is so much easier to deal with - the text chunking commands you already know work great - and are very fast. On 24 January 2012 11:52, Ken Ray k...@sonsothunder.com wrote: Ken - ever helpful! I'm sorry I grumbled about not getting replies. That's just stupid, given that everyone on this list is busy, and it's bad manners too. Anyway your reply (which I haven't quoted in full) shows me how to get round my specific issues, so I see that it can be done: what I have to do now is to decide between a perhaps more appropriate structure using arrays, with the disadvantage of having to put them in a stack and save it to get persistence, or to put up with the rather clunky XML functions (yours or LC's) in order to get a simpler storage solution. If it's *really* simple, you might want to consider a simple tab-delimited text file - by far the easiest approach, IMHO. :D 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 -- 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: Breakpoints on a Global
I see. After reading Jacque's contribution also, maybe you want something like this in your script? if the keys of gMyGlobal = empty then breakpoint Phil On 1/24/12 9:30 AM, Bob Sneidar wrote: Hi Phil. I cannot change the variable to a local because it is the array that contains the record data for the form I am using, so all objects have to be aware of it. You set a variable checkpoint either in the debugger, or by script. I'll be daggum if I remember the script command though. Bob On Jan 23, 2012, at 11:37 PM, Phil Davis wrote: Hi Bob, Does it crash when you set a breakpoint on a local? If not, can you change the global to a local variable? Just grasping at straws... I've never set a breakpoint on a variable declaration. Didn't know you could. Is your global declared in a handler or outside all handlers? (I assume in a handler, otherwise the breakpoint couldn't be triggered, right?) Phil Davis On 1/23/12 2:30 PM, Bob Sneidar wrote: I've mentioned it before, that if you set a breakpoint on a global, the IDE will crash to desktop. I have verified this is a problem even when all plugins are disabled. Does anyone know a workaround for this? I am in desperate need of finding where an array is getting set to empty. For whatever reason tracing it has been extremely elusive. Bob ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis PDS Labs Professional Software Development http://pdslabs.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 -- Phil Davis PDS Labs Professional Software Development http://pdslabs.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: Breakpoints on a Global
Aye I can already do that as a scripted breakpoint. if myGlobal is not an array. But where to put it? By the time it comes back from something I call a single key has been created by another handler, and there is no line I have encountered so far that actually sets it to empty. What is actually happening somewhere is that I am getting the dgHilitedIndex of a datagrid, and then putting the dgDataOfIndex into this global array, when there is nothing selected in the datagrid. My problem is finding where this is happening. I will try to find it using the search feature (very handy btw). It would be easier if RR fixes this daggum problem though. This is a feature that used to work. I know because GLX2 used to do this successfully. Bob On Jan 24, 2012, at 12:13 PM, Phil Davis wrote: I see. After reading Jacque's contribution also, maybe you want something like this in your script? if the keys of gMyGlobal = empty then breakpoint Phil On 1/24/12 9:30 AM, Bob Sneidar wrote: Hi Phil. I cannot change the variable to a local because it is the array that contains the record data for the form I am using, so all objects have to be aware of it. You set a variable checkpoint either in the debugger, or by script. I'll be daggum if I remember the script command though. Bob On Jan 23, 2012, at 11:37 PM, Phil Davis wrote: Hi Bob, Does it crash when you set a breakpoint on a local? If not, can you change the global to a local variable? Just grasping at straws... I've never set a breakpoint on a variable declaration. Didn't know you could. Is your global declared in a handler or outside all handlers? (I assume in a handler, otherwise the breakpoint couldn't be triggered, right?) Phil Davis On 1/23/12 2:30 PM, Bob Sneidar wrote: I've mentioned it before, that if you set a breakpoint on a global, the IDE will crash to desktop. I have verified this is a problem even when all plugins are disabled. Does anyone know a workaround for this? I am in desperate need of finding where an array is getting set to empty. For whatever reason tracing it has been extremely elusive. Bob ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis PDS Labs Professional Software Development http://pdslabs.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 -- Phil Davis PDS Labs Professional Software Development http://pdslabs.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: Developing on Mac, standalone on Windows
On Jan 24, 2012, at 2:03 PM, Pete wrote: I do all that already, still looks different on Windows than on Mac, I think because of the different character widths of different fonts. The only way I can think to keep it looking the same is do all the centering, etc when a card is opened. Oh also one thing that people forget about is that buttons have 'margins' just like fields do; I can't tell you how many times I've had to set the margins of a button to 'nudge' the label one way or the other… so you may be able to keep the width of the button, but just adjust the margins when the card is opened. 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
How do I make something like a html imagemap on a graphical object?
Hi there, I made a graphical oval object pacman with a startAngle of 28 and a arcAngle of 304. It's background is yellow. Want I want to do is something like a html image map: define an area where something happens. I want the cursor to change 'on mouseenter' but only when the mouse is over 'packman' or over its's 'mouth' Ofcourse I can do this by using 'dummy' transparent graphical objects placed over the 'pacman' and over it's mouth but I am looking for a way to do this by script. Is this possible? 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: Opening a Supercard file in Livecode?
Yes the more I think about it, the more tedious it becomes. It seems the only way to do multiuser dev is to have the source stack available to a kind of checkout engine. A dev would have to check out an object at which point it would be unavailable to any other user. And you would have to have a running copy that was the exact replica of the original including ID's. Not sure how to do that. Way back when some made the argument that it was a bad idea to use ID's as references to objects. Now it seems we understand much more how true that is. We are beyond the point of know return now. :-) Bob On Jan 24, 2012, at 11:59 AM, Pete wrote: Bob, I think you'd have to find some way to preserve object IDs or a lot of stuff would break. Datagrids, for example, store the row template as a long id. And, as you pointed out, behaviors. ___ 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: Breakpoints on a Global
Hmmm. You probably already tried this, but... can you check for a non-empty value in dgHilitedIndex before allowing the 'put... into...' to proceed? Of course that's still a problem if it happens in 14 dozen different places. Maybe put the actual setting of the array inside a setProp handler, so your setprop handler script can examine the 'set to' values before allowing it? Sounds frustrating indeed. Phil On 1/24/12 1:04 PM, Bob Sneidar wrote: Aye I can already do that as a scripted breakpoint. if myGlobal is not an array. But where to put it? By the time it comes back from something I call a single key has been created by another handler, and there is no line I have encountered so far that actually sets it to empty. What is actually happening somewhere is that I am getting the dgHilitedIndex of a datagrid, and then putting the dgDataOfIndex into this global array, when there is nothing selected in the datagrid. My problem is finding where this is happening. I will try to find it using the search feature (very handy btw). It would be easier if RR fixes this daggum problem though. This is a feature that used to work. I know because GLX2 used to do this successfully. Bob On Jan 24, 2012, at 12:13 PM, Phil Davis wrote: I see. After reading Jacque's contribution also, maybe you want something like this in your script? if the keys of gMyGlobal = empty then breakpoint Phil On 1/24/12 9:30 AM, Bob Sneidar wrote: Hi Phil. I cannot change the variable to a local because it is the array that contains the record data for the form I am using, so all objects have to be aware of it. You set a variable checkpoint either in the debugger, or by script. I'll be daggum if I remember the script command though. Bob On Jan 23, 2012, at 11:37 PM, Phil Davis wrote: Hi Bob, Does it crash when you set a breakpoint on a local? If not, can you change the global to a local variable? Just grasping at straws... I've never set a breakpoint on a variable declaration. Didn't know you could. Is your global declared in a handler or outside all handlers? (I assume in a handler, otherwise the breakpoint couldn't be triggered, right?) Phil Davis On 1/23/12 2:30 PM, Bob Sneidar wrote: I've mentioned it before, that if you set a breakpoint on a global, the IDE will crash to desktop. I have verified this is a problem even when all plugins are disabled. Does anyone know a workaround for this? I am in desperate need of finding where an array is getting set to empty. For whatever reason tracing it has been extremely elusive. Bob ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis PDS Labs Professional Software Development http://pdslabs.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 -- Phil Davis PDS Labs Professional Software Development http://pdslabs.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 -- Phil Davis PDS Labs Professional Software Development http://pdslabs.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: Throttling Accelerated Rendering...
On 1/24/12 11:13 AM, John Dixon wrote: Jacque... From where are you handling the switching... from a preOpenCard handler ?... and how about when switching it off ?... (now I'm going to say something stupid) from the closeCard handler... the reason I ask, is I have tried this but am experiencing flashing when moving from a card using the acceleratedRendering to one where it gets 'switched off', as it were. I only have one card that needs accelerated rendering, so I set it on preOpenCard and turn it off on closecard. But I do lock the screen and apply a visual effect when the card changes, so maybe that's why I don't see any flash. If you don't need a visual effect, you could still try locking and unlocking the screen. Are you using the latest release? There were some issues that were fixed that might apply. -- 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: Opening a Supercard file in Livecode?
uniquely naming all objects and using 'get the id of object name' instead of using any IDs at all would seem to solve this problem... of course would have to be a convention when starting a project. why wouldn't this work? On 24 January 2012 13:20, Bob Sneidar b...@twft.com wrote: Yes the more I think about it, the more tedious it becomes. It seems the only way to do multiuser dev is to have the source stack available to a kind of checkout engine. A dev would have to check out an object at which point it would be unavailable to any other user. And you would have to have a running copy that was the exact replica of the original including ID's. Not sure how to do that. Way back when some made the argument that it was a bad idea to use ID's as references to objects. Now it seems we understand much more how true that is. We are beyond the point of know return now. :-) Bob On Jan 24, 2012, at 11:59 AM, Pete wrote: Bob, I think you'd have to find some way to preserve object IDs or a lot of stuff would break. Datagrids, for example, store the row template as a long id. And, as you pointed out, behaviors. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Breakpoints on a Global
yup found one instance of that. Have to be careful though because I have a second datagrid that is populated with related table data and uses the values in the array in it's own query. sigh I just have to pore through the code. Bob On Jan 24, 2012, at 1:22 PM, Phil Davis wrote: Hmmm. You probably already tried this, but... can you check for a non-empty value in dgHilitedIndex before allowing the 'put... into...' to proceed? Of course that's still a problem if it happens in 14 dozen different places. Maybe put the actual setting of the array inside a setProp handler, so your setprop handler script can examine the 'set to' values before allowing it? Sounds frustrating indeed. Phil On 1/24/12 1:04 PM, Bob Sneidar wrote: Aye I can already do that as a scripted breakpoint. if myGlobal is not an array. But where to put it? By the time it comes back from something I call a single key has been created by another handler, and there is no line I have encountered so far that actually sets it to empty. What is actually happening somewhere is that I am getting the dgHilitedIndex of a datagrid, and then putting the dgDataOfIndex into this global array, when there is nothing selected in the datagrid. My problem is finding where this is happening. I will try to find it using the search feature (very handy btw). It would be easier if RR fixes this daggum problem though. This is a feature that used to work. I know because GLX2 used to do this successfully. Bob On Jan 24, 2012, at 12:13 PM, Phil Davis wrote: I see. After reading Jacque's contribution also, maybe you want something like this in your script? if the keys of gMyGlobal = empty then breakpoint Phil On 1/24/12 9:30 AM, Bob Sneidar wrote: Hi Phil. I cannot change the variable to a local because it is the array that contains the record data for the form I am using, so all objects have to be aware of it. You set a variable checkpoint either in the debugger, or by script. I'll be daggum if I remember the script command though. Bob On Jan 23, 2012, at 11:37 PM, Phil Davis wrote: Hi Bob, Does it crash when you set a breakpoint on a local? If not, can you change the global to a local variable? Just grasping at straws... I've never set a breakpoint on a variable declaration. Didn't know you could. Is your global declared in a handler or outside all handlers? (I assume in a handler, otherwise the breakpoint couldn't be triggered, right?) Phil Davis On 1/23/12 2:30 PM, Bob Sneidar wrote: I've mentioned it before, that if you set a breakpoint on a global, the IDE will crash to desktop. I have verified this is a problem even when all plugins are disabled. Does anyone know a workaround for this? I am in desperate need of finding where an array is getting set to empty. For whatever reason tracing it has been extremely elusive. Bob ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis PDS Labs Professional Software Development http://pdslabs.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 -- Phil Davis PDS Labs Professional Software Development http://pdslabs.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 -- Phil Davis PDS Labs Professional Software Development http://pdslabs.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: How do I make something like a html imagemap on a graphical object?
Hi William, Take a look at the newletter issue 67: http://runrev.com/newsletter/march/issue67/newsletter2.php I happened to be checking things out in the old newsletters, and noticed that it does what you're talking about (along with a bit more, I gather). -Ken On 24/01/2012 21:11, William de Smet wrote: Want I want to do is something like a html image map: define an area where something happens. I want the cursor to change 'on mouseenter' but only when the mouse is over 'packman' or over its's 'mouth' ___ 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
Answer file with multiple types
This statement works for .txt files. answer file Select the text file with type Text|txt How would I allow both .txt and .csv files as multiple types? The documentation says it can be done but I'm not seeing the right syntax. Thanks, Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. ___ 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: Breakpoints on a Global
Okay I found another obscure instance of the same thing and fixed it. I have learned a valuable lesson: Bail from handlers when there is no point proceeding. An empty value for the dhHilitedIndex in this particular handler produced the same visible results, but ended up setting my array (which the whole form is based upon) to empty. I really need to be more disciplined in my coding habits. I still would LOVE to see that variable watch feature fixed again though. That is insanely useful! Bob yup found one instance of that. Have to be careful though because I have a second datagrid that is populated with related table data and uses the values in the array in it's own query. sigh I just have to pore through the code. Bob On Jan 24, 2012, at 1:22 PM, Phil Davis wrote: Hmmm. You probably already tried this, but... can you check for a non-empty value in dgHilitedIndex before allowing the 'put... into...' to proceed? Of course that's still a problem if it happens in 14 dozen different places. Maybe put the actual setting of the array inside a setProp handler, so your setprop handler script can examine the 'set to' values before allowing it? Sounds frustrating indeed. Phil ___ 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: Answer file with multiple types
On Jan 24, 2012, at 3:49 PM, Bill Vlahos wrote: This statement works for .txt files. answer file Select the text file with type Text|txt How would I allow both .txt and .csv files as multiple types? The documentation says it can be done but I'm not seeing the right syntax. answer file Select the text file with type Text|txt or type CSV|csv Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Opening a Supercard file in Livecode?
It would work for user created objects, except how do you get datagrids to do this? All kinds of things in the datagrid are linked by long ID's to their behaviors by the engine. I'd be nervous about going into any functioning datagrid and trying to update all the object behavior references, and then when the datagrid creates new objects, unless you modify the datagrid library, it is also going to assign long ID's to those. This does bring up an interesting point though. I think the datagrid library could be updated in such a way that the objects it creates could be persistent, that is, given the same size datagrid, same rows and columns, the objects would not be deleted or recreated simply because the data changed. It would also address the issue of how to deal with adding data below the last data in the datagrid. If the cells were already there you would just double click on one to edit it. It would be quite an undertaking, but it is my opinion that the datagrid should have been designed this way to begin with. It solves a lot of problems we run into now, and we have discussed previously what happens in an app after a number of years of heavy use if you run out of ID's. It's hardly likely I suppose, but it's a possibility. Just thinking out loud here. Bob On Jan 24, 2012, at 1:28 PM, stephen barncard wrote: uniquely naming all objects and using 'get the id of object name' instead of using any IDs at all would seem to solve this problem... of course would have to be a convention when starting a project. why wouldn't this work? On 24 January 2012 13:20, Bob Sneidar b...@twft.com wrote: Yes the more I think about it, the more tedious it becomes. It seems the only way to do multiuser dev is to have the source stack available to a kind of checkout engine. A dev would have to check out an object at which point it would be unavailable to any other user. And you would have to have a running copy that was the exact replica of the original including ID's. Not sure how to do that. Way back when some made the argument that it was a bad idea to use ID's as references to objects. Now it seems we understand much more how true that is. We are beyond the point of know return now. :-) Bob On Jan 24, 2012, at 11:59 AM, Pete wrote: Bob, I think you'd have to find some way to preserve object IDs or a lot of stuff would break. Datagrids, for example, store the row template as a long id. And, as you pointed out, behaviors. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ 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: Opening a Supercard file in Livecode?
I am sure the Slug and/or Trevor will chime in here.. good points the redirection might have an impact on the speed in this case...Maybe a special 'data grid fixer' handler On 24 January 2012 14:06, Bob Sneidar b...@twft.com wrote: It would work for user created objects, except how do you get datagrids to do this? All kinds of things in the datagrid are linked by long ID's to their behaviors by the engine. I'd be nervous about going into any functioning datagrid and trying to update all the object behavior references, and then when the datagrid creates new objects, unless you modify the datagrid library, it is also going to assign long ID's to those. This does bring up an interesting point though. I think the datagrid library could be updated in such a way that the objects it creates could be persistent, that is, given the same size datagrid, same rows and columns, the objects would not be deleted or recreated simply because the data changed. It would also address the issue of how to deal with adding data below the last data in the datagrid. If the cells were already there you would just double click on one to edit it. It would be quite an undertaking, but it is my opinion that the datagrid should have been designed this way to begin with. It solves a lot of problems we run into now, and we have discussed previously what happens in an app after a number of years of heavy use if you run out of ID's. It's hardly likely I suppose, but it's a possibility. Just thinking out loud here. Bob On Jan 24, 2012, at 1:28 PM, stephen barncard wrote: uniquely naming all objects and using 'get the id of object name' instead of using any IDs at all would seem to solve this problem... of course would have to be a convention when starting a project. why wouldn't this work? On 24 January 2012 13:20, Bob Sneidar b...@twft.com wrote: Yes the more I think about it, the more tedious it becomes. It seems the only way to do multiuser dev is to have the source stack available to a kind of checkout engine. A dev would have to check out an object at which point it would be unavailable to any other user. And you would have to have a running copy that was the exact replica of the original including ID's. Not sure how to do that. Way back when some made the argument that it was a bad idea to use ID's as references to objects. Now it seems we understand much more how true that is. We are beyond the point of know return now. :-) Bob On Jan 24, 2012, at 11:59 AM, Pete wrote: Bob, I think you'd have to find some way to preserve object IDs or a lot of stuff would break. Datagrids, for example, store the row template as a long id. And, as you pointed out, behaviors. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
standalone icon
Is it okay to use LC's default icons (they seem to be different for Macs and PCs) for a market product? How does one obtain a custom-made icon? Do you have to have separate ones for Macs and PCs? Can anyone here help me with this? Thanks. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Opening a Supercard file in Livecode?
I think we're each looking at this from different perspectives. My objective is to compare two versions of the same stack file and list the differences between them, that's it. All the data collected about the stack would be have to be keyed by object ids (perhaps with the exception of stacks and images) in order to do that, I think, since names can and do change and a name change would be something you'd want to know about. Isn't there some sort of user-assigned id available? That could help. There's definitely challenges to anything beyond that. I have a feeling that trying to recreate a stack would be a nightmare and Version control is certainly a complex subject. On Tue, Jan 24, 2012 at 1:28 PM, stephen barncard stephenrevoluti...@barncard.com wrote: uniquely naming all objects and using 'get the id of object name' instead of using any IDs at all would seem to solve this problem... of course would have to be a convention when starting a project. why wouldn't this work? On 24 January 2012 13:20, Bob Sneidar b...@twft.com wrote: Yes the more I think about it, the more tedious it becomes. It seems the only way to do multiuser dev is to have the source stack available to a kind of checkout engine. A dev would have to check out an object at which point it would be unavailable to any other user. And you would have to have a running copy that was the exact replica of the original including ID's. Not sure how to do that. Way back when some made the argument that it was a bad idea to use ID's as references to objects. Now it seems we understand much more how true that is. We are beyond the point of know return now. :-) Bob On Jan 24, 2012, at 11:59 AM, Pete wrote: Bob, I think you'd have to find some way to preserve object IDs or a lot of stuff would break. Datagrids, for example, store the row template as a long id. And, as you pointed out, behaviors. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- 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
[ANN] mergZXing 1.0.3
Hi All I have just updated mergZXing with a new bonus external mergMessage all still for the early bird price of US$49. With mergMessage you can send sms from livecode. There's one command: mergMessage [pNumbers],[pBody] and one function: mergMessageCanSendText() Cheers Monte ___ 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: Opening a Supercard file in Livecode?
Aye but the problems you face are the same ones with version control and multiuser development. Almost the exact same set of problems actually. Bob On Jan 24, 2012, at 2:41 PM, Pete wrote: I think we're each looking at this from different perspectives. My objective is to compare two versions of the same stack file and list the differences between them, that's 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
Re: standalone icon
On Jan 24, 2012, at 2:40 PM, Art DiVito wrote: Is it okay to use LC's default icons (they seem to be different for Macs and PCs) for a market product? How does one obtain a custom-made icon? Do you have to have separate ones for Macs and PCs? Can anyone here help me with this? Thanks. Dear Art, You will need to create your own Artwork for your icons. There are a number of programs that can help with the details. We use Axialis IconWorkshop. It is affordable and the license gets your free updates for life. It will output both Windows and Mac icon formats. You can expect a single file for each platform. You then point the standalone builder to each file for the appropriate platform. Best regards, Mark Talluto http://www.canelasoftware.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
Geometry Manager
Are there any lessons/examples/hints anywhere re using up the Geometry settings for an object? No being a very graphically inclined person, I'm having a hell of a time trying to figure out how to make it work! -- 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: [ANN] mergZXing 1.0.3
Hi Monte, This is excellent. This feature alone enticed me to buy your work. What are the rights on using your external in commercial work? Best regards, Mark Talluto http://www.canelasoftware.com On Jan 24, 2012, at 2:56 PM, Monte Goulding wrote: Hi All I have just updated mergZXing with a new bonus external mergMessage all still for the early bird price of US$49. With mergMessage you can send sms from livecode. There's one command: mergMessage [pNumbers],[pBody] and one function: mergMessageCanSendText() Cheers Monte ___ 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: Developing on Mac, standalone on Windows
Hi Ken, The problem I'm having is centering two controls - one is a button with an icon assigned to it and set to not display the name, and the other is a label immediately below the icon that displays what would normally be the button name. I set the two obects to have their vertical centers aligned during design. All looks fine on the Mac but in the standalone Windows version, they're not quite centered any more. Also wanted to pass on a little change I made in your script for setting fonts on different platforms, and that's our good old friend the datagrid. In order to set the text font used in a datagrid, you have to set the dgprops[text font] of the datagrid, not the normal textfont property. Datagrids also have a text size and text style properties. But all is working just fine now so thanks for the pointers. Pete On Tue, Jan 24, 2012 at 1:05 PM, Ken Ray k...@sonsothunder.com wrote: Oh also one thing that people forget about is that buttons have 'margins' just like fields do; I can't tell you how many times I've had to set the margins of a button to 'nudge' the label one way or the other… so you may be able to keep the width of the button, but just adjust the margins when the card is opened. -- 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: Geometry Manager
It is somewhat abstract. Try this lesson: http://lessons.runrev.com/s/lessons/m/4067/l/19026-Geometry-Manager On Jan 24, 2012, at 11:07 PM, Pete wrote: Are there any lessons/examples/hints anywhere re using up the Geometry settings for an object? No being a very graphically inclined person, I'm having a hell of a time trying to figure out how to make it work! ___ 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] mergZXing 1.0.3
Hi Monte, I just found the licensing details on your server. Should have looked before asking. Best regards, Mark Talluto http://www.canelasoftware.com On Jan 24, 2012, at 2:56 PM, Monte Goulding wrote: Hi All I have just updated mergZXing with a new bonus external mergMessage all still for the early bird price of US$49. With mergMessage you can send sms from livecode. There's one command: mergMessage [pNumbers],[pBody] and one function: mergMessageCanSendText() Cheers Monte ___ 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: [ANN] mergZXing 1.0.3
Those externals are great!!! Guys, don't miss this one! On Tue, Jan 24, 2012 at 9:14 PM, Mark Talluto use...@canelasoftware.comwrote: Hi Monte, This is excellent. This feature alone enticed me to buy your work. What are the rights on using your external in commercial work? Best regards, Mark Talluto http://www.canelasoftware.com On Jan 24, 2012, at 2:56 PM, Monte Goulding wrote: Hi All I have just updated mergZXing with a new bonus external mergMessage all still for the early bird price of US$49. With mergMessage you can send sms from livecode. There's one command: mergMessage [pNumbers],[pBody] and one function: mergMessageCanSendText() Cheers Monte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Opening a Supercard file in Livecode?
there's the altID property, but it has a 16 bit range 65535 On 24 January 2012 14:41, Pete p...@mollysrevenge.com wrote: I think we're each looking at this from different perspectives. Isn't there some sort of user-assigned id available? That could help. 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: [ANN] mergZXing 1.0.3
There is a separate license for each external as some use open source libraries. Cheers Monte On 25/01/2012, at 10:17 AM, Mark Talluto wrote: Hi Monte, I just found the licensing details on your server. Should have looked before asking. Best regards, Mark Talluto http://www.canelasoftware.com On Jan 24, 2012, at 2:56 PM, Monte Goulding wrote: Hi All I have just updated mergZXing with a new bonus external mergMessage all still for the early bird price of US$49. With mergMessage you can send sms from livecode. There's one command: mergMessage [pNumbers],[pBody] and one function: mergMessageCanSendText() Cheers Monte ___ 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: Opening a Supercard file in Livecode?
stephen barncard wrote: there's the altID property, but it has a 16 bit range 65535 You shouldn't need to use the altID for this, since the ability to set the ID property of any object was added to the engine a few versions back specifically to support efforts to make XML-stack translators for version control. -- 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: Opening a Supercard file in Livecode?
how are conflicts handled if one does that? Error thrown? On 24 January 2012 16:00, Pete p...@mollysrevenge.com wrote: Thanks Richard, I remember now you posted that a couple days back. So you just set the id of control xyz to do that? 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: standalone icon
Really?? I thought the EULA allowed for the use of the Livecode icons in a project made with Livecode?? Bob On Jan 24, 2012, at 3:05 PM, Mark Talluto wrote: On Jan 24, 2012, at 2:40 PM, Art DiVito wrote: Is it okay to use LC's default icons (they seem to be different for Macs and PCs) for a market product? How does one obtain a custom-made icon? Do you have to have separate ones for Macs and PCs? Can anyone here help me with this? Thanks. Dear Art, You will need to create your own Artwork for your icons. There are a number of programs that can help with the details. We use Axialis IconWorkshop. It is affordable and the license gets your free updates for life. It will output both Windows and Mac icon formats. You can expect a single file for each platform. You then point the standalone builder to each file for the appropriate platform. Best regards, Mark Talluto http://www.canelasoftware.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: Geometry Manager
Someone made a better geometry manager called NativeGeometry. Check it out. It's supposed to be much superior to the Livecode one. Bob On Jan 24, 2012, at 3:07 PM, Pete wrote: Are there any lessons/examples/hints anywhere re using up the Geometry settings for an object? No being a very graphically inclined person, I'm having a hell of a time trying to figure out how to make it work! -- 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: Geometry Manager
Thanks Colin. I read the lesson but still can't get the effect I want. Maybe I'm trying to use the geometry manager for something it's not designed to do? I have a group on a card that has a number of controls in it. If the user resizes the card, I want the group to resize in proportion to the amount the card is resized and for the vertical/horizontal scrollbars of the group to become active if any of its controls are outside the boundaries of the group. I thought this could make this work by choosing Scale selected object and specifying an absolute or relative link to the right edge of the card (and the bottom). But if I resize the card to be narrower, the group doesn't resize - instead, its left edge is pushed beyond the left edge of the card and of course the horizontal scrollbar doesn't activate since all the group's controls are still within its boundaries, even though they are off the screen. I've tried linking the group to different combinations of the edges of the card, other controls, absolute and relative links and no matter how I resize the card, the group never resizes. Pete On Tue, Jan 24, 2012 at 3:16 PM, Colin Holgate co...@verizon.net wrote: It is somewhat abstract. Try this lesson: http://lessons.runrev.com/s/lessons/m/4067/l/19026-Geometry-Manager On Jan 24, 2012, at 11:07 PM, Pete wrote: Are there any lessons/examples/hints anywhere re using up the Geometry settings for an object? No being a very graphically inclined person, I'm having a hell of a time trying to figure out how to make it work! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Geometry Manager
On 1/24/12 7:25 PM, Pete wrote: I've tried linking the group to different combinations of the edges of the card, other controls, absolute and relative links and no matter how I resize the card, the group never resizes. Is the group's lockLoc set to true? After the geometry manager finishes, the group will spring back to encompass all its controls if it isn't locked. -- 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: Breakpoints on a Global
Bob Sneidar bobs@... writes: though. This is a feature that used to work. I know because GLX2 used to do this successfully. You're confusing breakpoints and watched variables. It used to be that you couldn't set a watch on a global variable, but that bug (6506) was fixed in version 4.5.2. If you're using PowerDebug for this, just click to the left of the global name in the global variables display at the top. If you're using the IDE, do whatever (sorry, I can't remember). If you want to do this by script, put the watchedvariables into tVars put ,,tVariableName,tValue cr after tVars set the watchedvariables to tVars where tValue can be empty to match any value -- Mark Wieder ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Looking for beta testers import of passwords to InfoWallet
Thanks to all the folks who tested the new version and gave me feedback. I'm happy to announce I was able to release the new version tonight that can import passwords from other programs. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Jan 22, 2012, at 12:34 PM, Bill Vlahos wrote: I'm looking for people to test the import of passwords into InfoWallet from tab-delimited or comma-delimited(csv) text files. These would be files exported from whatever existing password management program you might be using. If you are interested and don't already have a license for InfoWallet, simply download the trial version from the web site and send me an email so that I can send you the new update. The trial version doesn't have any limits on the number of records so it will work fine for this test. As an incentive to test this today (January 22, 2012), anyone who can test and send me the results today will get a free license for InfoWallet. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. ___ 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: Geometry Manager
Hi Jacque, Setting lockloc to true fixed it, thanks! For some reason or other, I have a hangup about that property - always seems like it's the wrong way round, with locked meaning it will change dimensions and not locked meaning it won't. My one remaining piece of the puzzle is to only have the scrollbars visible when they are needed. I'm guessing that I should use the resizeStack message to check if the group needs the scrollbars or not Pete On Tue, Jan 24, 2012 at 8:32 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 1/24/12 7:25 PM, Pete wrote: I've tried linking the group to different combinations of the edges of the card, other controls, absolute and relative links and no matter how I resize the card, the group never resizes. Is the group's lockLoc set to true? After the geometry manager finishes, the group will spring back to encompass all its controls if it isn't locked. -- 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