Mac app icons
Can anyone point me in the right direction, please? Using 10.6.8 on a MacMini with LC4.5.2 The standalone icns icon set is not being copied (contents:Resources:Standalone.icns is zero KB) but no build error is reported. Using IcoFX software that automatically generates a 1bit set for Mac icns. Images included are: 32bit: 128, 48, 32, 16 8bit: 48, 32, 16 4bit: 48, 32 16 1bit: 48, 32, 16 I have tried restarting and zipping/unzipping to force a Finder refresh I have tried omitting the 32bit 128 I have even tried an icns file that used to work before I got a MacMini The Windows ico version displays fine. What am I doing wrong? Hugh Senior FLCo ___ use-livecode mailing list use-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: Mac app icons
The same thing happens to me with one of my OS X apps. LiveCode always produces a zero length icns file for that app. I've never been able to track it down. I always end up manually replacing the dud Standalone.icns with a working version that I keep handy. Sent from my iPhone On 30 Oct 2011, at 08:45, FlexibleLearning ad...@flexiblelearning.com wrote: Can anyone point me in the right direction, please? Using 10.6.8 on a MacMini with LC4.5.2 The standalone icns icon set is not being copied (contents:Resources:Standalone.icns is zero KB) but no build error is reported. Using IcoFX software that automatically generates a 1bit set for Mac icns. Images included are: 32bit: 128, 48, 32, 16 8bit: 48, 32, 16 4bit: 48, 32 16 1bit: 48, 32, 16 I have tried restarting and zipping/unzipping to force a Finder refresh I have tried omitting the 32bit 128 I have even tried an icns file that used to work before I got a MacMini The Windows ico version displays fine. What am I doing wrong? Hugh Senior FLCo ___ use-livecode mailing list use-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
[OT] images: best transparent format
Hello, I'm using Fireworks 2004 to create transparent images of alphabet letters that I import onto an LC stack using LC's File Import menu. Problem is, when in LC I set dropshadow and innershadow there is still a teeny little bit of jaggedness noticeable between the image itself and the inner/outer shadows. As attempts to a solution, in Fireworks I've tried: -- the various Anti-alias options (smooth, crisp) -- a PNG8 file export, with either/or Alpha- and Index-transparency (whatever those mean!), and with either/or no-Matte and Matte of a color either/or exact or similar to the image color -- a PNG32 file export (no option available for Alpha- or Index-transparency) ... and in LC I've messed around with the various dropshadow/innershadow settings, including Filter from Gaussian down to box3pass. As I say, the jaggedness is quite slight. Some might say it's not even worth the bother. But, if I notice it, my finicky Japanese learners will too. Thanks. -- Nicolas Cueto ___ use-livecode mailing list use-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-HTML SubEthaEdit Coda Syntax Mode
err... yes... wrong link, that is :-( Sorry ! Correct link : http://www.codingmonkeys.de/subethaedit/ Greets and thanks Mark, Christian Le 30 oct. 2011 à 12:59, Mark Schonewille a écrit : Hi, When I open the Subethaedit.com link, I see a dialog that tells me I'm the winner in my city. Weird. I assume you want to link to here: http://www.codingmonkeys.de/subethaedit/ -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/16r Start selling Color Converter today. 20% commission! On 30 okt 2011, at 12:50, Christian Langers wrote: Hello ! Just to let you know that, yesterday, I send them in my Syntax mode for SubEthaEdit / Coda for working with .lc .irev server files. Now colorization is available for Livecode Blocks in HTML docs... You can download the mode when SubEthaEdit.com makes it available on their site or download it from my on-rev server : http://tinyurl.com/5rhh6xn Cheers, Christian Langers Luxembourg ___ use-livecode mailing list use-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] images: best transparent format
On 10/30/2011 01:36 PM, Nicolas Cueto wrote: Hello, I'm using Fireworks 2004 to create transparent images of alphabet letters that I import onto an LC stack using LC's File Import menu. Problem is, when in LC I set dropshadow and innershadow there is still a teeny little bit of jaggedness noticeable between the image itself and the inner/outer shadows. As attempts to a solution, Try GIMP: http://www.gimp.org/ in Fireworks I've tried: -- the various Anti-alias options (smooth, crisp) -- a PNG8 file export, with either/or Alpha- and Index-transparency (whatever those mean!), and with either/or no-Matte and Matte of a color either/or exact or similar to the image color -- a PNG32 file export (no option available for Alpha- or Index-transparency) ... and in LC I've messed around with the various dropshadow/innershadow settings, including Filter from Gaussian down to box3pass. As I say, the jaggedness is quite slight. Some might say it's not even worth the bother. But, if I notice it, my finicky Japanese learners will too. Thanks. -- Nicolas Cueto ___ use-livecode mailing list use-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: Simple web page commenting via on-rev?
On 29/10/2011 20:43, Alex Tweedly wrote: I think the overall descriptive article is still there - http://andregarzia.com/page/bootstrappingacms though there is no detail about the comment system (and no code - I don't remember if it was ever available or not). -- Alex. Replying to myself again . tsk. tsk. Stephen is right - you don't have to go very far before you start replicating work that revIgniter has already done. I do plan to switch to using it - just as soon as I can get over the steep initial learning curve. In the meantime, I stripped down my own (rather convoluted) code for a cmmenting system, to produce a VERY basic version - included below. You can try it out at www.tweedly.org/comments/try.lc ?lc set the errormode to inline -- file name can be in either $_GET (initial request) or $_POST (comment submitted) put $_POST[which] $_GET[which] into tWhich if tWhich is not empty then put URL (file: tWhich) into tData if comment is among the keys of $_POST then put @comment $_POST[user] the english date CR after tData put $_POST[comment] CR after tData put @endcomment CR after tData put tData into URL (file: tWhich) end if repeat for each line L in tData switch word 1 of L case @comment put h2 Comment from word 2 to -1 of L /h2 cr break case @endcomment put p break default put L break end switch end repeat ? form method='post' action='try.lc'br input type='hidden' name='which' value='?lc put tWhich?' User: input type='text' name='user' size='40' value=''br Comment: textarea name='comment' cols='40' rows='8'/textareabr input type='submit' value='Comment' /br /form ?lc else put the files into tFiles filter tFiles with *.txt repeat for each line L in tFiles put a href='try.lc?which= L ' L /abr CR end repeat ? -- 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: OT: Command-line blues (ImageMagick)
On Sun, Oct 30, 2011 at 10:42 AM, Graham Samuel wrote: Thanks Warren, this is good stuff. As my primary target is Windows I think I can use existing binaries, but of course I remain interested in a Mac version, which I have now made work experimentally. I did not realise that MacPorts will create a 'fully functional binary', so thanks very much for that info. I have some hopes after all for my geography teachers. rant If this is the case, then why the heck haven't the producers of ImageMagick gone so far as to do this? After all they have produced a perfectly functional .exe of the latest version for Windows users. Maybe in their Unix-type world the idea of running MacPorts, which involves installing the whole of Xcode on a Mac (several Gb) and then waiting over an hour for that program to create a viable version of IM, is all in a day's work, but it seems odd to say the least if one's motivation for using IM is simply to convert some graphic files from one format to another… as I have said elsewhere there seems to be a different philosophy at work among *nix jocks compared to us simple-minded users of consumer-level environments./rant Thanks again Graham While it is true that the makers of ImageMagick could do a better job of packaging a minimal installation of the binaries for Mac, the cluttering of our own Dev systems is part of the process of learning what our options are. As you made a backup before installing Lion, you could CCC your drive before installig IM (for testing), then restore afterwards. Yes, it takes time, but is probably worthwhile if no uninstaller was provided. IM packaging is an example of bad end-user empathy. It is our responsibility as developers to deliver our products in an intuitive format the end-user has come to expect. If we, the developers experience some hardship in building that experience, it is just part of the job, and a process we must endure to satisfy OUR users. That said, not all products coming from the *nix world are as complicated. Many of them now provide GUI installers, and those will be used by end-users because of that simplicity. IM is targeted more to Devs to include for back-end processing. Have you considered a scenario where you ONLY deliver a LC application which accesses a CGI server to off-load the image processing. ImageMagick would run only in a single server instance, and your app could FTP the users PDFs into a watched folder, then download the resulting PNGs to be displayed in the LC application. ˜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
How to reset the player?
I am trying to get several call backs to fire during playback of a looping mp3. I am controlling lights from within the call backs. However, I am running into several issues that I do not understand. 1) I am not able to reset the player to the beginning 2) The callbacks are only called on the first playing and not of the repeated playings Does anyone see issues with the following code or could provide some incites? put the timescale of player Spooky into persec put empty into callbackList put (1 * persec) comma c1 return after callbackList put (44 * persec) comma c2 return after callbackList set the callbacks of player Spooky to callbackList set the looping of player Spooky to true set the playSelection of player Spooky to true set the startTime of player Spooky to zero set the endTime of player Spooky to the duration of player Spooky start player Spooky I would have expected this to start at the beginning each time the code was executed, yet the player is never reset. Thanks Mike ___ use-livecode mailing list use-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] images: best transparent format
Try Sumo Paint On-line. Transparency is supported, and it can save as PNG. It's like having Photoshop Lite inside your browser. http://www.sumopaint.com/app/ ˜Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] images: best transparent format
On 10/30/2011 05:32 PM, Roger Eller wrote: Try Sumo Paint On-line. Transparency is supported, and it can save as PNG. It's like having Photoshop Lite inside your browser. http://www.sumopaint.com/app/ The emphasis being on Lite (which is, itself a bad sign, as somebody has economised on letters and spelt a 'Lite' version of 'Light'; which, to a certain school of thought means ONLY bad spelling). One of the snags of Sumo Paint (compared with GIMP) is that one cannot save images to one's computer with layers and so forth preserved, that can, later, be edited in other graphic programs. To me, at least, Sumo Paint, seems to contain a small subset of the capabilities of GIMP + it will not work unless one has an internet connexion. ˜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
Re: How to reset the player?
did you try 'set the filename of player 1 to xx' for each reset? or set the filename player 1 to empty set the filename player 1 to xx' On 30 October 2011 08:19, Mike Doub m...@doub.com wrote: I am trying to get several call backs to fire during playback of a looping mp3. I am controlling lights from within the call backs. However, I am running into several issues that I do not understand. 1) I am not able to reset the player to the beginning 2) The callbacks are only called on the first playing and not of the repeated playings Does anyone see issues with the following code or could provide some incites? put the timescale of player Spooky into persec put empty into callbackList put (1 * persec) comma c1 return after callbackList put (44 * persec) comma c2 return after callbackList set the callbacks of player Spooky to callbackList set the looping of player Spooky to true set the playSelection of player Spooky to true set the startTime of player Spooky to zero set the endTime of player Spooky to the duration of player Spooky start player Spooky I would have expected this to start at the beginning each time the code was executed, yet the player is never reset. Thanks Mike ___ use-livecode mailing list use-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: [OT] images: best transparent format
On Sun, Oct 30, 2011 at 12:54 PM, Richmond wrote: On 10/30/2011 05:32 PM, Roger Eller wrote: Try Sumo Paint On-line. Transparency is supported, and it can save as PNG. It's like having Photoshop Lite inside your browser. http://www.sumopaint.com/app/ The emphasis being on Lite (which is, itself a bad sign, as somebody has economised on letters and spelt a 'Lite' version of 'Light'; which, to a certain school of thought means ONLY bad spelling). One of the snags of Sumo Paint (compared with GIMP) is that one cannot save images to one's computer with layers and so forth preserved, that can, later, be edited in other graphic programs. To me, at least, Sumo Paint, seems to contain a small subset of the capabilities of GIMP + it will not work unless one has an internet connexion. I should have known better than to abbreviate a word when communicating with a school teacher. Sorry. ;-) Since everywhere I work seems to have an internet connection, but doesn't always have GIMP or Photoshop, or admin rights to install software, in a pinch, you can at least create/edit images with transparency with SumoPaint. I love GIMP, but sometimes other options are good to have too. ˜Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac app icons
Ouch, damn and drat... But thank you for confirming I am not alone! I tried replacing the dud Standalone.icns with one from another app that does display correctly. Still not working. So far the client has not complained but I suspect it is only a matter of time. If ANYONE has tracked this down, do please share with group! Hugh Senior FLCo Phil Jimmieson wrote: The same thing happens to me with one of my OS X apps. LiveCode always produces a zero length icns file for that app. I've never been able to track it down. I always end up manually replacing the dud Standalone.icns with a working version that I keep handy. Sent from my iPhone On 30 Oct 2011, at 08:45, FlexibleLearning ad...@flexiblelearning.com wrote: Can anyone point me in the right direction, please? Using 10.6.8 on a MacMini with LC4.5.2 The standalone icns icon set is not being copied (contents:Resources:Standalone.icns is zero KB) but no build error is reported. Using IcoFX software that automatically generates a 1bit set for Mac icns. Images included are: 32bit: 128, 48, 32, 16 8bit: 48, 32, 16 4bit: 48, 32 16 1bit: 48, 32, 16 I have tried restarting and zipping/unzipping to force a Finder refresh I have tried omitting the 32bit 128 I have even tried an icns file that used to work before I got a MacMini The Windows ico version displays fine. What am I doing wrong? Hugh Senior FLCo ___ use-livecode mailing list use-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: app id on the web
Debdoot, You can customize what it would show if you set your http user agent header. I can't recall what is the current default value though. Cheers andre On Sun, Oct 30, 2011 at 4:46 PM, ddas d...@digifilm.com wrote: Hello Everyone, If my iOS app connects to a web resource, how would it show on the logs. Would it be com.companyname.appname or just appname or something else. Thanks, Debdoot ___ use-livecode mailing list use-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: Mac app icons
On 10/30/11 1:39 PM, FlexibleLearning wrote: Ouch, damn and drat... But thank you for confirming I am not alone! I tried replacing the dud Standalone.icns with one from another app that does display correctly. Still not working. So far the client has not complained but I suspect it is only a matter of time. If ANYONE has tracked this down, do please share with group! I always thought it's the icon-generating app that is failing. I use Icon Composer (in the Mac developer tools) to create Mac icons and have never had any trouble. I used to use third-party apps and always had issues. -- 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: app id on the web
Thanks Andre. I will now try to set a custom user-agent with HTTPHeaders. Regards, Debdoot On Oct 30, 2011, at 3:28 PM, Andre Garzia wrote: Debdoot, You can customize what it would show if you set your http user agent header. I can't recall what is the current default value though. Cheers andre On Sun, Oct 30, 2011 at 4:46 PM, ddas d...@digifilm.com wrote: Hello Everyone, If my iOS app connects to a web resource, how would it show on the logs. Would it be com.companyname.appname or just appname or something else. Thanks, Debdoot ___ use-livecode mailing list use-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 ___ use-livecode mailing list use-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] images: best transparent format
On 10/30/2011 08:37 PM, Roger Eller wrote: On Sun, Oct 30, 2011 at 12:54 PM, Richmond wrote: On 10/30/2011 05:32 PM, Roger Eller wrote: Try Sumo Paint On-line. Transparency is supported, and it can save as PNG. It's like having Photoshop Lite inside your browser. http://www.sumopaint.com/app/ The emphasis being on Lite (which is, itself a bad sign, as somebody has economised on letters and spelt a 'Lite' version of 'Light'; which, to a certain school of thought means ONLY bad spelling). One of the snags of Sumo Paint (compared with GIMP) is that one cannot save images to one's computer with layers and so forth preserved, that can, later, be edited in other graphic programs. To me, at least, Sumo Paint, seems to contain a small subset of the capabilities of GIMP + it will not work unless one has an internet connexion. I should have known better than to abbreviate a word when communicating with a school teacher. Sorry. ;-) Since everywhere I work seems to have an internet connection, but doesn't always have GIMP or Photoshop, or admin rights to install software, in a pinch, you can at least create/edit images with transparency with SumoPaint. I love GIMP, but sometimes other options are good to have too. Obviously Sumopaint is useful if one cannot install software on somebody else's computer. I have mucked around with it, but, as in my case I always have some sort of machine I can install GIMP on (and tend to run around with a CD in my bag containing Mac and Win versions of the thing), I have never really taken it all that seriously. The thing I find very odd indeed, is not people referring to Sumopaint, but the assumption that Photoshop is still cock of the rock, when I am not sure it is anymore . . . There are quite a few open source apps 'out-and-about', as well as some Free, closed-source ones (I am keen on Xara extreme - Linux only, unfortunately). There are quite a few small apps that are freely available which can produce gifs or pngs with transparent areas without horribly jaggy edges. ˜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
Am I misunderstanding data grids?
Do I really need to edit the script of each column's template object to insert an exit mouseDoubleUp if I want that column not to be editable? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: How to reset the player?
I found the currentTime property which does the reset. I also got it to repeat as I needed by catching playstopped and re-initializing everything thus faking a loop Got everything working just in time for a night time test before Halloween. :-) Got to admit the simulated lightening is pretty cool when synced with a thunder clap -= Mike Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: stephen barncard stephenrevoluti...@barncard.com Sender: use-livecode-boun...@lists.runrev.com Date: Sun, 30 Oct 2011 11:30:23 To: How to use LiveCodeuse-livecode@lists.runrev.com Reply-To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: How to reset the player? did you try 'set the filename of player 1 to xx' for each reset? or set the filename player 1 to empty set the filename player 1 to xx' On 30 October 2011 08:19, Mike Doub m...@doub.com wrote: I am trying to get several call backs to fire during playback of a looping mp3. I am controlling lights from within the call backs. However, I am running into several issues that I do not understand. 1) I am not able to reset the player to the beginning 2) The callbacks are only called on the first playing and not of the repeated playings Does anyone see issues with the following code or could provide some incites? put the timescale of player Spooky into persec put empty into callbackList put (1 * persec) comma c1 return after callbackList put (44 * persec) comma c2 return after callbackList set the callbacks of player Spooky to callbackList set the looping of player Spooky to true set the playSelection of player Spooky to true set the startTime of player Spooky to zero set the endTime of player Spooky to the duration of player Spooky start player Spooky I would have expected this to start at the beginning each time the code was executed, yet the player is never reset. Thanks Mike ___ use-livecode mailing list use-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: Am I misunderstanding data grids?
If you look here http://lessons.runrev.com/s/lessons/m/datagrid/l/7343-Data-Grid-Properties Under column properties, you will find this.. *dgColumnIsEditable [COLUMN] - Toggle whether or not a column is editable by the user. Set to true/false. * So you can do set the dgColumnIsEditable[yourcolumnname] to true On Sun, Oct 30, 2011 at 3:02 PM, Geoff Canyon Rev gcanyon+...@gmail.comwrote: Do I really need to edit the script of each column's template object to insert an exit mouseDoubleUp if I want that column not to be editable? ___ use-livecode mailing list use-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: Am I misunderstanding data grids?
er Meant false. oopsy On Sun, Oct 30, 2011 at 3:16 PM, Mike Bonner bonnm...@gmail.com wrote: If you look here http://lessons.runrev.com/s/lessons/m/datagrid/l/7343-Data-Grid-Properties Under column properties, you will find this.. *dgColumnIsEditable [COLUMN] - Toggle whether or not a column is editable by the user. Set to true/false. * So you can do set the dgColumnIsEditable[yourcolumnname] to true On Sun, Oct 30, 2011 at 3:02 PM, Geoff Canyon Rev gcanyon+...@gmail.comwrote: Do I really need to edit the script of each column's template object to insert an exit mouseDoubleUp if I want that column not to be editable? ___ use-livecode mailing list use-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: Am I misunderstanding data grids?
Wow, I need to wake up. Should be set the dgColumnIsEditable[yourColumn] of group yourGroup to false 3rd times the charm. On Sun, Oct 30, 2011 at 3:18 PM, Mike Bonner bonnm...@gmail.com wrote: er Meant false. oopsy On Sun, Oct 30, 2011 at 3:16 PM, Mike Bonner bonnm...@gmail.com wrote: If you look here http://lessons.runrev.com/s/lessons/m/datagrid/l/7343-Data-Grid-Properties Under column properties, you will find this.. *dgColumnIsEditable [COLUMN] - Toggle whether or not a column is editable by the user. Set to true/false. * So you can do set the dgColumnIsEditable[yourcolumnname] to true On Sun, Oct 30, 2011 at 3:02 PM, Geoff Canyon Rev gcanyon+...@gmail.comwrote: Do I really need to edit the script of each column's template object to insert an exit mouseDoubleUp if I want that column not to be editable? ___ use-livecode mailing list use-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: Am I misunderstanding data grids?
Hi Geoff, if you are using DataGrids in more than one project then have a look at DataGridHelper Plugin. http://www.runrev.com/store/product/data-grid-helper-1-2-0/ You find a quickstart guide at http://aslugontheroad.com/index.php?option=com_phocadownloadview=categoryid=12:trialItemid=63# This plugin makes it really easy to customize your datagrids. It costs 45$, but it is worth each dollar. Regards, Matthias Am 30.10.2011 um 22:02 schrieb Geoff Canyon Rev: Do I really need to edit the script of each column's template object to insert an exit mouseDoubleUp if I want that column not to be editable? ___ use-livecode mailing list use-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] images: best transparent format
I'm afraid my question is becoming a discussion about image software. What my question was actually about was how to create and/or export transparent images with perfectly non-jagged (or dithered) edges. Thanks. -- Nicolas Cueto ___ use-livecode mailing list use-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] images: best transparent format
When you save a png you should get options about how many bits there are, and whether there is transparency. If you see an option to have either 32 bit, or 24 bit and transparency selected, then those should work perfectly in LiveCode. At least it does for me. Look too to see if there is a Save for Web and Devices option in Fireworks (I don't have it installed on my machine at the moment, so can't check). In Photoshop, if you Save As PNG, you're likely to get white premultiplied into the image. Saving for web makes a PNG that doesn't premultiply the background color. ___ use-livecode mailing list use-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] images: best transparent format
On Sun, Oct 30, 2011 at 5:35 PM, Nicolas Cueto wrote: I'm afraid my question is becoming a discussion about image software. What my question was actually about was how to create and/or export transparent images with perfectly non-jagged (or dithered) edges. Thanks. -- Nicolas Cueto I've used SumoPaint and Gimp to make transparent PNGs that I have used in my own LiveCode projects. You should give them a try and see if either will meet your expectations. Both are free, but SumoPaint requires a live internet connection. ˜Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] images: best transparent format
Hi Nicholas, Your best bet might be Illustrator. Create a shape and then export for web/devices as 24bit png. The results are slightly superior to Photoshop when it comes to dithering edges. Copying vectors using the clipboard yields better results when moving between apps. Higher res composition scaled down in the last step helps too. Things get tricky when the images are small (even with vector). Hope this helps. Regards, Debdoot On Oct 30, 2011, at 6:13 PM, Roger Eller wrote: On Sun, Oct 30, 2011 at 5:35 PM, Nicolas Cueto wrote: I'm afraid my question is becoming a discussion about image software. What my question was actually about was how to create and/or export transparent images with perfectly non-jagged (or dithered) edges. Thanks. -- Nicolas Cueto I've used SumoPaint and Gimp to make transparent PNGs that I have used in my own LiveCode projects. You should give them a try and see if either will meet your expectations. Both are free, but SumoPaint requires a live internet connection. ˜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
Re: [OT] images: best transparent format
Fireworks is a preferred application for a lot of people making PNG web graphics, so even if any number of other applications can also make PNGs, ones from Fireworks should be working perfectly well. ___ use-livecode mailing list use-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: Command-line blues (ImageMagick)
Graham Samuel wrote: I did not realise that MacPorts will create a 'fully functional binary', so thanks very much for that info. I have some hopes after all for my geography teachers. rant If this is the case, then why the heck haven't the producers of ImageMagick gone so far as to do this? I'll bet you could ask for a refund. ;) ImageMagick is community software, free and open source. While there is a main pool of developers who maintain it, there's nothing stopping anyone from enhancing it further. Indeed, that's how projects like this work. If anyone here has the time to make this sort of Mac package, they're free to do so under the Apache license ImageMagick is made available under. ImageMagick represents a tremendous amount of effort as it is; I certainly can't fault them if they haven't gone further to make it even more convenient for every platform. Given what the core team has put into it, it doesn't seem too much to ask that the community can give something back by making those sorts of builds available, so the core team can continue to focus on the trickier stuff they do so well. -- 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: How to reset the player?
The field test went fine. All set for tomorrow night! Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: m...@doub.com Sender: use-livecode-boun...@lists.runrev.com Date: Sun, 30 Oct 2011 21:10:37 To: How To use LiveCodeuse-livecode@lists.runrev.com Reply-To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: How to reset the player? I found the currentTime property which does the reset. I also got it to repeat as I needed by catching playstopped and re-initializing everything thus faking a loop Got everything working just in time for a night time test before Halloween. :-) Got to admit the simulated lightening is pretty cool when synced with a thunder clap -= Mike Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: stephen barncard stephenrevoluti...@barncard.com Sender: use-livecode-boun...@lists.runrev.com Date: Sun, 30 Oct 2011 11:30:23 To: How to use LiveCodeuse-livecode@lists.runrev.com Reply-To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: How to reset the player? did you try 'set the filename of player 1 to xx' for each reset? or set the filename player 1 to empty set the filename player 1 to xx' On 30 October 2011 08:19, Mike Doub m...@doub.com wrote: I am trying to get several call backs to fire during playback of a looping mp3. I am controlling lights from within the call backs. However, I am running into several issues that I do not understand. 1) I am not able to reset the player to the beginning 2) The callbacks are only called on the first playing and not of the repeated playings Does anyone see issues with the following code or could provide some incites? put the timescale of player Spooky into persec put empty into callbackList put (1 * persec) comma c1 return after callbackList put (44 * persec) comma c2 return after callbackList set the callbacks of player Spooky to callbackList set the looping of player Spooky to true set the playSelection of player Spooky to true set the startTime of player Spooky to zero set the endTime of player Spooky to the duration of player Spooky start player Spooky I would have expected this to start at the beginning each time the code was executed, yet the player is never reset. Thanks Mike ___ use-livecode mailing list use-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 ___ use-livecode mailing list use-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: Simple web page commenting via on-rev?
Thanks for everyone's replies! I tried the suggested Disqus... but have not made it past some errors it's giving me yet. Also tried a couple other similar systems to varying degrees of success, but nothing quite right yet. Thank you for your code Alex! I plan to have some fun with it tonight and try to push my amateur coding brain to learn a little bit more! Tim Selander Tokyo, Japan On 10/31/11 12:17 AM, Alex Tweedly wrote: On 29/10/2011 20:43, Alex Tweedly wrote: I think the overall descriptive article is still there - http://andregarzia.com/page/bootstrappingacms though there is no detail about the comment system (and no code - I don't remember if it was ever available or not). -- Alex. Replying to myself again . tsk. tsk. Stephen is right - you don't have to go very far before you start replicating work that revIgniter has already done. I do plan to switch to using it - just as soon as I can get over the steep initial learning curve. In the meantime, I stripped down my own (rather convoluted) code for a cmmenting system, to produce a VERY basic version - included below. You can try it out at www.tweedly.org/comments/try.lc ?lc set the errormode to inline -- file name can be in either $_GET (initial request) or $_POST (comment submitted) put $_POST[which] $_GET[which] into tWhich if tWhich is not empty then put URL (file: tWhich) into tData if comment is among the keys of $_POST then put @comment $_POST[user] the english date CR after tData put $_POST[comment] CR after tData put @endcomment CR after tData put tData into URL (file: tWhich) end if repeat for each line L in tData switch word 1 of L case @comment put h2 Comment from word 2 to -1 of L /h2 cr break case @endcomment put p break default put L break end switch end repeat ? form method='post' action='try.lc'br input type='hidden' name='which' value='?lc put tWhich?' User: input type='text' name='user' size='40' value=''br Comment: textarea name='comment' cols='40' rows='8'/textareabr input type='submit' value='Comment' /br /form ?lc else put the files into tFiles filter tFiles with *.txt repeat for each line L in tFiles put a href='try.lc?which= L ' L /abr CR end repeat ? -- 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 ___ use-livecode mailing list use-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] images: best transparent format
I'm pretty sure the issue is LiveCode, not you. See an example here: http://www.tactilemedia.com/download/LC_antialias_issue.jpg LiveCode has had antialiasing issues for years (try creating a sharp line using an even line width in LC -- can't be done when antialiasing is enabled). My guess is whatever routines are being used to antialias object edges are also being applied to edges of images and producing less then desirable results. BTW, the image format you want is 32 bit PNG. And, yes, it is worth the bother, so we can get good results using native graphics effects, and keep apps efficient, instead having to go outside LiveCode and hard code graphic effects into images. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Nicolas Cueto wrote: Hello, I'm using Fireworks 2004 to create transparent images of alphabet letters that I import onto an LC stack using LC's File Import menu. Problem is, when in LC I set dropshadow and innershadow there is still a teeny little bit of jaggedness noticeable between the image itself and the inner/outer shadows. As attempts to a solution, in Fireworks I've tried: -- the various Anti-alias options (smooth, crisp) -- a PNG8 file export, with either/or Alpha- and Index-transparency (whatever those mean!), and with either/or no-Matte and Matte of a color either/or exact or similar to the image color -- a PNG32 file export (no option available for Alpha- or Index-transparency) ... and in LC I've messed around with the various dropshadow/innershadow settings, including Filter from Gaussian down to box3pass. As I say, the jaggedness is quite slight. Some might say it's not even worth the bother. But, if I notice it, my finicky Japanese learners will too. Thanks. -- Nicolas Cueto ___ use-livecode mailing list use-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