Re: Seperate numbers from text

2005-04-05 Thread Jeanne A. E. DeVoto
At 12:55 PM +1000 4/6/05, Dwayne Rothe wrote: Is there a way to seperate numbers from text in a string? e.g "string69" to return 69 or "string69also" to return 69 Is it possible to filter somehow? Here's one way: repeat for each char thisChar in myString if thisChar is a number then put this

Re: user-movable fields?

2005-04-05 Thread Signe Marie Sanne
Jeanne A. E. DeVoto skrev: At 2:11 PM -0400 4/5/05, Thomas McGrath III wrote: Is the control key behavior just in the IDE or will it work in a standalone? Don't we need to code the control behavior for a standalone? No: Control-clicking (or right-clicking) an unlocked field sends mouseDown, mous

Re: user-movable fields

2005-04-05 Thread Pat Trendler
Sandy, This doesn't quite work. You need: on mousedown thebutton if thebutton is 3 then grab me end mousedown See Jeanne's email and the docs for mousedown in an unlocked field (right click for Win, control click Mac) It probably seemed to work for you because you were using the pointer tool

Re: Scrolling flds

2005-04-05 Thread Yves COPPE
Le 5 avr. 05, à 23:15, Eric Chatonet a écrit : Bonsoir Yves, LineOffset returns the number of lines between the beginning of a value and an occurrence of a specified string. So, LineOffset does not take care of numbers or alpha chars and *stupidly counts the lines*. That's all :-) So the code Kla

Re: [ann] vObject Package Pre-Release (vCard and iCalendar)

2005-04-05 Thread Bill Vlahos
Andre, Thanks for this. Your timing is impeccable. I was just about to tackle vCard import/export myself for a project and you saved me time. Thank you, Bill Vlahos On Apr 5, 2005, at 4:52 PM, Andre Garzia wrote: Hi Folks, since some folks here showed growing interest in the vObject package, I a

Re: user-movable fields

2005-04-05 Thread SB
Thank you all! I just put a demo of the user-movable fields, and an example of how it might be useful, in the user spaces of revonline-- "User movable fields", under programming. This is so cool-- when I first thought of it this morning, I figured it would take arduous programming. Amazing. S

Re: Seperate numbers from text

2005-04-05 Thread Ken Ray
On 4/5/05 9:55 PM, "Dwayne Rothe" <[EMAIL PROTECTED]> wrote: > Is there a way to seperate numbers from text in a string? > e.g "string69" to return 69 or "string69also" to return 69 > > Is it possible to filter somehow? Well, if you only have one number in the string (i.e. not something like "on

Re: Table behavior

2005-04-05 Thread Cubist
sez [EMAIL PROTECTED]: >I have just started playing around with fields that have "table" behavior. >I was planning on writing a little spreadsheet program. However, it appears >that the closeField message is not sent to the field when its behavior >is like a Table. > >This can be demonstrated: cre

Re: Seperate numbers from text

2005-04-05 Thread Dan Shafer
Great place for a regular expression. I don't know how to *write* it mind you, but it's probably the solution. On Apr 5, 2005, at 7:55 PM, Dwayne Rothe wrote: Is there a way to seperate numbers from text in a string? e.g "string69" to return 69 or "string69also" to return 69 Is it possible to fil

Re: [ann] vObject Package Pre-Release (vCard and iCalendar)

2005-04-05 Thread Dan Shafer
Strange. It downloaded fine for me. On Apr 5, 2005, at 7:18 PM, Bill wrote: When I go url "http://www.soapdog.org/vObjectPackage.rev"; I get: stack is corrupted, check for ~ backup file ~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, Califo

Re: [ann] vObject Package Pre-Release (vCard and iCalendar)

2005-04-05 Thread Andre Garzia
Bill, I set up an alternate url go stack url "http://www.wecode.org/vObjectPackage.rev"; this I tested and is working... thanks andre On Apr 5, 2005, at 11:18 PM, Bill wrote: When I go url "http://www.soapdog.org/vObjectPackage.rev"; I get: stack is corrupted, check for ~ backup file On 4/5/05 7:52

Seperate numbers from text

2005-04-05 Thread Dwayne Rothe
Is there a way to seperate numbers from text in a string? e.g "string69" to return 69 or "string69also" to return 69 Is it possible to filter somehow? Cheers Thanx ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.run

Re: [ann] vObject Package Pre-Release (vCard and iCalendar)

2005-04-05 Thread Bill
When I go url "http://www.soapdog.org/vObjectPackage.rev"; I get: stack is corrupted, check for ~ backup file On 4/5/05 7:52 PM, "Andre Garzia" <[EMAIL PROTECTED]> wrote: > Hi Folks, > > since some folks here showed growing interest in the vObject package, I > am releasing a pre-release, i

Re: Scrolling flds

2005-04-05 Thread Ken Ray
On 4/5/05 3:31 PM, "Yves COPPE" <[EMAIL PROTECTED]> wrote: > Hi list, > > I have a fld with an alphabetical list > > I have a script to automatically scroll the fld at the beginning of a > clicked letter : tKey > > (thank you Klaus) > > put lineOffset(return & tKey, fld "body") into lo Be c

Re: Shrinking Mac stack

2005-04-05 Thread J. Landman Gay
On 4/5/05 5:25 PM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I finally worked around this problem where it is important to me by finding the proper height of the stack and setting it to that height in a preOpenStack handler. Make sure you find the height of the sta

Re: Rectangle Problem

2005-04-05 Thread Ken Ray
On 4/5/05 4:05 PM, "David Burgun" <[EMAIL PROTECTED]> wrote: >>> Is there any easy way to get this functionality into my stack? >> >> Dave, is there any reason you're not using the built in functionality of Rev > > On big reason, I don't know how to do it? > >> - i.e. to set the tool to the re

Re: handler error of the simplest kind

2005-04-05 Thread Byron Turner
On Apr 5, 2005, at 8:53 AM, Byron Turner wrote: I'm getting a handler error with this! Any ideas? Worked fine for weeks in the message box, but now that its in a menu . . on combat go stack "combat" end combat Byron, What kind of error are you getting? If it's a "handler not found" error, it

Table behavior

2005-04-05 Thread Ben Fisher
I have just started playing around with fields that have "table" behavior. I was planning on writing a little spreadsheet program. However, it appears that the closeField message is not sent to the field when its behavior is like a Table. This can be demonstrated: create a new Table from the t

[ann] vObject Package Pre-Release (vCard and iCalendar)

2005-04-05 Thread Andre Garzia
Hi Folks, since some folks here showed growing interest in the vObject package, I am releasing a pre-release, it's fully working just the documentation is not fully done yet. The Package contains: * vObject Package main stack -- That is the mainstack, it contains some documentation as well as th

Re: handler error of the simplest kind

2005-04-05 Thread Richard Gaskin
Byron Turner wrote: I'm getting a handler error with this! Any ideas? Worked fine for weeks in the message box, but now that its in a menu . . on combat go stack "combat" end combat Menus are Mennonites, and maintain a fierce conviction of relying on a higher power to resolve conflicts without

Re: Shrinking Mac stack

2005-04-05 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I finally worked around this problem where it is important to me by finding the proper height of the stack and setting it to that height in a preOpenStack handler. Make sure you find the height of the stack with the menu bar in the stack window (the

Re: Rectangle Problem

2005-04-05 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Look up the tool, style and templateGraphic properties and the newGraphic message in the docs. As for the style property, you are primarily interested in how it applies to graphic objects (you can skip a lot of material which applies to other types

Re: Scrolling flds

2005-04-05 Thread simplsol
Here is an alternative script for scrolling a list field based on a click in an alpha field: on mouseDown --list must be sorted for alphas to make sense: if the hilite of btn "Sort the Card List" is false then send "mouseUp" to btn "Sort the Card List" get the value of the clickLine if it is empt

Re: Shrinking Mac stack

2005-04-05 Thread J. Landman Gay
On 4/5/05 3:44 PM, Mark Talluto wrote: On Apr 4, 2005, at 2:24 PM, Trevor DeVore wrote: On Apr 4, 2005, at 12:36 PM, J. Landman Gay wrote: I am still having the problem where the bottom of a stack gets cut off on Mac standalone builds when the stack contains a menu bar. This has been going on for

Re: Scrolling flds

2005-04-05 Thread Eric Chatonet
Bonsoir Yves, LineOffset returns the number of lines between the beginning of a value and an occurrence of a specified string. So, LineOffset does not take care of numbers or alpha chars and *stupidly counts the lines*. That's all :-) So the code Klaus provided *should* work in all cases. Your pr

Re: Rectangle Problem

2005-04-05 Thread David Burgun
On 4/5/05 12:51 PM, "David Burgun" <[EMAIL PROTECTED]> wrote: Hi, On a card I have a Rectangle Object called "BoundingRect". This object has a script attached to it that contains the following handlers: mouseEnter, mouseLeave, mouseDown, mouseStillDown and mouseUp to track the position of t

Re: Shrinking Mac stack

2005-04-05 Thread Mark Talluto
On Apr 4, 2005, at 2:24 PM, Trevor DeVore wrote: On Apr 4, 2005, at 12:36 PM, J. Landman Gay wrote: I am still having the problem where the bottom of a stack gets cut off on Mac standalone builds when the stack contains a menu bar. This has been going on forever and usually (but not always) can b

Re: Rectangle Problem

2005-04-05 Thread Ken Ray
On 4/5/05 12:51 PM, "David Burgun" <[EMAIL PROTECTED]> wrote: > Hi, > > On a card I have a Rectangle Object called "BoundingRect". This > object has a script attached to it that contains the following > handlers: > > mouseEnter, mouseLeave, mouseDown, mouseStillDown and mouseUp to > track the

Scrolling flds

2005-04-05 Thread Yves COPPE
Hi list, I have a fld with an alphabetical list I have a script to automatically scroll the fld at the beginning of a clicked letter : tKey (thank you Klaus) put lineOffset(return & tKey, fld "body") into lo set the scroll of field "body" to (lo * the effective textHeight of field "body") no

Re: Can't open file

2005-04-05 Thread J. Landman Gay
On 4/5/05 2:59 PM, Dar Scott wrote: On Apr 5, 2005, at 1:51 PM, J. Landman Gay wrote: put "attrib"&& quote & tPath & quote && "-h" into tCommand +H Maybe? Ah. Thanks. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___

Re: user-movable fields?

2005-04-05 Thread Jeanne A. E. DeVoto
At 2:11 PM -0400 4/5/05, Thomas McGrath III wrote: Is the control key behavior just in the IDE or will it work in a standalone? Don't we need to code the control behavior for a standalone? No: Control-clicking (or right-clicking) an unlocked field sends mouseDown, mouseUp, etc. instead of openin

Re: Can't open file

2005-04-05 Thread Dar Scott
On Apr 5, 2005, at 1:51 PM, J. Landman Gay wrote: put "attrib"&& quote & tPath & quote && "-h" into tCommand +H Maybe? dar ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution

Re: Can't open file

2005-04-05 Thread J. Landman Gay
On 4/5/05 2:25 PM, Trevor DeVore wrote: On Apr 5, 2005, at 12:02 PM, J. Landman Gay wrote: If I do this on Win98 it works: get pathToMyFile() -- returns "C:/My Documents/myfile.txt" open file it write "1234" to file it close file it But if I do this, I get "can't open file": get pathToMyFile() put

Re: Can't open file

2005-04-05 Thread Trevor DeVore
On Apr 5, 2005, at 12:02 PM, J. Landman Gay wrote: If I do this on Win98 it works: get pathToMyFile() -- returns "C:/My Documents/myfile.txt" open file it write "1234" to file it close file it But if I do this, I get "can't open file": get pathToMyFile() put "1234" into url ("file://"&it) Why? I do

Can't open file

2005-04-05 Thread J. Landman Gay
If I do this on Win98 it works: get pathToMyFile() -- returns "C:/My Documents/myfile.txt" open file it write "1234" to file it close file it But if I do this, I get "can't open file": get pathToMyFile() put "1234" into url ("file://"&it) Why? -- Jacqueline Landman Gay | [EMAIL PROTECTE

Re: How to get the difference between two lists?

2005-04-05 Thread Wouter
On 05 Apr 2005, at 20:03, Dar Scott wrote: snip // filter version function shortListDar5 pL, pEx filter pL without replaceText(pEx,"\n","|") return pL end shortListDar5 Dar This was the reason I was lamenting that rev's filter "command" is not fully regex compatible. Your replaceText part re

Re: BGs

2005-04-05 Thread Mikey
Yeah, damn limies! [;-P -- 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." ___ u

Re: handler error of the simplest kind

2005-04-05 Thread Devin Asay
On Apr 5, 2005, at 8:53 AM, Byron Turner wrote: I'm getting a handler error with this! Any ideas? Worked fine for weeks in the message box, but now that its in a menu . . on combat go stack "combat" end combat Byron, What kind of error are you getting? If it's a "handler not found" error, it'

Re: BGs

2005-04-05 Thread Scott Rossi
Recently, Thomas McGrath III wrote: > Bloody americans are all hyper and like to shorten our words as much as > possible. But then abbreviated messaging did take off in Europe for IM > and SMS, so. Don't get me started with you guys and "colour"... Regards, Scott Rossi Creative Director Ta

Re: Displaying Query Results in List Box

2005-04-05 Thread Devin Asay
Ana, Check out revDataFromQuery, which should allow you to grab large chunks of the data from the database and then do whatever you want with it in Revolution. Devin On Apr 5, 2005, at 10:39 AM, Ana Nelson wrote: I would like to display multiple rows of a query in list box. If I use the Databas

Re: user-movable fields?

2005-04-05 Thread Thomas McGrath III
Is the control key behavior just in the IDE or will it work in a standalone? Don't we need to code the control behavior for a standalone? TOm On Apr 5, 2005, at 1:39 PM, Klaus Major wrote: Hi Sandy, Hi, Is there a way to make fields that the standalone user can write in and then move around wit

Re: BGs

2005-04-05 Thread Thomas McGrath III
Bloody americans are all hyper and like to shorten our words as much as possible. But then abbreviated messaging did take off in Europe for IM and SMS, so. I like the story about when I went to work for Westinghouse and noticed that they were spelling Employee as Employe and I mentioned it

Re: How to get the difference between two lists?

2005-04-05 Thread Dar Scott
On Apr 5, 2005, at 11:12 AM, Wouter wrote: Could you compile a oneliner regex that worked in rev's filter function? Not one that worked. Only the replaceText() worked and then for smaller lists. This is what I tried: // replaceText version function shortListDar3 pL, pEx return replaceText(pL,

Rectangle Problem

2005-04-05 Thread David Burgun
Hi, On a card I have a Rectangle Object called "BoundingRect". This object has a script attached to it that contains the following handlers: mouseEnter, mouseLeave, mouseDown, mouseStillDown and mouseUp to track the position of the mouse and allow the user to draw rectangles, e.g. when the us

Re: user-movable fields?

2005-04-05 Thread Klaus Major
Hi Sandy, Hi, Is there a way to make fields that the standalone user can write in and then move around within a window? Yes, put this into the script of your "fields to be moved" and advice the user to hold down the Control key to be able to move the fields around: on mousedown grab me end mou

Re: user-movable fields?

2005-04-05 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Look up the 'tool' and 'mode' properties in the docs. That should get you started. On Apr 5, 2005, at 1:32 PM, SB wrote: Hi, Is there a way to make fields that the standalone user can write in and then move around within a window? For example, so t

user-movable fields?

2005-04-05 Thread SB
Hi, Is there a way to make fields that the standalone user can write in and then move around within a window? For example, so that you could have a set of notecards or buttons in a window that the user can name and then arrange in different clumps by moving them with the mouse. Sandy

Re: ANN: Successor to IdeaFisher: eXpertSystem ships...

2005-04-05 Thread Dan Shafer
Chipp. Sounds like a good session at RevConWest. On Apr 5, 2005, at 12:21 AM, Chipp Walters wrote: Most interesting in the development was the integration of MagicCarpet's 'Auto-updating' delivery system, which enabled the client to see realtime results each time they launched eXs-- as it up

Re: Python and Rev

2005-04-05 Thread Dan Shafer
I agree, Frank. The key seems to lie in finding a way to essentially create the OSA (Open Scripting Architecture) as a Rev framework, no small task to be sure but one that perhaps the famous MonsieurX is up to? On Apr 5, 2005, at 9:24 AM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE

Re: Python and Rev

2005-04-05 Thread Dan Shafer
I suspect the answer to how to do all of this (other than whatIWantNotWhatISaid, which would be way cool, Jeanne!) lies in the OSA - Open Scripting Architecture. You can get a basic view of this at http://tinyurl.com/64hmu (I TinyURLed it because the true URL is 127 characters long). As far as

Re: How to get the difference between two lists?

2005-04-05 Thread Wouter
Could you compile a oneliner regex that worked in rev's filter function? completely amazed, W. On 05 Apr 2005, at 18:58, Dar Scott wrote: On Apr 5, 2005, at 7:40 AM, Wouter wrote: It would have been nice if the "filter" function was fully regex compatible then Dar's idea of turning it into a regex

Re: How to get the difference between two lists?

2005-04-05 Thread Dar Scott
On Apr 5, 2005, at 7:40 AM, Wouter wrote: It would have been nice if the "filter" function was fully regex compatible then Dar's idea of turning it into a regex statement could produce something like a one-liner. I tried it and it was a oneliner. It was awfully slow. It took six seconds (IIRC)

Displaying Query Results in List Box

2005-04-05 Thread Ana Nelson
I would like to display multiple rows of a query in list box. If I use the Database Query Builder and set the Database property of a list field to the relevant Query, then the results display somewhat like a spreadsheet which is what I want. I would like to know how to accomplish this manually.

Re: BGs

2005-04-05 Thread Klaus Major
Hi Phil, Klaus, is 'backgroundbehaviour' a Rev synonym for 'backgroundbehavior'? (Note differences in spelling.) If not, maybe that would explain your results. Mon dieux, now that you mention it...!!! Damn, the result of a higher education! Bloody americans :-D But since Rev is very tolerant lang

Re: ANN: Successor to IdeaFisher: eXpertSystem ships...

2005-04-05 Thread Ken Ray
On 4/5/05 2:21 AM, "Chipp Walters" <[EMAIL PROTECTED]> wrote: > This is an interesting project. The client had been working for 8 months > with a developer in RB trying to get this product out, but due to > problems, they just couldn't make it happen. So they turned to Rev and > (fortunate for us)

Re: BGs

2005-04-05 Thread Phil Davis
Klaus, is 'backgroundbehaviour' a Rev synonym for 'backgroundbehavior'? (Note differences in spelling.) If not, maybe that would explain your results. Phil Davis Jeanne A. E. DeVoto wrote: At 10:47 AM +0200 4/5/05, Klaus Major wrote: But "set the backgroundbehaviour of grp xyz to false" does NOT

Re: Python and Rev

2005-04-05 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, but only under Mac OS X (maybe Classic). Extending Rev to support this would allow this to be used cross-platform, as most of these scripting languages are available cross-platform. On Apr 5, 2005, at 11:33 AM, Jeanne A. E. DeVoto wrote: At 11:1

Re: Python and Rev

2005-04-05 Thread Jeanne A. E. DeVoto
At 11:13 AM -0400 4/4/05, Frank D. Engel, Jr. wrote: Rev allows AppleScript via the "do ... as AppleScript" command. Perhaps this could be extended to support things like do ... as Python do ... as Ruby do ... as AmericanEnglish ;-) or whatever? I'm holding out for "do...whatIWantNotWhatISaid".

Re: BGs

2005-04-05 Thread Jeanne A. E. DeVoto
At 10:47 AM +0200 4/5/05, Klaus Major wrote: But "set the backgroundbehaviour of grp xyz to false" does NOT work after placing that group onto a card, and that might be a bug? Huh. I just did it. (Via the message box though, not the property inspector.) -- jeanne a. e. devoto ~ [EMAIL PROTECTED]

handler error of the simplest kind

2005-04-05 Thread Byron Turner
I'm getting a handler error with this! Any ideas? Worked fine for weeks in the message box, but now that its in a menu . . on combat go stack "combat" end combat Byron "As democracy is perfected, the office of president represents, more and more closely, the inner soul of the people. On some g

Re: How to get the difference between two lists?

2005-04-05 Thread Wouter
On 04 Apr 2005, at 05:44, Dar Scott wrote: On Apr 3, 2005, at 9:04 PM, Ken Ray wrote: I can of course do a repeat loop through the small list and remove those items from the comprehensive list, but I'm wondering if there's a faster way to do this. Some wild ideas: 1. Convert the smaller list int

Re: ANN Nine Ball with Spin (English)

2005-04-05 Thread Jim Hurley
And just for fun, to run an arrow around a circle: on mouseUp put 0 into tStartAngle put 360 into tEndAngle set the endArrow of grc "myArc" to true repeat 180 times arc the loc of me,100,tStartAngle,tEndAngle,"myArc" add 2 to tStartAngle add 2 to tEndAngle unlock screen -- Necessary

Re: ANN Nine Ball with Spin (English)

2005-04-05 Thread Jim Hurley
Message: 8 Date: Mon, 04 Apr 2005 14:18:58 -0700 From: Quentin Long <[EMAIL PROTECTED]> Subject: Re: ANN Nine Ball with Spin (English) To: use-revolution@lists.runrev.com Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii; format=flowed sez [EMAIL PROTECTED] But I am off to

Re: BGs

2005-04-05 Thread Klaus Major
Hi Jeanne, At 1:21 PM -0700 4/3/05, Dan Shafer wrote: Copying a background from one card to another *duplcates* the background so that changes made to one of them will not be reflected in the copy. Placing a background seems to me to at least imply that the author intends for the background to b

ANN: Successor to IdeaFisher: eXpertSystem ships...

2005-04-05 Thread Chipp Walters
This is an interesting project. The client had been working for 8 months with a developer in RB trying to get this product out, but due to problems, they just couldn't make it happen. So they turned to Rev and (fortunate for us) contacted us off of the Rev website 'consultants' list. Unlike the