Copy Files in the Standalone Settings
When I use the Add Folder button in the Copy Files tab of the Standalone Settings dialog, I see the path to the folder listed with an asterisk, like this: Fonts/* I thought that when the standalone is built, all files in folder Fonts would be copied to folder Fonts in the subtree that contains the executable. But this doesn't happen: the folder is created, but it is empty. Do I have to also add each file in that folder using the Add File button? That doesn't seem right... or is it? Thanks, Slava ___ use-livecode mailing list use-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: Copy Files in the Standalone Settings
Hi Slava, It seems like it. I agree it doesn't seem right. I never thought about it that much because I always have only a few files to copy. You could report this as a bug. Btw if you want to install fonts the correct way, you might want to use the Installer Maker Plugin. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 27 jun 2011, at 08:07, Slava Paperno wrote: When I use the Add Folder button in the Copy Files tab of the Standalone Settings dialog, I see the path to the folder listed with an asterisk, like this: Fonts/* I thought that when the standalone is built, all files in folder Fonts would be copied to folder Fonts in the subtree that contains the executable. But this doesn't happen: the folder is created, but it is empty. Do I have to also add each file in that folder using the Add File button? That doesn't seem right... or is it? Thanks, Slava ___ use-livecode mailing list use-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: Copy Files in the Standalone Settings
Thanks, Mark. Yes, I'll be using your Installer Maker, which I bought last week, but since you said a new version was coming, I'm waiting for that. No rush. I'll check the QCC database to see if this file copying has been reported as a bug. Gratefully, Slava -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- boun...@lists.runrev.com] On Behalf Of Mark Schonewille Sent: Monday, June 27, 2011 5:06 AM To: How to use LiveCode Subject: Re: Copy Files in the Standalone Settings Hi Slava, It seems like it. I agree it doesn't seem right. I never thought about it that much because I always have only a few files to copy. You could report this as a bug. Btw if you want to install fonts the correct way, you might want to use the Installer Maker Plugin. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 ___ use-livecode mailing list use-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: formattedheight and formattedwidth
Pete wrote: OK I see what you mean about the formatted versions of height/width. The straight height and width properties don't seem to come anywhere close to working even allowing for menu bar issues (I'm on OS X). They set the height/width to what they were for the previous card opened in the stack, not the current card. This thread confuses me, since the height and width properties of a card object cannot be set at all. A card is merely a container for controls inside the stack, allowing multiple sets of controls within a given window. But the card always fills the stack, so changing the size of the stack will change the size of the card, but the size of the card itself cannot be set independently. Indeed, if it could what would happen to the area beyond the edges of a card which is smaller than the window displaying it? AFAIK, there's only one exception to the general rule that the card size will always be the same as the stack size: if the stack has a menubar defined, its editMenus property is false (the default), and it's currently running under OS X. Since OS X has a global menu bar, the stack's menubar is scrolled out of view and the size of the stack is automatically cropped by the height of the menubar group. In that case, the height of the card will be the stack height + the height of the menubar group, and the card width will remain the same as the stack's width. Aside from that one set of circumstances on OS X, the card size should always reflect the stack size, and even on OS X with a menubar the stack size still governs the card size, the only difference being the height of the menubar group. So if you want to change the size of the window, just change the size of the stack. If you don't want to change the size of the window, what is the goal of attempting to change the card size? -- 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: formattedheight and formattedwidth
I am changing the stack size. Each card in the stack in question needs to have a different height and width dimension in order for all its controls to be visible and, as you rightly point out, that has to be done by setting the height and width properties of the stack, not the card. I had initially inserted lines of code in the preOpenCard handler for each individual card that set the height and width of the stack to specific numbers. But if I changed the design of the card or added a new card, I had to change those numbers or remember to set the stack height and width so I started looking for a generic method which I could put in the stack script and I'd never have to worry about changing it again. The formattedheight and formattedwidth properties ended up being the way to do it, suitably adjusted to account for margins on each side of the card. The code I now use is: set the height of this stack to the formattedheight of this card + 20 set the width of this stack to he formattedwidth of this card + 20 That works for any card in the stack as long as I make sure that the top let control is positioned 10 pixels from the top and 10 pixels from the left edge. Hope that clears up the confusion. Pete Molly's Revenge http://www.mollysrevenge.com On Mon, Jun 27, 2011 at 7:27 AM, Richard Gaskin ambassa...@fourthworld.comwrote: Pete wrote: OK I see what you mean about the formatted versions of height/width. The straight height and width properties don't seem to come anywhere close to working even allowing for menu bar issues (I'm on OS X). They set the height/width to what they were for the previous card opened in the stack, not the current card. This thread confuses me, since the height and width properties of a card object cannot be set at all. A card is merely a container for controls inside the stack, allowing multiple sets of controls within a given window. But the card always fills the stack, so changing the size of the stack will change the size of the card, but the size of the card itself cannot be set independently. Indeed, if it could what would happen to the area beyond the edges of a card which is smaller than the window displaying it? AFAIK, there's only one exception to the general rule that the card size will always be the same as the stack size: if the stack has a menubar defined, its editMenus property is false (the default), and it's currently running under OS X. Since OS X has a global menu bar, the stack's menubar is scrolled out of view and the size of the stack is automatically cropped by the height of the menubar group. In that case, the height of the card will be the stack height + the height of the menubar group, and the card width will remain the same as the stack's width. Aside from that one set of circumstances on OS X, the card size should always reflect the stack size, and even on OS X with a menubar the stack size still governs the card size, the only difference being the height of the menubar group. So if you want to change the size of the window, just change the size of the stack. If you don't want to change the size of the window, what is the goal of attempting to change the card size? -- 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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[WANTED:] LiveCode External. Adobe PDF API Developer...
All, Researchware, Inc. is looking to engage a developer(s) to produce a library for LiveCode that allows the opening and display of PDF's within a Livecode window and the getting and setting of the selection within a PDF. I can provide project specifications upon request. Please contact me off-list if you are interested. Interested candidates should have demonstrable experience with LiveCode externals and Adobe APIs for reading PDFs. In addition, a number of people on this list have expressed interest in the past on having access to such a library. Researchware would welcome discussions with any party that would be interested in contributing monetarily to this project in return for shared rights to the resulting library. Please contact me off-list about any interest in partnering on this project. -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.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: Anyway to find the long id of an image which you know the id for?
This worked for me even though I was not on the card that the original image was on. So does getting the long ID. So does getting the ID. That card is however, located in the current stack, in fact on the last card of the stack. I suspect the problem occurs when the image is on a card in a different stack that has not been loaded into memory yet? I wonder what would happen if you forced your image library stack to be in memory before referencing the image? Bob On Jun 24, 2011, at 7:55 PM, Richard Gaskin wrote: J. Landman Gay wrote: get the long name of img id (the icon of btn hello) I believe such references only work when the image object referred to is on the current card. I don't know of a way to find the long id of an image except by walking through a list of possible containers -- Richard Gaskin ___ use-livecode mailing list use-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: PowerTools
Oooh... it would be cool if I could set some default properties for other objects like a field or a button, and every time I create that object, the saved properties will be applied. Kind of like Style Sheets only applied to objects! I would pay GOOD MONEY for that! Something like right-click a tool for the first time, and the properties palette shows up only with no properties set yet, so that you could change only a couple things like font and size, and all other properties would be derived from the standard template when you created a new object. Ultimately perhaps even save multiple settings. This would dramatically help form generation. I suspect your first release does not do this, but perhaps in the future? I created a field dropper stack which polled an SQL database and allowed me to pick a column and drop it onto a card, but all the field properties were hard coded, so that I would maintain a constant look and feel for my forms. Your tools palette seems to be a better methodology. I will have to look into it. Bob On Jun 24, 2011, at 9:13 PM, Mark Wieder wrote: Why bother? The tools palette has grown long in the tooth. The only change to it over the last ten years has been the addition of the datagrid. I always wanted to add my own controls to the tools palette but never could (I think Ken Ray has done something along this line as well g). And the graphics tools needed an update. For instance, each graphic and paint tool now remembers its settings - you can have different colors or patterns or gradients settings for each tool. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Amiga OS in 2011
Talk about a device that defied obsolescence! Bob On Jun 25, 2011, at 7:54 AM, Roger Eller wrote: Richmond and Andre may enjoy this. I just stumbled across this video, which is a pretty good history lesson of the many variants of Amiga OS. Then, at 23 minutes into the video is a short review of some original Amiga hardware. I still have my original Amiga 4000 from the 1990's btw. http://www.youtube.com/watch?feature=player_embeddedv=s1RsvEm7UrU#at=148 ˜Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Visual Effect command
I would like to have a modal stack come into view by sliding down from behind a control on the calling form. I found the visual effects command but when I use that (with scroll down), all of the existing window scrolls down, not just the modal window. Seems to work the same for other types of visual effect. Any ideas on how to make that work? I'd also like to make the modal window slide back up behind the control when I close it, but one step at a time! Thanks, Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Visual Effect command
If the new window is non-resizable you could group all the controls together and then do a loop to set the height of the new window and move the group.. I'd recommend locking the screen so you can set the topLeft of the new window and not have it bouncing all over the screen.. on mouseUp put the bottomLeft of me into tBL add the top of this stack to item 2 of tBL add the left of this stack to item 1 of tBL set the height of stack Untitled 2 to 0 set the topLeft of stack Untitled 2 to tBL go to stack Untitled 2 in a new window repeat for 10 lock screen set the height of stack Untitled 2 to (the height of stack Untitled 2 + 10) set the topLeft of stack Untitled 2 to tBL set the bottom of group 1 of stack Untitled 2 to (the height of stack Untitled 2) unlock screen wait for 1 milliseconds with messages end repeat lock screen set the height of stack Untitled 2 to (the height of group 1 of stack Untitled 2) set the topLeft of stack Untitled 2 to tBL set the bottom of group 1 of stack Untitled 2 to (the height of stack Untitled 2) unlock screen end mouseUp ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Amiga OS in 2011
hey I was using a newton up until last year... On Mon, Jun 27, 2011 at 4:00 PM, Bob Sneidar b...@twft.com wrote: Talk about a device that defied obsolescence! Bob On Jun 25, 2011, at 7:54 AM, Roger Eller wrote: Richmond and Andre may enjoy this. I just stumbled across this video, which is a pretty good history lesson of the many variants of Amiga OS. Then, at 23 minutes into the video is a short review of some original Amiga hardware. I still have my original Amiga 4000 from the 1990's btw. http://www.youtube.com/watch?feature=player_embeddedv=s1RsvEm7UrU#at=148 ˜Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-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. ___ use-livecode mailing list use-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: Visual Effect command
One way to restrict a visual effect to a portion of the screen is to use the effect with hide/show: show grp 1 with visual push down hide grp 1 with visual push up However, this will not work with overlapping objects. You would have to make sure the affected object can be displayed independently of objects around it. Otherwise, you'll have to physically move the object (see the move command). Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Pete wrote: I would like to have a modal stack come into view by sliding down from behind a control on the calling form. I found the visual effects command but when I use that (with scroll down), all of the existing window scrolls down, not just the modal window. Seems to work the same for other types of visual effect. Any ideas on how to make that work? I'd also like to make the modal window slide back up behind the control when I close it, but one step at a time! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Amiga OS in 2011
Let me guess, you dropped it into a toilet... OH WAIT! It wouldn't fit, now would it? LOL! Actually, I was sad to see the newton go. Apple did all the RD, and then others came along and improved upon it. Way of the world I guess. Bob On Jun 27, 2011, at 12:44 PM, Andre Garzia wrote: hey I was using a newton up until last year... On Mon, Jun 27, 2011 at 4:00 PM, Bob Sneidar b...@twft.com wrote: Talk about a device that defied obsolescence! Bob ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: formattedheight and formattedwidth
Another way to do this is to have an object like a graphic on each card the size you want the card to be. You could put a handler in the object so that right clicking on it popped a menu, allowing you to select some pre-set sizes for the card, or make a custom size. Once selected, the graphic object could be sized appropriately, and then you could set the stack size to the formatted height and formatted width. The object size itself would be the remembering. If you already have a graphic object for your background pattern all the better. To prevent end users of your app (if there will be some) from doing the same thing, make a stack script that sets a property for devmode or something, and set it to false before compiling your stack. Check the value of the property before allowing the right-click to pop the menu. I think that is how I would do it. Bob On Jun 27, 2011, at 9:15 AM, Pete wrote: I am changing the stack size. Each card in the stack in question needs to have a different height and width dimension in order for all its controls to be visible and, as you rightly point out, that has to be done by setting the height and width properties of the stack, not the card. I had initially inserted lines of code in the preOpenCard handler for each individual card that set the height and width of the stack to specific numbers. But if I changed the design of the card or added a new card, I had to change those numbers or remember to set the stack height and width so I started looking for a generic method which I could put in the stack script and I'd never have to worry about changing it again. The formattedheight and formattedwidth properties ended up being the way to do it, suitably adjusted to account for margins on each side of the card. The code I now use is: set the height of this stack to the formattedheight of this card + 20 set the width of this stack to he formattedwidth of this card + 20 That works for any card in the stack as long as I make sure that the top let control is positioned 10 pixels from the top and 10 pixels from the left edge. Hope that clears up the confusion. Pete Molly's Revenge http://www.mollysrevenge.com On Mon, Jun 27, 2011 at 7:27 AM, Richard Gaskin ambassa...@fourthworld.comwrote: Pete wrote: OK I see what you mean about the formatted versions of height/width. The straight height and width properties don't seem to come anywhere close to working even allowing for menu bar issues (I'm on OS X). They set the height/width to what they were for the previous card opened in the stack, not the current card. This thread confuses me, since the height and width properties of a card object cannot be set at all. A card is merely a container for controls inside the stack, allowing multiple sets of controls within a given window. But the card always fills the stack, so changing the size of the stack will change the size of the card, but the size of the card itself cannot be set independently. Indeed, if it could what would happen to the area beyond the edges of a card which is smaller than the window displaying it? AFAIK, there's only one exception to the general rule that the card size will always be the same as the stack size: if the stack has a menubar defined, its editMenus property is false (the default), and it's currently running under OS X. Since OS X has a global menu bar, the stack's menubar is scrolled out of view and the size of the stack is automatically cropped by the height of the menubar group. In that case, the height of the card will be the stack height + the height of the menubar group, and the card width will remain the same as the stack's width. Aside from that one set of circumstances on OS X, the card size should always reflect the stack size, and even on OS X with a menubar the stack size still governs the card size, the only difference being the height of the menubar group. So if you want to change the size of the window, just change the size of the stack. If you don't want to change the size of the window, what is the goal of attempting to change the card size? -- 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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
Re: [OT] Amiga OS in 2011
the newton was under a magazine on the sofa, someone thru a hard suitcase on top of it, the screen broke but the newton was responsive enough that I was able to dump all my ROM... now my ROM lives in my MacBook Pro under the Einstein emulator. I almost bought a new newton these days, but right now, I have other priorities. :-) Another favorite is Haiku (http://www.haiku-os.org ), it would be my desktop of choice if LiveCode supported it but right now, I don't even dream of asking for support. It is such a niche platform that no business case can be made to RunRev to support it. In my ideal world, all my desktops would run Haiku, my servers would be BSD and my mobiles would be WebOS. Now, have you guys notices that all my favorites are unable to run the LiveCode engine, that is why I am locked with macs one day maybe this will change, but not right now. On Mon, Jun 27, 2011 at 6:06 PM, Bob Sneidar b...@twft.com wrote: Let me guess, you dropped it into a toilet... OH WAIT! It wouldn't fit, now would it? LOL! Actually, I was sad to see the newton go. Apple did all the RD, and then others came along and improved upon it. Way of the world I guess. Bob On Jun 27, 2011, at 12:44 PM, Andre Garzia wrote: hey I was using a newton up until last year... On Mon, Jun 27, 2011 at 4:00 PM, Bob Sneidar b...@twft.com wrote: Talk about a device that defied obsolescence! 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 -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Amiga OS in 2011
Once a Mac user, always a Mac user. What makes you think we will LET you leave?? BWAAH HAAH AHAH AHA AHAH HAHAAA! Bob On Jun 27, 2011, at 2:15 PM, Andre Garzia wrote: Another favorite is Haiku (http://www.haiku-os.org ), it would be my desktop of choice if LiveCode supported it but right now, I don't even dream of asking for support. It is such a niche platform that no business case can be made to RunRev to support it. In my ideal world, all my desktops would run Haiku, my servers would be BSD and my mobiles would be WebOS. Now, have you guys notices that all my favorites are unable to run the LiveCode engine, that is why I am locked with macs one day maybe this will change, but not right now. ___ use-livecode mailing list use-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: Visual Effect command
Looks like the show and hide commands allow you to name a stack, but there's no way to specify that the stack should be modal, which is what I need. I thought about trying go invisible stackname as modal followed by the show command but I think the script would stop execution at the go command so the show would never happen until after I return from the modal stack. Pete Molly's Revenge http://www.mollysrevenge.com On Mon, Jun 27, 2011 at 1:00 PM, Scott Rossi sc...@tactilemedia.com wrote: One way to restrict a visual effect to a portion of the screen is to use the effect with hide/show: show grp 1 with visual push down hide grp 1 with visual push up However, this will not work with overlapping objects. You would have to make sure the affected object can be displayed independently of objects around it. Otherwise, you'll have to physically move the object (see the move command). Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Pete wrote: I would like to have a modal stack come into view by sliding down from behind a control on the calling form. I found the visual effects command but when I use that (with scroll down), all of the existing window scrolls down, not just the modal window. Seems to work the same for other types of visual effect. Any ideas on how to make that work? I'd also like to make the modal window slide back up behind the control when I close it, but one step at a time! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Amiga OS in 2011
but but but ... I don't like Lion On Mon, Jun 27, 2011 at 6:32 PM, Bob Sneidar b...@twft.com wrote: Once a Mac user, always a Mac user. What makes you think we will LET you leave?? BWAAH HAAH AHAH AHA AHAH HAHAAA! Bob On Jun 27, 2011, at 2:15 PM, Andre Garzia wrote: Another favorite is Haiku (http://www.haiku-os.org ), it would be my desktop of choice if LiveCode supported it but right now, I don't even dream of asking for support. It is such a niche platform that no business case can be made to RunRev to support it. In my ideal world, all my desktops would run Haiku, my servers would be BSD and my mobiles would be WebOS. Now, have you guys notices that all my favorites are unable to run the LiveCode engine, that is why I am locked with macs one day maybe this will change, but not right now. ___ use-livecode mailing list use-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. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
putting a checkmark in a pop-up menu
I can't find any info on how to put a checkmark to a specific menuItem in a pop-up menu button... I thought set menuHistory of me to 3 would checkmark item 3, but no, that apparently works only with options and combo boxes... any tips? Thanks, Slava ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Strange Loss Of Focus
The message title would normally refer to me, but in this case, the problem is with a stack... I have a palette stack that initiates copying of groups from one stack to another. Once the copy is done, the palette stack apparently loses focus, and a mouseMove handler in the palette refuses to trigger unless the mouse moves in and out of the stack's rect 2 times. I've started using a workaround (?) that sends a physical click command to the palette after the copy operation finishes, to try to physically activate the palette again. It seems to be working, but this is kind of goofy and I'm wondering if there's a better way to make the palette's mouseMove detection responsive again. Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Strange Loss Of Focus
Possibility : Have a frontscript intercept mouseMoves and check if the screenMouseLoc is within the rect of stack yourStack. You can then act accordingly or just pass the mouseMove. HTH :) On 27/06/2011 23:31, Scott Rossi wrote: The message title would normally refer to me, but in this case, the problem is with a stack... I have a palette stack that initiates copying of groups from one stack to another. Once the copy is done, the palette stack apparently loses focus, and a mouseMove handler in the palette refuses to trigger unless the mouse moves in and out of the stack's rect 2 times. I've started using a workaround (?) that sends a physical click command to the palette after the copy operation finishes, to try to physically activate the palette again. It seems to be working, but this is kind of goofy and I'm wondering if there's a better way to make the palette's mouseMove detection responsive again. Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: PowerTools
Bob, doesn't the templateButton, templateField, etc., do this for you? Or do you want to have multiple custom templates? If so, it seems that you could use a custom property, with all the object properties important to you loaded there, and every time you create a new object, just set all those props and their values to that list. Craig Newman -Original Message- From: Bob Sneidar b...@twft.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Mon, Jun 27, 2011 2:59 pm Subject: Re: ANN: PowerTools Oooh... it would be cool if I could set some default properties for other objects like a field or a button, and every time I create that object, the saved properties will be applied. Kind of like Style Sheets only applied to objects! I would pay GOOD MONEY for that! Something like right-click a tool for the first time, and the properties palette shows up only with no properties set yet, so that you could change only a couple things like font and size, and all other properties would be derived from the standard template when you created a new object. Ultimately perhaps even save multiple settings. This would dramatically help form generation. I suspect your first release does not do this, but perhaps in the future? I created a field dropper stack which polled an SQL database and allowed me to pick a column and drop it onto a card, but all the field properties were hard coded, so that I would maintain a constant look and feel for my forms. Your tools palette seems to be a better methodology. I will have to look into it. Bob On Jun 24, 2011, at 9:13 PM, Mark Wieder wrote: Why bother? The tools palette has grown long in the tooth. The only change to it over the last ten years has been the addition of the datagrid. I always wanted to add my own controls to the tools palette but never could (I think Ken Ray has done something along this line as well g). And the graphics tools needed an update. For instance, each graphic and paint tool now remembers its settings - you can have different colors or patterns or gradients settings for each tool. ___ use-livecode mailing list use-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: putting a checkmark in a pop-up menu
Hi Slava, If I need to do things like that, I create a popup menu button with menu items and an option menu button without menu items. I put a mouseDown handler into the option menu button, with the following command: popup btn id 1008 at the topleft of me Obiously, you need to change the ID number. You can put a checkmark before a menu item of a popup button by adding !c before the menu item. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 28 jun 2011, at 00:23, Slava Paperno wrote: I can't find any info on how to put a checkmark to a specific menuItem in a pop-up menu button... I thought set menuHistory of me to 3 would checkmark item 3, but no, that apparently works only with options and combo boxes... any tips? Thanks, Slava ___ use-livecode mailing list use-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: Strange Loss Of Focus
There must be something about your particular situation because copying a group from a palette to a toplevel stack didn't interfere with a simple mouseMove handler in the palette stack for me, irrespective of whether it was initiated from the palette stack or the toplevel stack. I guess it's no better than using the click command, but does focusing on a particular control on the palette stack after the copy also bring the palette back into play? Terry... On 28/06/2011 08:31 AM, Scott Rossi sc...@tactilemedia.com wrote: The message title would normally refer to me, but in this case, the problem is with a stack... I have a palette stack that initiates copying of groups from one stack to another. Once the copy is done, the palette stack apparently loses focus, and a mouseMove handler in the palette refuses to trigger unless the mouse moves in and out of the stack's rect 2 times. I've started using a workaround (?) that sends a physical click command to the palette after the copy operation finishes, to try to physically activate the palette again. It seems to be working, but this is kind of goofy and I'm wondering if there's a better way to make the palette's mouseMove detection responsive again. Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne ___ use-livecode mailing list use-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: Visual Effect command
Looks like the show and hide commands allow you to name a stack, but there's no way to specify that the stack should be modal, which is what I need. I thought about trying go invisible stackname as modal followed by the show command but I think the script would stop execution at the go command so the show would never happen until after I return from the modal stack. Actually, Pete, you found the one way to create a *non-modal* modal... it's a way I've used many times to show a modal progress bar that does not block script execution: put Before go invisible stack MyModal as modal set visible of stack MyModal to true put After -- Puts Before, opens the modal, then immediately puts After into the message box, and the modal is still open So perhaps it *would* work for you after all... Ken Pete Molly's Revenge http://www.mollysrevenge.com On Mon, Jun 27, 2011 at 1:00 PM, Scott Rossi sc...@tactilemedia.com wrote: One way to restrict a visual effect to a portion of the screen is to use the effect with hide/show: show grp 1 with visual push down hide grp 1 with visual push up However, this will not work with overlapping objects. You would have to make sure the affected object can be displayed independently of objects around it. Otherwise, you'll have to physically move the object (see the move command). Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Pete wrote: I would like to have a modal stack come into view by sliding down from behind a control on the calling form. I found the visual effects command but when I use that (with scroll down), all of the existing window scrolls down, not just the modal window. Seems to work the same for other types of visual effect. Any ideas on how to make that work? I'd also like to make the modal window slide back up behind the control when I close it, but one step at a time! ___ use-livecode mailing list use-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 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: Strange Loss Of Focus
Thanks -- you might be right Terry. In my case, the copy event is being initiated by the palette, but the actual copying is taking place between two other stacks, which might have something to do with the problem. But given that the starting stack is a palette, I would think mouseMove would always be active there. Thanks to John C for the frontScript suggestion. Might wind up trying that. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Terry Judd wrote: There must be something about your particular situation because copying a group from a palette to a toplevel stack didn't interfere with a simple mouseMove handler in the palette stack for me, irrespective of whether it was initiated from the palette stack or the toplevel stack. I guess it's no better than using the click command, but does focusing on a particular control on the palette stack after the copy also bring the palette back into play? Terry... On 28/06/2011 08:31 AM, Scott Rossi sc...@tactilemedia.com wrote: The message title would normally refer to me, but in this case, the problem is with a stack... I have a palette stack that initiates copying of groups from one stack to another. Once the copy is done, the palette stack apparently loses focus, and a mouseMove handler in the palette refuses to trigger unless the mouse moves in and out of the stack's rect 2 times. I've started using a workaround (?) that sends a physical click command to the palette after the copy operation finishes, to try to physically activate the palette again. It seems to be working, but this is kind of goofy and I'm wondering if there's a better way to make the palette's mouseMove detection responsive again. Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne ___ use-livecode mailing list use-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: Visual Effect command
Thanks Ken, I'll give it a try. Always leery of trying anything out of the ordinary with modal windows since LC hangs up very easily on any problems with them! I do actually need a modal window though so not sure if this will do it or not. I guess the closest way I can describe this is for the modal window to act like a Mac sheet but descend down from a control on the card rather than the window title bar. It would be nice to find a way to make this work but it's definitely window-dressing (pun entirely intended) Pete Molly's Revenge http://www.mollysrevenge.com On Mon, Jun 27, 2011 at 4:49 PM, Ken Ray k...@sonsothunder.com wrote: Looks like the show and hide commands allow you to name a stack, but there's no way to specify that the stack should be modal, which is what I need. I thought about trying go invisible stackname as modal followed by the show command but I think the script would stop execution at the go command so the show would never happen until after I return from the modal stack. Actually, Pete, you found the one way to create a *non-modal* modal... it's a way I've used many times to show a modal progress bar that does not block script execution: put Before go invisible stack MyModal as modal set visible of stack MyModal to true put After -- Puts Before, opens the modal, then immediately puts After into the message box, and the modal is still open So perhaps it *would* work for you after all... Ken Pete Molly's Revenge http://www.mollysrevenge.com On Mon, Jun 27, 2011 at 1:00 PM, Scott Rossi sc...@tactilemedia.com wrote: One way to restrict a visual effect to a portion of the screen is to use the effect with hide/show: show grp 1 with visual push down hide grp 1 with visual push up However, this will not work with overlapping objects. You would have to make sure the affected object can be displayed independently of objects around it. Otherwise, you'll have to physically move the object (see the move command). Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Pete wrote: I would like to have a modal stack come into view by sliding down from behind a control on the calling form. I found the visual effects command but when I use that (with scroll down), all of the existing window scrolls down, not just the modal window. Seems to work the same for other types of visual effect. Any ideas on how to make that work? I'd also like to make the modal window slide back up behind the control when I close it, but one step at a time! ___ use-livecode mailing list use-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 Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: putting a checkmark in a pop-up menu
Ah, yes, the !c prefix does it. Thank you, Mark. I don't know how I would have ever found that in the docs... Even now that I know it, I can't find any mention of !c. Gratefully, S. -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- boun...@lists.runrev.com] On Behalf Of Mark Schonewille Sent: Monday, June 27, 2011 6:55 PM To: How to use LiveCode Subject: Re: putting a checkmark in a pop-up menu Hi Slava, If I need to do things like that, I create a popup menu button with menu items and an option menu button without menu items. I put a mouseDown handler into the option menu button, with the following command: popup btn id 1008 at the topleft of me Obiously, you need to change the ID number. You can put a checkmark before a menu item of a popup button by adding !c before the menu item. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 ___ use-livecode mailing list use-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: putting a checkmark in a pop-up menu
Found it! Section 7.13.4 Ticks, Dashes, and Checks... Not checkmarks, but checks. All is well in the world again. Thx. S. ___ use-livecode mailing list use-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 files with type
Greetings, I'm using the answer files with type for the first time. I'm not a computer professional and I barely stumble through LC by trial and error, so with type has me stumped. In present instance, I want to select only jpeg and png files. Cribbing out of the docs, I've come up with: code answer files Select the image you wish to add: with /Users/myUserName/Documents/Rev Documents/LC images with type JPEG Images|jpg|JPEG /code This sort of works, except jpg images with the extension .jpeg are excluded, i.e., dimmed out. If I manually change the the file name to .jpg they are included. Also, all png files are also dimmed out. How do I change the with type parameter to include the .jpeg and png images? If possible, please tell me literally, because I'm going to try to copy and paste the answer. Thanks in advance. Tim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Answer files with type
answer files Blah with some folder with type Image Files|jpg,jpeg,png Text descriptor (Image Files) followed by pipe (|) followed by extensions to include separated by commas, excluding the dot/period (.) (jpg,jpeg,png). Pretty sure you shouldn't have any spaces between the extensions either. On 06/27/2011 9:53 PM, Timothy Miller wrote: How do I change the with type parameter to include the .jpeg and png images? If possible, please tell me literally, because I'm going to try to copy and paste the answer. -- David Glass - Gray Matter Computing graymattercomputing.com Help Desk: http://www.graymattercomputing.com/helpdesk 559-303-4915 ___ use-livecode mailing list use-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 files with type
I figured it out by trial and error. This seems to do what I want: with type JPEG Images|jpg,jpeg,png|JPEG Any grave errors here? Tim On Jun 27, 2011, at 9:53 PM, Timothy Miller wrote: Greetings, I'm using the answer files with type for the first time. I'm not a computer professional and I barely stumble through LC by trial and error, so with type has me stumped. In present instance, I want to select only jpeg and png files. Cribbing out of the docs, I've come up with: code answer files Select the image you wish to add: with /Users/myUserName/Documents/Rev Documents/LC images with type JPEG Images|jpg|JPEG /code This sort of works, except jpg images with the extension .jpeg are excluded, i.e., dimmed out. If I manually change the the file name to .jpg they are included. Also, all png files are also dimmed out. How do I change the with type parameter to include the .jpeg and png images? If possible, please tell me literally, because I'm going to try to copy and paste the answer. Thanks in advance. Tim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Amiga OS in 2011
I still have my transparent developer's newton! talk about looks when i use to plop that down on a conference table! that and my sinclair z80 and my Basis 108 are still alive... cheers jeff On Jun 28, 2011, at 1:19 AM, use-livecode-requ...@lists.runrev.com wrote: hey I was using a newton up until last year... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode