Re: Alphanumerics only

2008-01-06 Thread Mark Swindell

Dan Shafer wrote one for custom properties.

http://www.shafermediastore.com/tech_main.html

Also available is the scripting conference:
http://support.runrev.com/section/press/59.php
http://support.runrev.com/scriptingconferences/

Mark

On Jan 6, 2008, at 11:01 PM, Peter Alcibiades wrote:


Eric,

If you ever feel like writing more tutorials, one on how and when  
to use

Custom Properties and one on how and when to use Arrays would probably
lighten the hearts and smooth the furrowed brows of many a newcomer to
Rev

Peter
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



Thanks,
Mark



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Alphanumerics only

2008-01-06 Thread Peter Alcibiades
Eric,

If you ever feel like writing more tutorials, one on how and when to use 
Custom Properties and one on how and when to use Arrays would probably 
lighten the hearts and smooth the furrowed brows of many a newcomer to 
Rev

Peter
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: USB-serial adapters for Windows

2008-01-06 Thread Bill Vlahos

Sarah,

I would stick with KeySpans. I believe the KeySpan software maps them  
to the COM ports. KeySpan makes single and multiple serial port  
adapters.


Bill

On Jan 6, 2008, at 9:21 PM, Sarah Reichelt wrote:


Hi All,

For many years now, I have been successfully suing USB-serial adapters
on Macs. Revolution recognizes them as serial ports and allows me to
use the serial commands to read & write. Now I have to do the same
thing on a Windows computer running XP (I think). The hardware has a
standard D9 serial connector but the Windows laptop that I have been
told to connect it to only has a USB port - no serial.

Has anyone used a USB-serial adapter on Windows? If so, how does it
work? Does the adapter just become COMx?
Next question: has anyone got any recommendations? I have used various
Keyspans to connect Apple's mini serial connectors and I've used an
FTDI EasySync for D9's, but not for Windows so I would be grateful for
any advice.

Regards,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


USB-serial adapters for Windows

2008-01-06 Thread Sarah Reichelt
Hi All,

For many years now, I have been successfully suing USB-serial adapters
on Macs. Revolution recognizes them as serial ports and allows me to
use the serial commands to read & write. Now I have to do the same
thing on a Windows computer running XP (I think). The hardware has a
standard D9 serial connector but the Windows laptop that I have been
told to connect it to only has a USB port - no serial.

Has anyone used a USB-serial adapter on Windows? If so, how does it
work? Does the adapter just become COMx?
Next question: has anyone got any recommendations? I have used various
Keyspans to connect Apple's mini serial connectors and I've used an
FTDI EasySync for D9's, but not for Windows so I would be grateful for
any advice.

Regards,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing - black areas appear

2008-01-06 Thread Mark Swindell

Thanks, Paul.

I determined that in the specific page I am printing the black areas  
are brought on by having a non-scrolling text field with the  
following conditions:


location near left margin of card
show border = true
3D = true
line width =  2

The black fills the text field, but only for the first inch or so  
from the left margin.


Changing any of the above properties/conditions makes the black go  
away and printing becomes normal.


Unfortunately, I can't recreate this on a new card, so there must be  
something peculiar about other factors in my card.  Do you still have  
the card that was printing black areas?


Mark

On Jan 6, 2008, at 12:37 PM, Paul Gabel wrote:



 true
What might explain large areas of black appearing in print jobs?
-

Mark: I had the same problem with printing a card. On Dec. 4, Sarah  
made the
suggestion below. It didn't solve my problem, but perhaps it will  
help you.


Sarah Reichelt-2 wrote:

On Dec 4, 2007 2:42 PM, Paul Gabel <[EMAIL PROTECTED]> wrote:
Can anyone give me a clue as to why printing a card results in large
blocks of black ink. In Rev 2.8.1, many images ended up this way. In
Rev 2.9 beta 9, buttons and fields end up this way.

on menuPick theItem
  switch theItem
  case "This Card"
set the printScale to .5 -- needed to fit card on paper
print this cd
break
. . .

Paul, what happens if you set the backColor of the card to white  
before

printing?

Sarah


--
View this message in context: http://www.nabble.com/Printing--- 
black-areas-appear-tp14638425p14653354.html

Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



Thanks,
Mark



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: MacBook randomly shuts down..

2008-01-06 Thread Kay C Lan
On Jan 7, 2008 8:26 AM, Jeff Reynolds <[EMAIL PROTECTED]> wrote:

>
> all the old machines have gone onto second
> and even third lives with others and all were retired due to just
> extreme old age and not to dying...


And I'd like to thank you for passing them on.

My experience is that I do the same with hardware as software. I own OSX
10.5 but I won't install it until 10.5.2 arrives (although having said that
it seems to be a very long time coming, maybe I'll try 10.5.1) I've owned
umpteen Mac's over the years and only bought 2 brand new. The first, a
PowerBook 540C, which broke within the first week, motherboard promptly
replaced, worked the last time I cranked it up. The other a first generation
G5 kept crashing - a very non-Mac experience, and although I had bought an
extended AppleCare warranty, nothing could ever be found to be wrong with
it, the crash was just too random. The problem eventually disappeared many
many frustrating months later after firmware and OS upgrades.

Having been a happy user of many many second hand Macs I've concluded there
are two types of computers; Lemons and Workhorses. As far as the Lemons are
concerned, if they are repaired under warranty, many turn into Workhorses. I
let others go through the hassle of separating the Lemons from the
Workhorses;-)

As far as workhorses go the most miraculous to date is a Lombard PB I bought
in 2001, it was 2 years old when I bought it. About 3 years into my
ownership, just sitting typing into it a great cloud of smoke erupted from
the keyboard, I immediately pulled the battery and a fast thinking colleague
seated on the other side of the desk pulled the AC power cord. The office
was full of the acrid smell of burning carbon.

Just for curiosity, as it was now 5+ years old, I took it to Apple to see
how much to fix (a new motherboard I figured). A week later they reported
back $0, nothing! They said there was nothing wrong with it, they'd carried
out all the hardware tests and it had passed.

Clearly unable to believe this I went to pick it up and demanded the
technician start it up for me and show it run. Sure enough it did. I
explained what had happened, I even opened the thing up, pretty easy as all
you needed to do was release the keyboard. There inside it was a smoker's
fingers, the back side of the keyboard was all smoke stained as were parts
of the frame, HD, RAM and motherboard!

Anyway it worked, so away I went. Knowing full well that it's days were
numbered I quickly bought a secondhand TiBook. The Lombard went to our very
lysdexic son, his special needs teacher had some typing, spelling and other
programs he could run on his own computer rather than wait for the schools
limited resources to become available. I knew this was going to be brutal on
the Lombard, especially the screen hinges which were the Achilles' heel of
the model. Just by coincidence a coworker mentioned that he had an old Pismo
(basically the same model except with firewire built in) lying around that
he didn't use plus and old Lombard which had a broken screen. I purchased
these two for $50.

About a year after the Lombard smoked, it finally failed; I like to think
because of the failure to follow my simple instruction to turn the computer
off any time it was not in use - this was also just a good safe work
practice because if the the Lombard ever smoked again, fire might follow.
Anyway, sure enough the Lombard was left on overnight and in the morning it
wouldn't wake up or turn on. Thankfully it hadn't burst into flames in the
middle of the night.

I simply swapped the screen off the smoked Lombard onto the Lombard with the
broken screen. The Lombard (and the Pismo) still work today and are used
almost daily.

As to Sarah's mention of coffee and keyboards.

My daughter rang from Uni to complain that the hand-me-down AlBook I'd given
her was suddenly experiencing a screen failure. I got her to take it to an
Apple store and have someone start it up in Target Disk mode and confirm all
here data was safe - thankfully it was.

I picked up a similar second hand AlBook, again figuring I could use the
broken one for spares, and did a simple HD swap. Along the way I also
discovered many of the keys didn't work. The cause of such a strange failure
was all revealed when my wife happen to be reading my daughters FaceBook
entries. Foolishly she had mentioned spilling coffee into the computer. Not
happy!!

I've since informed my daughter that it's the last laptop she'll be getting
from me, from here on she can by her own electronic saucers.

I will be giving the de-ionized water a go though, thanks for the tip Sarah.

And lastly: I still run a IIci to print out on a Personal LaserWriter 300.
The 300 has no drivers for System 8 or 9 so I have to use a System 7
computer :-) And someone was wondering why FutureBASIC may be of interest to
me; although I think BackToTheFutureBASIC may be a more apt name ;-)
___
use-revolution mai

ANN: Media Viewer

2008-01-06 Thread Mark Schonewille

Dear Revolutionaries,

It happens to me roughly every two weeks and I know it happens to  
many of you as well: a request or a desire to quickly put together a  
simple slide show. After encountering yet another situation in which  
a simple solution was required, I decided to take it one step further  
and make a solution for all future cases.


The last day of my holidays, I have made a simple package that  
contains everything to create a simple slideshow, which plays  
automatically from CD-ROM. Please note: "simple" means there is  
noting sophisticated about it. No visual effects, no filters, no  
background music. Maybe these features follow later.


The solution includes a Revolution standalone and a few folders and  
files, which can be downloaded at . The package is made available free of charge (but you're  
free to make donations) and works with Windows only.


Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: MacBook randomly shuts down..

2008-01-06 Thread Jeff Reynolds
I just had my third desktop dell in 6 years die. each died at almost  
exactly two years! almost feels like a timer is built in. all middle  
of the road dells with light use bought new directly from dell.


this last time i did extend the warrantee to two years on a rebate  
deal, but I forgot about it. when i was diagnosing the problem with  
dell support and we finally determined it was a dead mother board  
they said it would be $500-600 to replace. i said forget it. I had  
forgotten about the extended care i had gotten. next week i get a  
letter asking if i want to re up the extended care for another year.  
the bums did not tell me when i was doing the diagnosis that i was  
eligible for free repair! This was all Dells direct stuff, not a  
third party. you would expect they would know what i had after all  
the info i had to have their tech support even look at the machine at  
almost two years in... I had just sent the machine off to the  
recycling center...


bottom line is thats the last pc coming in here, decided to just  
upgrade to an intel mac pro and get both worlds in one. after some  
dozen odd apples over the years i have never had one die or even have  
any serious problems (even with having a cup of coffee run through my  
mac IIfx by a coworker). all the old machines have gone onto second  
and even third lives with others and all were retired due to just  
extreme old age and not to dying... Taught in a multimedia lab at a  
high school for a year and had 40 macs with about a 6 year life range  
and all trooped right along with only a few hard drives pooping out.  
the dell lab down the hall on the other hand always had 3 or 4  
machines laid up and i think 3 of the 25 went back dead in the first  
year up...


I use to just laugh when business folks would huff at the 10-30%  
premium for apples and look at me oddly when i started spouting ROI  
studies and experiences. i guess they slept through that part of biz  
school... I never went myself, but its a lesson i have learned big  
time in 15 years of dealing with scads of computers...


cheers,


Jeffrey Reynolds



On Jan 6, 2008, at 6:09 AM, [EMAIL PROTECTED]  
wrote:



We use Dell computers at work and DO purchase extended warranties on
them. They need it. Within 4 years almost all of them >90% of them
end up using it. The only good thing is that Dell has figured out how
to have this kind of crappy reliability and but good service (they
almost never hassle any on-site repair) and still make money.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Object Oriented fixes

2008-01-06 Thread Xavier Bury
Some of us complain about windows this or mac that or Oh SeXy software
there...

But we just love how it works and wonder at how much workmanship when into
IT...

In 2008 you have the best chances of shining on your happy clients with
their ware...

Here's how easy it could be... The Object Tested Oriented way...

http://www.livevideo.com/media/playvideo_fs.aspx?fs=1&cid=F4B5854611D141AFA19359F36DCDC74F

Happy 2008 and success to all...
There will be no evolution without Revolution. ;)

Cheers
Xavier
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Alphanumerics only

2008-01-06 Thread Eric Chatonet

Hi Bill,

Le 6 janv. 08 à 23:01, Bill Vlahos a écrit :


How do I limit text from an Answer dialog to only letters and numbers?

I can check for number with "is a number" but I don't see the alpha  
syntax.


Bill Vlahos


"#020 How to master users data in entry boxes" tutorial might help you:
This stack shows you how to allow the user to type the data you  
expect according to a format in an entry box field.
Five examples are provided from a simple ZIP code to custom  
sophisticated formats.
You will access this tutorial through "Tutorials Picker" a free  
plugin that interfaces with the So Smart Software website in order to  
display all available tutorials stacks directly from the web.

You will find it by going to http://www.sosmartsoftware.com/.
Revolution/Plugins or Tutorials section.


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Alphanumerics only

2008-01-06 Thread Bill Vlahos

How do I limit text from an Answer dialog to only letters and numbers?

I can check for number with "is a number" but I don't see the alpha  
syntax.


Bill Vlahos

Sent from my iPhone
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing - black areas appear

2008-01-06 Thread Paul Gabel


What might explain large areas of black appearing in print jobs?   
-

Mark: I had the same problem with printing a card. On Dec. 4, Sarah made the
suggestion below. It didn't solve my problem, but perhaps it will help you.

Sarah Reichelt-2 wrote:

On Dec 4, 2007 2:42 PM, Paul Gabel <[EMAIL PROTECTED]> wrote:
Can anyone give me a clue as to why printing a card results in large
blocks of black ink. In Rev 2.8.1, many images ended up this way. In
Rev 2.9 beta 9, buttons and fields end up this way.

on menuPick theItem
  switch theItem
  case "This Card"
set the printScale to .5 -- needed to fit card on paper
print this cd
break
. . .

Paul, what happens if you set the backColor of the card to white before
printing?

Sarah


-- 
View this message in context: 
http://www.nabble.com/Printing---black-areas-appear-tp14638425p14653354.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: OT: MacBook randomly shuts down..

2008-01-06 Thread Stephen Barncard

Have you ever had to make a claim? I havent had a Powerbook, but the
desktops (Mac) Ive had have never pooped out.
Lynn Fredricks



Yes. While I was in France, my Wall Street LCD screen started going 
intermittent, but it hadn't progressed to the point that it was 
unusable. I had moved to France for a while and taken it with me, but 
I knew the fine print and since I didn't buy the computer there, I 
was out of luck if it had completely failed. Upon returning to the 
USA, it got worse, so I sent it directly to an Apple Certified dealer 
(this was before Apple stores existed) and had it back in about 4 
days.


I got a G4 17" powerbook in 2003 and in 2005 (past the 1 year factory 
warranty) I had the Firewire ports go out. I  bought a Firewire/USB2 
drive, backed up my machine (thankfully the USB circuitry was not 
affected and the port on the G5 was USB2 -pretty fast) and gave it to 
the guy at the Genius Bar at the Apple Store in Stonestown mall in 
SF.   It came back, perfect, within the same week.


Apple is also very good about their refurb purchases. I bought two 
23" refurbished cinema displays and both had arrived with bad power 
supplies. I was able to trade both of them in for working ones at my 
local Apple store, after about a day of waiting for them to get 
stocked.


Applecare has variable rate pricing. The cost for a powerbook 
warranty is going to be a lot more because they are more vulnerable. 
Desktops and screens coverage aren't nearly as much.


I like the way their tech people are recruited and trained. They 
don't treat you like an idiot if they see that the customer knows 
what he's talking about, and when you talk tech with them, you can 
tell that they know their subject well.


I have a MacBook now, first generation dual Intel, inherited from my 
dad, who eagerly bought it with all the trimmings, but never got to 
use it. He could barely push the right keys, and it was sad. He had 
been a mac user for years.. So far the fan has roared up strangely a 
couple of times, but it hasn't done the  shutdown thing. Yes, it has 
the full Applecare plan, too.





