Download a stack file

2011-10-28 Thread Peter Bogdanoff
Hi, I'm making a stack updater that downloads a LC stack to the user's hard drive and replaces a stack there. I plan to: 1. Have the user download a small updater stack and run it 2. The updater gets essential data from the user's old stack and writes it to a file 3.

Re: LiveCode alternative to Sitelok?

2011-10-28 Thread Keith Clarke
…great - thanks for the reminder Martin. I did check that site out last year and meant to revisit once revServer reached production status - but my memory failed me on this one! Best, Keith.. On 27 Oct 2011, at 22:24, Martin Koob wrote: One thing you could check out is

Re: library folder ios and updates

2011-10-28 Thread ddas
Thanks Gerry. That's what I meant. Debdoot On Oct 28, 2011, at 1:29 AM, Gerry wrote: If you mean whether the library directory contents are retained when the user updates the app…yes. Gerry -- photos: http://gerryorkin.com On Friday, 28 October 2011 at 12:58 PM, ddas

TIP: Using Unicode chars as icons

2011-10-28 Thread Michael Kristensen
Hi there Icons can be quite space-saving and also pleasing to the eye. But somtimes the hazzle of making the icon in a paint app and import it into Livecode and keep it in a hidden place is to much. On a Mac there is a palette calle Keyboard. It can show the thousands of chars/symbols in a

OT: Command-line blues (ImageMagick)

2011-10-28 Thread Graham Samuel
Some people may remember my on-off quest for a way of handling PDFs in LiveCode. What I want to be able to do is to let my geography-teacher users (on Windows) read PDF-formatted bitmaps into LiveCode and do stuff with them. I also want to do the same thing with TIFFs. After loads of discussion

Re: [OT] Box.net free 50Gb for iOS 5 users

2011-10-28 Thread Christian Langers
I'm using Transmit without a problem ; I found the Finder way on some website but trying it (on Lion) was unsuccessful for uploads. Transmit on Mac is (for me) the best and easiest solution.. Cheers, Christian Le 26 oct. 2011 à 18:14, Bob Sneidar a écrit : I believe it's read only though.

Re: TIP: Using Unicode chars as icons

2011-10-28 Thread Devin Asay
On Oct 28, 2011, at 3:48 AM, Michael Kristensen wrote: Hi there Icons can be quite space-saving and also pleasing to the eye. But somtimes the hazzle of making the icon in a paint app and import it into Livecode and keep it in a hidden place is to much. On a Mac there is a palette

Re: OT: Command-line blues (ImageMagick)

2011-10-28 Thread Roger Eller
On Fri, Oct 28, 2011 at 8:33 AM, Graham Samuel wrote: Some people may remember my on-off quest for a way of handling PDFs in LiveCode. What I want to be able to do is to let my geography-teacher users (on Windows) read PDF-formatted bitmaps into LiveCode and do stuff with them. I also want to

RE: Download a stack file

2011-10-28 Thread Mark Powell
I do this kind of auto-loading with almost all my apps, but to date I have never written changes to the stack itself. I always save data in files external to the stack and have that data pulled in at preopenstack. So I never have to do a stack to stack transfer of data or stack renaming. Not

What's the difference between LC 'shell' and OSX terminal?

2011-10-28 Thread Graham Samuel
While trying to get just a bit comfortable with a command-line interface, I started Terminal on Mac OSX Lion and eventually got a command to work (after finding out how to cope with spaces in file and folder names). I put the same thing in an LC 'shell' command and got a runtime error (Handler:

Re: TIP: Using Unicode chars as icons

2011-10-28 Thread Pete
Thanks for reminding me of that Devin. I had just started using characters from symbol fonts as button labels and turning them into images removes my last concern about doing that. Pete Molly's Revenge http://www.mollysrevenge.com On Fri, Oct 28, 2011 at 8:24 AM, Devin Asay devin_a...@byu.edu

Re: Spell checking on a Mac

2011-10-28 Thread Pete
Thanks for sharing all that code Scott! I found a whole section on the Apple Developers site about implementing the OS X spell checker but it's all Cocoa-based so I guess would need some sort of external to interface to. Pete Molly's Revenge http://www.mollysrevenge.com On Thu, Oct 27, 2011

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-28 Thread Warren Samples
On 10/28/2011 11:52 AM, Graham Samuel wrote: While trying to get just a bit comfortable with a command-line interface, I started Terminal on Mac OSX Lion and eventually got a command to work (after finding out how to cope with spaces in file and folder names). I put the same thing in an LC

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-28 Thread Warren Samples
On 10/28/2011 11:52 AM, Graham Samuel wrote: While trying to get just a bit comfortable with a command-line interface, I started Terminal on Mac OSX Lion and eventually got a command to work (after finding out how to cope with spaces in file and folder names). I put the same thing in an LC

Re: Download a stack file

2011-10-28 Thread Peter Bogdanoff
How, exactly do you implement Load? I need to get a stack file from the server on to the local machine. I seem to be able to load it into memory, but can't actually see the stack or save it to disk. I've done both methods for storing data; both times for books with a lot of text, pictures, and

Re: OT: Command-line blues (ImageMagick)

2011-10-28 Thread Graham Samuel
Thanks Roger for reading through my long email. It is true that IM includes GhostScript. The main problem for me is that as well as reading PDFs, I want to read TIFFs. Using IM kills these two birds with one stone; but this would not be a solution if my target platform was a Mac, because of the

Re: Store SQLite File as Custom Property?

2011-10-28 Thread Bob Sneidar
Can't an sqLte database exist only in memory? If so, then it should be possible to. I have heard it said that *anything* can be stored in a custom property, even an entire stack! Bob On Oct 27, 2011, at 5:53 PM, James Little wrote: Richard Gaskin wrote: With LiveCode you have a wide

Re: [OT] PCI cards

2011-10-28 Thread Bob Sneidar
I don't know about you but the drunkerer I get, the reader I don't. Bob On Oct 28, 2011, at 6:55 AM, Peter M. Brigham, MD wrote: On Oct 26, 2011, at 7:11 PM, Bob Sneidar wrote: Will Wine allow you to read HFS+ disks? Maybe if you drink enough of it... -- Peter Peter M. Brigham

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-28 Thread Bob Sneidar
Is this in Windows or Mac? Im Mac to get usage for a shell command you have to preface it with man. I think it's short for manual. This only works if whatever installed the command in the shell also installed a man page. Bob On Oct 28, 2011, at 7:06 AM, Warren Samples wrote: On 10/28/2011

Re: Store SQLite File as Custom Property?

2011-10-28 Thread Devin Asay
Bob, The only thing that can't be stored in a custom property is... CHEESE! (Now taking cover against the wrath of the list-mom.) Devin On Oct 28, 2011, at 11:48 AM, Bob Sneidar wrote: Can't an sqLte database exist only in memory? If so, then it should be possible to. I have heard it

Re: TIP: Using Unicode chars as icons

2011-10-28 Thread stephen barncard
Another trick is to create a polygon in script, I created a disclosure triangle that requires no icon image. (looks good when rotated, too) On 28 October 2011 09:54, Pete p...@mollysrevenge.com wrote: Thanks for reminding me of that Devin. I had just started using characters from symbol fonts

Re: OT: Command-line blues (ImageMagick)

2011-10-28 Thread Mike Bonner
Sent this early this morning, but got kicked due to length, so heres the shorter version minus some of the copy paste. ### From previous message Don't have a mac any more, but checked over the install instructions to get up to speed so heres a couple things. The path export places This line

Re: OT: Command-line blues (ImageMagick)

2011-10-28 Thread Mike Bonner
Forgot to mention, you should also add the IM library path to the .profile (of course if you're executing .profile as a shell script from shell, you can name it pretty much anything, as long as you chmod it to make it executable) On Fri, Oct 28, 2011 at 12:07 PM, Mike Bonner bonnm...@gmail.com

Rotating button

2011-10-28 Thread Ralph DiMola
Is it possible to create a polygon button that constantly spins with different text on each of the visible sides? 2 sides would be parallel to the eye point so they would never be seen. Sort of like the James Bond spinning license plate. This button when pressed would fire off a message. When the

Re: image library

2011-10-28 Thread edward cawley
I'll try to make it clearer what I'm trying to do. I have some HyperCard stacks which have a number of cards with graphics on them. I opened them in LiveCode with no problem. The graphic images were converted with no problem and are in the image library (accessed through the development menu

Re: [OT] PCI cards

2011-10-28 Thread Richmond Mathewson
On 10/28/2011 07:55 PM, Peter M. Brigham, MD wrote: On Oct 26, 2011, at 7:11 PM, Bob Sneidar wrote: Will Wine allow you to read HFS+ disks? Maybe if you drink enough of it... Well; Friday night; I'm well flown with good Bulgarian Mavrud. Whatever else the shitty reality of Bulgaria (and

Re: Rotating button

2011-10-28 Thread stephen barncard
What a control that would be! I've seen what SVG graphics can do...I imagine it can be done in LIvecode, although I haven't seen text displayed like you describe, it would seem possible. Points is points. but the math required... On 28 October 2011 11:12, Ralph DiMola rdim...@evergreeninfo.net

Re: [OT] PCI cards

2011-10-28 Thread Richmond Mathewson
On 10/28/2011 08:49 PM, Bob Sneidar wrote: I don't know about you but the drunkerer I get, the reader I don't. Frankly it is extremely unwise to read authors such as Kant when NOT flown with wine; the blushful hippocrene leads one to anacreontic insights otherwise unsuspected . . . wow, top

Re: image library

2011-10-28 Thread Pete
Hi Edward, In LC, you'll find the Image Libraries in IDE stacks named revLib plus the name of the library. If you switch on LiveCode UI Elements in the View Menu, you'll see those stacks (if there are any in your application). Each stack has one card that holds all the images. I don't know

Re: image library

2011-10-28 Thread J. Landman Gay
On 10/28/11 1:28 PM, edward cawley wrote: I'll try to make it clearer what I'm trying to do. I have some HyperCard stacks which have a number of cards with graphics on them. I opened them in LiveCode with no problem. The graphic images were converted with no problem and are in the image library

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-28 Thread Warren Samples
On 10/28/2011 12:53 PM, Bob Sneidar wrote: Is this in Windows or Mac? Im Mac to get usage for a shell command you have to preface it with man. I think it's short for manual. This only works if whatever installed the command in the shell also installed a man page. Bob Technically you are

Re: Rotating button

2011-10-28 Thread dunbarx
Simulate it. Should be easy and fun. Make a few buttons (not a field?) of the same rect that overlie each other. Each button has its own name or label. Button 1 is fully shown. The others all have their heights set to 0. Take one button and in a repeat loop smoothly change its height from

Re: Rotating button

2011-10-28 Thread dunbarx
After reading Steve's post, I may not have appreciated that you wanted some sort of 3-D effect. The James Bond license plate may be fairly well simulated, since you are looking at it face on. But maybe it is not sexy enough? Craig Newman -Original Message- From: Ralph DiMola

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-28 Thread Andre Garzia
Graham, This is probably a PATH issue. See when you launch your terminal, a bash script is executed. You can think of this script as the code in preOpenTerminal. Among other things, this script will set the PATH variable which holds a list of folders to look for commands in. So when you use the

Re: What's the difference between LC 'shell' and OSX terminal?

2011-10-28 Thread Warren Samples
On 10/28/2011 03:09 PM, Andre Garzia wrote: Try this on your terminal: which convert This will return the path to the convert command, in my case is: /usr/local/bin/convert So change your convert command in the shell to /usr/local/bin/convert image.jpg blabla and see if you can get it to

Re: [OT] Box.net free 50Gb for iOS 5 users

2011-10-28 Thread Chipp Walters
I've been told by a somewhat reliable source source that you can share Box.net to your desktop using AirShare. On Tue, Oct 25, 2011 at 8:10 PM, Chipp Walters ch...@altuit.com wrote: Hey guys. You don't want to miss this free lifetime giveaway. Box.net recently closed on a huge round of

Re: Download a stack file

2011-10-28 Thread AndyP
Use a callback to check when the loaded file is cached (fully loaded) and then save the file via a url. load url myUrl with message loaded on loaded pUrl, pStatus if pStatus = cached then put url pUrl into url (binfile: pathToLocalFile) end if unload url pUrl end loaded

Re: Download a stack file

2011-10-28 Thread Peter Bogdanoff
thanks, I'll try that. Peter On Oct 28, 2011, at 1:25 PM, AndyP wrote: Use a callback to check when the loaded file is cached (fully loaded) and then save the file via a url. load url myUrl with message loaded on loaded pUrl, pStatus if pStatus = cached then put url pUrl into

RE: Download a stack file

2011-10-28 Thread AndyP
It's also worth experimenting with the revert command. If you have a running sub stack (this must be a seperate stack file) then once you have loaded and saved a new version to the same location as the original, issuing the revert command will flush the loaded file from memory and load up the new

File writing performance?

2011-10-28 Thread David C.
Howdy folks, I guess I could do some bench testing, but maybe someone out there can save me some time if they already know the answer to my question, which is: When saving data to a file (or a group of files), is there any type of performance loss or gain by using the --open file --write to file

Re: [ANN] LiveCode.tv event #39

2011-10-28 Thread Björnke von Gierke
We do have an event tomorrow, but I don't know who will present. Most likely it will be a single presentation. Join ChatRev to watch live at 20:00 CET on Saturday, 29th October. Download a standalone from http://bjoernke.com/chatrev/ or enter in the message box: go stack URL

Re: File writing performance?

2011-10-28 Thread David C.
Thank you for saving me some time, Mark! In this case all of the processing is handled directly in variables, which seems to be fast enough for the job at hand, and the contents of each variable is then written to disk one at a time after the processing is complete. I couldn't imagine any

Re: TIP: Using Unicode chars as icons

2011-10-28 Thread Pete
Any recommendations for fonts to take a look at? So far, I've been through Zapf Dingbats, WIngdings, and Webdings. Still looking for a calendar and a search (magnifying glass?) Pete Molly's Revenge http://www.mollysrevenge.com On Fri, Oct 28, 2011 at 10:56 AM, stephen barncard

image rendering in RevServer?

2011-10-28 Thread Richard Gaskin
Reviewing the RevServer page at runrev.com, the last paragraph there makes a brief mention of image rendering features. The docs for RevServer suggest that things like export card won't work in RevServer, but if not then what does image rendering mean?

Re: image rendering in RevServer?

2011-10-28 Thread stephen barncard
yeah, it would be nice if we could use some of the image-processing features we have on the desktop. We could create bitmap images like characters, barcodes, graphs and charts in real time and then display them. On 28 October 2011 18:48, Richard Gaskin ambassa...@fourthworld.com wrote: