Re: Deleting lines in a scrolling list box?

2006-11-29 Thread Eric Chatonet

Hi Jan,

Le 28 nov. 06 à 21:04, Jan Schenkel a écrit :


I can't remember right now if the hilitedLines come
back out sorted properly, but one can use
##
  set the hilitedLines of field List to 2,1,3,4
##
to make sure that the black border is around the
second line. (I don't have the code with me right now,
but you get the idea)


set the hilitedLines of field List to 4,2,3,1
put the hilitedLines of field List   1,2,3,4

As Ken noticed it, it seems that hilitedLines property always returns  
a sorted list but, you are right, it may be set without any order.


Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[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


remove element from array

2006-11-29 Thread paolo mazza
How can I delete (or remove) an element from an array so that it does not
appear anymore in the keys of the array?

Thanks


Paolo Mazza

___
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: Deleting lines in a scrolling list box?

2006-11-29 Thread Scott Kane

Hi Eric,


As Ken noticed it, it seems that hilitedLines property always returns  a 
sorted list but, you are right, it may be set without any order.


I visited your site last night.  Wow!!  I couldn't believe the wonderful 
code you have there!  Your tabbed buttons routine cut my 8 If then else 
statements to a couple of lines of code.  Totally awesome.  Thanks for being 
so generous!


Scott 


___
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: remove element from array

2006-11-29 Thread Scott Kane



How can I delete (or remove) an element from an array so that it does not
appear anymore in the keys of the array?


No doubt someone will post a really cool, efficient and elegant solution - 
but what immediately springs to my mind is to parse the existing array into 
a new one


Scott 


___
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: Stupid Programming Challenge(Barry Barber)

2006-11-29 Thread [EMAIL PROTECTED]
Thanks Jan and Scott for your patience. It was not wasted time as I am actually 
trying to put together a stack with lots of scrolling groups full of small 
images. The idea of custom graphic scollers appeals to me a lot, I shall try to 
get to grips with this.:)

OT.Is there a way on this list to use entities in names with accented 
characters as I seem to see a lot of question marks e.g., S?lid, Andr? 
etc.?(the last ones for real)

Thanks again Barry


--
Scopri subito RAS FullCasa: vinci 500€ di buoni Mediaworld a settimana ed un 
viaggio Expedia!
http://click.libero.it/ras29nov06


___
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: remove element from array

2006-11-29 Thread Dave Cragg


On 29 Nov 2006, at 08:38, paolo mazza wrote:

How can I delete (or remove) an element from an array so that it  
does not

appear anymore in the keys of the array?


delete variable myArray[x]


Cheers
Dave
___
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: remove element from array

2006-11-29 Thread Eric Chatonet

Hi Paolo,

delete variable tArray[MyKey]
;-)

on Test
  repeat with i = 1 to 10
put i into tArray[(Key  i)]
  end repeat
  -- creates an array with 10 keys: key1 to key10
  delete variable tArray[Key10]
  -- the array now only haves 9 keys: key1 to key9
end Test

Hope this helps.

Le 29 nov. 06 à 09:38, paolo mazza a écrit :

How can I delete (or remove) an element from an array so that it  
does not

appear anymore in the keys of the array?


Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[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: remove element from array

2006-11-29 Thread John Craig

Hi, Paolo.

delete variable tArray[5]

will remove element 5 from the array named tArray

JC

paolo mazza wrote:

How can I delete (or remove) an element from an array so that it does not
appear anymore in the keys of the array?

Thanks


Paolo Mazza

___
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: CGI remark (was : Revolution and the Web, feedback wanted, Part 1 of 3)

2006-11-29 Thread jbv


Mark,

I'm not sure to fully grasp the full extension of your remark (as I haven't
used fastCGI yet), but as for separating 2 users' requests, this can be done
easily by issueing a unique ID code to each user, and sending it along
with each cgi request... Maintaining a table of logs with those unique IDs
inside a DB can be usefull as well if you need to force users to re-log
every 15 min or so...

I might be missing something, but I wouldn't call this a lot of frontend
and backend coding...

JB

 Mark Wieder wrote :

 Once you use fastCGI that problem disappears, as the engine is always
 in the server's memory, so it's like never closing the stack. But now
 you have problems separating the two users' namespaces. And since the
 variables are persistent, interleaving the two users' requests is
 going to get garbled. There's no way to keep them in separate places
 without a lot of frontend and backend coding. And that's just two
 users - it becomes a lot harder as you try to scale it. If you could
 thread user requests then this would resolve to a much simpler case.

 Send in time also probably requires multithreading, if it can be
 done at all. It's similar to the blocking problem conceptually. And
 any of the blocking calls will bring a fastCGI system to a halt and
 prevent multiuser access.

 --

___
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


get nesting level of controls

2006-11-29 Thread Viktoras Didziulis
Is there any handler or function to tell what group or card any selected
control belongs to ? And vice versa - how do we get a list of all controls
contained within a group or card ? 
 
Best r.! 
Viktoras
___
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: Revolution and the Web, feedback wanted, Part 1 of 3So

2006-11-29 Thread Jerry Muelver

That's my point, exactly.

Let the web stuff happen on the web, with web tools. For those of us who 
find web functions useful in our Rev applications, altBrowser in Rev 
2.7.5 should do the trick. For those who find xtalk useful for web 
productions, jscard from Creysoft looks like the answer.


What programming or production problem would be solved by morphing Rev 
into Perl-PHP-Ruby-on-rails-JavaScript-Ajax-Curl-Python-CSS-Apache? What 
would be the gain?


 Jerry Muelver

Chipp Walters wrote:

Isn't that what altBrowser does?

On 11/28/06, Jerry Muelver [EMAIL PROTECTED] wrote:


How about building an interface to make web things run in Revolution? In
other words, don't map group to DIV to make Rev scripts run on the
web, but map DIV to group to make web scripts run in Rev. I think if
you gave me HTMLtext that could handle hyperlinks, UL and OL, TABLE,
text wraparound IMG placement, HTML forms components, and by-paragraph
font styling (CSS-sensitive DIVs), the job would be done. In fact, with
the advent of an embedded browser in Rev 2.7.5, it seems to me the job
IS done!

___
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: Revolution and the Web, feedback wanted, Part 1 of 3

2006-11-29 Thread jbv


Ken ,

I've been facing the problem trying to convince some of my clients to
develop custom apps with Rev...

Please correct me if I'm wrong, but actually, in some cases (like chat
apps, or P2P files sharing apps) users don't seem to be reluctant to
download dedicated apps and use them outside their browser...
I've never used Napster, but I vaguely recall that in 2001-2002 some
of my colleagues used to install a specific app of their Macs to browse and
download files...
I guess that the more fun / benefit end users expect to get from a website,
the less reluctant they are to download a dedicated app...

I once tried to use another trick to convince a client to develop a dedicated
app made with Rev to be downloaded from his website : tp shape this app as
a screensaver that would have all kinds of features, including openGL
interface for realtime 3D simulation of events, etc.
Unfortunately, it took ages to the client to make his decision, and finally
there was too little time left for development...

JB



 This has been the biggest hurdle for me... clients that (regardless of
 whether you agree with them or not), want to be able to open their browser
 of choice, go to a page, click on a link or button on the page, and display
 Rev stacks *without* having to go to the trouble of forcing their customers
 to download the Player, run an install to hook up the stack to the Player,
 etc.

 I have been very good at convincing my clients that the development and
 internet capabilities of Rev are such that it is in their best interest that
 I develop these applications in Rev, but it is the hurdle I mention above
 that has actually caused me to be forced to duplicate chunks of Transcript
 code/interfaces into HTML/etc. so that it could be operated from the
 browser.

 Unfortunately I've been unable to convince anyone to use a custom browser
 either (that is, a Rev standalone with altBrowser embedded), for the same
 reason - people want to use *their* browser, and not download anything, just
 click links.

 These are non-sensical arguments, true, but they *are* real,
 unfortunately...

___
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: get nesting level of controls

2006-11-29 Thread Mark Smith

I have a small library that deals with the first problem.

RevOnline
User: Mark Smith
Category: Programming
Name: libObjectOwner

best,

Mark

On 29 Nov 2006, at 11:39, Viktoras Didziulis wrote:

Is there any handler or function to tell what group or card any  
selected
control belongs to ? And vice versa - how do we get a list of all  
controls

contained within a group or card ?

Best r.!
Viktoras
___
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: get nesting level of controls

2006-11-29 Thread Mark Smith

And the second part is easy (I just had to check):

on mouseUp
  repeat with n = 1 to the number of controls in grp someGroup
put the name of control n of grp someGroup  cr after cList
  end repeat
  put cList
end mouseUp

You can substitute 'card' for 'group'. I think (not tested  
thoroughly) that to get all the controls in a stack, you'll have to  
do it card by card.


Best,

Mark

On 29 Nov 2006, at 11:39, Viktoras Didziulis wrote:

Is there any handler or function to tell what group or card any  
selected
control belongs to ? And vice versa - how do we get a list of all  
controls

contained within a group or card ?

Best r.!
Viktoras
___
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: get nesting level of controls

2006-11-29 Thread Viktoras Didziulis
Thanks Mark! 
 
Viktoras 
 
---Original Message--- 
 
From: Mark Smith 
Date: 11/29/2006 2:21:01 PM 
To: How to use Revolution 
Subject: Re: get nesting level of controls 
 
And the second part is easy (I just had to check): 
 
on mouseUp 
repeat with n = 1 to the number of controls in grp someGroup 
put the name of control n of grp someGroup  cr after cList 
end repeat 
put cList 
end mouseUp 
 
You can substitute 'card' for 'group'. I think (not tested 
thoroughly) that to get all the controls in a stack, you'll have to 
do it card by card. 
 
Best, 
 
Mark 
 
On 29 Nov 2006, at 11:39, Viktoras Didziulis wrote: 
 
 Is there any handler or function to tell what group or card any 
 selected 
 control belongs to ? And vice versa - how do we get a list of all 
 controls 
 contained within a group or card ? 
 
 Best r.! 
 Viktoras 
 ___ 
 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
___
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


get the size of image returns 0

2006-11-29 Thread Viktoras Didziulis
Image myIm is displayed on a card from a ppm file. Answer the size of
image myIm always returns zero (Windows XP, Rev Studio 2.6.1 -2.7.5)... 
And when I alternatively try: answer the size of the imagedata of image 
myIm studio hangs and stops responding. Is it a known bug or whatever else
? I am just trying to measure how much memory in bytes the loaded image
takes...
 
BW 
Viktoras
___
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: get nesting level of controls

2006-11-29 Thread Mark Schonewille

Viktoras,

With these scripts, you can put the objects of a group, a card or a  
stack. You can also put the owners of any object.


Best,

Mark



getProp objects
  repeat with x = 1 to number of controls of the target
put the name of control x of the target  return after myList
  end repeat
  sort myList
  return myList
end objects

getProp objectIDs
  repeat with x = 1 to number of controls of the target
put the id of control x of the target  return after myList
  end repeat
  sort myList
  return myList
end objectIDs

getProp owners
  put the target into myOwner
  put the effective filename of the defaultStack into myUltimateOwner
  put 0 into x
  repeat until myOwner contains myUltimateOwner
add 1 to x
put the owner of myOwner  return after myList
put last line of myList into myOwner
if x  100 then exit repeat
  end repeat
  return myList
end owners

--

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

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 29-nov-2006, om 12:39 heeft Viktoras Didziulis het volgende  
geschreven:


Is there any handler or function to tell what group or card any  
selected
control belongs to ? And vice versa - how do we get a list of all  
controls

contained within a group or card ?

Best r.!
Viktoras


___
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: Revolution and the Web, feedback wanted, Part 1 of 3

2006-11-29 Thread Brian Yennie

Mikey,


The free for startups version is just that.


Actually, if you read the terms - it's free until your startup makes  
money. Then you owe them licensing fees retroactively. So they're  
offering deferred payment to startups, which is cool I guess - but  
it's definitely misleading that they call it free. Intriguing, but  
would you stake your startup company on thousands of dollars of  
deferred licensing fees of a 1.0 product? Scary.



The straight Pro
edition is LIST PRICE $5,000, however they are accepting new
applications to the Pioneers program and preorders at a big discount
(65%?) until...sometime.  The per-seat price includes everything.


That's still around $2k per seat, and I assume the offer will go away  
if the product starts selling.



You
buy the Professional edition, you get a perpetual license, and you can
build and deploy as many systems, servers, etc. as you like without
paying anything more.  It includes the application server, database
server, and web server along with the rest of it.  I believe they are
trying to compete with M$, so they intentionally gave away the
deployments to attract corporate and professional developers.  So, in
more ways than one it is different.  The packaging is different, the
pricing is different.


I agree it's interesting. Keep in mind they include the database  
and web servers because they're just bundling free software (Firebird  
and Apache). Any tool that generates web apps could bundle those two  
if desired. Pricing out deployments versus developer licenses can  
often be 6 of one and a half dozen of another - really it depends on  
your business. Some love to be able to just pay for the developer  
seats and be done with it. Others would rather save money until they  
are ready to bill a client - and then just pass on the cost.  
Personally I *do* like the former the majority of the time.



2) On AJAX/FJAX:  If you've used Gmail or Google Maps you will
immediately recognize that there is a significant difference between
AJAX apps and your run-of-the-mill web apps.  Speed.  Smoothness.
Shortcuts. You can't get the same feel from straight XHTML.


Sure you can - just add Javascript =). Seriously, though - XHTML +  
Javascript enabled is all you need on the client side to have an AJAX  
application. I don't think anyone was suggesting exporting just XHTML  
tags from Rev and calling that a web app...?



  The XML
portion is a way to speed the information transfer process.  Instead
of reloading the web page every time you pull up a new record, only
the changed data can be transferred, which means significant speed
savings, and no flashing blinking screen when your browser reloads the
page just to display the data from another record...err card.  In
addition, the opening A in AJAX stands for Asynchronous, which
means that your application can and does cache data, so that it is
already in your browser waiting for you when you do something.


XML has nothing to do per se with the speed of AJAX apps. You can  
very well make asynchronous calls for data without transmitting it in  
XML format, and get all of the same benefits. Depending on the app,  
XML may in fact be a good format to choose - but it's definitely not  
the source of increased speed. Your asynchronous request could return  
XML, XHTML, HTML, plain text or my personal fave - JSON (Javascript  
Object Notation) objects. Or anything else your client-side code can  
handle. If you really want to open a can of works, try sending back  
some Javascript to execute - voila, self-modifying web app (ack)!


- Brian

___
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: remove element from array

2006-11-29 Thread paolo mazza
Thank you guys  ... it is so simple!


delete variable tArray[5]


It was very kind of you.

Bye

Paolo Mazza

___
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: Revolution and the Web, feedback wanted, Part 1 of 3

2006-11-29 Thread Mikey

Actually, if you read the terms - it's free until your startup makes
money. Then you owe them licensing fees retroactively. So they're
offering deferred payment to startups, which is cool I guess - but
it's definitely misleading that they call it free. Intriguing, but
would you stake your startup company on thousands of dollars of
deferred licensing fees of a 1.0 product? Scary.


It's not really retroactive.  You owe the seat fee, as of the date
when you start making money, subject to whatever actual deal you work
out with them.  They do state that they will work these terms out on a
case by case basis with each startup.  And yes, I would agree to this,
because I have zero risk in trying it out.  On top of that I can just
take the Express version for FREE until I'm confident that it's going
to work for me, then go Pro.

Worrying about the 1.0 version is a little odd when discussing a
business decision broadly.  First of all, the startup that is looking
at this deal isn't even at .1 yet.  Second, the price isn't $5,000.
The 1.0 price is $1,748 until February or so, if I remember the dates
correctly.  Thirdly, what would you say if they took $7,000 in stock
options per seat instead of cash when you start generating revenue?
Would it be a good deal then?  Finally, arguing that any pricing or
any product is a worry because it is 1.0 does not make the product or
the pricing a problem in even the medium term.  If this was the deal
and the product was 1.5 (which one would expect it will be sometime
next year), would you still think it's a problem?


I agree it's interesting. Keep in mind they include the database
and web servers because they're just bundling free software (Firebird
and Apache). Any tool that generates web apps could bundle those two
if desired. Pricing out deployments versus developer licenses can
often be 6 of one and a half dozen of another - really it depends on
your business. Some love to be able to just pay for the developer
seats and be done with it. Others would rather save money until they
are ready to bill a client - and then just pass on the cost.
Personally I *do* like the former the majority of the time.


Yes, they are bundling in software that doesn't cost them anything
(which means no license fee for SQL Server or Oracle).  The thing that
interests me, though is that they are hiding these components from me,
and they are making it easy to detach them (if you decide to go Pro).
I don't have to know how to configure Firebird or Apache, or write a
bunch of Perl or PHP.  I design my application the way I would if I
were using any other RAD IDE, and when I compile it, Firebird and
Apache are built in.


 2) On AJAX/FJAX:  If you've used Gmail or Google Maps you will
 immediately recognize that there is a significant difference between
 AJAX apps and your run-of-the-mill web apps.  Speed.  Smoothness.
 Shortcuts. You can't get the same feel from straight XHTML.



XML has nothing to do per se with the speed of AJAX apps. You can
very well make asynchronous calls for data without transmitting it in
XML format, and get all of the same benefits. Depending on the app,
XML may in fact be a good format to choose - but it's definitely not
the source of increased speed. Your asynchronous request could return
XML, XHTML, HTML, plain text or my personal fave - JSON (Javascript
Object Notation) objects. Or anything else your client-side code can
handle. If you really want to open a can of works, try sending back
some Javascript to execute - voila, self-modifying web app (ack)!


Yes, you can do this in a variety of ways.  I have not seen any
implementations that _efficiently_ use bandwidth that use anything
OTHER THAN XML to embed the data.  If you can do it, great.  Maybe
we'll get some of the frameworks tweaked to make life less
taghappy/.

--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
  and did a little diving.
And God said, This is good.
___
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: get nesting level of controls

2006-11-29 Thread Scott Rossi
Recently, Viktoras Didziulis wrote:

 Is there any handler or function to tell what group or card any selected
 control belongs to ?

This brings up a related point: when you have a group that contains several
nested groups, why does the following generate a can't find background
error?

  get name of last group of group myCoolGroup

The workaround for me has been to use:

  put number of groups of group myCoolGroup into N
  get name of group N of group myCoolGroup

It seems Rev is unable to deal with last when referring to nested groups.
Because... ?

Thanks  Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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: unexpected behavior 'on mouseup'

2006-11-29 Thread Ken Ray
On 11/28/06 6:27 PM, Jim Ault [EMAIL PROTECTED] wrote:

 Why does the card script run when clicking the button that contains the
 script:
 
 on mouseUp
 
 end mouseUp

Because in actuality, it *doesn't* contain the script. The new button has no
script, but when you open the script in the Script Editor, Rev adds the on
mouseUp ... end mouseUp for your (theoretical) convenience.

So if you cancel out of the Script Editor and don't Apply, the button
remains with no script in it, so the message passed through the hierarchy.


Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.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: get the size of image returns 0

2006-11-29 Thread Ken Ray
On 11/29/06 6:21 AM, Viktoras Didziulis [EMAIL PROTECTED] wrote:

 Image myIm is displayed on a card from a ppm file. Answer the size of
 image myIm always returns zero (Windows XP, Rev Studio 2.6.1 -2.7.5)...
 And when I alternatively try: answer the size of the imagedata of image
 myIm studio hangs and stops responding. Is it a known bug or whatever else
 ? I am just trying to measure how much memory in bytes the loaded image
 takes...

I think it's because you're looking for the length, not the size of the
imageData. Try this:

  put the length of (the imageData of img myIm)

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.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: [X-POST] Share your recipes!

2006-11-29 Thread Mark Schonewille

Bill,

Why is

3890 - Missing handler in Dictionary - Throws up Script error

included in your list?

Best,

Mark

P.S. Your smiley made your message end up in my spam box.

--

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

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 28-nov-2006, om 21:38 heeft Bill Marriott het volgende geschreven:

I'm reposting this to the list from the forums in the hopes of  
getting the

widest possible group of people looking at how to coax these bugs out.
Please help if you can!

Calling all bug chefs!  One of the toughest problems to fix is one  
you can't
reproduce. There are several of these in the bug system. The  
developers have
identified a list of bugs that need recipes -- in other words,  
the steps

required to reproduce the problem.

Those bugs include the following:

2868 - Saving with control-S has problems
3067 - Find and Replace too darned slow
3410 - revMail on MacOS X does not work correctly with non ASCII  
characters

3816 - openStack seems not to be sent to stacks on Mac OS
1377 - Printing Scripts in color causes overlapping text in the  
printout

3843 - openStack and openCard messages not being sent on stack launch
3845 - Dictionary Quick Search can't be canceled
3890 - Missing handler in Dictionary - Throws up Script error
3830 - object does not have this property in IDE when deselecting a
multiple-image selection

So here's an open invitation for you to read up on these bugs and  
try to
devise a test case which can reliably (or at least more often  
than not)

cause these errors to be generated.

If/when you find a way to reproduce these issues, please log into  
Bugzilla

and post a new comment to the bug and/or attach your sample file.

Thanks!


___
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


Accessing files on CD drives under Windows

2006-11-29 Thread Francis Nugent Dixon

Hi from Paris,

I have a CD whose Volume Name I know, and also I know the
names of certain files on the CD. I want to have access to these
files from a general button script. On the Mac, the volumes gives
me the names of the mounted volumes (including my CD's), so I
can build the complete path names, and then reference, open and
dispose of the CD files as I wish.

On the PC, the volumes gives me a list of units (C:, D:, etc.), which
is completely useless, cos I don't know on which unit my CD is
mounted.

OK - So l can try programming around this problem !

Because I know the names of some the files on the CD, I can do a
if there is a fileToto (to identify the drive ID), on all the units I 
find in

the volumes function. Once I know the drive ID, I can do what I want
with the files on that CD.

Here, we have a problem in my search loop, because if there is no
volume mounted on any of the units in the list (which is always the
case), I get a Windows interrogation :
There is no volume on unit x: - continue or cancel, etc. ..
so my programmed search is is no longer possible.

Anybody know how I can find the Volume Names on all the PC devices,
as is possible on the Mac, so I can access my CD files ?

I think I must have missed something  !

-Francis

Nothing should ever be done for the first time !
___
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: [X-POST] Share your recipes!

2006-11-29 Thread Bill Marriott
Yeah yeah, first non-ASCII message I send in three years to the list an 
everyone's writing me about it :) The graphic smiley appeared because I 
simply copied and pasted my post from the forums. I didn't even notice it. 
I'll be doubly careful about it in the future.

As for the list, I simply forwarded what I got from the development team in 
the category of need help with recipes and I'll need to look deeper into 
that. There will be several changes occurring in Bugzilla VERY SOON to 
enable more intelligent categorization of bugs... hopefully that will 
eliminate this problem.

Truth be told, everyone should be going through BugZilla right now -- even 
before the changes are implemented -- and commenting on their bugs, adding 
info, etc. All the old stuff *will* carry over to the new system, so nothing 
will be lost/wasted. I just know that there's several bugs out there that 
are a) not reported and b) not fully fleshed out.

Best ways to help:

1) Go through your own bugs, make sure they're categorized properly and have 
sufficient recipes, test cases, screen shots, sample stacks, etc. Add 
comments and attachments if they are not.

2) Use the voting system. Precious few bugs have been voted on. (There are a 
lot of *enhancements* with votes, but those aren't really being considered 
for 2.7.5.) Don't worry about using up your votes right now... just make 
sure at least one vote is applied to each bug that is significant at all. 
The more people who vote on a bug, the earlier in-line it will be to be 
fixed.

3) Scan through your old posts to the discussion list(s) and make sure that 
the problems you've chatted about and worked around are recorded. Marielle 
has graciously agreed to tackle this problem with a gee-whiz semantic 
analysis routine, but it's probably not likely that any one person would be 
able to catch the unreported bugs with 100% accuracy.

I'm very confident now that Bugzilla is being used extensively and that 
effort put into your bugs will be noticed and acted upon. This isn't 
guaranteeing a fix for ever single bug... but I can say that each bug is 
being reviewed; the tagging is being double-checked, and a massive cleanup 
is otherwise underway.

As for the beta... beta 2 is just around the corner. The target date is Dec 
7 and you will see an AMAZING difference... more than 100 bug fixes, PLUS 
the long-awaited Linux version!

Mark Schonewille 
[EMAIL PROTECTED] wrote in 
message news:[EMAIL PROTECTED]
 Bill,

 Why is

 3890 - Missing handler in Dictionary - Throws up Script error

 included in your list?

 Best,

 Mark

 P.S. Your smiley made your message end up in my spam box.

 --

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

 Get your store on-line within minutes with Salery Web Store software. 
 Download at http://www.salery.biz

 Op 28-nov-2006, om 21:38 heeft Bill Marriott het volgende geschreven:

 I'm reposting this to the list from the forums in the hopes of  getting 
 the
 widest possible group of people looking at how to coax these bugs out.
 Please help if you can!
 
 Calling all bug chefs!  One of the toughest problems to fix is one  you 
 can't
 reproduce. There are several of these in the bug system. The  developers 
 have
 identified a list of bugs that need recipes -- in other words,  the 
 steps
 required to reproduce the problem.

 Those bugs include the following:

 2868 - Saving with control-S has problems
 3067 - Find and Replace too darned slow
 3410 - revMail on MacOS X does not work correctly with non ASCII 
 characters
 3816 - openStack seems not to be sent to stacks on Mac OS
 1377 - Printing Scripts in color causes overlapping text in the  printout
 3843 - openStack and openCard messages not being sent on stack launch
 3845 - Dictionary Quick Search can't be canceled
 3890 - Missing handler in Dictionary - Throws up Script error
 3830 - object does not have this property in IDE when deselecting a
 multiple-image selection

 So here's an open invitation for you to read up on these bugs and  try to
 devise a test case which can reliably (or at least more often  than 
 not)
 cause these errors to be generated.

 If/when you find a way to reproduce these issues, please log into 
 Bugzilla
 and post a new comment to the bug and/or attach your sample file.

 Thanks!

 ___
 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: Accessing files on CD drives under Windows

2006-11-29 Thread Geir A. Myrestrand

Francis Nugent Dixon wrote:

Hi from Paris,


Hello from New York,


Anybody know how I can find the Volume Names on all the PC devices,
as is possible on the Mac, so I can access my CD files ?


You can use the list volume command in diskpart:

C:\diskpart

Microsoft DiskPart version 5.1.3565

Copyright (C) 1999-2003 Microsoft Corporation.
On computer: STINKPAD

DISKPART list volume

  Volume ###  Ltr  LabelFs TypeSize Status Info
  --  ---  ---  -  --  ---  - 


  Volume 0 D   Linux Devic  CDFS   DVD-ROM  307 MB
  Volume 1 C   IBM_PRELOAD  NTFS   Partition 71 GB  Healthy 
System



--

Geir A. Myrestrand
___
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: Revolution and the Web, feedback wanted, Part 1 of 3So

2006-11-29 Thread Dan Shafer

Jerry,

For me, at least, the big gain would be allowing me to do all my Web
application
development in Rev. (Note, not Web page design, but app development.) It is,
I think, difficult for most people to become truly proficient in too many
languages at once. Being able to build a Rev app and then deploy it to a Web
server/browser combination would for me be a pretty big deal.

Dan

On 11/29/06, Jerry Muelver [EMAIL PROTECTED] wrote:



What programming or production problem would be solved by morphing Rev
into Perl-PHP-Ruby-on-rails-JavaScript-Ajax-Curl-Python-CSS-Apache? What
would be the gain?

 Jerry Muelver


___
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: palette in RevMedia

2006-11-29 Thread Malte Brill
As far as I recall it was in Medias fact sheet, that it isn't  
possible to have palette stacks.


See:

http://www.runrev.com/section/features.php

So, no bug, but design decision.

All the best,

Malte
___
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: Revolution and the Web, feedback wanted, Part 1 of 3

2006-11-29 Thread Ken Ray
On 11/29/06 6:11 AM, jbv [EMAIL PROTECTED] wrote:

 Please correct me if I'm wrong, but actually, in some cases (like chat
 apps, or P2P files sharing apps) users don't seem to be reluctant to
 download dedicated apps and use them outside their browser...
 I've never used Napster, but I vaguely recall that in 2001-2002 some
 of my colleagues used to install a specific app of their Macs to browse and
 download files...
 I guess that the more fun / benefit end users expect to get from a website,
 the less reluctant they are to download a dedicated app...

I think it depends on the industry. The lest tech-savvy a customer is, the
less likely a client will want to deploy a solution to that customer that
requires downloading anything.


Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.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: altFont: Load a font

2006-11-29 Thread Mark Swindell
Definitely. Hoping the Scotts can make it so.  :)  It would be such a  
nice feature.

Mark


On Nov 28, 2006, at 12:21 PM, J. Landman Gay wrote:


Mark Swindell wrote:
I'm hoping that Rev will make altFont a relatively transparent  
feature when it gets incorporated into the next version of Rev.   
Such that there is a simple imbed option in the standalone  
builder, and that the ensuing standalone will check font  
availability and do the install/uninstall on the host computer as  
needed upon startup/shutdown.


What a good idea! Can you put it in as a feature request in  
Bugzilla? I think everyone would like to see this implemented.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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



___
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: [X-POST] Share your recipes!

2006-11-29 Thread Viktoras Didziulis
Hi Bill, 
 
if the bug which I co-reported is fixed, who is responsible for marking it
as fixed - me or the Runtime Revolution team who fixed it or the first who
reported or anybody ? For example before the 2.7.5 dp-2 I reported a bug
#3992 related to behavior of tables in compiled apps, which was marked as a
duplicate for bug #3386. I checked it on 2.7.5 dp-2 and it seems fixed. At
least my old recipe does not work anymore :-). Now who can/should confirm
that the bug is fixed ? 
 
Best regards 
Viktoras 
 
---Original Message--- 
 
From: Bill Marriott 
Date: 11/29/2006 6:48:56 PM 
To: use-revolution@lists.runrev.com 
Subject: Re: [X-POST] Share your recipes! 
 
Yeah yeah, first non-ASCII message I send in three years to the list an 
everyone's writing me about it :) The graphic smiley appeared because I 
simply copied and pasted my post from the forums. I didn't even notice it. 
I'll be doubly careful about it in the future. 
 
As for the list, I simply forwarded what I got from the development team in 
the category of need help with recipes and I'll need to look deeper into 
that. There will be several changes occurring in Bugzilla VERY SOON to 
enable more intelligent categorization of bugs... hopefully that will 
eliminate this problem. 
 
Truth be told, everyone should be going through BugZilla right now -- even 
before the changes are implemented -- and commenting on their bugs, adding 
info, etc. All the old stuff *will* carry over to the new system, so nothing

will be lost/wasted. I just know that there's several bugs out there that 
are a) not reported and b) not fully fleshed out. 
 
Best ways to help: 
 
1) Go through your own bugs, make sure they're categorized properly and have

sufficient recipes, test cases, screen shots, sample stacks, etc. Add 
comments and attachments if they are not. 
 
2) Use the voting system. Precious few bugs have been voted on. (There are a

lot of *enhancements* with votes, but those aren't really being considered 
for 2.7.5.) Don't worry about using up your votes right now... just make 
sure at least one vote is applied to each bug that is significant at all. 
The more people who vote on a bug, the earlier in-line it will be to be 
fixed. 
 
3) Scan through your old posts to the discussion list(s) and make sure that 
the problems you've chatted about and worked around are recorded. Marielle 
has graciously agreed to tackle this problem with a gee-whiz semantic 
analysis routine, but it's probably not likely that any one person would be 
able to catch the unreported bugs with 100% accuracy. 
 
I'm very confident now that Bugzilla is being used extensively and that 
effort put into your bugs will be noticed and acted upon. This isn't 
guaranteeing a fix for ever single bug... but I can say that each bug is 
being reviewed; the tagging is being double-checked, and a massive cleanup 
is otherwise underway. 
 
As for the beta... beta 2 is just around the corner. The target date is Dec 
7 and you will see an AMAZING difference... more than 100 bug fixes, PLUS 
the long-awaited Linux version! 
 
Mark Schonewille 
[EMAIL PROTECTED] wrote in 
message news:[EMAIL PROTECTED] 
 Bill, 
 
 Why is 
 
 3890 - Missing handler in Dictionary - Throws up Script error 
 
 included in your list? 
 
 Best, 
 
 Mark 
 
 P.S. Your smiley made your message end up in my spam box. 
 
 -- 
 
 Economy-x-Talk 
 Consultancy and Software Engineering 
 http://economy-x-talk.com 
 http://www.salery.biz 
 
 Get your store on-line within minutes with Salery Web Store software. 
 Download at http://www.salery.biz 
 
 Op 28-nov-2006, om 21:38 heeft Bill Marriott het volgende geschreven: 
 
 I'm reposting this to the list from the forums in the hopes of getting 
 the 
 widest possible group of people looking at how to coax these bugs out. 
 Please help if you can! 
  
 Calling all bug chefs! One of the toughest problems to fix is one you 
 can't 
 reproduce. There are several of these in the bug system. The developers 
 have 
 identified a list of bugs that need recipes -- in other words, the 
 steps 
 required to reproduce the problem. 
 
 Those bugs include the following: 
 
 2868 - Saving with control-S has problems 
 3067 - Find and Replace too darned slow 
 3410 - revMail on MacOS X does not work correctly with non ASCII 
 characters 
 3816 - openStack seems not to be sent to stacks on Mac OS 
 1377 - Printing Scripts in color causes overlapping text in the printout 
 3843 - openStack and openCard messages not being sent on stack launch 
 3845 - Dictionary Quick Search can't be canceled 
 3890 - Missing handler in Dictionary - Throws up Script error 
 3830 - object does not have this property in IDE when deselecting a 
 multiple-image selection 
 
 So here's an open invitation for you to read up on these bugs and try to 
 devise a test case which can reliably (or at least more often than 
 not) 
 cause these errors to be generated. 
 
 If/when you find a way to reproduce these 

Re: altFont: Load a font

2006-11-29 Thread Richard Gaskin
I'm hoping that Rev will make altFont a relatively transparent  
feature when it gets incorporated into the next version of Rev.   
Such that there is a simple imbed option in the standalone  
builder, and that the ensuing standalone will check font  
availability and do the install/uninstall on the host computer as  
needed upon startup/shutdown.


Does it provide notification to the user before making this modification 
to the user's system?


I'd like to see truly embedded fonts, right into the stack file a la PDF

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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: jscard

2006-11-29 Thread Jerry Muelver

Stephen Barncard wrote:

Have you checked their site lately?

http://www.creysoft.com/jscard/

Nothing works..


the trick. For those who find xtalk useful for web productions, jscard 
from Creysoft looks like the answer.





Looks like you can get the PHP source here:
http://www.creysoft.com/xtalk/

 Jerry Muelver
___
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: CGI remark (was : Revolution and the Web, feedback wanted, Part 1 of 3)

2006-11-29 Thread Mark Wieder
Robert-

Wednesday, November 29, 2006, 4:13:09 AM, you wrote:

 Actually, single-threading of Rev comes handy here. At any given
 moment, the program can run only for a single user, so as long as all
 user-specific data is passed as arguments and the any data that needs
 to be preserved is kept in a backend database, there is no problem. 

...and then it's no longer a rev app, it's a cgi app written in rev
and hand-crafted for a web environment.

-- 
-Mark Wieder
 [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: CGI remark (was : Revolution and the Web, feedback wanted, Part 1 of 3)

2006-11-29 Thread Mark Wieder
jbv-

Wednesday, November 29, 2006, 2:41:46 AM, you wrote:

 I'm not sure to fully grasp the full extension of your remark (as I haven't
 used fastCGI yet), but as for separating 2 users' requests, this can be done
 easily by issueing a unique ID code to each user, and sending it along
 with each cgi request... Maintaining a table of logs with those unique IDs
 inside a DB can be usefull as well if you need to force users to re-log
 every 15 min or so...

Yes, it can be done. The problem is that then you're hand-crafting a
web app written in rev. Nothing wrong with that, but the same app is
probably not going to run as a desktop app and as a cgi backend.

-- 
-Mark Wieder
 [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: [X-POST] Share your recipes!

2006-11-29 Thread Bill Marriott
The original reporter of a bug should be able to mark it as Resolved - 
Fixed in Bugzilla. And you're perfectly welcome to do so.

You'll be able to mark your own bug as resolved, but not the one posted by 
the other person. You can however leave a comment and the original poster 
will receive an email and could therefore mark it.

Viktoras Didziulis [EMAIL PROTECTED] 
wrote in message news:[EMAIL PROTECTED]
 Hi Bill,

 if the bug which I co-reported is fixed, who is responsible for marking it
 as fixed - me or the Runtime Revolution team who fixed it or the first who
 reported or anybody ? For example before the 2.7.5 dp-2 I reported a bug
 #3992 related to behavior of tables in compiled apps, which was marked as 
 a
 duplicate for bug #3386. I checked it on 2.7.5 dp-2 and it seems fixed. At
 least my old recipe does not work anymore :-). Now who can/should confirm
 that the bug is fixed ?

 Best regards
 Viktoras

 ---Original Message--- 

 From: Bill Marriott
 Date: 11/29/2006 6:48:56 PM
 To: use-revolution@lists.runrev.com
 Subject: Re: [X-POST] Share your recipes!

 Yeah yeah, first non-ASCII message I send in three years to the list an
 everyone's writing me about it :) The graphic smiley appeared because I
 simply copied and pasted my post from the forums. I didn't even notice it.
 I'll be doubly careful about it in the future.

 As for the list, I simply forwarded what I got from the development team 
 in
 the category of need help with recipes and I'll need to look deeper into
 that. There will be several changes occurring in Bugzilla VERY SOON to
 enable more intelligent categorization of bugs... hopefully that will
 eliminate this problem.

 Truth be told, everyone should be going through BugZilla right now -- even
 before the changes are implemented -- and commenting on their bugs, adding
 info, etc. All the old stuff *will* carry over to the new system, so 
 nothing

 will be lost/wasted. I just know that there's several bugs out there that
 are a) not reported and b) not fully fleshed out.

 Best ways to help:

 1) Go through your own bugs, make sure they're categorized properly and 
 have

 sufficient recipes, test cases, screen shots, sample stacks, etc. Add
 comments and attachments if they are not.

 2) Use the voting system. Precious few bugs have been voted on. (There are 
 a

 lot of *enhancements* with votes, but those aren't really being considered
 for 2.7.5.) Don't worry about using up your votes right now... just make
 sure at least one vote is applied to each bug that is significant at all.
 The more people who vote on a bug, the earlier in-line it will be to be
 fixed.

 3) Scan through your old posts to the discussion list(s) and make sure 
 that
 the problems you've chatted about and worked around are recorded. Marielle
 has graciously agreed to tackle this problem with a gee-whiz semantic
 analysis routine, but it's probably not likely that any one person would 
 be
 able to catch the unreported bugs with 100% accuracy.

 I'm very confident now that Bugzilla is being used extensively and that
 effort put into your bugs will be noticed and acted upon. This isn't
 guaranteeing a fix for ever single bug... but I can say that each bug is
 being reviewed; the tagging is being double-checked, and a massive cleanup
 is otherwise underway.

 As for the beta... beta 2 is just around the corner. The target date is 
 Dec
 7 and you will see an AMAZING difference... more than 100 bug fixes, PLUS
 the long-awaited Linux version!

 Mark Schonewille
 [EMAIL PROTECTED] wrote in
 message 
 news:[EMAIL PROTECTED]
 Bill,

 Why is

 3890 - Missing handler in Dictionary - Throws up Script error

 included in your list?

 Best,

 Mark

 P.S. Your smiley made your message end up in my spam box.

 -- 

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

 Get your store on-line within minutes with Salery Web Store software.
 Download at http://www.salery.biz

 Op 28-nov-2006, om 21:38 heeft Bill Marriott het volgende geschreven:

 I'm reposting this to the list from the forums in the hopes of getting
 the
 widest possible group of people looking at how to coax these bugs out.
 Please help if you can!
  
 Calling all bug chefs! One of the toughest problems to fix is one you
 can't
 reproduce. There are several of these in the bug system. The developers
 have
 identified a list of bugs that need recipes -- in other words, the
 steps
 required to reproduce the problem.

 Those bugs include the following:

 2868 - Saving with control-S has problems
 3067 - Find and Replace too darned slow
 3410 - revMail on MacOS X does not work correctly with non ASCII
 characters
 3816 - openStack seems not to be sent to stacks on Mac OS
 1377 - Printing Scripts in color causes overlapping text in the printout
 3843 - openStack and openCard messages not being sent on stack launch
 3845 - Dictionary Quick Search can't be canceled
 3890 - Missing 

Re: get nesting level of controls

2006-11-29 Thread Bill Marriott
Because no one's Bugzilla'd it yet? :)

Scott Rossi [EMAIL PROTECTED] wrote in 
message news:[EMAIL PROTECTED]
 Recently, Viktoras Didziulis wrote:

 Is there any handler or function to tell what group or card any selected
 control belongs to ?

 This brings up a related point: when you have a group that contains 
 several
 nested groups, why does the following generate a can't find background
 error?

  get name of last group of group myCoolGroup

 The workaround for me has been to use:

  put number of groups of group myCoolGroup into N
  get name of group N of group myCoolGroup

 It seems Rev is unable to deal with last when referring to nested 
 groups.
 Because... ?

 Thanks  Regards,

 Scott Rossi
 Creative Director
 Tactile Media, Multimedia  Design
 -
 E: [EMAIL PROTECTED]
 W: http://www.tactilemedia.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
 



___
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: get nesting level of controls

2006-11-29 Thread Dave


On 29 Nov 2006, at 15:00, Scott Rossi wrote:


Recently, Viktoras Didziulis wrote:

Is there any handler or function to tell what group or card any  
selected

control belongs to ?


This brings up a related point: when you have a group that contains  
several
nested groups, why does the following generate a can't find  
background

error?

  get name of last group of group myCoolGroup

The workaround for me has been to use:

  put number of groups of group myCoolGroup into N
  get name of group N of group myCoolGroup

It seems Rev is unable to deal with last when referring to nested  
groups.

Because... ?



Does group -1 work?

All the Best
Dave


___
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: Accessing files on CD drives under Windows

2006-11-29 Thread Mark Wieder
Geir-

diskpart? Interesting - I learned something new here. And for those of
us with win2k, there's a diskpart for us, too:

http://www.microsoft.com/downloads/details.aspx?FamilyID=0fd9788a-5d64-4f57-949f-ef62de7ab1aedisplaylang=en

-- 
-Mark Wieder
 [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: altFont: Load a font

2006-11-29 Thread Adrian Williams
Thanks Chip for your advice. I'm a little stacked at the moment but 
will try your solution sometime next week.

On 29 Nov 2006, at 18:16, Richard Gaskin wrote:

I'm hoping that Rev will make altFont a relatively transparent  
feature when it gets incorporated into the next version of Rev.   
Such that there is a simple imbed option in the standalone  
builder, and that the ensuing standalone will check font  
availability and do the install/uninstall on the host computer as  
needed upon startup/shutdown.


Does it provide notification to the user before making this 
modification to the user's system?
One would assume the apps. author would state that permissions *may* be 
required to
modify the system at install time in order to successfully install all 
items. Not mentioning fonts specifically.


I'd like to see truly embedded fonts, right into the stack file a la 
PDF
That would be the ideal. Our FAQ page here gives a rundown of font 
formats.
The OpenType PS (CFF) format holds the most promise for the future in 
which to plough resources.

But TrueType (now) should also be embedded relatively easily.
http://www.clubtype.co.uk/formatlist.html

Adrian

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com

__
Club Type
http://www.clubtype.co.uk
[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: get nesting level of controls

2006-11-29 Thread Scott Rossi
Recently, Dave wrote:

 It seems Rev is unable to deal with last when referring to nested
 groups.  Because... ?
 
 
 Does group -1 work?

Not here.

But regardless, I'm still curious why last doesn't work with groups...

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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: unexpected behavior 'on mouseup'

2006-11-29 Thread Jim Ault
On 11/29/06 7:14 AM, Ken Ray [EMAIL PROTECTED] wrote:
 On 11/28/06 6:27 PM, Jim Ault [EMAIL PROTECTED] wrote:
 
 Why does the card script run when clicking the button that contains the
 script:
 on mouseUp
 
 end mouseUp
 
 Because in actuality, it *doesn't* contain the script. The new button has no
 script, but when you open the script in the Script Editor, Rev adds the on
 mouseUp ... end mouseUp for your (theoretical) convenience.
 
 So if you cancel out of the Script Editor and don't Apply, the button
 remains with no script in it, so the message passed through the hierarchy.

I guess the confusing part is that the Apply button is dim and unavailable
(as well as the Revert) , so it appears as though the script has already
been applied.  In order to have the button be a trap-mouse-up button, you
need to type something in the script, even if it is a single space, then you
can click the Apply button.

Now that I know, I know.

Thanks for the clarification to those who chimed in :-)

Jim Ault
Las Vegas


___
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: Declaring Variables

2006-11-29 Thread Dar Scott


On Nov 28, 2006, at 2:20 PM, Francis Nugent Dixon wrote:


But the problem is not there :

1 - Look at the question


Ah ha!  Your mind reading powers are not as great as they once were!

I was not answering, I was commenting.

Your empathy for beginners has not lost any greatness, and that is  
commendable.


BTW, the User Guide has a section on variables (5.5) that includes  
some examples.  Whether that is suitable for beginners, you are  
better able to say than I.


Thanks for keeping us on track.

Dar

___
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: Revolution and the Web, feedback wanted, Part 1 of 3

2006-11-29 Thread Mikey

I think it depends on the industry. The lest tech-savvy a customer is, the
less likely a client will want to deploy a solution to that customer that
requires downloading anything.


It's not just that.  There are other issues at play, too.
1) Sometimes it's nice to not have to open ANOTHER application to get
something done.  How many applications, business systems, etc. do we
have to use?  One for Personnel.  One for Accounting.  One for ERP.
It gets to be really old after a while. Each one has a long load, too.
2) Deployment, and support and updates are a PAIN!  For every
application I have running in my organization, I have to maintain it.
I have to load patches, updates, bug fixes, security updates, yadda,
yadda, yadda.  If the application runs over the web, I don't have that
problem.  All I have to worry about are client OS updates.
3) Can I run your application from home?  Starbucks?  The hotel?  The
answer is maybe, if you have a VPN, which is more crap I have to
deal with as an IT manager, and more expense that I have to shoulder
if I'm a VP.

Does that mean that every manager thinks this way?  No.  However, once
again, it's a hurdle.  RR has some advantages in this realm, though.
It is one of those tools that allows you to prototype something while
you're still sitting at the conference table.  That doesn't suck.
However, it still won't run remotely...easily.
___
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


How do I hide the menubar on OSX after starting an application like iTunes?

2006-11-29 Thread William de Smet

Hi there,

I made a stack which hides, on startup,  the menubar (and Dock) on OS X.
On the stack there is just one button that starts iTunes.
After starting iTunes the menubar and Dock are visible again till I quit iTunes.

Is there a way to hide the dock and menubar after iTunes started?

Greetings,

William de Smet
___
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: get nesting level of controls

2006-11-29 Thread Dar Scott


On Nov 29, 2006, at 11:54 AM, Scott Rossi wrote:

But regardless, I'm still curious why last doesn't work with  
groups...


I didn't know you could do 'last' with 'of'.

dar

___
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: Revolution and the Web, feedback wanted, Part 1 of 3

2006-11-29 Thread Chipp Walters

 I think it depends on the industry. The lest tech-savvy a customer is, the
 less likely a client will want to deploy a solution to that customer that
 requires downloading anything.


Perhaps. I've had pretty good experience showing clients a
competitor's web app, then something like i-Tunes. They pretty much
get it right away. Of course it depends on what you're trying to
accomplish. If you have a complex application, you probably get much
more bang for the buck using a standalone interface than a AJAX'd
stuffed web app. If you've got a very simple idea/product, like
BackPackIt, then AJAX works fine-- though I would suggest that 37
signals could benefit from a client version of BaseCamp.

You can certainly create a much more *compelling* and media rich UI in
a standalone app. Try doing Google Earth in AJAX.

BTW, and [OT], is it just me, or do these different AJAX and Java
enabled web apps tend to crash each other?
___
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: Revolution and the Web, feedback wanted, Part 1 of 3

2006-11-29 Thread Richard Gaskin

Chipp wrote:
 ...though I would suggest that 37 signals could benefit
 from a client version of BaseCamp.

Interesting idea.  What a publicity boon for Rev if someone were to put 
one together.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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


palette in RevMedia

2006-11-29 Thread Richmond Mathewson
Malte Brill wrote:

So, no bug, but design decision.

really! well, then that should have been clear from
the on-board documentation. Naughty oversight there.

frankly, in light of this, it appears that RevMedia is
crippled to a point
where the would-be purchaser has to juggle the
attraction of the 4 template builders with the
cripplings.

Palettes are (at least to me) a super aspect of RR.

I wonder (???) if RR would not be more sensible to
backtrack to something like DreamCard with the
templates?

sincerely, Richmond Mathewson.



Its time to do Philosophy and stop worrying about what dead men said.

   Mathewson 2006


Send instant messages to your online friends http://uk.messenger.yahoo.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


Matchtext to find a series of words

2006-11-29 Thread J. Landman Gay
I need a matchtext/regex that will find a series of words in a block of 
text, no matter whether they are together or not, and ignoring carriage 
returns. For example:


See if all of these words: dog cat dinosaur

are in this text:

The purple dinosaur inadvertently stepped on the cat.cr
The white dog howled.

Should return true. Is there such a thing?

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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


Matchtext to find a series of words

2006-11-29 Thread J. Landman Gay

I need a matchtext/regex that will find a series of words in a block of
text, no matter whether they are together or not, and ignoring carriage
returns. For example:

See if all of these words: dog cat dinosaur

are in this text:

The purple dinosaur inadvertently stepped on the cat.cr
The white dog howled.

Should return true. Is there such a thing?

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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


Matchtext for multiple words

2006-11-29 Thread J. Landman Gay

Sorry if this comes through twice, I'm having trouble sending to the list.

I need a matchtext/regex that will tell me if all supplied words exist 
in a block of text, regardless of their order, and ignoring carriage 
returns.


For example, see if all these words:  dog dinosaur cat

exist in this text:

The purple dinosaur inadvertently stepped on the cat.cr
The white dog howled.

Should return true. Is there such a thing?

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: How do I hide the menubar on OSX after starting an application like iTunes?

2006-11-29 Thread Jim Ault


On 11/29/06 11:28 AM, William de Smet [EMAIL PROTECTED] wrote:

 Hi there,
 
 I made a stack which hides, on startup,  the menubar (and Dock) on OS X.
 On the stack there is just one button that starts iTunes.
 After starting iTunes the menubar and Dock are visible again till I quit
 iTunes.
 
 Is there a way to hide the dock and menubar after iTunes started?

My guess is that you could use applescript to tell the system to set the
dock hiding to true.

If you don't need to see the iTunes library window then tell iTunes app to
hide

IF you need to see iTunes library window but not the menu, you will likely
need to tell Rev to activate, hide menu, then the stack could go invisible
or off screen.

If you want to make it pretty, then tell iTunes to show the
visualizer(cmd-T) , full screen (cmd-F), which takes over the screen.. no
menu, no dock.

Jim Ault
Las Vegas


___
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: Matchtext to find a series of words

2006-11-29 Thread Ken Ray
On 11/29/06 3:26 PM, J. Landman Gay [EMAIL PROTECTED] wrote:

 I need a matchtext/regex that will find a series of words in a block of
 text, no matter whether they are together or not, and ignoring carriage
 returns. For example:
 
 See if all of these words: dog cat dinosaur
 
 are in this text:
 
 The purple dinosaur inadvertently stepped on the cat.cr
 The white dog howled.
 
 Should return true. Is there such a thing?

Well, you can do this, but there may be a more efficient way:

  put (matchText(tText,(?si)\bdog\b) and \
matchText(tText,(?si)\bcat\b) and
matchText(tText,(?si)\bdinosaur\b))

If I keep trying, maybe I can come up with a more efficient one-liner...

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.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: Matchtext for multiple words

2006-11-29 Thread Mark Smith
Do you really need to do it with MatchText? Aren't is in, is among  
the words of etc going to work? Or do you really need it to be a one- 
liner?


Best,

Mark

ps. That's the third one ;-0

On 29 Nov 2006, at 21:39, J. Landman Gay wrote:

Sorry if this comes through twice, I'm having trouble sending to  
the list.


I need a matchtext/regex that will tell me if all supplied words  
exist in a block of text, regardless of their order, and ignoring  
carriage returns.


For example, see if all these words:  dog dinosaur cat

exist in this text:

The purple dinosaur inadvertently stepped on the cat.cr
The white dog howled.

Should return true. Is there such a thing?

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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


___
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: Matchtext for multiple words

2006-11-29 Thread Eric Chatonet

Hi Jacque,

Are you sure you need a regex? ;-)

function AreWordsIn pText,pWords
  repeat for each word tWord in pWords
if space  tWord  space is not in pText then return false
  end repeat
  return true
end AreWordsIn

As this way of doing searches for words that are not in the text, it  
should be very fast...


Le 29 nov. 06 à 22:39, J. Landman Gay a écrit :

Sorry if this comes through twice, I'm having trouble sending to  
the list.


I need a matchtext/regex that will tell me if all supplied words  
exist in a block of text, regardless of their order, and ignoring  
carriage returns.


For example, see if all these words:  dog dinosaur cat

exist in this text:

The purple dinosaur inadvertently stepped on the cat.cr
The white dog howled.

Should return true. Is there such a thing?



Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[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: Revolution and the Web, feedback wanted, Part 1 of 3

2006-11-29 Thread Brian Yennie
Just as a tie-in here, I don't mean to bash Morfik. It looks like an  
interesting technology. But as a startup business owner especially,  
you can't ignore certain things, like:


1) High licensing fees (even if they are discounted) for an unproven  
product
2) 6 years in development and no successful case studies outside of  
the company
3) Litigious activity (apparently they are trying to patent Java =  
Javascript compilation as if they invented it)
4) Bad review (the only one I could find): http://mudabone.com/aietc/? 
p=346
5) Google offers something similar which is actually running  
massively used services (Google Web Toolkit)



It's not really retroactive.  You owe the seat fee, as of the date
when you start making money, subject to whatever actual deal you work
out with them.  They do state that they will work these terms out on a
case by case basis with each startup.  And yes, I would agree to this,
because I have zero risk in trying it out.  On top of that I can just
take the Express version for FREE until I'm confident that it's going
to work for me, then go Pro.


Fair enough on the Express version. But if the express version if  
sufficient, what's the value of the startup deal? How about this  
analogy - it's basically a credit line. Eventually you owe the  
balance. If the license is perpetual, then it kind of is retroactive  
if you're paying the same money you would have upfront. Either way,  
definitely not free. By the time you have any money, you're still  
spending it on licenses. Credit lines can be good and bad, that's  
all. And since this arrangement is so unconventional, it may make  
business owners nervous.



Worrying about the 1.0 version is a little odd when discussing a
business decision broadly.


No it's not. Have you ever run a startup, with your personal finances  
at risk? You don't think it's a major factor to risk your livelihood  
on a product that is unproven in the market? Maybe you evaluate the  
product and are satisfied, but the 1.0 factor has got to be  
considered when your business is on the line.



First of all, the startup that is looking
at this deal isn't even at .1 yet.  Second, the price isn't $5,000.
The 1.0 price is $1,748 until February or so, if I remember the dates
correctly.


I know - but it's just a promo price, so I don't know where it lies  
in the big picture with this product. And $1,748 is still a  
substantive professional license. The fact that the startup company  
doesn't have a product at all just hammers home the fact that they  
are at great risk already. Startups don't necessarily want to partner  
up with startup technology and amplify their already high risks.



Thirdly, what would you say if they took $7,000 in stock
options per seat instead of cash when you start generating revenue?


I'd say, are you kidding me? I have to give away equity in my  
business to use a developer tool that exports industry standard code?  
That's insane!



Would it be a good deal then?  Finally, arguing that any pricing or
any product is a worry because it is 1.0 does not make the product or
the pricing a problem in even the medium term.  If this was the deal
and the product was 1.5 (which one would expect it will be sometime
next year), would you still think it's a problem?


My comments in regards to 1.0 are key for startups. More established  
businesses may be better prepared to counter the risk. But yeah,  
invested thousands of dollars per seat in professional licenses for a  
1.0 product is a very risky move. I'm not saying it's fair to the  
vendor, especially if it's a great product. But it's reality.


There's no guarantee that next year will yield 1.5. In fact, anyone  
who's dealt with startup vendors over the years knows there is a good  
chance that there won't be any new versions if they don't start  
selling licenses ASAP. The fact that they are offering heavily  
discounted licenses tells me that they aren't out of the woods yet.



Yes, they are bundling in software that doesn't cost them anything
(which means no license fee for SQL Server or Oracle).
The thing that
interests me, though is that they are hiding these components from me,
and they are making it easy to detach them (if you decide to go Pro).
I don't have to know how to configure Firebird or Apache, or write a
bunch of Perl or PHP.  I design my application the way I would if I
were using any other RAD IDE, and when I compile it, Firebird and
Apache are built in.


The fact that Morfik apparently outputs a custom .exe file with the  
database and web server embedded sounds truly awful to me. So you're  
saying I can only run this on Windows, it won't scale, it won't  
conform to any normal Apache or Firebird documentation, I can't  
upgrade the web server or database without rebuilding my app, and I  
can't run this on 99% of the web hosts out there?



Yes, you can do this in a variety of ways.  I have not seen any
implementations that _efficiently_ use 

Re: Matchtext for multiple words

2006-11-29 Thread Brian Yennie

Jacque,

I think the in any order part will make a single RegEx a nightmare  
(although it's probably technically possible).
How about using something simple like (or scroll down for a non-RegEx  
idea)


.*(dinosaur|dog|cat).*

Then capture the actual text matched, and remove that from the  
expression. So in your example, you would first match dinosaur.  
Then you would run the RegEx again as:


.*(dog|cat).*

Which would match cat.

Then finally:

.*dog.*

If you're not married to RegEx, you could just do something like  
this. It should be pretty speedy, as it uses array lookups, simple  
comparisons, and only one pass through your text.


## put the words into an array for quick lookup

repeat for each word w in wordList
   put 0 into myWords[w]
end repeat

## loop through your text and mark all of the words you find

repeat for each word w in myText
  if (myWords[w] = 0) then
put 1 into myWords[w]
  end if
end repeat

## check that all of your words were marked with a 1

put TRUE into foundThemAll
repeat for each word w in wordList
   if (myWords[w]  1) then
 put FALSE into foundThemAll
 exit repeat
  end if
end repeat



Sorry if this comes through twice, I'm having trouble sending to  
the list.


I need a matchtext/regex that will tell me if all supplied words  
exist in a block of text, regardless of their order, and ignoring  
carriage returns.


For example, see if all these words:  dog dinosaur cat

exist in this text:

The purple dinosaur inadvertently stepped on the cat.cr
The white dog howled.

Should return true. Is there such a thing?

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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




___
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: Matchtext to find a series of words

2006-11-29 Thread Jim Ault

On 11/29/06 1:26 PM, J. Landman Gay [EMAIL PROTECTED] wrote:

 I need a matchtext/regex that will find a series of words in a block of
 text, no matter whether they are together or not, and ignoring carriage
 returns. For example:
 
 See if all of these words: dog cat dinosaur
 
 are in this text:
 
 The purple dinosaur inadvertently stepped on the cat.cr
 The white dog howled.
 
 Should return true. Is there such a thing?

I would tackle this using the filter command

replace cr with tab in textStr
set the wholematches to true
filter textStr with * token1*
filter textStr with * token2*
filter textStr with * token3*
if textStr  is empty then return false
else return true

A better form would be

function allWordsPresent textStr, wordList
  replace cr with tab in textStr
  set the wholematches to true
  repeat for each word WRD in wordList
filter textStr with (*  WRD  *)
  end repeat
  return not (textStr is empty)
end  allWordsPresent


regEx would be as follows

the OR condition is \b(dog|cat|dinosaur)\b
--where the \b says 'word boundary' to regEx

the AND condition
 (?(?=condition)(then1|then2|then3)|(else1|else2|else3))
--major drawback is that you would have to structure the exact number of
words to check [you used 3 in your example] and also be scanned multiple
times 9starting with the hit fo 'dog') since you would be trying 4
combinations.  RegEx would stop looking as soon as one of these tested TRUE.
dog
   +positive lookbehind (?=cat
+ positive lookbehind (?=dinosaur)
dog
   +positive lookahead (?=cat
+ positive lookbehind (?=dinosaur)
dog
   +positive lookahead (?=cat
+ positive lookahead (?=dinosaur)
dog
   +positive lookbehind (?=cat
+ positive lookahead (?=dinosaur)

-- where if any of these = true, then return TRUE, else FALSE


 the filter command is far easier to build and debug, and is likely faster
than the complex regex positive lookahead/behind algorithm

Someone more conversant in regEx my show a better solution and be the better
answer to your question.

Jim Ault
Las Vegas


___
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: Matchtext for multiple words

2006-11-29 Thread J. Landman Gay

Mark Smith wrote:
Do you really need to do it with MatchText? Aren't is in, is among the 
words of etc going to work? Or do you really need it to be a one-liner?


Best,

Mark

ps. That's the third one ;-0


Yeah, I noticed that, and I'm not sure how it happened. I only sent one, 
then waited an hour or so. Then I changed the outgoing server I was 
using and sent again. Then three of them showed up. I didn't do it! ;)


Anyway, thanks to Ken, Eric, and yourself for the suggestions. I 
probably didn't explain enough. If I were only checking a single block 
of text then I'd use some of the built-in commands, but I have to loop 
through a couple of zillion blocks. So I figured matchtext would be 
faster if, hopefully, I could issue a single command for each lookup. If 
I have to do multiple lookups for each text block, then I end up with:


if dinosaur is in tText and dog is in tText and cat is in tText

and that would require 3 times the number of lookups over a single 
matchtext. Also, the number of words can vary so I'd have to construct a 
repeat loop to build the command itself, and use a do statement to 
execute it -- and both of those are slow. But if I'm wrong, I'd like to 
know. Has anyone done any speed tests on this stuff?


Basically I need the fastest possible way to scan a large number of text 
blocks for an indefinite number of words which occur in any portion of 
the text.


I'll try Ken's thing too -- thanks Ken.

(I'll send this once and cross my fingers.)
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: Matchtext for multiple words

2006-11-29 Thread John Craig
Although you can invert character matching using [^ ... , I don't think 
there's an equivalent for words.

You could have used;
(is)\b(cat|dinosaur|dog)\b.*\b_(cat|dinosaur|dog)\b

... if there was a way to say 'not beginning with the first match' where 
the underscore appears in the above - then
it would be possible to do a quick 1 liner regex - we can use '\1' to 
back reference the first match.


:-(

J. Landman Gay wrote:
Sorry if this comes through twice, I'm having trouble sending to the 
list.


I need a matchtext/regex that will tell me if all supplied words exist 
in a block of text, regardless of their order, and ignoring carriage 
returns.


For example, see if all these words:  dog dinosaur cat

exist in this text:

The purple dinosaur inadvertently stepped on the cat.cr
The white dog howled.

Should return true. Is there such a thing?



___
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: Matchtext for multiple words

2006-11-29 Thread Ken Ray
On 11/29/06 5:07 PM, J. Landman Gay [EMAIL PROTECTED] wrote:


 if dinosaur is in tText and dog is in tText and cat is in tText
 
 and that would require 3 times the number of lookups over a single
 matchtext. 

Plus, it would match paragraphs with catastrophe, doggedly, muscat,
etc., which you may also not want.

 Also, the number of words can vary so I'd have to construct a
 repeat loop to build the command itself, and use a do statement to
 execute it -- and both of those are slow. But if I'm wrong, I'd like to
 know. Has anyone done any speed tests on this stuff?
 
 Basically I need the fastest possible way to scan a large number of text
 blocks for an indefinite number of words which occur in any portion of
 the text.
 
 I'll try Ken's thing too -- thanks Ken.

:-)


Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.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: Matchtext to find a series of words

2006-11-29 Thread J. Landman Gay

Jim Ault wrote:


I would tackle this using the filter command

replace cr with tab in textStr
set the wholematches to true
filter textStr with * token1*
filter textStr with * token2*
filter textStr with * token3*
if textStr  is empty then return false
else return true

A better form would be

function allWordsPresent textStr, wordList
  replace cr with tab in textStr
  set the wholematches to true
  repeat for each word WRD in wordList
filter textStr with (*  WRD  *)
  end repeat
  return not (textStr is empty)
end  allWordsPresent



This looks promising, thanks. It looks like there is no single-pass 
method, but since filter is pretty fast it may do okay. I didn't even 
quote your regex explanation, I don't want to touch it. :)


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: Matchtext for multiple words

2006-11-29 Thread Dick Kriesel
On 11/29/06 1:39 PM, J. Landman Gay [EMAIL PROTECTED] wrote:

 I need a matchtext/regex that will tell me if all supplied words exist
 in a block of text, regardless of their order, and ignoring carriage
 returns.
 
 For example, see if all these words:  dog dinosaur cat
 
 exist in this text:
 
 The purple dinosaur inadvertently stepped on the cat.cr
 The white dog howled.
 
 Should return true. Is there such a thing?

Since Rev says cat and cat. are different words, punctuation poses a
problem.  Here's an approach that's simple and fast but depends on the
programmer to include a replace statement for each punctuation mark.

-- Dick

on mouseUp
  put 
  put The purple dinosaur inadvertently stepped on the cat.  cr \
 The white dog howled. into tText
  put dog dinosaur cat into tWords
  putLines textContainsAllWords(tText,tWords)
end mouseUp

function textContainsAllWords tText,pWords
  replace . with space in tText
  replace , with space in tText
  repeat for each word tWord in tText
put 1 into tArray[tWord]
  end repeat
  repeat for each word tWord in pWords
if tArray[tWord] is empty then return false
  end repeat
  return true
end textContainsAllWords


___
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: palette in RevMedia

2006-11-29 Thread Bill Marriott
I think you should still Bugzilla it, with the idea a more descriptive 
message, like, Not permitted in Media is returned.

Richmond Mathewson [EMAIL PROTECTED] 
wrote in message 
news:[EMAIL PROTECTED]
Malte Brill wrote:

So, no bug, but design decision.

really! well, then that should have been clear from
the on-board documentation. Naughty oversight there.

frankly, in light of this, it appears that RevMedia is
crippled to a point
where the would-be purchaser has to juggle the
attraction of the 4 template builders with the
cripplings.

Palettes are (at least to me) a super aspect of RR.

I wonder (???) if RR would not be more sensible to
backtrack to something like DreamCard with the
templates?

sincerely, Richmond Mathewson.



Its time to do Philosophy and stop worrying about what dead men said.
 
   Mathewson 2006


Send instant messages to your online friends http://uk.messenger.yahoo.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



___
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: Matchtext for multiple words

2006-11-29 Thread John Craig

I still think it's working ok - someone slap me if I'm wrong.
The (?!  is looking ahead and saying 'you can't begin with.

(?!\1) - you can't begin with the first match
(?!\1|\2) - you can't begin with the 1st or second match

JC

J. Landman Gay wrote:
Sorry if this comes through twice, I'm having trouble sending to the 
list.


I need a matchtext/regex that will tell me if all supplied words exist 
in a block of text, regardless of their order, and ignoring carriage 
returns.


For example, see if all these words:  dog dinosaur cat

exist in this text:

The purple dinosaur inadvertently stepped on the cat.cr
The white dog howled.

Should return true. Is there such a thing?



___
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: Matchtext to find a series of words

2006-11-29 Thread Brian Yennie
This looks promising, thanks. It looks like there is no single-pass  
method, but since filter is pretty fast it may do okay.


Not sure how robust my stab was, but I do think that algorithmically  
one-pass is definitely possible. You just need to pass through the  
text once, and cross off each word as you find it. If everything is  
crossed off when you're done, then you're done =).


HTH

- Brian
___
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: Matchtext for multiple words

2006-11-29 Thread J. Landman Gay

John Craig wrote:

  -- build the whole damn regex

LOL! I know exactly what you mean. I'll test this. I'm building a test 
suite of all the responses and will report here what I find. So far, I'm 
surprised at the results.


I'm kind of pleased with this whole thread. Scripting contests are cool. 
We should make it a monthly affair.



And a script to create the regex from a word list.  My apologies if this 
stuff turns out useless - but you can get absorbed in this mince...



on mouseUp
 -- string to search * SHOULD MATCH
 put The purple dinosaur inadvertently stepped on the cat.  return  
The white dog howled. into tString


 -- DUFF string to search ** SHOULD NOT MATCH
 put The purple dinosaur inadvertently stepped on the cat.  return  
The white dinosaur howled. into tString2


 -- words to find
 put cat,dinosaur,dog into tWords

 -- build the pattern to match the words
 put ( into tWordsPattern
 repeat for each item tWord in tWords
   put tWord  | after tWordsPattern
 end repeat
 put ) into char -1 of tWordsPattern

 -- build the whole damn regex
 put num of items in tWords into tTotalWords
 put 0 into tCurrentWord
 put (?is) into tRegex
 repeat for each item tWord in tWords
   add 1 to tCurrentWord
   put \b after tRegex
   if tCurrentWord  1 then
 put (?! after tRegex
 repeat with i = 1 to tCurrentWord - 1
   put \  i  | after tRegex
 end repeat
 delete char -1 of tRegex
 put ) after tRegex
   end if
   put tWordsPattern  \b after tRegex
   if tCurrentWord  tTotalWords then
 put .* after tRegex
   end if
 end repeat

 -- test our regex against the 2 test strings
 put matchText(tString, tRegex)  return  matchText(tString2, tRegex)

end mouseUp


John Craig wrote:

I still think it's working ok - someone slap me if I'm wrong.
The (?!  is looking ahead and saying 'you can't begin with.

(?!\1) - you can't begin with the first match
(?!\1|\2) - you can't begin with the 1st or second match

JC

J. Landman Gay wrote:
Sorry if this comes through twice, I'm having trouble sending to the 
list.


I need a matchtext/regex that will tell me if all supplied words 
exist in a block of text, regardless of their order, and ignoring 
carriage returns.


For example, see if all these words:  dog dinosaur cat

exist in this text:

The purple dinosaur inadvertently stepped on the cat.cr
The white dog howled.

Should return true. Is there such a thing?



___
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




--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: Custom Properties Lookup Table

2006-11-29 Thread John Craig

Sorry - the following line should have been deleted from the example;

  put the scaledScore[memory] of field data1 into theMatch2


___
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: Matchtext for multiple words

2006-11-29 Thread J. Landman Gay

John Craig wrote:
And a script to create the regex from a word list.  My apologies if this 
stuff turns out useless - but you can get absorbed in this mince...


I passed three random words to your script (list,house,dog) and got this 
regex from it:


(?is)\b(list|house|dog)\b\b(?!\1)(list|house|dog)\b\b(?!\1|\2)(list|house|dog)\b

My test then goes through a bunch of text files on disk and applies the 
regex to the text of each file like this:


put matchText(tText, tRegex) into tMatch

I don't get any matches though, and my knowledge of regex is too limited 
for me to know if I'm doing something wrong. Does this look right to 
you? I think there should have been at least 2 matching files (that's 
what some of the other scripts produced.)


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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


too many fields, too many cards?

2006-11-29 Thread Timothy Miller
A long time ago, I complained to bugzilla that the native RR search  
stack is way too slow. Personally, I've found ways to work around  
that. I still think it's an unnecessary embarrassment for RR, that  
wouldn't be very hard to fix. But, that's not why I called.


Someone made this comment about my complaint. I don't doubt the  
constructive spirit of the comment, but I have a few questions about it.


The comment, in part:



Then again, one should not store data in fields on 100s of cards.  
Instead, store
your data in a custom property or a text file. Although the search  
stack could
be greatly improved by making it much simpler, the problem is  
mainly caused by

the approach chosen by the programmer.



My reply, in part:

I have a stack called Patient information. The purpose is obvious.  
For each patient, there are dozens of items I need to keep track of  
-- more than 100, really. Name, address, various phones, diagnosis,  
referring MD, referring MD's ID number, patient's ID number, group  
number, account number, employer, etc. That's only a representative  
sample. I do a lot of complex chores with this stack, so there are at  
least fifty bg buttons, too. At any given time, I have records on  
maybe 500 patients.


The stack works fine in every respect, except the RR search stack  
is way too slow. I've written several of my own specialized search  
scripts for this stack and others. They meet my needs and are plenty  
fast. I avoid the native Search stack.


A field for each item and a card for each patient is the only way I  
know how to do what I need to do.


I guess the alternative is to use a database, with SQL inquiries.  
That would be faster, once I made the conversion, but this stack  
started as HyperCard and has grown and evolved over many years. I  
can't afford to spend the time to re-write it from scratch, and learn  
how to use a database and SQL along the way. It would take a hundred  
hours, or more.


I guess you're suggesting the stack could read from a custom property  
or a text file to fill in the fields in just one card, based on a  
unique identifier for each patient. That's not too much different  
from a database inquiry, if I understand you. I guess I could search  
faster that way, in theory, but otherwise, I don't see the advantage.



My question:

Have I understood the general idea here? Am I overlooking anything  
fundamental? Is it reasonable to leave well enough alone, as long as  
I can find stuff in stacks this large, when I need to?


Thanks in advance,


Tim
___
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: Matchtext for multiple words

2006-11-29 Thread John Craig

J. Landman Gay wrote:

John Craig wrote:
And a script to create the regex from a word list.  My apologies if 
this stuff turns out useless - but you can get absorbed in this mince...


I passed three random words to your script (list,house,dog) and got 
this regex from it:




Here is the correct regex I get when I substitute your new words into 
the script (check that list is passed as list|house|dog)

(?is)\b(list|house|dog)\b.*\b(?!\1)(list|house|dog)\b.*\b(?!\1|\2)(list|house|dog)\b

a few bits missing from the one below!
(?is)\b(list|house|dog)\b\b(?!\1)(list|house|dog)\b\b(?!\1|\2)(list|house|dog)\b 



My test then goes through a bunch of text files on disk and applies 
the regex to the text of each file like this:


put matchText(tText, tRegex) into tMatch

I don't get any matches though, and my knowledge of regex is too 
limited for me to know if I'm doing something wrong. Does this look 
right to you? I think there should have been at least 2 matching files 
(that's what some of the other scripts produced.)




___
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: Custom Properties Lookup Table

2006-11-29 Thread Phil Davis

Hi Charles,

Others have posted solutions, so I'll focus on what happened. I could be wrong, 
but I believe Rev looked at this part of your script:


   if item 1 of theMatch and item 2 of theMatch and item 3 of theMatch =
 item 1 of theMatch2 and item 2 of theMatch2 and item 3 of theMatch2 then
 put item 4 of theMatch2 into field ssFld
   end if

.. and thought this is what you meant (weird spacing added to improve 
readability):

if ( (item 1 of theMatch = true) \
 and (item 2 of theMatch = true) \
 and (item 3 of theMatch = true)  ) \
=  ( (item 1 of theMatch2 = true) \
 and (item 2 of theMatch2 = true) \
 and (item 3 of theMatch2 = true) )
then
  put item 4 of theMatch2 into field ssFld
end if  

So everything before the = resolves to 'false', as does the entire part after 
the =. So the conditions ultimately resolve to:


if (false) = (false)
then
  put item 4 of theMatch2 into field ssFld
end if  

So item 4 of theMatch2 would be put into field ssFld every time. Is that 
consistent with the results you were getting?


Thanks -
Phil Davis



Charles Szasz wrote:
I have set up a custom property set (scaledScore) for a field (data1), 
with custom properties (memory) and property contents listed below:


51,1,0,4,2
51,1,1,5,5
51,1,2,6,9
51,1,3,7,16
51,1,4,7,16
51,1,5,7,16
51,1,6,8,25
51,1,7,8,25
51,1,8,8,25

The first row of the 51,1,0,4,2 above represents:
age (51), followed by the number of the subtest (1), raw score (0), 
scaled score (4), percentile (2)


I have been working on a handler to take input from the user for age 
(tage), subtest field (field subFld, raw score (field rsFld). After 
the user enters the age, subtest number, raw score, the scaled score 
appears in the field ssFld after it is look up in the custom properties.


on mouseUp
  put 51 into tage
  put tAge,field subFld,field rsFld into theMatch
  put the scaledScore[memory] of field data1 into theMatch2
  if item 1 of theMatch and item 2 of theMatch and item 3 of theMatch = 
item 1 of theMatch2 and item 2 of theMatch2 and item 3 of theMatch2 then

put item 4 of theMatch2 into field ssFld
  end if
end mouseUp

This script does not work and no errors appear in Rev IDE. Can anyone 
help me with this problem?



Charles Szasz
[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


___
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: Copying many cds to a stack causes standalone to hang

2006-11-29 Thread Steve Denney
Thanks Jim,
(and to Paul Looney ([EMAIL PROTECTED]) who also proposed a database/imported
pic solution). 

Product info (description, pricing) is indeed kept in the one file and
imported into a fld. Similarly customer (reseller) info is located in an
odbc database for company reps (there's both a rep and reseller version of
this app). The only searching of cds is when a user wants to 'go to' a
particular catalogue card and focus on one the products. Other types of
product searches simply parse the product info fld  display a list. 

Unfortunately the die is cast with respect to catalogue format - it's in the
client's layout. I have seen warehousing programs ( of course there's lots
of websites) where a search, index or link will display product info  pics
with a consistent format but that's not what the client wanted. So the loc
of the product pics  their associated btns vary considerably from page to
page (actually the loc of the page pic doesn't vary but the associated
product btns are all over the place. Since that's really the only variation
I suppose I could store all the page pics in a folder, keep the product btn
rects in a fld and have rev create the catalogue pages on demand. Instead
I've simply made each page into a cd and stopped at that. 
At the moment I'm still thinking brand stacks with many prefab pages, opened
as required.
Your help and suggestions are much appreciated.
Many Thanks,
Steve Denney



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Ault
Sent: Tuesday, 28 November 2006 8:42 AM
To: How to use Revolution
Subject: Re: Copying many cds to a stack causes standalone to hang


On 11/27/06 1:58 PM, Steve Denney [EMAIL PROTECTED] wrote:

 Hi PL,
 The app is a catalogue where users can view pics of the products  click
on
 them to order (amongst other things).
 Currently each product page (card) is kept in a single cd stack file and
all
 the pages are copied into one stack at start up. I've now realized it'll
be
 better to have collections of product pages (by brand) in fewer stacks
with
 many cards.
 I also thought cross brand searching and movement between cds would be
made
 easier by having all the cards present in the one open stack. Now I'm
 considering keeping each brand collection in its own stack (i.e. no
copying
 of cds - not that I'm not immensely grateful for the effort everyone's put
 in and finding out the true nature of the 'start using' command :) And
 opening and searching each 'brand' stack only as required.
 My feeling is the latter will work just as well (without waiting for
 Loading catalogues... on openStack), or (as you point out) having to
deal
 with a huge unwieldy stack, especially if I don't bother to encrypt the
 catalogue pages.
 All comments and suggestion most welcome.


You should consider some other way of doing the brand differences, view pic,
and searching.  Looks like a lot for Rev to do, but Rev is extremely fast at
this.

For example, 
1 card per brand
using 1 group that behaves like a background that is on all brand cards
name each card with the brand name, then
on preopencard

set the label of btn brandLogo to the short name of this card
set icon of btn brandLogo to 23009
-- importing a png or jpg  into the stack will result in
--   Rev assigning an ID
set the rect of btn brandLogo to rect
set the script of btn brandLogo to snippet
set the text of btn modelDropDown to list of models
set the label of btn modelDropDown to line 1 of list of models

put line 1 of fld hiddenData1 into fld vizModelNumber
put line 2 of fld hiddenData1 into fld vizPrice
put line 3 of fld hiddenData1 into fld vizInStock
put line 4 of fld hiddenData1 into fld vizShippingCost
put line 5 of fld hiddenData1 into fld vizTaxNotice
put line 6 to -1 of fld hiddenData1 into fld vizDescription
get  line 1 to 5 of fld hiddenData1
replace cr with tab in it
put it into line 1 of fld vizTableColumn
get  line 1 to 5 of fld hiddenData2
replace cr with tab in it
put it into line 2 of fld vizTableColumn
get  line 1 to 5 of fld hiddenData3
replace cr with tab in it
put it into line 3 of fld vizTableColumn

How many items are you displaying?
If you are doing a catalog, espcially if it needs frequent updating, then
consider using a database such as SQL
How many scripts are you using?
Where are they located?

Jim Ault
Las Vegas


___
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: too many fields, too many cards?

2006-11-29 Thread Mark Smith


On 30 Nov 2006, at 01:48, Timothy Miller wrote:

I guess you're suggesting the stack could read from a custom  
property or a text file to fill in the fields in just one card,  
based on a unique identifier for each patient. That's not too much  
different from a database inquiry, if I understand you. I guess I  
could search faster that way, in theory, but otherwise, I don't see  
the advantage.



My question:

Have I understood the general idea here? Am I overlooking anything  
fundamental? Is it reasonable to leave well enough alone, as long  
as I can find stuff in stacks this large, when I need to?


I think you've understood the suggestion perfectly.

My own approach would be to store the data for each patient in an  
customPropertySet, which is really an array (each one named the same  
as the patient, maybe, and each key of which I'd name the same as the  
field you're currently using), so to populate a single card stack:


on showPatient patientName
  put the customProperties[patientName] of me into tPatientArray
  repeat for each line K in the keys of tPatientArray
put tPatientArray[K]  into fld K
  end repeat
end showPatient

and to store, after making changes

on storePatient patientName
  repeat for with n = 1 to the number of flds
 put fld n into patientArray[the short name of fld n]
  end repeat
  set the customProperties[patientName] of me to patientArray
end storePatient

Something like this, anyway.

But if it's working well for you as it is, then?

Best,

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: Matchtext for multiple words

2006-11-29 Thread J. Landman Gay

John Craig wrote:

Oops.

I meant to say - check the list is passed as list,dog,house (comma 
separated, and without parenthesis)


Yeah, that was the problem. I was altering the scripts from the list so 
they would fit into my tests and I didn't change yours right. Now that 
I've made the correction it works fine. Thanks for the pointer, that was 
exactly what was wrong.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: too many fields, too many cards?

2006-11-29 Thread J. Landman Gay

Mark Smith wrote:


On 30 Nov 2006, at 01:48, Timothy Miller wrote:

I guess you're suggesting the stack could read from a custom property 
or a text file to fill in the fields in just one card, based on a 
unique identifier for each patient. That's not too much different from 
a database inquiry, if I understand you. I guess I could search faster 
that way, in theory, but otherwise, I don't see the advantage.



My question:

Have I understood the general idea here? Am I overlooking anything 
fundamental? Is it reasonable to leave well enough alone, as long as I 
can find stuff in stacks this large, when I need to?


I think you've understood the suggestion perfectly.

My own approach would be to store the data for each patient in an 
customPropertySet


But that would make searching across the patient base even harder, 
wouldn't it? He might end up having to ask about matchtext or something...


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: Custom Properties Lookup Table

2006-11-29 Thread Jim Ault
This is using the FILTER command and a wild card pattern

on mouseUp
  put 51 into tage
  put comma into c
  put * tAge c fld subFld c fld rsFld c * into pattn
  get (the scaledScore[memory] of field data1)
  filter it with pattn
  -- put item 4 of it into field ssFld (not yet)

  --now check the result
  if the number of lines in it  1 then
answer multiple hits of   cr  \
it   cr  cr   \
using   pattn
 
  else if the number of lines in it  1 then
answer Nothing matches cr  pattn
 
  else
put item 4 of it into field ssFld
  end if
end mouseUp


Jim Ault
Las Vegas

 Charles Szasz wrote:
 I have set up a custom property set (scaledScore) for a field (data1),
 with custom properties (memory) and property contents listed below:
 
 51,1,0,4,2
 51,1,1,5,5
 51,1,2,6,9
 51,1,3,7,16
 51,1,4,7,16
 51,1,5,7,16
 51,1,6,8,25
 51,1,7,8,25
 51,1,8,8,25
 
 The first row of the 51,1,0,4,2 above represents:
 age (51), followed by the number of the subtest (1), raw score (0),
 scaled score (4), percentile (2)
 
 I have been working on a handler to take input from the user for age
 (tage), subtest field (field subFld, raw score (field rsFld).
 After the user enters the age, subtest number, raw score, the scaled
 score appears in the field ssFld after it is look up in the custom
 properties.
 
 on mouseUp
   put 51 into tage
   put tAge,field subFld,field rsFld into theMatch
   put the scaledScore[memory] of field data1 into theMatch2
   if item 1 of theMatch and item 2 of theMatch and item 3 of theMatch
 = item 1 of theMatch2 and item 2 of theMatch2 and item 3 of theMatch2
 then
 put item 4 of theMatch2 into field ssFld
   end if
 end mouseUp
 
 This script does not work and no errors appear in Rev IDE. Can anyone
 help me with this problem?
 
 
 Charles Szasz
 [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: jscard

2006-11-29 Thread Judy Perry
Yeah, because I seem to recall it being up on the HC list some time ago,
and nobody complained there about it not working (not that I checked it,
mind you...).

Judy

On Wed, 29 Nov 2006, Jan Schenkel wrote:

 The second link I sent yesterday did work - perhaps
 they've taken it down after all us Revolutionaries hit
 the server really hard ;-)

___
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: Alternating Lines in a listbox

2006-11-29 Thread Scott Kane



Try this.


Hi Jim,

Yes. Works beautifully.   :-)

Scott
___
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