Stephen,

Have you ever had to make a claim? I havent had a Powerbook, but the
desktops (Mac) Ive had have never pooped out.

Don't get me started on my Dell laptop though ;-)

Best regards,

Lynn Fredricks


--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Want a Window with a vertical scroll

2008-01-06 Thread Thomas Bähler

There is another property that might appear interesting when you show
groups borders: group margins.


Yeah, gives more control over the layout. But to change the margins  
in a script I had to unlock the group

first (and lock it again afterwards).

Thanks Eric

Thomas
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: OT: MacBook randomly shuts down..

2008-01-06 Thread Graham Samuel
I've made a claim in the UK when the hard disk on my G5 iMac packed  
up about a month before the end of the AppleCare warranty period. It  
was fixed fairly promptly (just over a week) by an authorised  
repairer, not Apple itself. The repairer complained that they were  
obliged to get the part from Apple whereas they could have sourced it  
more quickly elsewhere...


OTOH, my son's new Intel iMac in Paris broke almost as soon as he got  
it, and there was considerable delay in making the diagnosis and then  
a delay of a few weeks in doing the repair (via a third party)  
apparently due to shortage of parts. Not as bad as Brazil, but not  
good enough IMHO. I spent a long time talking to Apple France about  
it myself, but it didn't speed things up. I was surprised that they  
didn't offer to give him a new machine, considering it was so new.


So it seems the further away you are from the US, the worse it gets -  
or something like that.


Graham

On 6 Jan 2008, at 19:00, "Lynn Fredricks" <[EMAIL PROTECTED] 
intl.com> wrote:




Applecare is different. Also it's 4 years with the 1 yr
factory warranty.
I found it to be essential in a MacBook purchase.

A new motherboard alone costs $400. Stuff always happens and
portables are vulnerable. I've done applecare on all my
portables (6) since 1998.


Stephen,

Have you ever had to make a claim? I havent had a Powerbook, but the
desktops (Mac) Ive had have never pooped out.

Don't get me started on my Dell laptop though ;-)

Best regards,

Lynn Fredricks
President
Paradigma Software
http://www.paradigmasoft.com

Valentina SQL Server: The Ultra-fast, Royalty Free Database Server


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Many Cards Versus One Card and a List Field

2008-01-06 Thread Gregory Lypny

Thank you for your responses Sarah, Mark, Paul, and Richard,

As always, thoughtful and insightful.  You've confirmed what I've  
learned with my experience with Revolution, comparing the one-card-per- 
record model with the one-card-as-a-display model, so now I'm  
convinced that I can abandon the former for most projects.  Richard, I  
would be interested in seeing some of those database handlers.  I've  
got a few bits and pieces and approaches of my own, many motivated by  
discussions on this list.  Here are three.


1.  I don't use the Filter command anymore because it is much too slow  
on big lists and is too cumbersome to script when the search is  
restricted to particular line items.  Instead, I use handlers with  
Repeat-for-each loops or Split to create arrays, probably like Paul  
does.


2.  For big data sets, I generally initialize a variable to be a  
number using arithmetic commands rather than "put" when it is to be  
used as an index or  iteratively in a calculation.  This means that  
I'll invoke the variable by writing "add 1 to x" rather than "put 1  
into x" to get things going, and subsequently rely on arithmetic  
commands.  This is motivated by an excellent thread on this topic by  
Wil Dijkstra in April, 2003.


3.  I've only begun to tinker with custom properties, and have found  
them to be handy for storing information on database structure (e.g.,  
first name is always the third item in any line of a Personal  
Information list field), but I keep the actual record data in a list  
field and back it up into plain text files.  I have found that scripts  
work much faster if custom props are pre-loaded into variables outside  
a repeat loop rather than being called anew at each iteration.  I've  
observed a ten-fold speed increase in some cases.


Regards,

Gregory Lypny

Associate Professor of Finance
John Molson School of Business
Concordia University
Montreal, Canada




From Sarah:

On Sun, Jan 6, 2008, at 6:09 AM, use-revolution- 
[EMAIL PROTECTED] wrote:



I would recommend the list field-single card method for Rev. With
Hypercard, marking cards by finding was super fast. With Rev this is
not the case. I wrote a small database (about 4000 records) in
Hypercard for some friends, using the one card per record method. When
they changed to OS X, I tried just importing it into Rev but searching
for multiple matches was unworkably slow. I converted it all to a
single card plus data field and it was all good again. Plus the data
is easier to back up and restore if I send them a program update.

Cheers,
Sarah


From Mark:


Sarah is right. Keeping data on individual cards makes Revolution
extremely slow. A long time ago, I used the bible to create a
database of approximately 32000 records for a test, i.e. 32000 cards.
Running the test on a 350Mhz iMac, a search for a string could take
an hour if this string was on one of the last cards. The same test in
a HyperCard stack with 32000 cards took a few seconds at most.

If you keep data in a custom property or in a file on disk, you can
search strings about as fast as with HyperCard. Particularly if you
have all data in memory and use an offset function or a filter
command, you can perform searches very quickly.

Best regards,

Mark Schonewille


From Paul:

There are three big benefits from using the one-card approach with  
Rev.

The programs will run faster.
The stacks will be smaller.
It will be easier to build menus.

BTW, I have found "repeat for each line whichLine" works faster than
"lineOffset" and more reliable than "filter with/without".

You will miss
HC's ability to easily find data in a specific field.
The ability to refer to data by field name, instead of by item  
number in a

record string.
The ease of relayering fields in an entire stack by rearranging them  
on a

card.

Good luck and best wishes.
Paul Looney


From Richard:


While it can take a bit more work up front to set up, I think you'll
come to love the flexibility of maintaining your own data storage.

What HyperCard did was bind your data to the physical card record
structure, which means you get one presentation (the detail view, or
"card") quite easily but at the expense of any other presentation  
(such

as a list view).

I've been storing most of the data my apps work with in tab-delimited
custom properties for many years.  I have a lot of code which might be
of use - I'll see about posting some of it in my Handy Handlers column
at revJournal.com soon, but if you'll tell me a bit more about your
project maybe I have something lying around which would be useful  
right now.


--
 Richard Gaskin
 Managing Editor, revJournal


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Want a Window with a vertical scroll

2008-01-06 Thread Eric Chatonet

Hi Thomas,

There is another property that might appear interesting when you show  
groups borders: group margins.
It's not so obvious because you set them in the text formatting pane  
in the properties inspector for the group as you do it when setting  
inner margins in a field.
By default groups margins are set to 4 but very often setting them to  
zero (at least on Win where there are no round corners as with OS X)  
might appear better.


Le 6 janv. 08 à 18:04, Thomas Bähler a écrit :


Hi Mark
Yes, you were right, the "Lock size and position" wasn't checked.
I have to think thoroughly of the meaning and properties of a group.
The boundaries of the group depend on the objects it consists of,  
unless I lock size and position of the group.


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Want a Window with a vertical scroll

2008-01-06 Thread Thomas Bähler

Hi Mark
Yes, you were right, the "Lock size and position" wasn't checked.
I have to think thoroughly of the meaning and properties of a group.
The boundaries of the group depend on the objects it consists of,  
unless I lock size and position of the group.


Thanks again
Thomas
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: OT: MacBook randomly shuts down..

2008-01-06 Thread Lynn Fredricks
> Applecare is different. Also it's 4 years with the 1 yr 
> factory warranty.
> I found it to be essential in a MacBook purchase.
> 
> A new motherboard alone costs $400. Stuff always happens and 
> portables are vulnerable. I've done applecare on all my 
> portables (6) since 1998.

Stephen,

Have you ever had to make a claim? I havent had a Powerbook, but the
desktops (Mac) Ive had have never pooped out.

Don't get me started on my Dell laptop though ;-)

Best regards,

Lynn Fredricks
President
Paradigma Software
http://www.paradigmasoft.com

Valentina SQL Server: The Ultra-fast, Royalty Free Database Server 

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Want a Window with a vertical scroll

2008-01-06 Thread Mark Schonewille

Hi Thomas,

I bet you didn't set the lockLoc to true. Hence the "strange" behaviour.

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com



Op 6-jan-2008, om 16:36 heeft Thomas Bähler het volgende geschreven:


Excellent, thanks Mark!


Group all objects on your card. Set the vScrollbar of the group to
true.


I didn't think of a group having a scrollbar.
The formating was a bit tricky though. The width has to be adjusted  
so that the scrollbar doesn't cover the field on the right side of  
the group.
And then, there was this strange behaviour when I wanted the   
border of the group to appeare.
By showing the border, the height of the group increased to the  
height of the fields.
Setting the rect of the group after setting the showborder to true  
works fine.


Thomas


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Want a Window with a vertical scroll

2008-01-06 Thread Thomas Bähler

Excellent, thanks Mark!


Group all objects on your card. Set the vScrollbar of the group to
true.


I didn't think of a group having a scrollbar.
The formating was a bit tricky though. The width has to be adjusted  
so that the scrollbar doesn't cover the field on the right side of  
the group.
And then, there was this strange behaviour when I wanted the  border  
of the group to appeare.
By showing the border, the height of the group increased to the  
height of the fields.
Setting the rect of the group after setting the showborder to true  
works fine.


Thomas
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Want a Window with a vertical scroll

2008-01-06 Thread viktoras didziulis

Hi Thomas,

group these 5 fields and add a vertical scroll to the group.

Viktoras

Thomas Bähler wrote:

Dear RunRev List
In my project I have five list-fields next to each other with equal 
but varying number of lines.
I wanted a common vertical scroll to see all lines when there are to 
many to display in the window.
First I experimented with a table-field but the formating was too 
complicated. I then thought I calculate
the height of the fields according to the number of lines, and put a 
vertical scroll to the window. But,

there is no vertical scroll for a window, is there?

Another thing I stumbled over: sorting lines by item x of a variable 
won't work when the linedelimiter and itemdelimiter

have been changed.

Thanks for hints

Thomas Bähler

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: advice on a Rev-plus-internet setup (off-topic)

2008-01-06 Thread viktoras didziulis

Hi Nicolas,

any communication between the client and the server can be sniffed. So 
passwords that client passes to the server are not sufficient to protect 
the database. As Ken wrote, you can try setting up different access 
levels for different users in MySQL. And never trust the submitted 
content, which means your relay script has to prevent any access to the 
database unless the submitted string is not what it is supposed to be.


For example you can use regular expressions in the serverside script to 
detect anything that should not come from the client - something like this:
unless ($q=~m/|alter |insert|truncate|drop |modify|create|\0|use |check 
| key /i)

{
#pass sql string ($q) to the database and return result
}
else
{
# Access denied to prevent SQL injection attempt
print "sorry, you can't";
exit 0;
}

Best wishes
Viktoras

Nicolas Cueto wrote:

Many thanks to Viktoras and Len for the server side "relay"
explanation.

I can now use Rev to connect with a MySQL database stored on my
web-host's server thru a php relay-script that is also on the same
server.

One other thing, now. The issue of security has been brought up. For
now,
my solution has been to place my server-side php relay-scripts in a
password
protected folder. This way, when my Rev stack calls the php
relay-script, I
include the user name and password for that folder in the url.

Is that sufficient? Or, what's the other avenue I should now be
following?

Again, many thanks for both the help and patience.

Cheers,

Nicolas Cueto

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


  


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Want a Window with a vertical scroll

2008-01-06 Thread Mark Schonewille

Hi Thomas,

Group all objects on your card. Set the vScrollbar of the group to  
true. Set the rect of the group to the rect of your card. If you have  
a menu, you may beed to adjust the value of the rect before setting  
the rect of the group. Set the lockLoc of the group to true. Add the  
following script to the card:


on resizeStack
  set the rect of grp "Your Group" to the rect of this cd
  -- do more if necessary...
end resizeStack

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com



Op 6-jan-2008, om 11:58 heeft Thomas Bähler het volgende geschreven:


Dear RunRev List
In my project I have five list-fields next to each other with equal  
but varying number of lines.
I wanted a common vertical scroll to see all lines when there are  
to many to display in the window.
First I experimented with a table-field but the formating was too  
complicated. I then thought I calculate
the height of the fields according to the number of lines, and put  
a vertical scroll to the window. But,

there is no vertical scroll for a window, is there?

Another thing I stumbled over: sorting lines by item x of a  
variable won't work when the linedelimiter and itemdelimiter

have been changed.

Thanks for hints

Thomas Bähler


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Want a Window with a vertical scroll

2008-01-06 Thread Thomas Bähler

Dear RunRev List
In my project I have five list-fields next to each other with equal  
but varying number of lines.
I wanted a common vertical scroll to see all lines when there are to  
many to display in the window.
First I experimented with a table-field but the formating was too  
complicated. I then thought I calculate
the height of the fields according to the number of lines, and put a  
vertical scroll to the window. But,

there is no vertical scroll for a window, is there?

Another thing I stumbled over: sorting lines by item x of a variable  
won't work when the linedelimiter and itemdelimiter

have been changed.

Thanks for hints

Thomas Bähler

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: MacBook randomly shuts down..

2008-01-06 Thread Sarah Reichelt
> It is funny that some users act really surprised when their computer
> stops working after they drop it and break the screen or spill
> coffee, hot chocolate, or soda into the laptop which are not covered
> by AppleCare.

Oh that is so true!

"My keyboard just stopped working!"
"My mouse is erratic."

Coffee? - yes, most of the time.

However it is amazing what you can recover from if you can disassemble
the affected peripheral, wash it with de-ionized water and then let it
dry really well before trying it again.

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: MacBook randomly shuts down..

2008-01-06 Thread Bill Vlahos
I don't purchase AppleCare for my own Macs nor for the ones at the  
company I am IT Manager of. We use laptops almost exclusively from  
both Apple and Dell.


My experience is that Macs are extremely reliable and the cost isn't  
worth it. I do purchase it for Mac servers because of the urgency of  
any failure. I also purchase spare parts kits for the XServes and I'm  
about to finally replace a hard drive in a 4 year old XServe out of  
the spare parts kit. This will be the first time I've had to do it.


We use Dell computers at work and DO purchase extended warranties on  
them. They need it. Within 4 years almost all of them >90% of them  
end up using it. The only good thing is that Dell has figured out how  
to have this kind of crappy reliability and but good service (they  
almost never hassle any on-site repair) and still make money.


Personally I'd rather have stuff that doesn't fail than stuff that  
fails a lot but is easy to fix. We have had some Macs that have  
problems and need service but the percentage is very low. We simply  
spend the money to repair out of warranty items ourselves on the  
small number of ones that need it and still come out ahead. Usually  
fundamental problems like logic boards fail under warranty anyway and  
other items like hard drives are so inexpensive we just replace them.  
It is funny that some users act really surprised when their computer  
stops working after they drop it and break the screen or spill  
coffee, hot chocolate, or soda into the laptop which are not covered  
by AppleCare.


I might buy AppleCare if I was in situations that put the computer at  
risk and I depended on it or for the reasons you cite below.


Bill Vlahos


On Jan 5, 2008, at 11:36 AM, Chipp Walters wrote:

I certainly do for all my cars. I used to do it for laptops, until  
I was

burned by CompUSA, and didn't purchase one for my most recent Sony. I
recommend it for laptops for my wife and kid, as they are really  
hard on
'stuff.' I don't for desktops. 3-year max seems to be the best deal  
here.


On Jan 5, 2008 1:16 PM, j downs <[EMAIL PROTECTED]> wrote:


you ... didn't ... buy... applecare?


Do people really purchase extended warranties in this day and age?



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution