Re: where to put handlers?

2008-02-05 Thread Trevor DeVore
On Feb 5, 2008, at 6:49 PM, Sadhunathan Nadesan wrote: Reason: easy to edit a single script with everything in one place, easy to find what you are looking for, instead of hunting around in various buttons or other objects with code scattered all around. Maintenance is the key. I have to plu

Re: Repeat statement

2008-02-05 Thread J. Landman Gay
Thomas McGrath III wrote: OK, Here's an easy one that I can't remember for the life of me. What is the best repeat to delete blank lines in a list? The best repeat is a one-liner. :) filter tList without empty -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software

Re: where to put handlers?

2008-02-05 Thread Mark Smith
Mark, Sadhunathan, I think we have a high/low confusion here. I think you're both agreeing with Sarah. FWIW, I tend to think in terms of 'behind/in front'. Best, Mark On 6 Feb 2008, at 00:05, Mark Schonewille wrote: Hi Sadhunathan Nadesan, A lot of projects that are sent to me are unneces

Repeat statement

2008-02-05 Thread Thomas McGrath III
OK, Here's an easy one that I can't remember for the life of me. What is the best repeat to delete blank lines in a list? Thanks in advance, Tom ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, un

Re: Books?

2008-02-05 Thread Mark Swindell
Dan Shafer had a book going called Software at the Speed of Thought. He had several e-chapters for sale both on his site and on Rev's site a while back. I bought the chapter dealing with custom properties and found it useful and well written. Mark On Feb 5, 2008, at 4:22 PM, J. Downs wro

Re: Importing a HyperCard stack

2008-02-05 Thread J. Landman Gay
J. Landman Gay wrote: J. Downs wrote: How does one import an old HyperCard stack into the latest versions of Rev? Rev doesn't recognize the stacks via the Finder, Dock, or Open dialogue. Any hints? You need either Studio or Enterprise. Media doesn't open HC stacks. Are you using Media?

Re: Importing a HyperCard stack

2008-02-05 Thread J. Landman Gay
J. Downs wrote: How does one import an old HyperCard stack into the latest versions of Rev? Rev doesn't recognize the stacks via the Finder, Dock, or Open dialogue. Any hints? You need either Studio or Enterprise. Media doesn't open HC stacks. Are you using Media? -- Jacqueline Landman Ga

Importing a HyperCard stack

2008-02-05 Thread J. Downs
How does one import an old HyperCard stack into the latest versions of Rev? Rev doesn't recognize the stacks via the Finder, Dock, or Open dialogue. Any hints? Thanks, J. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visi

Re: Books?

2008-02-05 Thread J. Downs
Have any good books on Rev/Transcript been published, or is everyone still using old HyperCard/Talk books as references? So, I'll take the lack of response as a "no." Any of you have one in the works? I'd like to read some good references on language changes since HyperTalk. J. __

Re: [OT] Instructional design and the demise of AppleGuide

2008-02-05 Thread J. Downs
Research papers would be most helpful, but even offhand comments from interviews with Apple staff or others in the know would be good. So you're saying we should abstain from rampant speculation? Way to cut me off at the knees, Richard. ;) J. _

Re: Macintosh Modifier symbols in menuitem

2008-02-05 Thread J. Downs
Perhaps those interested could add their votes to an enhancement request that Jeanne filed back in 2005 which makes the request along with syntax suggestions: Absolutely brilliant proposal. Should have been done two years ago. J.

Re: where to put handlers?

2008-02-05 Thread Mark Schonewille
Hi Sadhunathan Nadesan, A lot of projects that are sent to me are unnecessarily complex because people try to be "smart", putting handlers in weird places. After 2 decades of programming with HyperCard and later Revolution, I've come to the conclusion that it is a good idea to put handlers

where to put handlers?

2008-02-05 Thread Sadhunathan Nadesan
Deep bows to Sarah, who wrote: > My general rule is to place each handler or function as low in the > hierarchy as practical. If a button has a single use, then it contains > it's own handler. With true respect, I would like to suggest an alternative approach, the reverse. Place handlers as high

Lib database

2008-02-05 Thread Hershel Fisch
Hi all I'm in the works of creating a web site rev CGI which the interface is almost done, And now I'm stuck when it comes to the database part. Have no idea how to work this out tried various different way's and E.g. #!revolution on startup put 1 & getTip1() into theData # write minima

Re: encrypt/decrypt binary data in custom properties?

2008-02-05 Thread Richard Gaskin
runrev260805 wrote: is it possible to encrypt/decrypt binary data in a custom property? There are no examples in the documentation. Where can i find more specific information aboubt decrypt/encrypt? The documentation for Rev's encryption commands should suffice for any data. Getting the da

encrypt/decrypt binary data in custom properties?

2008-02-05 Thread runrev260805
Hi, is it possible to encrypt/decrypt binary data in a custom property? There are no examples in the documentation. Where can i find more specific information aboubt decrypt/encrypt? Regards, Matthias ___ use-revolution mailing list use-revolution@

Re: Macintosh Modifier symbols in menuitem

2008-02-05 Thread Trevor DeVore
On Jan 31, 2008, at 6:04 PM, Andrew Meit wrote: Rev, don't you find this strange for a Macintosh app to be missing??? Rev, please stop chasing after wizbang eye-candy stuff and finish real bread&butter GUI stuff--Now! I am really getting tired of waiting for 7 years for stuff long, long over

Re: [OT] Instructional design and the demise of AppleGuide

2008-02-05 Thread Stephen Barncard
Well along with that thread -- [observations of HELP in the IDE] there now seems to be some aspects of the "HELP" menu in OSX that are there whether we want it or not. Like the 'Search' Menu that appears there while in any application using Leopard. When I type some common terms in that se

[OT] Instructional design and the demise of AppleGuide

2008-02-05 Thread Richard Gaskin
I'm redesigning the Help system for a couple of the apps we develop, and I'm attracted to some of the ideas of AppleGuide, esp. having tutorial info directly within the software itself so users can more easily perform the steps without switching back and forth between applications. But Appl

OT: swf animation

2008-02-05 Thread Mark Wieder
Completely off topic, but in light of the current spate of swf posts, here's a delightful short animation: Animator vs Animation http://fc01.deviantart.com/fs13/f/2007/077/2/e/Animator_vs__Animation_by_alanbecker.swf Have fun. -- Mark Wieder [EMAIL PROTECTED] ___

RE: db encryption and multiuser question

2008-02-05 Thread Lynn Fredricks
> > I imagine it is probably best to use a db with built in > encryption if > > you need encryption and searching. > > Interestingly, both RealBasic (internally) and Director (via 3rd > party) have support for using encrypted SQLite databases - > including full search functionality, so it would

Re: db encryption and multiuser question

2008-02-05 Thread Trevor DeVore
On Feb 5, 2008, at 1:01 PM, Troy Rollins wrote: On Feb 5, 2008, at 12:11 PM, Trevor DeVore wrote: I imagine it is probably best to use a db with built in encryption if you need encryption and searching. Interestingly, both RealBasic (internally) and Director (via 3rd party) have support f

Re: db encryption and multiuser question

2008-02-05 Thread Troy Rollins
On Feb 5, 2008, at 12:11 PM, Trevor DeVore wrote: I imagine it is probably best to use a db with built in encryption if you need encryption and searching. Interestingly, both RealBasic (internally) and Director (via 3rd party) have support for using encrypted SQLite databases - including

Re: db encryption and multiuser question

2008-02-05 Thread Mark Smith
I see what you mean. I guess I was thinking of the case when you're searching for an exact and whole db entry. It would also fail on comparative operators. Doh! Best, Mark On 5 Feb 2008, at 17:11, Trevor DeVore wrote: On Feb 5, 2008, at 10:23 AM, Mark Smith wrote: Would that be true if y

Re: db encryption and multiuser question

2008-02-05 Thread Trevor DeVore
On Feb 5, 2008, at 10:23 AM, Mark Smith wrote: Would that be true if you encrypted the search terms the same way you encrypted the data? First of all, I am no encryption expert so the following is just based on what I've seen while using encryption. The issue you have is that the encrypte

Re: AW: db encryption and multiuser question

2008-02-05 Thread Luis
Hiya, You could opt for www.firebirdsql.org It has both server and local versions available, you can backup and manage the updates with your own app, instead of waiting for the updated Rev version. Regarding security/encryption: http://www.firebirdsql.org/manual/qsg2-config.html#qsg2-con

RE: db encryption and multiuser question

2008-02-05 Thread Lynn Fredricks
> > > Scroll down to "Situations Where Another RDBMS May Work > Better" and look at "Client/Server Applications". If you have > many users trying to write to the database file then you > should probably look for a different solution. Multiple reads > won't co

AW: db encryption and multiuser question

2008-02-05 Thread Tiemo Hollmann TB
Hi Trevor, yes, I have to do search and filter sqls on the datas, so there would only be the external encryption, but I don't know yet, if I could use one of the tools, like sqlite-crypt, or as Eric was pointing, Rev still has do some work on sqlite, before you could use encryption. Tiemo > -U

Re: db encryption and multiuser question

2008-02-05 Thread Mark Smith
Would that be true if you encrypted the search terms the same way you encrypted the data? Best, Mark On 5 Feb 2008, at 15:10, Trevor DeVore wrote: You can encrypt the data in Rev before storing in the database and then decrypt it when pulling the data out but be aware that you lose the a

Re: db encryption and multiuser question

2008-02-05 Thread Trevor DeVore
On Feb 5, 2008, at 5:21 AM, Tiemo Hollmann TB wrote: 1. I have read a few times that you can't / should not use sqlite for a multiuser environment, instead you should take a "bigger" db as valentine. My question is, are there any hard facts to not use sqlite in a multi user environment? Wh

AW: db encryption and multiuser question

2008-02-05 Thread Tiemo Hollmann TB
Thanks Peter, I'll give them a try Tiemo > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:use-revolution- > [EMAIL PROTECTED] Im Auftrag von Peter Alcibiades > Gesendet: Dienstag, 5. Februar 2008 14:45 > An: How to use Revolution > Betreff: AW: db encryption and multiuser quest

Re: Auto Updates [Was Re: External functions]

2008-02-05 Thread Trevor DeVore
On Feb 4, 2008, at 6:08 PM, Neal Campbell wrote: Has anyone looked into writing an external for Sparkle for OS X? I have used it with other languages and its pretty slick, albeit OS X only. Hi Neal, I looked at Sparkle a number of months ago while doing some work on auto updating. It seems

Re: Auto Updates [Was Re: External functions]

2008-02-05 Thread Trevor DeVore
On Feb 5, 2008, at 3:02 AM, Eric Chatonet wrote: ... Thanks for the additional info Eric. Setting the version info of the exe itself seems not really doable, at least on Vista... Virtualizing is really a pain... You can get around this if you perform all changes from a command line exec

Re: Finding a specific Windows volume

2008-02-05 Thread FlexibleLearning
Try modifying this, Richard, passing each line of "the volumes" as pDiskLette r in a repeat loop... function GetVolumeSN pDiskLetter local volumeSerialNumber --| Supports both "C", "C:" and "C:\" styles put char 1 of pDiskLetter & ":" into pDisk set the hideConsoleWindows to true put shell("di

Re: Auto Updates [Was Re: External functions]

2008-02-05 Thread Trevor DeVore
On Feb 5, 2008, at 12:56 AM, Chipp Walters wrote: Hi Trevor, As you probably know, I've been using my MagicCarpet auto-updating architecture for all Altuit's commercial apps as well as clients apps. Yes, your excellent work on this was a great help when I first ventured down this road. Re

AW: db encryption and multiuser question

2008-02-05 Thread Peter Alcibiades
Three open source sqlite editors: sqlite manager (firefox plugin - the best) tksqlite sqlitebrowser Peter ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription pre

AW: AW: db encryption and multiuser question

2008-02-05 Thread Tiemo Hollmann TB
Thanks for the info Tiemo > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:use-revolution- > [EMAIL PROTECTED] Im Auftrag von Eric Chatonet > Gesendet: Dienstag, 5. Februar 2008 12:25 > An: How to use Revolution > Betreff: Re: AW: db encryption and multiuser question > > Hi Ti

Re: Cols and rows in field

2008-02-05 Thread Eric Chatonet
Hi Josep, I think that Sarah answered your problem yet. As for building html, "How to Create and Manage HTML lists on the fly" tutorial might help you: How to build on the fly a graphical list of values with HTML, to display it into a list field and some additional tricks to hide and fetch

Re: AW: db encryption and multiuser question

2008-02-05 Thread Eric Chatonet
Hi Tiemo, Search for "Database Editor" using a search engine: you'll find many for any platform. Some are free and others offer a trial that will allow you to test. The problem is not with encryption itself but the way Rev SQLite does not handle binaries as expected (blob problem). As we hav

Re: Cols and rows in field

2008-02-05 Thread Josep
Hi Eric, I will try on the fly build using it. About to use a space to give a real value to empty columns if correct but the question is for columns that have data but not showing correctly into the cols. When I get some value that have less lenght that others in the same col the followings cols

AW: db encryption and multiuser question

2008-02-05 Thread Tiemo Hollmann TB
Hi Eric, first answer is good to hear :) what do you mean with "it had to be written a specific version of SQLite"? - that I couldn't use an encryption tool like Viktoras advised (http://www.sqlite-crypt.com/)? Do you have a name or link to a freeware db editor, so that I could get an idea, what ot

Re: Cols and rows in field

2008-02-05 Thread Sarah Reichelt
> I'm using fields with TabStop to show tabular data from a database. It's > only a list of all the products that exist in the database, these list have > 3 cols. > > Code + Name + Price > > Frist problem, if the name have more o less length the col num 3 is moved > and break the cols. I need that

Re: External functions

2008-02-05 Thread Sarah Reichelt
> I'm testing to start using s_lib_databases.rev as librery but any stack find > any handler located into it. > > on preopenstack > start using stack "/Users/Joss/documents/iwebcart/s_lib_basedades.rev" > > end preopenstack > That's the way any library is supposed to work - all stacks will use

Re: db encryption and multiuser question

2008-02-05 Thread Eric Chatonet
Hi Tiemo, We use SQLite for multi-users purposes without any problem. As there are db editors all over the place, your data are not at all protected unless you encrypt them. The problem comes with current Rev SQLite: I don't know if this has been solved but encrypted data are binaries and we

db encryption and multiuser question

2008-02-05 Thread Tiemo Hollmann TB
Hello, beeing completely new to database programming I made some tests with sqlite with success. Following some threads there are two advanced questions left for me: 1. I have read a few times that you can't / should not use sqlite for a multiuser environment, instead you should take a "bigger

Re: Cols and rows in field

2008-02-05 Thread Eric Chatonet
Hi Josep, Replace empty columns with a space to give all of them a 'real' value. Your PK should be the last column and the width of your field calculated to not show this last column. To show an icon, you have two ways: Or you build html on the fly using (set the htmlText of fld "Table" to

Cols and rows in field

2008-02-05 Thread Josep
Hi, Inmersed into revolution I have more questions... I'm using fields with TabStop to show tabular data from a database. It's only a list of all the products that exist in the database, these list have 3 cols. Code + Name + Price Frist problem, if the name have more o less length the col num

Re: Finding a specific Windows volume

2008-02-05 Thread Richard Miller
Derek, Thanks for this function. It did the trick. Best regards, Richard Miller On Feb 4, 2008, at 2:17 PM, Derek Bump wrote: Richard, It sounds to me like you are running into the same basic problems that another user was a while back. I posted the following solution which avoids the

Re: External functions

2008-02-05 Thread Josep
Hi, I'm testing to start using s_lib_databases.rev as librery but any stack find any handler located into it. on preopenstack start using stack "/Users/Joss/documents/iwebcart/s_lib_basedades.rev" end preopenstack Why? :( Cheers, Josep -- View this message in context: http://www.nab

Re: Auto Updates [Was Re: External functions]

2008-02-05 Thread Eric Chatonet
Hi Trevor, Seems that we end with very similar solutions: it's reassuring :-) External splash stack, that is always replaced, is able to tell the 'general' version, which files are needed and the version for each of them: other stacks files, externals and additional files (multi- lingual loc