Re: Text and not text in a string

2008-09-20 Thread Jim Ault
Two more ways ... easier readability to use the continuation ¬ character [ option-L on the Mac ] if ("Internet" is in tString) ¬ and not("Work" is in tString) ¬ and not("Home" is in tString) then do this end if - if ("Internet" is in tString) and ¬ not("Work" is in tString or "Home

Re: Uncomment in 3.0

2008-09-20 Thread Jim Ault
On 9/20/08 10:38 PM, "James Hurley" <[EMAIL PROTECTED]> wrote: > Anyone else having this problem? > > Command/Shift - > > does not uncommnent the selected lines as in RR 2.x, at least on the > Mac. > > The associated menu item does function, i.e. uncommnent the selected > lines, but not th

Re: rev cgi - put url & read from

2008-09-20 Thread Jim Sims
For clarity and for those who use the archives a lot... Dave Cragg sent: But I've never come across a case of open-read-close working where get/put url didn't. What kind of error do you see in the result? Are the file paths identical in both cases? also "...libUrl only handles url commands

Re: returning result from a function when the number of items in the result varies

2008-09-20 Thread Jim Ault
If there is no real reason to use an array in the function, then I would avoid it since your function may generate two 'hits' that happen to have the same key. In that case, only one answer will be returned since keys have to be unique. If you are transferring simple data, why not use the standa

Re: RESTRAINING THE PENCIL IN REV

2008-09-20 Thread Devin Asay
On Sep 19, 2008, at 7:11 PM, Joe Lewis Wilkins wrote: Thanks Mark, but the line tool is an object so won't work to define paintable areas the way the pencil and brush do. I'm trying to import or paste painted lines from Appleworks or some other app that does constrain pencil drawing onto a Rev

Re: Mail merge--again

2008-09-20 Thread J. Landman Gay
James Hurley wrote: I tried your suggestion, but I only got one page printed, the first. Perhaps I need to put each letter on a separate card? You may have to add "print break" at the bottom of your repeat loop. That forces the printer to start a new page. I also forgot to mention that you m

Uncomment in 3.0

2008-09-20 Thread James Hurley
Anyone else having this problem? Command/Shift - does not uncommnent the selected lines as in RR 2.x, at least on the Mac. The associated menu item does function, i.e. uncommnent the selected lines, but not the keyboard equivalent. Odd. Jim Hurley ___

Re: Mail merge--again

2008-09-20 Thread James Hurley
James Hurley wrote: This doesn't work: on mouseUp repeat with i = 1 to 5 put cr & cr & cr & " " & i into field 1 print this card from 142, 30 to 681,556 end repeat end mouseUp What I would like to do is print the number i, running from 1 to 5 on the fourth line down on

Re: show stopper with 3.0 "Eureka!"

2008-09-20 Thread Joe Lewis Wilkins
I tried. The first time going to RunRev.com crashed Leopard. On reboot, I couldn't log in. Too damn many passwords to remember. There's gotta be a better freekin way! Thanks for the suggestion. Maybe next time. Joe Wilkins On Sep 20, 2008, at 9:42 PM, Ken Ray wrote: Joe, if you haven't al

Re: show stopper with 3.0 "Eureka!"

2008-09-20 Thread Ken Ray
> It was simple, but very obscure. Fortunately, I remembered recently > having checked a box for "Brushes" on the General page of the > Standalone Application settings. As soon as I unchecked that and > rebuilt (with 3.0), everything was back and good again. Someone better > check that out quickly

Re: show stopper with 3.0 "Eureka!"

2008-09-20 Thread Joe Lewis Wilkins
It was simple, but very obscure. Fortunately, I remembered recently having checked a box for "Brushes" on the General page of the Standalone Application settings. As soon as I unchecked that and rebuilt (with 3.0), everything was back and good again. Someone better check that out quickly.

Re: show stopper with 3.0

2008-09-20 Thread Joe Lewis Wilkins
NO LUCK! Same results using 2.9. What in the world could have happened? Joe Wilkins On Sep 20, 2008, at 8:52 PM, Joe Lewis Wilkins wrote: Help! Anyone, I've been working all week with 3.0 to finalize an app that I started under 2.8. No problems most of the time. THEN... I created a standa

show stopper with 3.0

2008-09-20 Thread Joe Lewis Wilkins
Help! Anyone, I've been working all week with 3.0 to finalize an app that I started under 2.8. No problems most of the time. THEN... I created a standalone OSX version. First time through it worked fine. Then I started cleaning up a few minor items. Not sure exactly when it happened the f

Re: Text and not text in a string

2008-09-20 Thread Ken Ray
> How do I ask if the string contains "Internet" but not "Work" or "Home"? You could also do: if ("Internet" is in tString) and ("Work" is not in tString) and ("Home" is not in tString) then -- whatever you want to do end if Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTE

Re: Text and not text in a string

2008-09-20 Thread Bill Vlahos
Terry, That did it. Thanks Terry. Bill Vlahos On Sep 20, 2008, at 3:42 PM, Terry Judd wrote: How about... put (myString contains "cat") and not((myString contains "dog") or (myString contains "mouse")) Terry... On 21/9/08 8:35 AM, "Bill Vlahos" <[EMAIL PROTECTED]> wrote: I want to de

Re: OT: Trevor -- any idea how to use this new codec?

2008-09-20 Thread Judy Perry
Thank you so much, again, Trevor! I will follow along tomorrow and let you know! Judy On Sat, Sep 20, 2008 at 7:46 PM, Trevor DeVore <[EMAIL PROTECTED]> wrote: > On Sep 20, 2008, at 9:36 PM, Judy Perry wrote: > >> Thanks, Trevor! >> >> But how to use the codec to *compress* within QT? Is it pos

Re: returning result from a function when the number of items in the result varies

2008-09-20 Thread Richard Gaskin
william humphrey wrote: for some reason in my function if I say return myArray then I get an array with zero lines even when that is not true. If I say return myArray[1] (where 1 is one of the keys which has data in the array) then it does return that correctly but just with that one line of

Re: OT: Trevor -- any idea how to use this new codec?

2008-09-20 Thread Trevor DeVore
On Sep 20, 2008, at 9:36 PM, Judy Perry wrote: Thanks, Trevor! But how to use the codec to *compress* within QT? Is it possible? Is it a standalone kind of thing? Here is a lesson I just made showing the steps I followed to export a movie using QuickTime Pro. Follow along and see if it wo

Re: returning result from a function when the number of items in the result varies

2008-09-20 Thread Stephen Barncard
HEY! that's not fair to the arrays. :) They REALLY are useful and amazing. Honestly, once you have you're aha moment you'll understand it. Your code is working as expected. For now, Just imagine the array to be a package of little ordinary variables that can be easily manipulated. put array

Re: returning result from a function when the number of items in the result varies

2008-09-20 Thread william humphrey
for some reason in my function if I say return myArray then I get an array with zero lines even when that is not true. If I say return myArray[1] (where 1 is one of the keys which has data in the array) then it does return that correctly but just with that one line of course. This is why I ha

Re: Mail merge--again

2008-09-20 Thread J. Landman Gay
James Hurley wrote: This doesn't work: on mouseUp repeat with i = 1 to 5 put cr & cr & cr & " " & i into field 1 print this card from 142, 30 to 681,556 end repeat end mouseUp What I would like to do is print the number i, running from 1 to 5 on the fourth line down on

Mail merge--again

2008-09-20 Thread James Hurley
This doesn't work: on mouseUp repeat with i = 1 to 5 put cr & cr & cr & " " & i into field 1 print this card from 142, 30 to 681,556 end repeat end mouseUp What I would like to do is print the number i, running from 1 to 5 on the fourth line down on the card. (The real

Re: OT: Trevor -- any idea how to use this new codec?

2008-09-20 Thread Judy Perry
Thanks, Trevor! But how to use the codec to *compress* within QT? Is it possible? Is it a standalone kind of thing? Sorry to be dumb -- I really don't understand these sorts of things. Thanks again, Judy On Sat, Sep 20, 2008 at 6:20 PM, Trevor DeVore <[EMAIL PROTECTED]> wrote: > On Sep 20, 2

Re: OT: Trevor -- any idea how to use this new codec?

2008-09-20 Thread Trevor DeVore
On Sep 20, 2008, at 7:52 PM, Judy Perry wrote: http://diracvideo.org/ Looks interesting... I found this QuickTime component (for Mac) on their site: If you install the codec then any application that uses QuickTime for playback should be able

Re: User leaves a Rev standalone, intending to come back

2008-09-20 Thread Joe Lewis Wilkins
Thanks, Sarah! My "senior moment" had both of those "blocked". (smile) Joe Wilkins On Sep 20, 2008, at 6:04 PM, Sarah Reichelt wrote: On Sun, Sep 21, 2008 at 9:23 AM, Joe Lewis Wilkins <[EMAIL PROTECTED]> wrote: Hi Everyone, For the life of me I can't remember what happens when a user dec

Re: User leaves a Rev standalone, intending to come back

2008-09-20 Thread Sarah Reichelt
On Sun, Sep 21, 2008 at 9:23 AM, Joe Lewis Wilkins <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > For the life of me I can't remember what happens when a user decides to go > to another application, or the Internet, leaving his/her Rev standalone > open; when that happens I want to do something; and

Re: returning result from a function when the number of items in the result varies

2008-09-20 Thread william humphrey
Thanks for not only answering but giving me the example. The repeat for each line in the array will work perfectly. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscriptio

Re: returning result from a function when the number of items in the result varies

2008-09-20 Thread Stephen Barncard
You've practically designed it! Arrays are your friend. { below not tested} function yourFunction arrayVar put Timestamp & tab & "FDSFSDF" into myArray[garbage] put "toad" into myArray[green] return myArray end yourFunction put yourFunction() into Array combine array with return and tab put

Re: returning result from a function when the number of items in the result varies

2008-09-20 Thread Mark Smith
William, you've got the idea. Arrays are really useful in these circumstances, and are really worth becoming familiar with. Best, Mark On 21 Sep 2008, at 01:13, william humphrey wrote: I'm having trouble sorting this out. I have a function that searches through lines of tab delimited tex

Re: returning result from a function when the number of items in the result varies

2008-09-20 Thread Joe Lewis Wilkins
William, When I needed to do something like this in HC, I'd build a string consisting of several comma delimited words/values and return that string. Then I'd evaluate the string for what I needed. That should work in Rev as well. It's kind of like using an array, I suppose. (smile) HTH

returning result from a function when the number of items in the result varies

2008-09-20 Thread william humphrey
I'm having trouble sorting this out. I have a function that searches through lines of tab delimited text. The number of lines varies from one to ten. The result from the search is two things. A data element and a pointer that says which kind of data element. Sometimes the result is one data element

User leaves a Rev standalone, intending to come back

2008-09-20 Thread Joe Lewis Wilkins
Hi Everyone, For the life of me I can't remember what happens when a user decides to go to another application, or the Internet, leaving his/her Rev standalone open; when that happens I want to do something; and something else when they return? TIA, Joe Wilkins -- Please avoid sending me

OT: Trevor -- any idea how to use this new codec?

2008-09-20 Thread Judy Perry
>From Slashdot: According to their website, 'Dirac is an advanced royalty-free video compression format designed for a wide range of uses, from delivering low-resolution web content to broadcasting HD and beyond, to near-lossless studio editing.' Now a stable version of the dirac-research codebase

Re: Text and not text in a string

2008-09-20 Thread Terry Judd
How about... put (myString contains "cat") and not((myString contains "dog") or (myString contains "mouse")) Terry... On 21/9/08 8:35 AM, "Bill Vlahos" <[EMAIL PROTECTED]> wrote: > I want to determine if a string contains a word but doesn't contain > two other words. > > For example (in the m

Text and not text in a string

2008-09-20 Thread Bill Vlahos
I want to determine if a string contains a word but doesn't contain two other words. For example (in the message box): put "Internet Work" contains "Work" is true How do I ask if the string contains "Internet" but not "Work" or "Home"? Bill Vlahos _

Re: Problems with the focusedObject

2008-09-20 Thread Eric Chatonet
Bonsoir Graham, As you said in a previous email that 'Ha! The 'cut' command kills the selectedField', I would have thought that the problem was solved by retrieving the selectedField before calling the command. Just tell us if you need something more :-) As for the 'Aude', yes, it's a wonder

Re: Problems with the focusedObject

2008-09-20 Thread Graham Samuel
Bonsoir Eric The TraversalOn of my "Edit" button (the relevant one) is set to false. I found out by experiment that 'the focusedObject' does work as expected if I have create a simple one-card stack with fields on the card and a button on the same card that examines the fields (I mean it h

Re: [OT] Free Images

2008-09-20 Thread Judy Perry
And joining a group is anti-social HOW?? Judy On Sat, Sep 20, 2008 at 12:19 PM, Richmond Mathewson <[EMAIL PROTECTED]> wrote: > Judy Perry wrote: > > "What about using Flickr?" > > Because: > > not a great fan of "social" networking: (more like "anti-social" in my case :) > > I want to see the up

[OT] Free Images

2008-09-20 Thread Richmond Mathewson
Judy Perry wrote: "What about using Flickr?" Because: not a great fan of "social" networking: (more like "anti-social" in my case :) I want to see the uptake on my images. Frankly joining the group does not seem too great a cost for the images. There's more now: http://groups.yahoo.com/group

Re: rev cgi - put url & read from

2008-09-20 Thread Andre Garzia
Ciao Sims, there's no libURL in the CGI engines, did you copied libURL yourself to your CGI? If you didn't then you can't use url calls. The trick is to use a shell() call to the command "curl" that is bundled with almost all linuxes to do the url calls. I've put my little RocketsCURL.Rev library

Re: Editing the Rev Environment

2008-09-20 Thread J. Downs
Much obliged, Eric! :) J. On Sep 20, 2008, at 9:19 AM, Eric Chatonet wrote: Bonjour J. Le 20 sept. 08 à 15:57, J. Downs a écrit : Quick question. How does one edit the stacks that make up the Rev development environment? The best way to access IDE objects is: 1. In Preferences Genera

Re: Editing the Rev Environment

2008-09-20 Thread Eric Chatonet
Bonjour J. Le 20 sept. 08 à 15:57, J. Downs a écrit : Quick question. How does one edit the stacks that make up the Rev development environment? The best way to access IDE objects is: 1. In Preferences General pane check the 'Contextual menus work in Revolution windows' box. 2. Then use

Editing the Rev Environment

2008-09-20 Thread J. Downs
Quick question. How does one edit the stacks that make up the Rev development environment? Thanks, J. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription prefe

Re: rev cgi - put url & read from

2008-09-20 Thread Dave Cragg
On 20 Sep 2008, at 10:43, Jim Sims wrote: I'm now trying to figure out what happened to my nice clean css layout :-) Dang fields are way off to the right almost over to Cloe's desk ;-) If I were a field, i'd head her way too and dang the CSS. :-) Cheers Dave __

Re: rev cgi - put url & read from

2008-09-20 Thread Jim Sims
On Sep 20, 2008, at 11:17 AM, Dave Cragg wrote: I have a rev stack used as cgi and where put url worked on my Leopard webserver it doesn't on jaguarpc. So, I changed to open file - read from - close file. I'm surprised by this. (Not doubting you. :-)) But I've never come across a case of

Re: rev cgi - put url & read from

2008-09-20 Thread Mark Schonewille
Hi Dave, Thanks for interfering. I've read the docs once more and now I see that you're right. The form put URL "file:..." doesn't need libUrl. Sims, this means that the put command might be slightly faster than open/read/close. I don't think it matters much though. I'd worry more about t

Re: GLX2 and Rev 3.0

2008-09-20 Thread Horst
Holá Tiemo, Just to make things clear: I'm working with W2k AND XP! Same reaktion on both systems. Best Regards Horst Tiemo Hollmann TB wrote: > > Hi, I've just installed Rev 3.0 and noticed two things > > > > 1. The reaction time on menu mouseclicks (I reported before) in Rev IDE > 3.0 >

Re: rev cgi - put url & read from

2008-09-20 Thread Dave Cragg
On 20 Sep 2008, at 05:32, Jim Sims wrote: I have a rev stack used as cgi and where put url worked on my Leopard webserver it doesn't on jaguarpc. So, I changed to open file - read from - close file. I'm surprised by this. (Not doubting you. :-)) But I've never come across a case of open-r

Re: rev cgi - put url & read from

2008-09-20 Thread Mark Schonewille
Hi Jim, Usually, I use open/read/close file, because it gives me more control over the size of the chunks to be read. This allows be to create a very smooth user experience. I never checked it, but I presume that libUrl uses the same read/write/ close file commands to deal with local files