From sarahr at genesearch.com.au Tue Jun 1 00:34:10 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 1 Jun 2004 14:34:10 +1000 Subject: question on control aligment by code... In-Reply-To: <429EDD23-B35B-11D8-AAC8-0003936D012E@mac.com> References: <429EDD23-B35B-11D8-AAC8-0003936D012E@mac.com> Message-ID: Hi Andre, I think the alignment code is probably very similar to what you were already considering, but you only need one loop. Try something like this which is a script I used a few days ago to make a group containing 64 fields in an 8 x 8 grid. Each field was 120 wide and 54 high with the top row of fields starting at pixel 44. on mouseUp lock screen start editing grp "DataFields" repeat with x = 1 to 64 put "Slot" & x into tF if there is not a field tF then create fld tF -- set properties of the field if required end if put ((x - 1) div 8) * 120 into tX put (((x - 1) mod 8) * 54) + 44 into tY set the topLeft of fld tF to (tX & comma & tY) end repeat stop editing beep end mouseUp Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ P.S. Thanks for you complimentary email about my revJournal articles. On 1 Jun 2004, at 10:44 am, Andre Garzia wrote: > Hi Folks, > > I want to align buttons by code. I create them in openStack handler > and would like Revolution to spread them accross the card like for > example a grid. Is there a clever way to do it, or should I use old > school method of two loops one setting X axis and the other setting Y > axis? Since we can use the property inspector to align objects, I > assume that there's some clever way to replicate that by code... > > Cheers > andre > -- > Andre Alves Garzia ? 2004 > Soap Dog Studios - BRAZIL > http://studio.soapdog.org > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarahr at genesearch.com.au Tue Jun 1 00:36:52 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 1 Jun 2004 14:36:52 +1000 Subject: How to set modality within IDE In-Reply-To: References: Message-ID: <4DFF78B4-B385-11D8-B801-0003937A97B8@genesearch.com.au> Hi Judy, Check out the "Suspend Development Tools" in the Development menu. It sounds to be exactly what you want, but you may be able to script it yourself to fit in better with your stacks. Cheers, Sarah On 29 May 2004, at 9:01 am, Judy Perry wrote: > Hi, > > After testing out my Rev Tour stack on a bunch of Master's Candidates > in > Reading (well, okay, 5 or 6 of them), it became apparent that they > (and, > presumably, other novice programmers) have problems with modality. > > That is to say, the Rev interface interferes with their ability to > peruse > the stack (for instance: the IDE defaults into edit mode and so I had > to > run around and reset it to browse mode). Sometimes they would > accidentally get themselves back into editing mode and would be > frustrated > that clicking on things didn't do anything (or, at least not what they > expected). > > So, here's my question: Is there a way to turn off the tools palette, > etc. leaving only the menu bar visible via a script, and then turn them > back on via script when it is time for them to "peek under the hood" at > some button script? > > Thanks for all the help! Acknowledgements will be found in my thesis > :-D > > Judy > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From chipp at chipp.com Tue Jun 1 05:01:51 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 01 Jun 2004 04:01:51 -0500 Subject: how to set font of ask/answer dialogues In-Reply-To: <40BB21F2.5080201@hrz.uni-kassel.de> References: <40BB21F2.5080201@hrz.uni-kassel.de> Message-ID: <40BC45FF.1060301@chipp.com> Yep, Good idea. Sounds like something Richard would probably like to tackle ;-) BTW, I'm thinking of having a session with live Instant Messenger questions from the list. Does anyone like this idea? I know Tuviah's a champ at typing fast in IM... Or, is there an even better way to do this? (Camera??) Suggestions? -Chipp Wilhelm Sanke wrote: > Maybe the topic of "sample stacks" could be added to the agenda of the > Monterey and Malta conferences? > > Regards, > > Wilhelm Sanke From dcragg at lacscentre.co.uk Tue Jun 1 05:16:29 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 1 Jun 2004 10:16:29 +0100 Subject: FTP problem to Name Based Virtual Server Web Site In-Reply-To: <409BFE9C-B35F-11D8-B55A-000A959D0AC6@hindu.org> References: <1F2CD15C-B34F-11D8-AAC8-0003936D012E@mac.com> <409BFE9C-B35F-11D8-B55A-000A959D0AC6@hindu.org> Message-ID: At 2:04 pm -1000 31/5/04, Sannyasin Sivakatirswami wrote: >OR > >URL2 >user%40himalayanacademy.com:password at 555.55.55.55//var/www/html > >and they BOTH work in the FTP client... but in Revolution, the first >one(to the symLink) gives a valid log in (showing that it is not a >problem with the @ in the user string) > >257 "/home/himalayan" is current directory. >200 Type set to I. >250 CWD command successful. >227 Entering Passive Mode (555,555,555,555,133,201). >## we are logged in, no path problem, but symlink not followed... > >no listing is returned and the result is empty... > >but the attempt to reach the *actual* directory, directly, as in URL2 above > >results in > >error 550 /home/himalayan//var/www/html: No such file or directory > >but, again, only in Revolution... > One small point. URL2 as written above will be treated as a file and not a directory by libUrl. It needs a final forward slash to be treated as a directory. I'm not sure about double slash conventions. If it works differently in other ftp clients then it's possible they are doing some manipulation to the url. It might be useful if you could post the Interarchy log/transcript so we can see the commands it's sending. Cheers Dave From nnoydb at excite.com Tue Jun 1 08:27:06 2004 From: nnoydb at excite.com (K) Date: Tue, 1 Jun 2004 08:27:06 -0400 (EDT) Subject: Support for APPLE Newton? Message-ID: <20040601122706.6058E299D3@xprdmailfe21.nwk.excite.com> Thanks! Honestly, I would not of bothered if the client had not asked. K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Thu 05/27, Jan Schenkel < janschenkel at yahoo.com > wrote: From: Jan Schenkel [mailto: janschenkel at yahoo.com] To: use-revolution at lists.runrev.com Date: Thu, 27 May 2004 14:11:23 -0700 (PDT) Subject: Re: Support for APPLE Newton? --- K wrote:
>
>
>
> I have been asked by a client if I can build a
> NEWTON compatible version of my Revolution
> applications. Is this possible? Will a appication
> compiled for OS 9 run on a NEWTON?
>
> K
>

Hi Kevin,

The Newton OS was a completely different animal than
MacOS 9 or X ; in fact, it used an ARM processor, and
you had to program it using NewtonScript.
Sorry to disappoint you.

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)




__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From frank at backtalk.com Tue Jun 1 08:57:10 2004 From: frank at backtalk.com (Frank Leahy) Date: Tue, 1 Jun 2004 13:57:10 +0100 Subject: FTP problem to Name Based Virtual Server Web Site In-Reply-To: <20040601122546.B84429300ED@mail.runrev.com> References: <20040601122546.B84429300ED@mail.runrev.com> Message-ID: <31F18801-B3CB-11D8-971E-000A9580FCCE@backtalk.com> On Jun 1, 2004, at 1:25 PM, use-revolution-request at lists.runrev.com wrote: > From: Sannyasin Sivakatirswami > Subject: Re: FTP problem to Name Based Virtual Server Web Site > To: How to use Revolution > Message-ID: <409BFE9C-B35F-11D8-B55A-000A959D0AC6 at hindu.org> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > > 257 "/home/himalayan" is current directory. > 200 Type set to I. > 250 CWD command successful. > 227 Entering Passive Mode (555,555,555,555,133,201). > ## we are logged in, no path problem, but symlink not followed... > > no listing is returned and the result is empty... > > but the attempt to reach the *actual* directory, directly, as in URL2 > above > > results in > > error 550 /home/himalayan//var/www/html: No such file or directory > > but, again, only in Revolution... > I assume you're using "put URL" with an ftp URL? The problem is probably due to Revolution doing an CWD (Change Working Directory) with a full path rather than doing it with a relative path. You'll have to use the low-level ftp routines such as libURLftpCommand(), libUrlFtpUpload(), etc., and write some of your own routines. It's pretty easy -- turn on logging in your ftp client and copy what they do. For example here's the login routine I use: function ConnectToFTPServer put libURLftpCommand("PWD", LFtpServer, LFtpUserName, LFtpUserPassword) into theResult if word 1 of theResult <> "257" then throw theResult else put word 2 of theResult into loginCWD -- Strip quotes in case they're sent by the ftp server. -- Note: doesn't handle possible embedded quotes in the path name (""), but we don't care... replace quote with "" in loginCWD end if return loginCWD end function -- Frank From nnoydb at excite.com Tue Jun 1 10:35:35 2004 From: nnoydb at excite.com (K) Date: Tue, 1 Jun 2004 10:35:35 -0400 (EDT) Subject: SQL UPDATE statements Message-ID: <20040601143535.706F4299C1@xprdmailfe21.nwk.excite.com> According to my understanding of the database API revExecuteSQL is to be used for statements like INSERT and UPDATE. This statements error infromation is returned in "the result". I cannot seem to find a way to get the number of rows modified in a reExecute query that uses UPDATE. Any ideas? Is this simply a oversite? Is there a API I am unaware of? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From nnoydb at excite.com Tue Jun 1 10:41:40 2004 From: nnoydb at excite.com (K) Date: Tue, 1 Jun 2004 10:41:40 -0400 (EDT) Subject: SQL UPDATE statements Message-ID: <20040601144140.11C14299C1@xprdmailfe21.nwk.excite.com> I believe I found my own answer I should probally use revdb_execute instead. K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Tue 06/01, K < nnoydb at excite.com > wrote: From: K [mailto: nnoydb at excite.com] To: use-revolution at runrev.com Date: Tue, 1 Jun 2004 10:35:35 -0400 (EDT) Subject: SQL UPDATE statements


According to my understanding of the database API revExecuteSQL is to be used for statements like INSERT and UPDATE. This statements error infromation is returned in "the result". I cannot seem to find a way to get the number of rows modified in a reExecute query that uses UPDATE. Any ideas? Is this simply a oversite? Is there a API I am unaware of?

K




-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental.
Any resemblance between the above and my own views is non-deterministic.

The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
is left as an exercise for the second god coefficient.
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From nnoydb at excite.com Tue Jun 1 10:53:46 2004 From: nnoydb at excite.com (K) Date: Tue, 1 Jun 2004 10:53:46 -0400 (EDT) Subject: SQL UPDATE statements (confused again) Message-ID: <20040601145346.D5189299D6@xprdmailfe21.nwk.excite.com> Confused again! Okay revdb_execute return the number of rows modified. This would make a 0 (zero) return value a indeterminate state. Since one cannot tell if 0 (zero) rows where modified or if a error occured preventing the statement from executing. How does one tell the difference? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Tue 06/01, K < nnoydb at excite.com > wrote: From: K [mailto: nnoydb at excite.com] To: use-revolution at runrev.com Date: Tue, 1 Jun 2004 10:35:35 -0400 (EDT) Subject: SQL UPDATE statements


According to my understanding of the database API revExecuteSQL is to be used for statements like INSERT and UPDATE. This statements error infromation is returned in "the result". I cannot seem to find a way to get the number of rows modified in a reExecute query that uses UPDATE. Any ideas? Is this simply a oversite? Is there a API I am unaware of?

K




-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental.
Any resemblance between the above and my own views is non-deterministic.

The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
is left as an exercise for the second god coefficient.
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From soapdog at mac.com Tue Jun 1 11:20:44 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 1 Jun 2004 12:20:44 -0300 Subject: OT: good resources, Re: Support for APPLE Newton? In-Reply-To: <20040601122706.6058E299D3@xprdmailfe21.nwk.excite.com> References: <20040601122706.6058E299D3@xprdmailfe21.nwk.excite.com> Message-ID: <400846CE-B3DF-11D8-AAC8-0003936D012E@mac.com> On Jun 1, 2004, at 9:27 AM, K wrote: > > > Thanks! Honestly, I would not of bothered if the client had not > asked. > > K K, programming for the newton is pretty cool and easy. There's a list as marvelous as this one, called newtontalk (http://www.newtontalk.net) it's pretty active and people still programming for this platform. If you like XML and you could make the newt and rev talk Actually I have a magazine devoted to the newton, it's called the green edge magazine (http://www.thegreenedge.net), I am uploading part II of a newtonscript programing tutorial. Cheers Andre PS: my two passions: Revolution and my Message Pad 2000 > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From mwieder at ahsoftware.net Tue Jun 1 12:01:15 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 1 Jun 2004 09:01:15 -0700 Subject: question on control aligment by code... In-Reply-To: References: <429EDD23-B35B-11D8-AAC8-0003936D012E@mac.com> Message-ID: <1543120867.20040601090115@ahsoftware.net> Andre, Sarah- Here's what I use more generically. This creates a square grid and populates it with new buttons. The variable dataTables contains a list of the new buttons to place on the grid: on mouseUp -- 100 pixel margins constant kTheMargin=100 put the number of lines of dataTables into total put trunc(sqrt(total)) into hSize put trunc(hSize + (total - hSize^2) mod 1) into vSize put (the width of theTargetCard) - kTheMargin into theWidth put (the height of theTargetCard) - kTheMargin into theHeight put trunc(theWidth/hSize) into horizSpacing put trunc(theHeight/vSize) into vertSpacing repeat with y=0 to vSize-1 repeat with x=0 to hSize-1 create button put it into newButton set the layer of newButton to bottom set the loc of newButton to \ kTheMargin + (x * horizSpacing), \ kTheMargin + (y * vertSpacing) -- button formatting (optional stuff) set the name of newButton to line (x + (y * hSize))+1 of dataTables set the textFont of newButton to "Arial" set the textSize of newButton to 12 set the textStyle of newButton to "bold" set the backgroundColor of newButton to "white" -- for variable size buttons set the width of newButton to the effective formattedWidth of newButton end repeat end repeat end mouseUp -- -Mark Wieder mwieder at ahsoftware.net From jimc at ace-pb.com Tue Jun 1 12:37:09 2004 From: jimc at ace-pb.com (Jim) Date: Tue, 1 Jun 2004 11:37:09 -0500 Subject: FTP problem to Name Based Virtual Server Web Site In-Reply-To: <409BFE9C-B35F-11D8-B55A-000A959D0AC6@hindu.org> References: <1F2CD15C-B34F-11D8-AAC8-0003936D012E@mac.com> <409BFE9C-B35F-11D8-B55A-000A959D0AC6@hindu.org> Message-ID: On May 31, 2004, at 7:04 PM, Sannyasin Sivakatirswami wrote: > error 550 /home/himalayan//var/www/html: No such file or directory > Perhaps the double slash (... himalayan//var...) has something to do with it? Jim. From jperryl at ecs.fullerton.edu Tue Jun 1 13:27:46 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 1 Jun 2004 10:27:46 -0700 (PDT) Subject: How to set modality within IDE In-Reply-To: <4DFF78B4-B385-11D8-B801-0003937A97B8@genesearch.com.au> Message-ID: Hi Sarah, I suppose I could do a doMenu "Suspend Development Tools", but then how would I get them back? (since there's no longer a menu for doing so)? Thanks for the help! Judy On Tue, 1 Jun 2004, Sarah Reichelt wrote: > Hi Judy, > > Check out the "Suspend Development Tools" in the Development menu. It > sounds to be exactly what you want, but you may be able to script it > yourself to fit in better with your stacks. > > Cheers, > Sarah > > On 29 May 2004, at 9:01 am, Judy Perry wrote: > > > Hi, > > > > After testing out my Rev Tour stack on a bunch of Master's Candidates > > in > > Reading (well, okay, 5 or 6 of them), it became apparent that they > > (and, > > presumably, other novice programmers) have problems with modality. > > > > That is to say, the Rev interface interferes with their ability to > > peruse > > the stack (for instance: the IDE defaults into edit mode and so I had > > to > > run around and reset it to browse mode). Sometimes they would > > accidentally get themselves back into editing mode and would be > > frustrated > > that clicking on things didn't do anything (or, at least not what they > > expected). > > > > So, here's my question: Is there a way to turn off the tools palette, > > etc. leaving only the menu bar visible via a script, and then turn them > > back on via script when it is time for them to "peek under the hood" at > > some button script? > > > > Thanks for all the help! Acknowledgements will be found in my thesis > > :-D > > > > Judy > > > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From webmaster at dreamscapesoftware.com Tue Jun 1 14:57:12 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 1 Jun 2004 20:57:12 +0200 Subject: how to set font of ask/answer dialogues References: <40BB21F2.5080201@hrz.uni-kassel.de> <40BC45FF.1060301@chipp.com> Message-ID: <001701c4480a$4540e450$2a91d80a@WorkPC> > BTW, I'm thinking of having a session with live Instant Messenger > questions from the list. Does anyone like this idea? I know Tuviah's a > champ at typing fast in IM... Or, is there an even better way to do > this? (Camera??) Suggestions? > > -Chipp Would this be an IM FAQ of sorts? I do have to say though. A message board for RunRev would be much better than this list. You can have the FAQ, the ability to search old messages and notifications when messages are posted. So you still get the benifit of a message board with the benifit of a ListServ. I've been wanting this for a long time, as I have a slow connection and I find it annoying when I have to wait for 15-50 messages from the RunRev ListServ to download. I'd rather just go to a website. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From dsc at swcp.com Tue Jun 1 16:55:57 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 1 Jun 2004 14:55:57 -0600 Subject: Brought to you by the letter "P" In-Reply-To: <11826298875.20040531163740@ahsoftware.net> Message-ID: <145BBAA0-B40E-11D8-9F70-000A9567A3E6@swcp.com> On Monday, May 31, 2004, at 05:37 PM, Mark Wieder wrote: > I think what's happening is that the OS is eating the -p switch if > it's packaged inside a .bat file, but passing it through if I type it > by hand. Very weird. Anyone have a clue about this mystery? Am I just > being dense today? I can only guess. You might gain info in trying "-p" and /p and in quoting all args. Could you have set up an interesting program to run .bat files? Or in some other way might the program not be the same as that at the command prompt? Since you are using -p and not /p, might you have inserted a command-line interpreter the emulates another OS? Revolution does not get the command line args correctly in Windows. If you don't use double quote marks or \" and so on, you can find them all in the first arg. If you are looking at $1, you might also want to look at $2 and see if it shows up there in batch files. Just wild, guesses, Mark. Dar Scott From dsc at swcp.com Tue Jun 1 17:09:02 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 1 Jun 2004 15:09:02 -0600 Subject: Serial Modem data break problems In-Reply-To: <03ec01c444ba$92450860$6500a8c0@CopelandIII> Message-ID: On Friday, May 28, 2004, at 07:49 AM, Scott Copeland wrote: > Look for "ABCD...." -> works > Send BREAK > <1 second delay>"+++"<1 second delay> -> doesn't work The escape sequence might have a problem if "ABCD...." is very long. That is, there would be no guard time before the "+++" if the message is long. To avoid that, add the transmit time of "ABCD..." to the first guard time. For example, suppose you are testing at 300 bps. That would be 30 characters per second. If "ABCD..." was over 30 characters long, then you would have no prolog guard time for the escape sequence. Just a though... Dar Scott From mpetrides at earthlink.net Tue Jun 1 17:10:23 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Tue, 1 Jun 2004 17:10:23 -0400 Subject: Flash cards for Japanese In-Reply-To: References: Message-ID: <18F3C6E0-B410-11D8-AD68-000A959D005E@earthlink.net> I haven't done a flash card stack in Rev, but I have done a couple in SuperCard. Unfortunately, I don't have these readily acessible at the moment. However, if my recollection is correct, all I did was create a button with a script that went to a random card, using the random function. You can have the answer in a hidden field on the same card as the question and include a button to display the answer by making the invisible field visible or you can simply have separate answer cards. If you do the latter, then all you need to do is put all the answer cards at the end of your stack and restrict the random number generator to numbers below the number of the first answer card. I think the following should work, assuming all answer cards are numbered 101 or higher: On mouseUp put random (100) into whereToGo go to cd whereToGo End mouseUp Hope this helps. Marian On May 31, 2004, at 7:04 PM, Jack Burston wrote: > Dear Revolutionaries, > > I'm new to Revolution and to this list. I've been asked by a > colleague in > Japanese to construct a flash card program for her. Before > reinventing the > wheel I thought I would check to see if anyone has already done this. > If > so, I would very much appreciate it if you could send me a copy of your > stack. With thanks in advance for whatever assistance you may be able > to > provide. Jack > > -- > Jack Burston, Ph.D. > Director > Foreign Language Technology Center > College of Liberal Arts > Rochester Institute of Technology > Rochester, NY 14623-5604 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From RGould8 at aol.com Wed Jun 2 00:47:37 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed, 2 Jun 2004 00:47:37 EDT Subject: Applescript compiler error Message-ID: <1ed.221c23e3.2deeb5e9@aol.com> I'm having some strange Applescript issues with Revolution, and I need some help figuring out why it's behaving this way. I have the below script in a text field in Revolution. It's whole purpose is to add a new email account to AppleMail. I originally had an Applescript from script-editor and I pasted it into a text field in Revolution and ran it. Revolution complained that Applescript was giving a "compiler error". I thought perhaps hidden characters were getting inserted somehow and messing up the Applescript compiler, so I wrote the below code to piece it together by hand, and I still get a compiler error. Can anyone tell me what's wrong with the below script? If you take the output and paste it into Script Editor, it'll work just fine. There's just something about running it in Revolution that Applescript doesn't like. on addemailaccount put "set theUsername to " & quote & "username" & quote & return into scripttorun put "set thePassword to " & quote & "password" & quote & return after scripttorun put "set theFullName to " & quote & "full name" & quote & return after scripttorun put "set theEmailaddresses to " & quote & "email address" & quote & return after scripttorun put "set theServerName to " & quote & "outgoing.myisp.net" & quote & return after scripttorun put "set theAccountName to " & quote & "myisp Account" & quote & return after scripttorun put "set theHostname to " & quote & "incoming.myisp.net" & quote & return after scripttorun put "set theSMTPLogin to theUsername" & return after scripttorun put "set theSMTPPassword to thePassword" & return after scripttorun put "tell application " & quote & "Mail" & quote & return after scripttorun put "try" & return after scripttorun put "set theNewAccount to make new pop account with properties {name:theAccountName, user name:theUsername, server name:theHostname, password:thePassword, full name:theFullName, email addresses:{theEmailAddresses}}" & return after scripttorun put "on error" & return after scripttorun put "return " & quote & "Account already in AppleMail." & return after scripttorun put "end try" & return after scripttorun put "end tell" & return after scriptorun answer "" & scripttorun do scripttorun as AppleScript put "result of Applescript mailcreation: " & the result end addemailaccount From sarahr at genesearch.com.au Wed Jun 2 01:08:43 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 2 Jun 2004 15:08:43 +1000 Subject: How to set modality within IDE In-Reply-To: References: Message-ID: > Hi Sarah, > > I suppose I could do a doMenu "Suspend Development Tools", but then how > would I get them back? (since there's no longer a menu for doing so)? > To do the suspend, use this: send "menuPick " & quote & "Suspend Development Tools" \ & quote to btn "Development" of stack "revMenuBar" and the restore: send mouseUp to btn "Restore Revolution UI" of stack "revRestore" Note that the restore operation automatically chooses the pointer tool, so if you don;t want your students plunged straight into editing, add a line that sets it back to browse after restoring. Cheers, Sarah From sarahr at genesearch.com.au Wed Jun 2 01:12:43 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 2 Jun 2004 15:12:43 +1000 Subject: SQL UPDATE statements (confused again) In-Reply-To: <20040601145346.D5189299D6@xprdmailfe21.nwk.excite.com> References: <20040601145346.D5189299D6@xprdmailfe21.nwk.excite.com> Message-ID: <7A819196-B453-11D8-AC3F-0003937A97B8@genesearch.com.au> On 2 Jun 2004, at 12:55 am, K wrote: > Confused again! Okay revdb_execute return the number of rows > modified. This would make a 0 (zero) return value a indeterminate > state. Since one cannot tell if 0 (zero) rows where modified or if a > error occured preventing the statement from executing. How does one > tell the difference? > I can't test this at the moment, but are you sure an error returns zero? I had thought that if the result was a number, the command had executed correctly and the result was the number of rows modified. If there is an error the result will be more than just a single number. I may be wrong, but it is an idea for you to check out. Cheers, Sarah From sarahr at genesearch.com.au Wed Jun 2 01:31:46 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 2 Jun 2004 15:31:46 +1000 Subject: Applescript compiler error In-Reply-To: <1ed.221c23e3.2deeb5e9@aol.com> References: <1ed.221c23e3.2deeb5e9@aol.com> Message-ID: <237AA4C8-B456-11D8-AC3F-0003937A97B8@genesearch.com.au> It seemed to me that if the original script ran OK in the Script Editor, it must be something to do with how the scripttorun variable was assembled. I found two errors which were causing the problem and when fixed, the script ran perfectly for me. > put "return " & quote & "Account already in AppleMail." & return > after > scripttorun > put "end try" & return after scripttorun > put "end tell" & return after scriptorun Ignoring the line wraps, there needs to be another quote in the first line above: put "return " & quote & "Account already in AppleMail." & quote & return after scripttorun The last line in the segment I quoted above, the variable name is missing a "t", so the AppleScript never gets the "end tell" it needs. Cheers, Sarah On 2 Jun 2004, at 2:48 pm, RGould8 at aol.com wrote: > I'm having some strange Applescript issues with Revolution, and I need > some > help figuring out why it's behaving this way. I have the below > script in a > text field in Revolution. It's whole purpose is to add a new email > account to > AppleMail. I originally had an Applescript from script-editor and I > pasted > it into a text field in Revolution and ran it. Revolution complained > that > Applescript was giving a "compiler error". I thought perhaps hidden > characters > were getting inserted somehow and messing up the Applescript compiler, > so I > wrote the below code to piece it together by hand, and I still get a > compiler > error. Can anyone tell me what's wrong with the below script? If > you take > the output and paste it into Script Editor, it'll work just fine. > There's just > something about running it in Revolution that Applescript doesn't like. snip From tuviah at runrev.com Wed Jun 2 03:05:14 2004 From: tuviah at runrev.com (tuviah snyder) Date: Wed, 2 Jun 2004 03:05:14 -0400 Subject: curious behavior... References: <40B72E63.1070600@chipp.com> Message-ID: <019601c4486f$f4402230$1600a8c0@USER> NumberFormat is a local property, not global, like the itemdelimiter. The do command has it's own context. Tuviah ----- Original Message ----- From: "Chipp Walters" To: "Use-Revolution" ; "tuviah snyder" Sent: Friday, May 28, 2004 8:19 AM Subject: curious behavior... > I'm trying to programatically set the numberFormat property. > > on mouseUp > repeat 4 times > put "#" after t > end repeat > put "set the numberFormat to " "e& t "e into tDo > do tDo > put 5+1 > end mouseUp > > puts just "6" in the msg > > now if I try: > > on mouseUp > set the numberFormat to "####" > put 5+1 > end mouseUp > > It puts the expected "0006" > > Any ideas why?? > From david at opn-technologies.com Wed Jun 2 04:11:39 2004 From: david at opn-technologies.com (David Bovill) Date: Wed, 02 Jun 2004 09:11:39 +0100 Subject: Urls and ports: how to use a non-standard ftp port? In-Reply-To: <99085092-A779-11D8-91E5-000A95909E26@designeq.com> References: <20040515160005.3F21C930145@mail.runrev.com> <6F13089C-A69D-11D8-B905-000A95F0C744@leo.nmc.edu> <99085092-A779-11D8-91E5-000A95909E26@designeq.com> Message-ID: <40BD8BBB.4020908@opn-technologies.com> Whats the syntax to ftp to a non-standard port? Say it's something like: put someBinData into "ftp://usrName:pssWord at www.opn-technologies.com/sites/tools/test.rev" But I want it on a port other than 21? Can anyone help? From xbury.cs at clearstream.com Wed Jun 2 04:39:57 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 2 Jun 2004 10:39:57 +0200 Subject: Urls and ports: how to use a non-standard ftp port? Message-ID: Hi David, Try this put someBinData into "ftp://usrName:pssWord at www.opn-technologies.com:80/sites/tools/test.rev" You usually append a semicolon ":" and the port number after the IP or URL. Not tested on RR... cheers Xavier On 02.06.2004 10:11:39 use-revolution-bounces wrote: >Whats the syntax to ftp to a non-standard port? Say it's something like: > >put someBinData into >"ftp://usrName:pssWord at www.opn-technologies.com/sites/tools/test.rev" > >But I want it on a port other than 21? > >Can anyone help? >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From gwp at accommodata.com Wed Jun 2 09:39:07 2004 From: gwp at accommodata.com (Gregg) Date: Wed, 02 Jun 2004 09:39:07 -0400 Subject: Quicktime matrix access in player References: <20040601160025.D76C09300FE@mail.runrev.com> Message-ID: <40BDD86E.61D2B3A8@accommodata.com> I need to show Quicktime movies flipped (mirrored). Does RunRev allow access to the "matrix" property of a Quicktime movie in a player object? (In HC the Quicktime Tools allowed access to the matrix property which provides for scaling, rotation, and flipping.) From lists at mangomultimedia.com Wed Jun 2 10:39:25 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 2 Jun 2004 08:39:25 -0600 Subject: Quicktime matrix access in player In-Reply-To: <40BDD86E.61D2B3A8@accommodata.com> References: <20040601160025.D76C09300FE@mail.runrev.com> <40BDD86E.61D2B3A8@accommodata.com> Message-ID: On Jun 2, 2004, at 7:39 AM, Gregg wrote: > > I need to show Quicktime movies flipped (mirrored). > > Does RunRev allow access to the "matrix" property > of a Quicktime movie in a player object? > > (In HC the Quicktime Tools allowed access to the > matrix property which provides for scaling, rotation, > and flipping.) Revolution does not give you access to the matrix property of a movie or track. If you don't have too many movies to deal with you could mirror them using QuickTime Player Pro. In case you haven't done this before here is how you would go about it. 1) Open the movie properties window 2) Select your video track from the menu on the left 3) Select "Size" from the menu on the right 4) Use the buttons along the bottom of the panel to mirror or rotate. If you have to show the movie both normally and mirrored then just save the mirrored version while allowing dependencies. This will save a small reference movie which points to your original movie but plays it back using mirroring. If this isn't a practical solution then an addition could be made to the Enhanced QuickTime external available at my website - . There seems to be quite a bit of matrix manipulation calls in the QT API. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jperryl at ecs.fullerton.edu Wed Jun 2 11:52:19 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 2 Jun 2004 08:52:19 -0700 (PDT) Subject: How to set modality within IDE In-Reply-To: Message-ID: Thank you so much, Sarah! Judy On Wed, 2 Jun 2004, Sarah Reichelt wrote: > To do the suspend, use this: > send "menuPick " & quote & "Suspend Development Tools" \ > & quote to btn "Development" of stack "revMenuBar" > > and the restore: > send mouseUp to btn "Restore Revolution UI" of stack "revRestore" > > Note that the restore operation automatically chooses the pointer tool, > so if you don;t want your students plunged straight into editing, add a > line that sets it back to browse after restoring. From mwieder at ahsoftware.net Wed Jun 2 13:20:25 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 2 Jun 2004 10:20:25 -0700 Subject: Brought to you by the letter "P" In-Reply-To: <145BBAA0-B40E-11D8-9F70-000A9567A3E6@swcp.com> References: <145BBAA0-B40E-11D8-9F70-000A9567A3E6@swcp.com> Message-ID: <1226043389.20040602102025@ahsoftware.net> Dar- Thanks, Dar. Those are all good guesses, but running through all those tests was part of why it took me a couple of hours before I finally posted to the list. I wrote a simple test program in C that displayed the command line arguments and that worked out fine. It's definitely a runrev standalone thing. I bugzillaed it as an oddity for now and I'm quite content to let someone on the runrev team puzzle over it. -- -Mark Wieder mwieder at ahsoftware.net From webmaster at dreamscapesoftware.com Wed Jun 2 14:25:46 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Wed, 2 Jun 2004 20:25:46 +0200 Subject: paste command Message-ID: <002b01c448cf$091f1a80$8fd5d80a@WorkPC> If an image is in the clipboard, no image is selected, and I give the command "paste"...a new image/graphic is created. The only problem is that no command is sent (as far as I can see). Any ideas on how I can tell what ID the new image/graphic is? Also, how can I make it so the image boundries fit the actuall image in the clipboard? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From klaus at major-k.de Wed Jun 2 14:52:29 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 2 Jun 2004 20:52:29 +0200 Subject: paste command In-Reply-To: <002b01c448cf$091f1a80$8fd5d80a@WorkPC> References: <002b01c448cf$091f1a80$8fd5d80a@WorkPC> Message-ID: Hi Derek, > If an image is in the clipboard, no image is selected, and I give the > command "paste"...a new image/graphic is created. The only problem is > that > no command is sent (as far as I can see). Yeah, no "newimage" messages or something is sent :-( AND, big fun and big surprise, this even works fine in the scripteditor/messages box etc... Cool ;-) > Any ideas on how I can tell what ID the new image/graphic is? ... paste put the id of the last image into my_new_img_id ... will do... > Also, how can I make it so the image boundries fit the actuall image > in the > clipboard? Good question, answers anyone? The new image is ALWAYS as big (width/height, even "the formattedwidth" etc...) as the current card I think this is a bug... > Derek Bump > Dreamscape Software Regards Klaus Major klaus at major-k.de http://www.major-k.de From revdan at danshafer.com Wed Jun 2 15:06:24 2004 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 2 Jun 2004 12:06:24 -0700 Subject: Revolution Masters Summit, Monterey, July 2004 In-Reply-To: <40BB830A.9090900@fourthworld.com> References: <20040531171955.E954F93005C@mail.runrev.com> <40BB830A.9090900@fourthworld.com> Message-ID: Just a quick update. We have only five slots still available for the Revolution Masters Summit next month in Monterey. Details at: http://www.altuit.com/webs/demo/RevolutionMastersSummit/default.htm Move quickly! We absolutely have to limit to 25 attendees so if you're late, it won't matter how much you beg and plead or how much bribery you offer (well, bribery might work....). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of "Revolution: Software at the Speed of Thought" http://www.revolutionpros.com for more info Available at Runtime Revolution Store (http://www.runrev.com/RevPress) From webmaster at dreamscapesoftware.com Wed Jun 2 16:24:41 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Wed, 2 Jun 2004 22:24:41 +0200 Subject: paste command References: <002b01c448cf$091f1a80$8fd5d80a@WorkPC> Message-ID: <000f01c448df$a5a3d160$9ed0d80a@WorkPC> Can the "imageData" of an image in the Clipboard be retrieved? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com ----- Original Message ----- From: "Klaus Major" To: "How to use Revolution" Sent: Wednesday, June 02, 2004 20:52 Subject: Re: paste command > Hi Derek, > > > If an image is in the clipboard, no image is selected, and I give the > > command "paste"...a new image/graphic is created. The only problem is > > that > > no command is sent (as far as I can see). > > Yeah, no "newimage" messages or something is sent :-( > > AND, big fun and big surprise, this even works fine in the > scripteditor/messages box etc... > Cool ;-) > > > Any ideas on how I can tell what ID the new image/graphic is? > > ... > paste > put the id of the last image into my_new_img_id > ... > > will do... > > > Also, how can I make it so the image boundries fit the actuall image > > in the > > clipboard? > > Good question, answers anyone? > > The new image is ALWAYS as big (width/height, even "the formattedwidth" > etc...) as the current card > > I think this is a bug... > > > Derek Bump > > Dreamscape Software > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From paul.springer at sensis.com Wed Jun 2 16:26:47 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Wed, 2 Jun 2004 16:26:47 -0400 Subject: html Message-ID: You may notice that I have asked about this topic before. Sorry to be dense but I am still struggling; I think I am missing something fundamental in my understanding of the htmlText property. What I want to be able to do is something like this (to get a dialog box with bold text in it (or some other appropriate formatting)): answer "This is the answer!" This displays the answer dialog unformatted, with the tags. I tried using a field: set the htmlText of fld "theFld" to "This is the answer!" answer the htmlText of fld "theFld" This displays the formatted text in the field, but not the dialog box, the dialog box gets the literal tags.. I tried: set the htmlText of fld "theFld" to "This is the answer!" answer fld "theFld" This gives some other undesirable result that I have now forgotten. The documentation gives my hope when is says the following (under the description for Answer): Comments: The prompt can be either formatted text (in the htmlText property's format) or plain text. If the prompt contains

or a start/end tag pair, the answer command assumes the text is in the same format as the htmlText property. Otherwise, the answer command assumes the text is plain text. I just seem to be missing something essential; in the context of this comment the words about "the htmlText property" are ambiguous. The "htmlText property" of what? The answer dialog? How do I set that? If anyone can follow what I am trying to ask, and knows what key concept I am missing, please let me know. Thanks. -Paul From yvescoppe at skynet.be Wed Jun 2 16:39:36 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 2 Jun 2004 22:39:36 +0200 Subject: html In-Reply-To: References: Message-ID: Hi Paul, Here is a sample of complex answer with variables put "a html capacity" into myvar put "in Revolution" into tPrompt put "There is " into tAnswer put ""&myVar&"" after tAnswer put ""&tPrompt&"" after tAnswer replace "'" with quote in tAnswer put "210005" into gRevAppIcon answer tAnswer with "NO" or "YES" as sheet hope this helps. Le 02-juin-04, ? 22:26, Springer, Paul a ?crit : > You may notice that I have asked about this topic before. Sorry to be > dense > but I am still struggling; I think I am missing something fundamental > in my > understanding of the htmlText property. > > > > What I want to be able to do is something like this (to get a dialog > box > with bold text in it (or some other appropriate formatting)): > > > > answer "This is the answer!" > > > > This displays the answer dialog unformatted, with the tags. > > > > > > > > I tried using a field: > > > > set the htmlText of fld "theFld" to "This is the answer!" > > answer the htmlText of fld "theFld" > > > > This displays the formatted text in the field, but not the dialog box, > the > dialog box gets the literal tags.. > > > > > > I tried: > > set the htmlText of fld "theFld" to "This is the answer!" > > answer fld "theFld" > > > > This gives some other undesirable result that I have now forgotten. > > > > > > > > The documentation gives my hope when is says the following (under the > description for Answer): > > Comments: > > The prompt can be either formatted text (in the htmlText property's > format) > or plain text. If the prompt contains

or a start/end tag pair, the > answer command assumes the text is in the same format as the htmlText > property. Otherwise, the answer command assumes the text is plain text. > > > > I just seem to be missing something essential; in the context of this > comment the words about "the htmlText property" are ambiguous. The > "htmlText > property" of what? The answer dialog? How do I set that? > > > > If anyone can follow what I am trying to ask, and knows what key > concept I > am missing, please let me know. Thanks. > > > > -Paul > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Greetings. Yves COPPE yvescoppe at skynet.be From gizmotron at earthlink.net Wed Jun 2 16:41:23 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 2 Jun 2004 13:41:23 -0700 Subject: html In-Reply-To: Message-ID: <36224BE0-B4D5-11D8-8718-000A95859272@earthlink.net> On Wednesday, June 2, 2004, at 01:26 PM, Springer, Paul wrote: > [snip]What I want to be able to do is something like this (to get a > dialog box > with bold text in it (or some other appropriate formatting)): > > answer "This is the answer!" > > This displays the answer dialog unformatted, with the tags. > [snip] > The documentation gives my hope when is says the following (under the > description for Answer): > > Comments: > > The prompt can be either formatted text (in the htmlText property's > format) > or plain text. If the prompt contains

or a start/end tag pair, the > answer command assumes the text is in the same format as the htmlText > property. Otherwise, the answer command assumes the text is plain text. > -Paul this works fine for me from the message window on a MacX: answer "

This is the answer!

" & return & "

This is the answer!

" or : answer "

This is the answer!

" \ & return & "

This is the answer!

" Mark From b.xavier at internet.lu Wed Jun 2 16:57:09 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 2 Jun 2004 22:57:09 +0200 Subject: Call for testers... In-Reply-To: Message-ID: My new plug in is near or ready... I need a couple courageous testers for some Rev[warp]IDE technology... Those interested are welcome to reply... First 3 serious inquiries will be granted ;) cheers Xavier From engleerica at yahoo.com Wed Jun 2 17:59:11 2004 From: engleerica at yahoo.com (Eric Engle) Date: Wed, 2 Jun 2004 14:59:11 -0700 (PDT) Subject: shareware locking a standalone? In-Reply-To: <20040602160018.07FA59300A9@mail.runrev.com> Message-ID: <20040602215911.620.qmail@web60510.mail.yahoo.com> Hi, I've not actually made a stack "shareware locked" i.e. password protected. Are there any stacks out there that do this? I am sure I could write one myself... that would probably be fairly easily broken... but I thought it prudent to ask first. __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From tzvi at realtorsgroup.us Wed Jun 2 18:12:07 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Wed, 2 Jun 2004 18:12:07 -0400 Subject: Call for testers... In-Reply-To: Message-ID: A plug in for what features ? On Wednesday, June 2, 2004, at 04:57 PM, MisterX wrote: > My new plug in is near or ready... > > I need a couple courageous testers for some Rev[warp]IDE technology... > > Those interested are welcome to reply... > > First 3 serious inquiries will be granted ;) > > cheers > Xavier > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From briany at qldlearning.com Wed Jun 2 18:52:30 2004 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 2 Jun 2004 18:52:30 -0400 Subject: html In-Reply-To: Message-ID: <86DDE6F7-B4E7-11D8-89F4-000393AA08D2@qldlearning.com> > If the prompt contains

or a start/end tag pair, the > answer command assumes the text is in the same format as the htmlText > property. Otherwise, the answer command assumes the text is plain text.


I think this is the part that you missed, albeit maybe a bit obscure: 
you _must_ enclose your text in "

" and "

" in order for it to be interpreted as html. So you're doing everything right in the first place, you just need to enclose your message in those tags. Try: answer "

This is the answer!

"
HTH, Brian From bvlahos at mac.com Thu Jun 3 00:44:05 2004 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 2 Jun 2004 21:44:05 -0700 Subject: Text case changing Message-ID: Revolution has the toUpper and toLower command which will convert an entire string. Is there something similar for capitalizing just the first letter as a built in function? I've come up with something that works but seems kind of hokey. Does anyone have a more elegant solution for this? Just to make life a little more complicated, there are some names like O'Malley or MacKeif or McBeth where it isn't just the first character. My application does not have to deal with these situations but a general solution would. Bill Vlahos From themacguy at macosx.com Thu Jun 3 00:51:36 2004 From: themacguy at macosx.com (Barry Levine) Date: Wed, 2 Jun 2004 22:51:36 -0600 Subject: Disappearing text in field and menubar Message-ID: I've developed an OSX solution that uses a number of cards with a field on each of those cards containing one line of text. I've spec'd Arial 24 point; some of the words have a textStyle of "link". When the user mouses over these words, I have a script (named "handleTheMouseMove") in the stack that highlights the linked word(s). No problems on OSX. Here's the problem: When I move the stack over to my PC running W2K, the text within the field appears very tiny, all "scrunched" together, and with a baseline so far "north" in the field that you might see about 5% of the words' bottoms. The "handleTheMouseMove" script doesn't function. I can change the size, style, and font of the text using the object inspector but nothing restores the text to the proper size; in fact, it seems to be totally corrupted because selecting -any- size fails to make the text appear. If I create a new stack and paste the "problem" field into that stack, the problem persists. If I create a new field in the "problem" stack, the new field does -not- exhibit the problem. If I attempt to change the properties of that "problem" field long enough, it crashes Rev. Additionally, the menubar's text, though spec'd at Arial 12, isn't visible. The menubar is "there" if you click in the appropriate location but you don't see any text. The width of the menus are -way- wider than the few words I've used (which you'll see if you edit the menu's script). This is not a new problem. This same stack exhibited the same problems (which I bugzilla'd) last year. Unfortunately, I could not get enough information back to the Rev folks so that they could test this themselves. I had to cut-&-paste the scripts into a new stack that I compiled for Windows only. If I developed the Mac stack in 1.1.1 (I think), the problem did not carry over into Windows if I moved the stack over and finalized development there. I should also note that compiling in OSX on v2.2 for Windows produced the same problems in the distribution (but no problem in OSX). I have the stack and a folder of jpegs, etc. that amount to 1.6MB zipped. If there's anyone with a PC who could see what it looks like on his/her PC and report back to me (maybe with some ideas/suggestions?), please drop me an eMail offline and I'll send you the archive. Thanks very much, Barry From xbury.cs at clearstream.com Thu Jun 3 06:04:59 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 3 Jun 2004 12:04:59 +0200 Subject: Call for testers... Message-ID: It allows you to switch to different RevProperty palette views with just one click instead of a long drag in the properties menu! Needless to say, this will save you hours and hours and kilometers of mouse interaction with the menu in the revPropertyPalette (I was so annoyed with it...) AND best for last - you can save the settings you make for one object and to copy them to another object with just one menu pick! If you're a power user, this is a must! Also provides one-click buttons to access stack, group and card properties! Which reminds me I forgot to put in a edit script button (but Im waiting to port my script editor to RR first to make it truely a NO2 equipped plugin! ;) (NO2 is that thing you see in fast and furious that boost power X4 in one click!) It's auto installable (no messy/buggy plugin manager required ;) Is a 15 Euro shareware fee too much you think? interested? Xavier tzvi Sent by: use-revolution-bounces at lists.runrev.com 03.06.2004 00:12 Please respond to How to use Revolution To: x at monsieurx.com, How to use Revolution cc: Subject: Re: Call for testers... . A plug in for what features ? On Wednesday, June 2, 2004, at 04:57 PM, MisterX wrote: > My new plug in is near or ready... > > I need a couple courageous testers for some Rev[warp]IDE technology... > > Those interested are welcome to reply... > > First 3 serious inquiries will be granted ;) > > cheers > Xavier > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From paul.springer at sensis.com Thu Jun 3 08:24:54 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Thu, 3 Jun 2004 08:24:54 -0400 Subject: html Message-ID: Thanks to all who answered; I can now get the results I was looking for. As Brian pointed out, the key was a) use the

tag b) don't try to use the htmlText property in this case. -Paul -----Original Message----- From: Brian Yennie [mailto:briany at qldlearning.com] Sent: Wednesday, June 02, 2004 6:53 PM To: How to use Revolution Subject: Re: html > If the prompt contains

or a start/end tag pair, the > answer command assumes the text is in the same format as the htmlText > property. Otherwise, the answer command assumes the text is plain text.


I think this is the part that you missed, albeit maybe a bit obscure: 
you _must_ enclose your text in "

" and "

" in order for it to be interpreted as html. So you're doing everything right in the first place, you just need to enclose your message in those tags. Try: answer "

This is the answer!

"
HTH, Brian _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From ivan_wongwh at yahoo.com.sg Thu Jun 3 09:52:51 2004 From: ivan_wongwh at yahoo.com.sg (=?iso-8859-1?q?Ivan=20Wong?=) Date: Thu, 3 Jun 2004 21:52:51 +0800 (CST) Subject: Answer File for Multiple Files Message-ID: <20040603135251.91587.qmail@web51808.mail.yahoo.com> Hello all, Does anyone know a way to construct an "Answer File" dialog that returns 1 to many files? thanks in advance, Ivan Wong Yahoo! Messenger - Log on with your mobile phone! From janschenkel at yahoo.com Thu Jun 3 10:02:53 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 3 Jun 2004 07:02:53 -0700 (PDT) Subject: Answer File for Multiple Files In-Reply-To: <20040603135251.91587.qmail@web51808.mail.yahoo.com> Message-ID: <20040603140253.79008.qmail@web60502.mail.yahoo.com> --- Ivan Wong wrote: > Hello all, > > Does anyone know a way to construct an "Answer File" > dialog that returns 1 to many files? > > > thanks in advance, > Ivan Wong > Hi Ivan, We had this discussion recently, and the conclusion is that there is no built-in flag to allow multiple file selection. However, there is a workaround possible, described here : If you want to search the mailing list archives rather than wading through years of posts, use the following links. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From JonathanC at ag.nsw.gov.au Thu Jun 3 10:17:39 2004 From: JonathanC at ag.nsw.gov.au (JonathanC at ag.nsw.gov.au) Date: Fri, 4 Jun 2004 00:17:39 +1000 Subject: Text case changing Message-ID: Bill Vlahos wrote on 03/06/2004 02:44:05 PM: > Revolution has the toUpper and toLower command which will convert an > entire string. Is there something similar for capitalizing just the > first letter as a built in function? I've come up with something that > works but seems kind of hokey. Does anyone have a more elegant solution > for this? > > Just to make life a little more complicated, there are some names like > O'Malley or MacKeif or McBeth where it isn't just the first character. > My application does not have to deal with these situations but a > general solution would. OK, maybe it's not that elegant, but it works for me: (Sorry, it doesn't deal with "O'Malley" etc., but it does deal with 'little words' in titles and variants of the word "I". So, e.g. changeCase("THE NAME OF THE ROSE","title") => "The Name of the Rose" and changeCase("I SAID I'D COME TOMORROW","sentence") => "I said I'd come tomorrow.") (Note: some of the characters in these handlers may not make it intact because they are Macintosh curly quotes.) function changeCase theText,theMode -- theMode = "upper", "lower", "sentence" or "title" if theMode = "upper" then return toUpper(theText) else if theMode = "lower" then return toLower(theText) else set cursor to watch put "" into newText repeat with L=1 to the number of lines in theText put line L of theText into theLine repeat with i=1 to the length of theLine get char i of theLine if theMode = "Sentence" then if isStartOfSentence(theLine,i) or isTheWordI(theLine,i) then put toUpper(it) after newText else put toLower(it) after newText else -- theMode = "title" if (isStartOfWord(theLine,i) and not isLittleWord(theLine,i)) ? or isStartOfSentence(theLine,i) or isTheWordI(theLine,i) then put toUpper(it) after newText else put toLower(it) after newText end if end repeat if L Message-ID: <40BDE74E.38AAD713@dyton.com> Hi group, I'm trying to make an app that essentially allows me to build an image from multiple smaller images and text. The idea is to drag image parts into the final image area, and also allow the user to enter text in a field that will ultimately be incorporated into the image. The final, user-created image can then be saved as an actual external image, for instance as a jpeg. Dragging the text and image parts around is no problem. My question is, how do I combine these seperate elements into one image? Is it even possible? Thanks for your help. Steve Ralston Waterloo, IA From janschenkel at yahoo.com Thu Jun 3 10:57:54 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 3 Jun 2004 07:57:54 -0700 (PDT) Subject: text as an image, etc. In-Reply-To: <40BDE74E.38AAD713@dyton.com> Message-ID: <20040603145754.21737.qmail@web60504.mail.yahoo.com> --- Steve Ralston wrote: > Hi group, > > I'm trying to make an app that essentially allows me > to build an image from > multiple smaller images and text. The idea is to > drag image parts into the final > image area, and also allow the user to enter text in > a field that will > ultimately be incorporated into the image. The > final, user-created image can > then be saved as an actual external image, for > instance as a jpeg. > > Dragging the text and image parts around is no > problem. My question is, how do I > combine these seperate elements into one image? Is > it even possible? > > Thanks for your help. > > Steve Ralston > Hi Steve, Check out the 'import snapshot' and 'export snapshot' commands. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From nnoydb at excite.com Thu Jun 3 10:59:07 2004 From: nnoydb at excite.com (K) Date: Thu, 3 Jun 2004 10:59:07 -0400 (EDT) Subject: SQL UPDATE statements (confused again) Message-ID: <20040603145907.DF626B707@xprdmailfe15.nwk.excite.com> What I found was that revdb_execute returns the number of rows or the error. The error is not only "revdberr,description" but also "ERROR: description". I create a function to test for the cases and return true or false. if queryFailed( tRows ) then return "Error process query [" & getLastError() & "]" end if NOTE queryFailed(); querySucceded() ; failed() and succeded() all setLastError() prior to making any judgements. K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Wed 06/02, Sarah Reichelt < sarahr at genesearch.com.au > wrote: From: Sarah Reichelt [mailto: sarahr at genesearch.com.au] To: nnoydb at excite.com, use-revolution at lists.runrev.com Date: Wed, 2 Jun 2004 15:12:43 +1000 Subject: Re: SQL UPDATE statements (confused again) On 2 Jun 2004, at 12:55 am, K wrote:

> Confused again! Okay revdb_execute return the number of rows
> modified. This would make a 0 (zero) return value a indeterminate
> state. Since one cannot tell if 0 (zero) rows where modified or if a
> error occured preventing the statement from executing. How does one
> tell the difference?
>
I can't test this at the moment, but are you sure an error returns
zero? I had thought that if the result was a number, the command had
executed correctly and the result was the number of rows modified. If
there is an error the result will be more than just a single number. I
may be wrong, but it is an idea for you to check out.

Cheers,
Sarah

_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From nnoydb at excite.com Thu Jun 3 11:11:00 2004 From: nnoydb at excite.com (K) Date: Thu, 3 Jun 2004 11:11:00 -0400 (EDT) Subject: Confused reguarding standalones Message-ID: <20040603151100.5341CB6FE@xprdmailfe15.nwk.excite.com> I have built several standalons using RR 2.2. I was under the impression that all the "stack files" in the stackFiles (currently referenced by relative paths) would be copied to the target directory (in their relative location). Also the standalone build seems to thing that a relative path to a stack and a fully qualified path are different even though they are the exact same file (I have reported this as bug in buzilla BTW). Do I need to copy these files to the correct relative location? What are my responisibities when building a stand alone and what are the IDEs? K _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From jhurley at infostations.com Thu Jun 3 11:32:37 2004 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 3 Jun 2004 08:32:37 -0700 Subject: Text case changing In-Reply-To: <20040603145638.9A13D930105@mail.runrev.com> References: <20040603145638.9A13D930105@mail.runrev.com> Message-ID: > >Message: 13 >Date: Wed, 2 Jun 2004 21:44:05 -0700 >From: Bill Vlahos >Subject: Text case changing >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset=US-ASCII; format=flowed > >Revolution has the toUpper and toLower command which will convert an >entire string. Is there something similar for capitalizing just the >first letter as a built in function? I've come up with something that >works but seems kind of hokey. Does anyone have a more elegant solution >for this? > >Just to make life a little more complicated, there are some names like >O'Malley or MacKeif or McBeth where it isn't just the first character. >My application does not have to deal with these situations but a >general solution would. > >Bill Vlahos > Bill, The script below is something I have used in the past with a database containing 32,000 records. It won't catch everything. It is very quick. Jim on TitleCase ask "What field?" if it is empty then exit mouseUp put field it into tList put toLower(tList) into tList put space & tab & "-" & "'" &comma & return into tDelims put space into tLastChar repeat for each char tChar in tList if tLastChar is in tDelims then put toUpper(tChar) after results put tChar into tLastChar else put tChar after results put tChar into tLastChar end if end repeat repeat for each word tWord in tList if char 1 to 3 of tWord = "mac" then put "Mac" & toUpper(char 4 of tWord)&toLower(char 5 to 20 of tWord) into tWord put tWord end if end repeat put results into field "myField" end TitleCase From nnoydb at excite.com Thu Jun 3 11:38:59 2004 From: nnoydb at excite.com (K) Date: Thu, 3 Jun 2004 11:38:59 -0400 (EDT) Subject: Confused reguarding standalones Message-ID: <20040603153859.90807B706@xprdmailfe15.nwk.excite.com> I just relaized the stacks have been sropped in the application directory but not by relative path. So 'RR' I guessed modified ny stackFile properties to point the the application directory? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Thu 06/03, K < nnoydb at excite.com > wrote: From: K [mailto: nnoydb at excite.com] To: use-revolution at runrev.com Date: Thu, 3 Jun 2004 11:11:00 -0400 (EDT) Subject: Confused reguarding standalones



I have built several standalons using RR 2.2. I was under the impression that all the "stack files" in the stackFiles (currently referenced by relative paths) would be copied to the target directory (in their relative location). Also the standalone build seems to thing that a relative path to a stack and a fully qualified path are different even though they are the exact same file (I have reported this as bug in buzilla BTW). Do I need to copy these files to the correct relative location? What are my responisibities when building a stand alone and what are the IDEs?

K


_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From revlist at cableone.net Thu Jun 3 11:49:37 2004 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 3 Jun 2004 09:49:37 -0600 Subject: Windows externals Message-ID: <001601c44982$6077b310$64fea8c0@chris1> This is somewhat related to my earlier post about determining the CD-ROM drive(s) available on a Windows machine. I'm thinking the best thing is going to be to take Mark's suggestion about creating an external to call the WinAPI GetDriveType() function. So my new question is has anyone done this already? If not, does anyone have a shell sample project or something I can use to build the external? I've got VC++, but it's been a really long time since I've coded anything in C, and I've never created a dll, so I'm pretty clueless about how to do it. I've downloaded the external SDK from RunRev, but it's pretty much not helpful at all. If anyone has done this and can offer any advice at all, I would be eternally grateful. Thanks, Chris Sheffield Software Developer Read Naturally --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.698 / Virus Database: 455 - Release Date: 6/2/2004 From webmaster at dreamscapesoftware.com Thu Jun 3 12:15:57 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 3 Jun 2004 18:15:57 +0200 Subject: drag & drop Message-ID: <003201c44986$12bf78c0$68a7d80a@WorkPC> Is it possible to make items in a list type field draggable? For example, I choose three items in a list field and I'd like to drag them to another list field. Is this possible? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From nnoydb at excite.com Thu Jun 3 12:36:37 2004 From: nnoydb at excite.com (K) Date: Thu, 3 Jun 2004 12:36:37 -0400 (EDT) Subject: Windows externals Message-ID: <20040603163637.15868B709@xprdmailfe15.nwk.excite.com> I have been told that a interface API like Visual Basics DECLARE is in the works but I have yet to receive any status information. -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Thu 06/03, Chris Sheffield < revlist at cableone.net > wrote: From: Chris Sheffield [mailto: revlist at cableone.net] To: use-revolution at lists.runrev.com Date: Thu, 3 Jun 2004 09:49:37 -0600 Subject: Windows externals This is somewhat related to my earlier post about determining the CD-ROM
drive(s) available on a Windows machine.

I'm thinking the best thing is going to be to take Mark's suggestion about
creating an external to call the WinAPI GetDriveType() function.

So my new question is has anyone done this already? If not, does anyone
have a shell sample project or something I can use to build the external?
I've got VC++, but it's been a really long time since I've coded anything in
C, and I've never created a dll, so I'm pretty clueless about how to do it.
I've downloaded the external SDK from RunRev, but it's pretty much not
helpful at all.

If anyone has done this and can offer any advice at all, I would be
eternally grateful.

Thanks,

Chris Sheffield
Software Developer
Read Naturally



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.698 / Virus Database: 455 - Release Date: 6/2/2004


_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From nnoydb at excite.com Thu Jun 3 12:39:05 2004 From: nnoydb at excite.com (K) Date: Thu, 3 Jun 2004 12:39:05 -0400 (EDT) Subject: Windows externals Message-ID: <20040603163905.1FBA4B711@xprdmailfe15.nwk.excite.com> Are you sure the api cannot be called using rundll.exe? -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Thu 06/03, Chris Sheffield < revlist at cableone.net > wrote: From: Chris Sheffield [mailto: revlist at cableone.net] To: use-revolution at lists.runrev.com Date: Thu, 3 Jun 2004 09:49:37 -0600 Subject: Windows externals This is somewhat related to my earlier post about determining the CD-ROM
drive(s) available on a Windows machine.

I'm thinking the best thing is going to be to take Mark's suggestion about
creating an external to call the WinAPI GetDriveType() function.

So my new question is has anyone done this already? If not, does anyone
have a shell sample project or something I can use to build the external?
I've got VC++, but it's been a really long time since I've coded anything in
C, and I've never created a dll, so I'm pretty clueless about how to do it.
I've downloaded the external SDK from RunRev, but it's pretty much not
helpful at all.

If anyone has done this and can offer any advice at all, I would be
eternally grateful.

Thanks,

Chris Sheffield
Software Developer
Read Naturally



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.698 / Virus Database: 455 - Release Date: 6/2/2004


_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From klaus at major-k.de Thu Jun 3 13:04:03 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 3 Jun 2004 19:04:03 +0200 Subject: Windows externals In-Reply-To: <001601c44982$6077b310$64fea8c0@chris1> References: <001601c44982$6077b310$64fea8c0@chris1> Message-ID: <04494B37-B580-11D8-ABCB-000A27B49A96@major-k.de> Hi Chris, > This is somewhat related to my earlier post about determining the > CD-ROM > drive(s) available on a Windows machine. > > I'm thinking the best thing is going to be to take Mark's suggestion > about > creating an external to call the WinAPI GetDriveType() function. > > So my new question is has anyone done this already? If not, does > anyone > have a shell sample project or something I can use to build the > external? > I've got VC++, but it's been a really long time since I've coded > anything in > C, and I've never created a dll, so I'm pretty clueless about how to > do it. > I've downloaded the external SDK from RunRev, but it's pretty much not > helpful at all. > > If anyone has done this and can offer any advice at all, I would be > eternally grateful. Once upon a time, there was a nice "External Collection" for MetaCard on the old website of RunRev: www.xworlds.com" The win-version (EXT.dll) had exactly that functionality: get cddrive() ## or something... When it was new, it cost 49.95 bucks... Later it was free... (BTW, these externals had been created by Tuviah Snyder! ;-) But the "MetaCard" section (and the link to the external) has been removed recently from that website... Now you find a link to "www.runrev" there ;-) It looks like RunRev has already implemeted parts of these externals into the GUI/engine... (Look into the folder "Revolution 2.x//components/global environment/" and you will find it there ;-) Maybe they will implement THIS feature also into the GUI/engine at some time, who knows...? This may not help much, but i think this is a quite interesting story :-) > Thanks, > > Chris Sheffield > Software Developer > Read Naturally Regards Klaus Major klaus at major-k.de http://www.major-k.de From revlist at cableone.net Thu Jun 3 13:26:58 2004 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 3 Jun 2004 11:26:58 -0600 Subject: Windows externals In-Reply-To: <04494B37-B580-11D8-ABCB-000A27B49A96@major-k.de> Message-ID: <000401c4498f$fa07c260$64fea8c0@chris1> Thanks, Klaus. If the Ext.dll will do that, that's great! I'm already using it for something else. I will check into it. Chris Sheffield Software Developer Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Klaus Major Sent: Thursday, June 03, 2004 11:04 AM To: How to use Revolution Subject: Re: Windows externals Hi Chris, > This is somewhat related to my earlier post about determining the > CD-ROM > drive(s) available on a Windows machine. > > I'm thinking the best thing is going to be to take Mark's suggestion > about > creating an external to call the WinAPI GetDriveType() function. > > So my new question is has anyone done this already? If not, does > anyone > have a shell sample project or something I can use to build the > external? > I've got VC++, but it's been a really long time since I've coded > anything in > C, and I've never created a dll, so I'm pretty clueless about how to > do it. > I've downloaded the external SDK from RunRev, but it's pretty much not > helpful at all. > > If anyone has done this and can offer any advice at all, I would be > eternally grateful. Once upon a time, there was a nice "External Collection" for MetaCard on the old website of RunRev: www.xworlds.com" The win-version (EXT.dll) had exactly that functionality: get cddrive() ## or something... When it was new, it cost 49.95 bucks... Later it was free... (BTW, these externals had been created by Tuviah Snyder! ;-) But the "MetaCard" section (and the link to the external) has been removed recently from that website... Now you find a link to "www.runrev" there ;-) It looks like RunRev has already implemeted parts of these externals into the GUI/engine... (Look into the folder "Revolution 2.x//components/global environment/" and you will find it there ;-) Maybe they will implement THIS feature also into the GUI/engine at some time, who knows...? This may not help much, but i think this is a quite interesting story :-) > Thanks, > > Chris Sheffield > Software Developer > Read Naturally Regards Klaus Major klaus at major-k.de http://www.major-k.de _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.698 / Virus Database: 455 - Release Date: 6/2/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.698 / Virus Database: 455 - Release Date: 6/2/2004 From yvescoppe at skynet.be Thu Jun 3 13:43:31 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu, 3 Jun 2004 19:43:31 +0200 Subject: drag & drop In-Reply-To: <003201c44986$12bf78c0$68a7d80a@WorkPC> References: <003201c44986$12bf78c0$68a7d80a@WorkPC> Message-ID: <8777D828-B585-11D8-98DF-003065E14B04@skynet.be> Le 3 juin 04, ? 18:15, Derek Bump a ?crit : > Is it possible to make items in a list type field draggable? > > For example, I choose three items in a list field and I'd like to drag > them > to another list field. Is this possible? > > Hi, Jan Schenkel has wrote a sample stack about this. Available at : http://www.geocities.com/janschenkel/ drapdroplist. Hope this helps Greetings. Yves COPPE yvescoppe at skynet.be From tzvi at realtorsgroup.us Thu Jun 3 14:33:05 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Thu, 3 Jun 2004 14:33:05 -0400 Subject: drag & drop In-Reply-To: <003201c44986$12bf78c0$68a7d80a@WorkPC> Message-ID: <74583316-B58C-11D8-A80A-0030654C1E62@realtorsgroup.us> I'd assume "on mouseDown copy end mouseDown" and "on mouseUp paste end mouseUp" On Thursday, June 3, 2004, at 12:15 PM, Derek Bump wrote: > Is it possible to make items in a list type field draggable? > > For example, I choose three items in a list field and I'd like to drag > them > to another list field. Is this possible? > > > Derek Bump > Dreamscape Software > ____________________________________________ > Compress Images Easily with JPEGCompress > http://www.dreamscapesoftware.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From webmaster at dreamscapesoftware.com Thu Jun 3 15:14:26 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 3 Jun 2004 21:14:26 +0200 Subject: drag & drop References: <74583316-B58C-11D8-A80A-0030654C1E62@realtorsgroup.us> Message-ID: <002301c4499f$0134c600$f4f0d80a@WorkPC> > I'd assume > "on mouseDown > copy > end mouseDown" > and > "on mouseUp > paste > end mouseUp" This does nothing more than copy the selected data and paste it. What I want is the ability to select items in a list and drag them to another list. The behavior would be that of "Transmit" for MacOS X. You select the files you want to upload, then simply drag them over to the FTP server's list of files and drop them there. Simple, and works great. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com ----- Original Message ----- From: "tzvi" To: "How to use Revolution" Sent: Thursday, June 03, 2004 20:33 Subject: Re: drag & drop > On Thursday, June 3, 2004, at 12:15 PM, Derek Bump wrote: > > > Is it possible to make items in a list type field draggable? > > > > For example, I choose three items in a list field and I'd like to drag > > them > > to another list field. Is this possible? > > > > > > Derek Bump > > Dreamscape Software > > ____________________________________________ > > Compress Images Easily with JPEGCompress > > http://www.dreamscapesoftware.com > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From webmaster at dreamscapesoftware.com Thu Jun 3 15:16:02 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 3 Jun 2004 21:16:02 +0200 Subject: drag & drop References: <003201c44986$12bf78c0$68a7d80a@WorkPC> <8777D828-B585-11D8-98DF-003065E14B04@skynet.be> Message-ID: <002401c4499f$38a6f4f0$f4f0d80a@WorkPC> > Hi, > > Jan Schenkel has wrote a sample stack about this. > > Available at : http://www.geocities.com/janschenkel/ > > drapdroplist. > > Hope this helps > > Greetings. > > Yves COPPE This works pretty well. I just with that this feature was native in the Revolution IDE. Among other things of course. Thanks! Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From tzvi at realtorsgroup.us Thu Jun 3 15:42:42 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Thu, 3 Jun 2004 15:42:42 -0400 Subject: drag & drop In-Reply-To: <002301c4499f$0134c600$f4f0d80a@WorkPC> Message-ID: <2DC67E7C-B596-11D8-A80A-0030654C1E62@realtorsgroup.us> sorry. On Thursday, June 3, 2004, at 03:14 PM, Derek Bump wrote: >> I'd assume >> "on mouseDown >> copy >> end mouseDown" >> and >> "on mouseUp >> paste >> end mouseUp" > > This does nothing more than copy the selected data and paste it. > > What I want is the ability to select items in a list and drag them to > another list. The behavior would be that of "Transmit" for MacOS X. > You > select the files you want to upload, then simply drag them over to the > FTP > server's list of files and drop them there. Simple, and works great. > > > Derek Bump > Dreamscape Software > ____________________________________________ > Compress Images Easily with JPEGCompress > http://www.dreamscapesoftware.com > > > ----- Original Message ----- > From: "tzvi" > To: "How to use Revolution" > Sent: Thursday, June 03, 2004 20:33 > Subject: Re: drag & drop > > >> On Thursday, June 3, 2004, at 12:15 PM, Derek Bump wrote: >> >>> Is it possible to make items in a list type field draggable? >>> >>> For example, I choose three items in a list field and I'd like to >>> drag >>> them >>> to another list field. Is this possible? >>> >>> >>> Derek Bump >>> Dreamscape Software >>> ____________________________________________ >>> Compress Images Easily with JPEGCompress >>> http://www.dreamscapesoftware.com >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From themacguy at macosx.com Thu Jun 3 16:06:02 2004 From: themacguy at macosx.com (Barry Levine) Date: Thu, 3 Jun 2004 14:06:02 -0600 Subject: OSX IDE Bug - Command-2 & -3 Message-ID: <707389DE-B599-11D8-B90D-000A95763ABC@macosx.com> When in Rev 2.2 in OSX 10.3.4, pressing "Command-2" or "Command-3" moves you -two- cards in either direction. However, selecting the commands from the View menu (Go Prev and Go Next, respectively) moves you one card, as expected. Tested on a new stack with no objects (therefore, no handlers). Also modified my Keyboard prefs to the longest "delay before repeat" just to eliminate that possibility. Barry From steve at messimercomputing.com Thu Jun 3 17:05:31 2004 From: steve at messimercomputing.com (Stephen Messimer) Date: Thu, 3 Jun 2004 17:05:31 -0400 Subject: New version of PreceptorTools Message-ID: Hi everybody, This is just to announce the availability of a new version of PreceptorTools. Version 1.0.6 is now available for download on the Messimer Computing web site. http://www.messimercomputing.com This version contains improvements for Windows users and Linux users as well. The downloads page now has archives specifically designed for Windows ( zip) and Linux (tgz). This version also hints at UI changes that will be present in version 2.0. I will send Runtime Revolution an updated version soon. Until then please download the files from the Messimer Computing site as they are the most up to date. Best regards, Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 http://www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- version 1.0.6 available Now! From RGould8 at aol.com Thu Jun 3 18:05:08 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu, 3 Jun 2004 18:05:08 EDT Subject: global way to change cursor Message-ID: Can anyone tell me if there's a global way to make the cursor change, based on whether the user has the mouse over a button vs. a field? Something I could do at the stack level, as opposed to a card-by-card basis? I'm on Mac OS X, and as a test, I wrote this stack script. The stack has 1 card, which has 1 button on it: on mouseMove put "Control = " & the mouseControl if the mouseControl contains "control" then set the cursor to hand else set the cursor to arrow end if end mouseMove I see the cursor "try" to change, but it seems to go back to a pointer instantly. From ambassador at fourthworld.com Thu Jun 3 18:44:59 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 03 Jun 2004 15:44:59 -0700 Subject: global way to change cursor In-Reply-To: References: Message-ID: <40BFA9EB.90009@fourthworld.com> RGould8 at aol.com wrote: > Can anyone tell me if there's a global way to make the cursor change, based > on whether the user has the mouse over a button vs. a field? Something I > could do at the stack level, as opposed to a card-by-card basis? The defaultCursor global property is what you're looking for. You can use mouseEnter and mouseLeave to check the type of object you're over to change that property to the cursor image you want. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From monte at sweattechnologies.com Thu Jun 3 18:59:58 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 4 Jun 2004 08:29:58 +0930 Subject: Confused reguarding standalones In-Reply-To: <20040603153859.90807B706@xprdmailfe15.nwk.excite.com> Message-ID: >I just relaized the stacks have been sropped in the application >directory but not by relative path. So 'RR' I guessed modified >ny stackFile properties to point the the application directory? Hmm... I'm not sure what you mean here. Could you perhaps send me a list of the files and folders how you expect them to be and how they actually are. Cheers Monte From tsj at unimelb.edu.au Thu Jun 3 19:26:50 2004 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 4 Jun 2004 09:26:50 +1000 Subject: Background app in OSX.3? In-Reply-To: <20040603160104.8E092930113@mail.runrev.com> References: <20040603160104.8E092930113@mail.runrev.com> Message-ID: <7DA11B19-B5B5-11D8-9407-0003930D06A0@unimelb.edu.au> Recently there was some discussion along the lines that settng the NSBGonly key to 1 no longer removed an application from the dock (and hid it's menu) under OSX.3. Has anyone made any progress on this front? For what it's worth, setting LSUIelement to 1 (which is what the 'Dockless' application some one referred to does) has no effect either. Cheers, Terry... Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Facutly of Medicine, Dentistry & Health Sciences The University of Melbourne From tsj at unimelb.edu.au Thu Jun 3 19:31:02 2004 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 4 Jun 2004 09:31:02 +1000 Subject: Getting an applications icon under OSX In-Reply-To: <20040603160104.8E092930113@mail.runrev.com> References: <20040603160104.8E092930113@mail.runrev.com> Message-ID: <138AD682-B5B6-11D8-9407-0003930D06A0@unimelb.edu.au> Is there any way of capturing/extracting an applications icon from within Rev (via Applescript maybe?). I'd like to associate an apps icon with its name in a launcher-style thing I'm building (apps are listed dynamically) but have no idea how to go about it. Ideas? Cheers, Terry... Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Facutly of Medicine, Dentistry & Health Sciences The University of Melbourne From sarahr at genesearch.com.au Thu Jun 3 19:51:13 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 4 Jun 2004 09:51:13 +1000 Subject: global way to change cursor In-Reply-To: References: Message-ID: As Richard has said, you can use the defaultCursor property, but I tend to use the commands as you have used them, but with "lock cursor" before I change to a non-standard cursor and "unlock cursor" when I'm finished. This stops Rev automatically resetting the default cursor whenever it thinks it should. Cheers, Sarah On 4 Jun 2004, at 8:17 am, RGould8 at aol.com wrote: > Can anyone tell me if there's a global way to make the cursor change, > based > on whether the user has the mouse over a button vs. a field? > Something I > could do at the stack level, as opposed to a card-by-card basis? > > I'm on Mac OS X, and as a test, I wrote this stack script. The stack > has 1 > card, which has 1 button on it: > > on mouseMove > put "Control = " & the mouseControl > if the mouseControl contains "control" then > set the cursor to hand > else > set the cursor to arrow > end if > > end mouseMove > > I see the cursor "try" to change, but it seems to go back to a pointer > instantly. From tzvi at realtorsgroup.us Thu Jun 3 21:08:25 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Thu, 3 Jun 2004 21:08:25 -0400 Subject: interesting behavier Message-ID: Hi all, I have realized that if you have a subStack with on openStack handler in it , when you open the mainStack that triggers already the "openStack " in the subStack , Is this the way it suppose to work? this causes unpleasant behavior. e.g. on openStack create btn "a" end openStack When the mainStack is opened it triggers the openStack handler in the subStack and now when the stack actually opens it triggers it again. Sorry for my misunderstanding. And Tanks From kray at sonsothunder.com Thu Jun 3 21:12:18 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 3 Jun 2004 20:12:18 -0500 Subject: Background app in OSX.3? In-Reply-To: <7DA11B19-B5B5-11D8-9407-0003930D06A0@unimelb.edu.au> Message-ID: <025701c449d0$feb115a0$6601a8c0@precision340> Sorry, Terry... no progress yet AFAIK... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Terry Judd > Sent: Thursday, June 03, 2004 6:27 PM > To: use-revolution at lists.runrev.com > Subject: Background app in OSX.3? > > > Recently there was some discussion along the lines that settng the > NSBGonly key to 1 no longer removed an application from the dock (and > hid it's menu) under OSX.3. Has anyone made any progress on > this front? > For what it's worth, setting LSUIelement to 1 (which is what the > 'Dockless' application some one referred to does) has no > effect either. > > Cheers, > > Terry... > > > Dr Terry Judd > Lecturer in Educational Technology (Design) > Biomedical Multimedia Unit > Facutly of Medicine, Dentistry & Health Sciences > The University of Melbourne > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From briany at qldlearning.com Thu Jun 3 21:33:17 2004 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 3 Jun 2004 21:33:17 -0400 Subject: Background app in OSX.3? In-Reply-To: <025701c449d0$feb115a0$6601a8c0@precision340> Message-ID: <2783DA7D-B5C7-11D8-89F4-000393AA08D2@qldlearning.com> FWIW, this seems to be a mess of plist information... http://developer.apple.com/documentation/MacOSX/Conceptual/ BPRuntimeConfig/Concepts/PListKeys.html#//apple_ref/doc/uid/20001431/ BCIJIJBH > Sorry, Terry... no progress yet AFAIK... > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Terry Judd >> Sent: Thursday, June 03, 2004 6:27 PM >> To: use-revolution at lists.runrev.com >> Subject: Background app in OSX.3? >> >> >> Recently there was some discussion along the lines that settng the >> NSBGonly key to 1 no longer removed an application from the dock (and >> hid it's menu) under OSX.3. Has anyone made any progress on >> this front? >> For what it's worth, setting LSUIelement to 1 (which is what the >> 'Dockless' application some one referred to does) has no >> effect either. >> >> Cheers, >> >> Terry... >> >> >> Dr Terry Judd >> Lecturer in Educational Technology (Design) >> Biomedical Multimedia Unit >> Facutly of Medicine, Dentistry & Health Sciences >> The University of Melbourne >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From briany at qldlearning.com Thu Jun 3 21:40:28 2004 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 3 Jun 2004 21:40:28 -0400 Subject: Background app in OSX.3? In-Reply-To: <025701c449d0$feb115a0$6601a8c0@precision340> Message-ID: <287BAF88-B5C8-11D8-89F4-000393AA08D2@qldlearning.com> Er, I think I've got it. Apparently in Panther, this information is cached. Try this: http://cocoa.mamasam.com/MACOSXDEV/2003/11/1/76192.php Which suggests to "touch" your application bundle after you change the plist file. In terminal: cd /Applications touch MyApplication.app So use LSUIelement as usual, but you gotta trick the OS into seeing your change. It may also work to drag things in and out of your applications folder, but the above seems more likely to work to me... HTH. Brian > Sorry, Terry... no progress yet AFAIK... > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Terry Judd >> Sent: Thursday, June 03, 2004 6:27 PM >> To: use-revolution at lists.runrev.com >> Subject: Background app in OSX.3? >> >> >> Recently there was some discussion along the lines that settng the >> NSBGonly key to 1 no longer removed an application from the dock (and >> hid it's menu) under OSX.3. Has anyone made any progress on >> this front? >> For what it's worth, setting LSUIelement to 1 (which is what the >> 'Dockless' application some one referred to does) has no >> effect either. >> >> Cheers, >> >> Terry... >> >> >> Dr Terry Judd >> Lecturer in Educational Technology (Design) >> Biomedical Multimedia Unit >> Facutly of Medicine, Dentistry & Health Sciences >> The University of Melbourne >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From kray at sonsothunder.com Thu Jun 3 21:49:00 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 3 Jun 2004 20:49:00 -0500 Subject: Background app in OSX.3? In-Reply-To: <2783DA7D-B5C7-11D8-89F4-000393AA08D2@qldlearning.com> Message-ID: <025801c449d6$1baf2a70$6601a8c0@precision340> Cool... it looks like if you set LSBackgroundOnly (instead of the old "NSBGonly") it should work. Terry, why don't you try it and get back to us? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Brian Yennie > Sent: Thursday, June 03, 2004 8:33 PM > To: How to use Revolution > Subject: Re: Background app in OSX.3? > > > FWIW, this seems to be a mess of plist information... > > http://developer.apple.com/documentation/MacOSX/Conceptual/ > BPRuntimeConfig/Concepts/PListKeys.html#//apple_ref/doc/uid/20001431/ > BCIJIJBH > > > Sorry, Terry... no progress yet AFAIK... > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > > >> -----Original Message----- > >> From: use-revolution-bounces at lists.runrev.com > >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf > Of Terry > >> Judd > >> Sent: Thursday, June 03, 2004 6:27 PM > >> To: use-revolution at lists.runrev.com > >> Subject: Background app in OSX.3? > >> > >> > >> Recently there was some discussion along the lines that settng the > >> NSBGonly key to 1 no longer removed an application from > the dock (and > >> hid it's menu) under OSX.3. Has anyone made any progress on this > >> front? For what it's worth, setting LSUIelement to 1 > (which is what > >> the 'Dockless' application some one referred to does) has no > >> effect either. > >> > >> Cheers, > >> > >> Terry... > >> > >> > >> Dr Terry Judd > >> Lecturer in Educational Technology (Design) > >> Biomedical Multimedia Unit > >> Facutly of Medicine, Dentistry & Health Sciences > >> The University of Melbourne > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From johnrule at rcsprogramming.com Thu Jun 3 22:49:38 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Thu, 3 Jun 2004 19:49:38 -0700 Subject: External sample References: <20040603160108.08D12930114@mail.runrev.com> Message-ID: <002701c449de$948be520$7401000a@minipcxp> > does anyone have a shell sample project or something I can use to build the external? It's on the RunRev website: ftp://ftp.runrev.com/pub/revolution/downloads/distributions/sdk/ExternalSDK.zip works great...using an old version of CodeWarrior in XP too! The example is actually in a 'Visual' format (MS Visual Studio I believe). JR > Date: Thu, 3 Jun 2004 09:49:37 -0600 > From: "Chris Sheffield" > Subject: Windows externals > To: "RevList" > Message-ID: <001601c44982$6077b310$64fea8c0 at chris1> > Content-Type: text/plain; charset="Windows-1252" > > This is somewhat related to my earlier post about determining the CD-ROM > drive(s) available on a Windows machine. > > I'm thinking the best thing is going to be to take Mark's suggestion about > creating an external to call the WinAPI GetDriveType() function. > > So my new question is has anyone done this already? If not, does anyone > have a shell sample project or something I can use to build the external? > I've got VC++, but it's been a really long time since I've coded anything in > C, and I've never created a dll, so I'm pretty clueless about how to do it. > I've downloaded the external SDK from RunRev, but it's pretty much not > helpful at all. > > If anyone has done this and can offer any advice at all, I would be > eternally grateful. > > Thanks, > > Chris Sheffield > Software Developer > Read Naturally > From pixelbird at interisland.net Thu Jun 3 23:52:10 2004 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 3 Jun 2004 20:52:10 -0700 Subject: Alpha channel support on Mac In-Reply-To: <20040603145637.DB94993010B@mail.runrev.com> References: <20040603145637.DB94993010B@mail.runrev.com> Message-ID: <8E3464FF-B5DA-11D8-94E2-000A27945590@interisland.net> Howdy, I haven't tried Rev since I switched to OSX. Does 2.2 have alpha channel support (translucent windows, etc.)? TIA, Ken N. From scott at tactilemedia.com Fri Jun 4 00:38:39 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 03 Jun 2004 21:38:39 -0700 Subject: Alpha channel support on Mac In-Reply-To: <8E3464FF-B5DA-11D8-94E2-000A27945590@interisland.net> Message-ID: Recently, "Ken Norris" wrote: > I haven't tried Rev since I switched to OSX. Does 2.2 have alpha > channel support (translucent windows, etc.)? If you're talking about windows, then the answer is "sort of". Using Trevor DeVore's window external, you can set the translucency level of a Rev window (which works great) but this is not the same as defining your own alphachannel mask for a window. Rev's built-in support for window masks (the windowShape property) still only handles 1 bit images. http://www.mangomultimedia.com/developer/revolution/window.html Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From katir at hindu.org Fri Jun 4 01:09:13 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 3 Jun 2004 19:09:13 -1000 Subject: FTP problem to Name Based Virtual Server Web Site In-Reply-To: References: <1F2CD15C-B34F-11D8-AAC8-0003936D012E@mac.com> <409BFE9C-B35F-11D8-B55A-000A959D0AC6@hindu.org> Message-ID: <51FA116C-B5E5-11D8-B8CC-000A959D0AC6@hindu.org> Ok forgive the long post but you need to see these responsse to the URL string calls from interarchy and Rev to get the picture. Note, that our problem here is FTP into a chroot(ed) virtual-server-domain... there's lots of path issues here... I've been fussing with CGI for several days.. and it's not all that intuitive. There is some default setting where the www directory is considered "home" with symlinks doing all kinds of unexpected things.... Ok here we go with logs: ftp://jiva%40hheonline.org:password at 55.55.55.555//home/jiva/ mainwebsite_html/ returns: 200 Type set to A. CWD /home/jiva/mainwebsite_html 250 CWD command successful. PORT 192,168,1,230,223,229 200 PORT command successful LIST 150 Opening ASCII mode data connection for file list 226 Transfer complete. -rw-r--r-- 1 jiva jiva 4222 May 29 04:19 5advantages.shtml drwxrwxr-x 2 jiva jiva 4096 May 28 04:03 css -rw-r--r-- 1 jiva jiva 1438 May 29 04:19 favicon.ico drwxr-xr-x 2 jiva jiva 4096 May 29 04:24 financial_statements -rw-r--r-- 1 jiva jiva 2930 May 29 04:19 founders_message.shtml drwxr-xr-x 2 jiva jiva 4096 May 29 04:19 funds -rw-r--r-- 1 jiva jiva 42902 Jun 4 02:48 guestbook.html etc. i.e. a successful listing of what, from root on this site is actually: var/www/html/ ===== this may help us: from libURL put url "ftp://jiva%40hheonline.org:108koyil at www.hheonline.org/" returns lrwxrwxrwx 1 root root 21 May 28 02:49 mainwebsite_cgi -> ../../var/www/cgi-bin lrwxrwxrwx 1 root root 18 May 28 02:49 mainwebsite_html -> ../../var/www/html == back to interarchy: ftp://jiva%40hheonline.org:password at 555.55.55.55// results: 220 ProFTPD FTP Server ready. USER jiva at hheonline.org 331 Password required for jiva at hheonline.org. PASS ***** 230 User jiva at hheonline.org logged in. PWD 257 "/home/jiva" is current directory. TYPE A 200 Type set to A. CWD / 250 CWD command successful. PORT 192,168,1,230,223,235 200 PORT command successful LIST 150 Opening ASCII mode data connection for file list drwxr-xr-x 2 root root 4096 May 28 02:49 bin drwxr-xr-x 3 root root 4096 May 28 05:15 dev drwxr-xr-x 17 root jiva 4096 May 28 05:15 etc drwxr-x--x 3 jiva jiva 4096 May 28 02:49 home drwxr-xr-x 3 root root 4096 May 28 02:49 lib drwxr-xr-x 2 root root 4096 May 28 02:49 root drwxr-xr-x 2 root root 4096 May 28 02:49 sbin drwxrwxrwt 2 jiva jiva 4096 May 28 02:49 tmp drwxr-xr-x 13 root root 4096 May 28 02:49 usr drwxr-xr-x 11 root root 4096 May 28 02:49 var 226 Transfer complete. So, that's what I want from Rev... The double slashes work in the FTP client... but if i put that same string into rev put url "ftp://jiva%40hheonline.org:password at 555.555.555.555//" into jai I get thrown back into the default www lrwxrwxrwx 1 root root 21 May 28 02:49 mainwebsite_cgi -> ../../var/www/cgi-bin lrwxrwxrwx 1 root root 18 May 28 02:49 mainwebsite_html -> ../../var/www/html my libURL FTP log shows: socket 555.555.555.555:21|6927 220 ProFTPD FTP Server ready. 331 Password required for jiva at hheonline.org. 230 User jiva at hheonline.org logged in. 257 "/home/jiva" is current directory. 200 Type set to I. 250 CWD command successful. 200 PORT command successful 150 Opening ASCII mode data connection for file list CLOSED 555.555.555.555|138757784 CLOSED 6926 226 Transfer complete. 250 CWD command successful. 221 Goodbye. CLOSED 555.555.555.555:21|6927 ======== ftp://jiva%40hheonline.org:password at 555.555.555.555/~jiva/ also throws me back to the www/ directory with the two symLinks to the actual var/www/cgi-bin and /html directories. so that doesn't help... The same string in revolution returns an error error 550 /home/jiva/~jiva: No such file or directory ========= so, for some reason, interarchy *is* able to realize the // means "go to root" 200 Type set to A. CWD / 250 CWD command successful. My goal is to get and put files in a special directory in the var/www/ that we have made from root as ftp://jiva%40hheonline.org:password at 555.5555.555.55//var/www/formdata/ which works in interarchy, but the same string in Rev results also in error 550 /home/jiva//var/www/formdata: No such file or directory: socket 555.5555.555.55:21|6929 220 ProFTPD FTP Server ready. 331 Password required for jiva at hheonline.org. 230 User jiva at hheonline.org logged in. 257 "/home/jiva" is current directory. 200 Type set to I. 550 /home/jiva//var/www/formdata: No such file or directory CLOSED 555.5555.555.55:21|6929 so, how to get libURL to CWD to /? this is pretty important for us... I can't actually go live with web content on our new server until this works. so consider this a mission critical blocker! ;-) Best wishes from Hawaii, where it's starting to warm up.. Sivakatirswami On May 31, 2004, at 11:16 PM, Dave Cragg wrote: > At 2:04 pm -1000 31/5/04, Sannyasin Sivakatirswami wrote: > >> OR >> >> URL2 >> user%40himalayanacademy.com:password at 555.55.55.55//var/www/html >> >> and they BOTH work in the FTP client... but in Revolution, the first >> one(to the symLink) gives a valid log in (showing that it is not a >> problem with the @ in the user string) >> >> 257 "/home/himalayan" is current directory. >> 200 Type set to I. >> 250 CWD command successful. >> 227 Entering Passive Mode (555,555,555,555,133,201). >> ## we are logged in, no path problem, but symlink not followed... >> >> no listing is returned and the result is empty... >> >> but the attempt to reach the *actual* directory, directly, as in URL2 >> above >> >> results in >> >> error 550 /home/himalayan//var/www/html: No such file or directory >> >> but, again, only in Revolution... >> > > One small point. URL2 as written above will be treated as a file and > not a directory by libUrl. It needs a final forward slash to be > treated as a directory. > > I'm not sure about double slash conventions. If it works differently > in other ftp clients then it's possible they are doing some > manipulation to the url. It might be useful if you could post the > Interarchy log/transcript so we can see the commands it's sending. > > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Fri Jun 4 01:15:22 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 4 Jun 2004 00:15:22 -0500 Subject: Alpha channel support on Mac In-Reply-To: Message-ID: <027901c449f2$f33cd520$6601a8c0@precision340> Speaking of that, Trevor mentioned that the external doesn't work in Windows XP as of Rev 2.2 and suggests that Rev look at it to fix it. Trevor, was this logged as a bug in Bugzilla? Just curious... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Scott Rossi > Sent: Thursday, June 03, 2004 11:39 PM > To: How to use Revolution > Subject: Re: Alpha channel support on Mac > > > Recently, "Ken Norris" wrote: > > > I haven't tried Rev since I switched to OSX. Does 2.2 have alpha > > channel support (translucent windows, etc.)? > > If you're talking about windows, then the answer is "sort > of". Using Trevor DeVore's window external, you can set the > translucency level of a Rev window (which works great) but > this is not the same as defining your own alphachannel mask > for a window. Rev's built-in support for window masks (the > windowShape property) still only handles 1 bit images. > > http://www.mangomultimedia.com/developer/revolution/window.html > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From tsj at unimelb.edu.au Fri Jun 4 05:58:25 2004 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 4 Jun 2004 19:58:25 +1000 Subject: Background app in OSX.3? In-Reply-To: <20040604013219.64176930114@mail.runrev.com> Message-ID: Actually is this really only a Panther issue? I've been unable to get it to work in 10.2.8 either. Can anyone confirm exactly which versions of Rev and OSX this actually worked with. BTW I just tried creating a simple Applescript app and setting NSBGonly to 1 in its pList and it ran as expected (didn't show up in either the dock or menubar) under Panther. Cheers, Terry... > From: Brian Yennie > Date: Fri Jun 4, 2004 11:33:17 AM Australia/Melbourne > To: How to use Revolution > Subject: Re: Background app in OSX.3? > Reply-To: How to use Revolution > > > FWIW, this seems to be a mess of plist information... > > http://developer.apple.com/documentation/MacOSX/Conceptual/ > BPRuntimeConfig/Concepts/PListKeys.html#//apple_ref/doc/uid/20001431/ > BCIJIJBH > >> Sorry, Terry... no progress yet AFAIK... >> >> Ken Ray >> Sons of Thunder Software >> Email: kray at sonsothunder.com >> Web Site: http://www.sonsothunder.com/ >> >> >>> -----Original Message----- >>> From: use-revolution-bounces at lists.runrev.com >>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >>> Terry Judd >>> Sent: Thursday, June 03, 2004 6:27 PM >>> To: use-revolution at lists.runrev.com >>> Subject: Background app in OSX.3? >>> >>> >>> Recently there was some discussion along the lines that settng the >>> NSBGonly key to 1 no longer removed an application from the dock (and >>> hid it's menu) under OSX.3. Has anyone made any progress on >>> this front? >>> For what it's worth, setting LSUIelement to 1 (which is what the >>> 'Dockless' application some one referred to does) has no >>> effect either. >>> >>> Cheers, >>> >>> Terry... >>> >>> >>> Dr Terry Judd >>> Lecturer in Educational Technology (Design) >>> Biomedical Multimedia Unit >>> Facutly of Medicine, Dentistry & Health Sciences >>> The University of Melbourne >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From wouter.abraham at pi.be Fri Jun 4 09:01:22 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 4 Jun 2004 15:01:22 +0200 Subject: OT for the time being (was: RunRev on PocketPC?) Message-ID: <471F7C88-B627-11D8-B16C-003065CC999E@pi.be> > Chipp Walters chipp at chipp.com > Tue May 18 14:26:29 EDT 2004 > > Hi Frank, > > Yes, I tried a 'hello world' app on PPC a bit ago. No dice. Sorry. > > -Chipp > > Frank Leahy wrote: > > > Has anyone tried running Revolution on a PocketPC? If so, did it > work? > > > > Thanks, > > -- Frank > > > > ______________________________________________ With a handheld like this one it probably will pose no problems. Have a look at : http://www.oqo.com/hardware/video/ http://news.com.com/1606-2-5222650.html Happy dreaming, WA From lists at mangomultimedia.com Fri Jun 4 09:50:32 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 4 Jun 2004 07:50:32 -0600 Subject: Alpha channel support on Mac In-Reply-To: <027901c449f2$f33cd520$6601a8c0@precision340> References: <027901c449f2$f33cd520$6601a8c0@precision340> Message-ID: <25F94726-B62E-11D8-B7AA-000A956C462A@mangomultimedia.com> On Jun 3, 2004, at 11:15 PM, Ken Ray wrote: > Speaking of that, Trevor mentioned that the external doesn't work in > Windows > XP as of Rev 2.2 and suggests that Rev look at it to fix it. Trevor, > was > this logged as a bug in Bugzilla? > > Just curious... No, it wasn't logged in Bugzilla. I emailed Tuviah directly about it and he was going to look into it (I believe he was working on XP themes at the time). I'm pretty sure it has something to do with Revolution since the technique I use to do the transparency works on other applications under XP. Once that is fixed then I believe it would be possible to do some sort of alpha mask based on a PNG image or something similar. I haven't had time to sit down and figure out how to do this but it would be a cool feature to have. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From revolution at duncansoftware.com Fri Jun 4 09:50:30 2004 From: revolution at duncansoftware.com (Stu Duncan) Date: Fri, 4 Jun 2004 09:50:30 -0400 Subject: Way OT - Call for Distributors Message-ID: <007e01c44a3a$e73bc8b0$0200a8c0@P1600> We are seeking non North American distributors in English speaking countries for our products. These products are distributed in North America through Plato Learning Systems, Science Kit, CyberEd, Boreal, Ward's, Tangent Scientific and numerous others. If you are familiar with the North American market you will recognize that these are educational software distributors. Some of the products date back to 1995, have a good track record, and limited effective competition in their niche. We would consider an exclusive distributorship in your country. Your size is not an issue but your business plan is. For full details, please contact me off list. Stu Duncan From lists at mangomultimedia.com Fri Jun 4 09:55:40 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 4 Jun 2004 07:55:40 -0600 Subject: [ANN] BBEdit Transcript Language Module 1.0.4 Message-ID: I've uploaded version 1.0.4 of the BBEdit language module for Transcript. * Now getProp and setProp handlers appear in the function menu * Bug where */ comment terminator wasn't recognized if there were multiple * before the / (i.e., ********/). * Other minor bug fixes Download at . -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Fri Jun 4 10:19:52 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 4 Jun 2004 08:19:52 -0600 Subject: Where to store read/write files on multi-user systems Message-ID: <3EB66BD8-B632-11D8-B7AA-000A956C462A@mangomultimedia.com> Scenario: An application which consists of the following parts - 1) Revolution executable 2) Revolution stack for storing global user information (read/write) 3) Valentina Database (read/write) 4) Revolution stack for storing user preferences (read/write) Problem: Where is the best place to store files with different requirements? Some should be read/writable by just the user, others by every user who uses your application. Here is what I have come up with and I am looking for feedback on this (more appropriate place to store things, etc.). These use folders which are accessible using specialFolderPath or are located where the application was installed by the user. Windows XP/2000 * User specific preference files (4 in my list above)- C:/Documents and Settings/USERNAME/Application Data/MYAPP specialFolderPath(26) * Shared files writable by everyone (2 and 3)- C:/Documents and Settings/All Users/Application Data/MYAPP specialFolderPath(35) Windows 98/ME * User specific preference files (4)- C:/WINDOWS/Application Data/MYAPP specialFolderPath(26) * Everything else- C:/Program Files/MYAPP (basically the location where the user installs the app) Mac OS X * User specific preference files (4)- /Users/USERNAME/Library/Preferences/MYAPP specialFolderPath("pref") * Shared files writable by everyone (2 and 3)- /Users/Shared/MYAPP specialFolderPath("sdat") Mac OS 9 * User specific preference files (4)- OS 9:System Folder/Preferences specialFolderPath("pref") * Shared files writable by everyone (2 and 3)- Location where application is installed. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lestond at lpsoftware.com Fri Jun 4 11:03:37 2004 From: lestond at lpsoftware.com (Leston Drake) Date: Fri, 04 Jun 2004 09:03:37 -0600 Subject: Rev won't draw Message-ID: <5.1.1.6.0.20040604085328.01fcf078@mail.xmission.com> Hi all, On one card in my stack, when I click on any tool in the Tools palette, and click-and-drag on the card to draw the object (e.g., a button, a field) it does not create it. It does nothing. There is no script on the card or on any of the objects on the card. Anyone seen this before or have any useful ideas? Thanks. From briany at qldlearning.com Fri Jun 4 11:06:02 2004 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 4 Jun 2004 11:06:02 -0400 Subject: Background app in OSX.3? In-Reply-To: Message-ID: My understanding is that you need to set _ LSUIelement_, and then also "touch" the application and/or move it in and out of the Applications folder. This should work like the "Dockless" application mentioned before, except that sometime around Panther the OS started caching this information and so you have to force it to recognize your change. HTH > Actually is this really only a Panther issue? I've been unable to get > it to work in 10.2.8 either. Can anyone confirm exactly which versions > of Rev and OSX this actually worked with. BTW I just tried creating a > simple Applescript app and setting NSBGonly to 1 in its pList and it > ran as expected (didn't show up in either the dock or menubar) under > Panther. From devin_asay at byu.edu Fri Jun 4 11:24:57 2004 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 04 Jun 2004 09:24:57 -0600 Subject: Player doesn't play complete file Message-ID: <56072492-B63B-11D8-9C59-000A95A6A138@byu.edu> Forgive me if this is has already been discussed; I don't remember reading about it. Recipe: 1. Create a player object. 2. Set the fileName prop to a URL with a QT compatible audio format. In this case I used "http://www.auburn.edu/forlang/russian/audio/norvegiya.wav". 3. Play the sound. The sound file appears not to download fully. The download indicator in the controller bar does not fill completely, and the sound plays to the point indicated as having downloaded, then stops. This happens consistently, even if I reload. Setting the alwaysBuffer prop to true or false makes no difference. If I use play URl "http://www.auburn.edu/forlang/russian/audio/norvegiya.wav" it works perfectly, but of course if I do this I'm limited to using only uncompressed audio. Has anyone else encountered this apparent problem with player objects? (Rev 2.2. Mac OS X 10.3.4, DP G5) Devin Asay Humanities Technology and Research Support Center Brigham Young University From klaus at major-k.de Fri Jun 4 12:06:19 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 4 Jun 2004 18:06:19 +0200 Subject: Player doesn't play complete file In-Reply-To: <56072492-B63B-11D8-9C59-000A95A6A138@byu.edu> References: <56072492-B63B-11D8-9C59-000A95A6A138@byu.edu> Message-ID: <1DCEDF9B-B641-11D8-89E8-000A27B49A96@major-k.de> Hi Devin, > Forgive me if this is has already been discussed; I don't remember > reading about it. > > Recipe: > 1. Create a player object. > 2. Set the fileName prop to a URL with a QT compatible audio format. > In this case I used > "http://www.auburn.edu/forlang/russian/audio/norvegiya.wav". > 3. Play the sound. > > The sound file appears not to download fully. The download indicator > in the controller bar does not fill completely, and the sound plays to > the point indicated as having downloaded, then stops. This happens > consistently, even if I reload. Setting the alwaysBuffer prop to true > or false makes no difference. Works here for me... RR 2.2, X 10.3.4, QT 6.5.1, 1 GHZ G4 > If I use > play URl "http://www.auburn.edu/forlang/russian/audio/norvegiya.wav" > it works perfectly, but of course if I do this I'm limited to using > only uncompressed audio. This one was new to me, cool :-) > Has anyone else encountered this apparent problem with player objects? No sorry, works here... Possible workarounds: 1. Download that file -> ... load url "http://www.auburn.edu/forlang/russian/audio/norvegiya.wav" ... to a temp file first and set the filename to that file after the load has completed... 2. Use Trevor's wonderful QT external: http://www.mangomultimedia.com/developer/revolution/ It lets you even monitor the progress of the QT download, which is not possible in RR... > (Rev 2.2. Mac OS X 10.3.4, DP G5) > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University Regards Klaus Major klaus at major-k.de http://www.major-k.de From devin_asay at byu.edu Fri Jun 4 12:18:57 2004 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 04 Jun 2004 10:18:57 -0600 Subject: Player doesn't play complete file In-Reply-To: <1DCEDF9B-B641-11D8-89E8-000A27B49A96@major-k.de> References: <56072492-B63B-11D8-9C59-000A95A6A138@byu.edu> <1DCEDF9B-B641-11D8-89E8-000A27B49A96@major-k.de> Message-ID: Thanks for the reply, Klaus. On Jun 4, 2004, at 10:06 AM, Klaus Major wrote: > Hi Devin, > >> Forgive me if this is has already been discussed; I don't remember >> reading about it. >> >> Recipe: >> 1. Create a player object. >> 2. Set the fileName prop to a URL with a QT compatible audio format. >> In this case I used >> "http://www.auburn.edu/forlang/russian/audio/norvegiya.wav". >> 3. Play the sound. >> >> The sound file appears not to download fully. The download indicator >> in the controller bar does not fill completely, and the sound plays >> to the point indicated as having downloaded, then stops. This happens >> consistently, even if I reload. Setting the alwaysBuffer prop to true >> or false makes no difference. > > Works here for me... > > RR 2.2, X 10.3.4, QT 6.5.1, 1 GHZ G4 I should have mentioned that I had been using several wav files from this same site in this manner, and that some of them worked perfectly, others displayed the behavior I described above. The URL I included in the previous message was one that consistently did not (apparently) download fully. If you get a chance, try several of these URLs from the same site and see if this behavior occurs. http://www.auburn.edu/forlang/russian/audio/amerika.wav http://www.auburn.edu/forlang/russian/audio/norvegiya.wav http://www.auburn.edu/forlang/russian/audio/traktor.wav http://www.auburn.edu/forlang/russian/audio/ukraina.wav http://www.auburn.edu/forlang/russian/audio/kamera.wav http://www.auburn.edu/forlang/russian/audio/zebra.wav http://www.auburn.edu/forlang/russian/audio/peterburg.wav http://www.auburn.edu/forlang/russian/audio/baku.wav http://www.auburn.edu/forlang/russian/audio/roza.wav http://www.auburn.edu/forlang/russian/audio/yaponiya.wav http://www.auburn.edu/forlang/russian/audio/yumor.wav http://www.auburn.edu/forlang/russian/audio/yupiter.wav http://www.auburn.edu/forlang/russian/audio/maniya.wav http://www.auburn.edu/forlang/russian/audio/kontrakt.wav http://www.auburn.edu/forlang/russian/audio/germaniya.wav http://www.auburn.edu/forlang/russian/audio/gollandiya.wav http://www.auburn.edu/forlang/russian/audio/ekvator.wav http://www.auburn.edu/forlang/russian/audio/veteran.wav http://www.auburn.edu/forlang/russian/audio/kenguru.wav http://www.auburn.edu/forlang/russian/audio/samolyot.wav Devin Asay Humanities Technology and Research Support Center Brigham Young University From bornstein at designeq.com Fri Jun 4 12:37:31 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Fri, 4 Jun 2004 12:37:31 -0400 Subject: OSX IDE Bug - Command-2 & -3 In-Reply-To: <707389DE-B599-11D8-B90D-000A95763ABC@macosx.com> References: <707389DE-B599-11D8-B90D-000A95763ABC@macosx.com> Message-ID: <795DD326-B645-11D8-B5AD-000A95909E26@designeq.com> On Jun 3, 2004, at 4:06 PM, Barry Levine wrote: > When in Rev 2.2 in OSX 10.3.4, pressing "Command-2" or "Command-3" > moves you -two- cards in either direction. However, selecting the > commands from the View menu (Go Prev and Go Next, respectively) moves > you one card, as expected. Just to verify, I've also seen this bug. A bit annoying, really. Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From devin_asay at byu.edu Fri Jun 4 12:42:01 2004 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 04 Jun 2004 10:42:01 -0600 Subject: Waiting until a URL is cached Message-ID: <1A7D180E-B646-11D8-9C59-000A95A6A138@byu.edu> What is the best way to delay an action until a requested URL has been fully downloaded? I have tried ... load URL myURL repeat until the URLStatus of myURL is "cached" set the cursor to busy end repeat -- do other stuff load URL line lineClicked of the imageFiles of me repeat until myURL is among the lines of the cachedURLs then set the cursor to busy end if -- do other stuff -- (I even tried this one even though the docs specifically advise against it.*) load URL myURL wait until the URLStatus of myURL is "cached" -- do other stuff All of these approaches entered an infinite loop or hung stage, which I had to Cmd-. to interrupt. Oddly enough, when I then checked the cachedURLs function, all of the URLs I had loaded in the above examples were there. Am I just doing this wrong? Devin Asay Humanities Technology and Research Support Center Brigham Young University * P.S. The current (2.2) documentation seems to contain a contradiction: whereas the docs for the load command advise against using the < wait until the URLStatus of myURL is "cached" > approach, the docs for URLStatus function give this as an perfectly good example of its usage. Which is correct? From briany at qldlearning.com Fri Jun 4 12:47:37 2004 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 4 Jun 2004 12:47:37 -0400 Subject: Waiting until a URL is cached In-Reply-To: <1A7D180E-B646-11D8-9C59-000A95A6A138@byu.edu> Message-ID: If you want to avoid the looping, I would look into using send: on mouseUp load URL myURL send "checkURL myURL" to me in 100 milliseconds end mouseUp on checkURL myURL if (the URLStatus of myURL is "cached") then doSomethingWithTheURL else send "checkURL myURL" to me in 100 milliseconds end if end checkURL This will also allow user interaction while the URL is loading, which can be both good and bad... =) > What is the best way to delay an action until a requested URL has been > fully downloaded? > > I have tried ... > > load URL myURL > repeat until the URLStatus of myURL is "cached" > set the cursor to busy > end repeat > -- do other stuff > > load URL line lineClicked of the imageFiles of me > repeat until myURL is among the lines of the cachedURLs then > set the cursor to busy > end if > -- do other stuff > > -- (I even tried this one even though the docs specifically advise > against it.*) > load URL myURL > wait until the URLStatus of myURL is "cached" > -- do other stuff > > All of these approaches entered an infinite loop or hung stage, which > I had to Cmd-. to interrupt. Oddly enough, when I then checked the > cachedURLs function, all of the URLs I had loaded in the above > examples were there. > > Am I just doing this wrong? > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > * P.S. The current (2.2) documentation seems to contain a > contradiction: whereas the docs for the load command advise against > using the < wait until the URLStatus of myURL is "cached" > approach, > the docs for URLStatus function give this as an perfectly good example > of its usage. Which is correct? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From lists at mangomultimedia.com Fri Jun 4 13:05:13 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 4 Jun 2004 11:05:13 -0600 Subject: Waiting until a URL is cached In-Reply-To: <1A7D180E-B646-11D8-9C59-000A95A6A138@byu.edu> References: <1A7D180E-B646-11D8-9C59-000A95A6A138@byu.edu> Message-ID: <582137C8-B649-11D8-B7AA-000A956C462A@mangomultimedia.com> On Jun 4, 2004, at 10:42 AM, Devin Asay wrote: > What is the best way to delay an action until a requested URL has been > fully downloaded? > > I have tried ... > > load URL myURL > repeat until the URLStatus of myURL is "cached" > set the cursor to busy > end repeat > -- do other stuff > > load URL line lineClicked of the imageFiles of me > repeat until myURL is among the lines of the cachedURLs then > set the cursor to busy > end if > -- do other stuff > > -- (I even tried this one even though the docs specifically advise > against it.*) > load URL myURL > wait until the URLStatus of myURL is "cached" > -- do other stuff > > All of these approaches entered an infinite loop or hung stage, which > I had to Cmd-. to interrupt. Oddly enough, when I then checked the > cachedURLs function, all of the URLs I had loaded in the above > examples were there. > > Am I just doing this wrong? Use the callback message: load [URL] url [with message callbackMessage] The message will be called when everything is done downloading and you can use the downloaded file however you need to at that point. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From carambola at aliceposta.it Fri Jun 4 13:31:53 2004 From: carambola at aliceposta.it (paolo) Date: Fri, 4 Jun 2004 19:31:53 +0200 Subject: Where to store read/write files on multi-user systems In-Reply-To: <3EB66BD8-B632-11D8-B7AA-000A956C462A@mangomultimedia.com> Message-ID: <12025110-B64D-11D8-8708-000393680A94@aliceposta.it> Referring to MAC OS X I think this is fine: > > > Mac OS X > * User specific preference files (4)- > /Users/USERNAME/Library/Preferences/MYAPP > specialFolderPath("pref") > * Shared files writable by everyone (2 and 3)- /Users/Shared/MYAPP > specialFolderPath("sdat") > > However, you have to set permission accordingly. As far as I know there is not a way to set permissions from Revolution when you create a file.... (right?) .. so you can have problems to read/write files created by an other user. Actually I am facing the same problem. I wrote an application for MAC OS X and it works only for the administrator. (I stored data in a folder placed next to the application file into the application folder...which is not right). When I started to plan this project I was not fully aware of this problem. Be aware MACOS X is multi user.... so also applications created with revolution must be Multi-user! ciao Paolo From devin_asay at byu.edu Fri Jun 4 13:45:22 2004 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 04 Jun 2004 11:45:22 -0600 Subject: Waiting until a URL is cached In-Reply-To: <582137C8-B649-11D8-B7AA-000A956C462A@mangomultimedia.com> References: <1A7D180E-B646-11D8-9C59-000A95A6A138@byu.edu> <582137C8-B649-11D8-B7AA-000A956C462A@mangomultimedia.com> Message-ID: Thanks, Brian and Trevor. This worked perfectly. I was reading the docs, just not the right part of the docs. On Jun 4, 2004, at 11:05 AM, Trevor DeVore wrote: > > Use the callback message: > > load [URL] url [with message callbackMessage] > > The message will be called when everything is done downloading and you > can use the downloaded file however you need to at that point. Devin Asay Humanities Technology and Research Support Center Brigham Young University From lists at mangomultimedia.com Fri Jun 4 13:47:52 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 4 Jun 2004 11:47:52 -0600 Subject: Where to store read/write files on multi-user systems In-Reply-To: <12025110-B64D-11D8-8708-000393680A94@aliceposta.it> References: <12025110-B64D-11D8-8708-000393680A94@aliceposta.it> Message-ID: <4D3E2E92-B64F-11D8-B7AA-000A956C462A@mangomultimedia.com> On Jun 4, 2004, at 11:31 AM, paolo wrote: > Referring to MAC OS X I think this is fine: >> >> Mac OS X >> * User specific preference files (4)- >> /Users/USERNAME/Library/Preferences/MYAPP >> specialFolderPath("pref") >> * Shared files writable by everyone (2 and 3)- /Users/Shared/MYAPP >> specialFolderPath("sdat") >> >> > > However, you have to set permission accordingly. As far as I know > there is not a way to set permissions from Revolution when you create > a file.... (right?) .. so you can have problems to read/write files > created by an other user. You can use the shell command to change the permissions. I think you would want to chmod 666 the file to make it read/writable by everyone. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From tzvi at realtorsgroup.us Fri Jun 4 14:47:05 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Fri, 4 Jun 2004 14:47:05 -0400 Subject: stand Alone bug Message-ID: <93222DEB-B657-11D8-8706-0030654C1E62@realtorsgroup.us> I was trying to save as a standAlone, keep on getting errors "there was an error while saving the standalone app." then it comes up the error stating a line of code that was removed , changed around , and deleted already to make sure its deleted completely to see what's going on. But just didn't work . The same thing error over and over. Any help is appreciated. Thanks From tzvi at realtorsgroup.us Fri Jun 4 14:49:26 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Fri, 4 Jun 2004 14:49:26 -0400 Subject: stand Alone bug In-Reply-To: <93222DEB-B657-11D8-8706-0030654C1E62@realtorsgroup.us> Message-ID: sorry forgot to add the error itself. executing at 2:18:46 PM Type Chunk: can't find stack Object Enter Line send "setLoc" to stack "entry Form" Hint button id 1010 of group id 1012 of card id 1143 of stack "fskiosk" of stack "/Users/tzvi/Desktop/fs.rev" As of now , no line like this anymore. On Friday, June 4, 2004, at 02:47 PM, tzvi wrote: > I was trying to save as a standAlone, keep on getting errors "there > was an error while saving the standalone app." > then it comes up the error stating a line of code that was removed , > changed around , and deleted already to make sure its deleted > completely to see what's going on. But just didn't work . The same > thing error over and over. > Any help is appreciated. > Thanks > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dcragg at lacscentre.co.uk Fri Jun 4 15:03:28 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 4 Jun 2004 20:03:28 +0100 Subject: FTP problem to Name Based Virtual Server Web Site In-Reply-To: <51FA116C-B5E5-11D8-B8CC-000A959D0AC6@hindu.org> References: <1F2CD15C-B34F-11D8-AAC8-0003936D012E@mac.com> <409BFE9C-B35F-11D8-B55A-000A959D0AC6@hindu.org> <51FA116C-B5E5-11D8-B8CC-000A959D0AC6@hindu.org> Message-ID: At 7:09 pm -1000 3/6/04, Sannyasin Sivakatirswami wrote: >Ok here we go with logs: > >ftp://jiva%40hheonline.org:password at 55.55.55.555//home/jiva/mainwebsite_html/ > >returns: > >200 Type set to A. >CWD /home/jiva/mainwebsite_html >250 CWD command successful. >PORT 192,168,1,230,223,229 >200 PORT command successful >LIST >150 Opening ASCII mode data connection for file list >226 Transfer complete. >-rw-r--r-- 1 jiva jiva 4222 May 29 04:19 5advantages.shtml >drwxrwxr-x 2 jiva jiva 4096 May 28 04:03 css >-rw-r--r-- 1 jiva jiva 1438 May 29 04:19 favicon.ico >drwxr-xr-x 2 jiva jiva 4096 May 29 04:24 financial_statements >-rw-r--r-- 1 jiva jiva 2930 May 29 04:19 founders_message.shtml >drwxr-xr-x 2 jiva jiva 4096 May 29 04:19 funds >-rw-r--r-- 1 jiva jiva 42902 Jun 4 02:48 guestbook.html > >etc. i.e. a successful listing of what, from root on this site is actually: > >var/www/html/ What happens when you you get the same url but with a single slash instead of a double slash? I'm guessing you will get the same result. Similarly, what happens in Rev when you get the same url, but with a single slash? Again, I'm guessing you will get the same. >== back to interarchy: > >ftp://jiva%40hheonline.org:password at 555.55.55.55// > >results: > >220 ProFTPD FTP Server ready. >USER jiva at hheonline.org >331 Password required for jiva at hheonline.org. >PASS ***** >230 User jiva at hheonline.org logged in. >PWD >257 "/home/jiva" is current directory. >TYPE A >200 Type set to A. >CWD / >250 CWD command successful. >PORT 192,168,1,230,223,235 >200 PORT command successful >LIST >150 Opening ASCII mode data connection for file list >drwxr-xr-x 2 root root 4096 May 28 02:49 bin >drwxr-xr-x 3 root root 4096 May 28 05:15 dev >drwxr-xr-x 17 root jiva 4096 May 28 05:15 etc >drwxr-x--x 3 jiva jiva 4096 May 28 02:49 home >drwxr-xr-x 3 root root 4096 May 28 02:49 lib >drwxr-xr-x 2 root root 4096 May 28 02:49 root >drwxr-xr-x 2 root root 4096 May 28 02:49 sbin >drwxrwxrwt 2 jiva jiva 4096 May 28 02:49 tmp >drwxr-xr-x 13 root root 4096 May 28 02:49 usr >drwxr-xr-x 11 root root 4096 May 28 02:49 var >226 Transfer complete. Again, do you get something different from Interarchy when you use a single slash? Here is a quick summary of how libUrl constructs the paths it uses in calls to an ftp server. When it logs on to the server, libUrl sends a PWD command to get the current working directory (similar to most ftp clients). Depending on the server, this may return a full path (.e.g. on my OS X ftp server this is /Users/dave) or "/". (In the latter case, I think this usually indicates that chroot is being used by the server.) If the current working directory matches the first part of the path in the url, then libUrl calls the path as written in the url. So if I call my OS X server with ftp://dave:pass at 192.168.123.7/Users/dave/Documents/, libUrl will return a listing of /Users/dave/Documents. If the current working directory doesn't match the path in the url, then libUrl prepends the current working diectory to the path in the url. So, for example, if I call ftp://dave:pass at 192.168.123.7/Documents libUrl will also get a listing of /Users/dave/Documents. I may be wrong, but I think this is how it should be. If you want to climb back up the file hierarchy, you can use "../". For example, ftp://dave:pass at 192.168.123.7/../ will return a listing of the /Users directory. With ftp://dave:pass at 192.168.123.7/../../, I get a listing of the root volume. I think you should be able to get what you need in this way. Cheers Dave From JaysLists at triad.rr.com Fri Jun 4 15:07:27 2004 From: JaysLists at triad.rr.com (Jay Madren) Date: Fri, 4 Jun 2004 15:07:27 -0400 Subject: Call for testers... In-Reply-To: Message-ID: Xavier, Yes, I would be very interested to test your plug-in. I, too, have been less than thrilled by the amount of mouse activity needed to do serious interface design work, especially since I come from another 4GL product that is much better in this area. If it does what you say, I would definitely pay that amount! Jay Madren -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of xbury.cs at clearstream.com Sent: Thursday, June 03, 2004 06:05 To: How to use Revolution Subject: Re: Call for testers... It allows you to switch to different RevProperty palette views with just one click instead of a long drag in the properties menu! Needless to say, this will save you hours and hours and kilometers of mouse interaction with the menu in the revPropertyPalette (I was so annoyed with it...) AND best for last - you can save the settings you make for one object and to copy them to another object with just one menu pick! If you're a power user, this is a must! Also provides one-click buttons to access stack, group and card properties! Which reminds me I forgot to put in a edit script button (but Im waiting to port my script editor to RR first to make it truely a NO2 equipped plugin! ;) (NO2 is that thing you see in fast and furious that boost power X4 in one click!) It's auto installable (no messy/buggy plugin manager required ;) Is a 15 Euro shareware fee too much you think? interested? Xavier tzvi Sent by: use-revolution-bounces at lists.runrev.com 03.06.2004 00:12 Please respond to How to use Revolution To: x at monsieurx.com, How to use Revolution cc: Subject: Re: Call for testers... . A plug in for what features ? On Wednesday, June 2, 2004, at 04:57 PM, MisterX wrote: > My new plug in is near or ready... > > I need a couple courageous testers for some Rev[warp]IDE technology... > > Those interested are welcome to reply... > > First 3 serious inquiries will be granted ;) > > cheers > Xavier From david at kwinter.ca Fri Jun 4 15:09:48 2004 From: david at kwinter.ca (David Kwinter) Date: Fri, 4 Jun 2004 13:09:48 -0600 Subject: Rev 2.2 debug bugs Message-ID: Hi, I've been using 1.1.1 but upgraded when 2.1.2 came out. I had problems with it, saw that other were too and put it away. Now that 2.2 is out I'm trying to make use of it however after switching the code in my stack that isn't backward compatible (ie it's delete global now) I still get vague errors which make no sense. I'm experienced with Rev 1.1.1's style of pointing to the handler with the problem and taking it from there - but these are what I get on my very stable (in 1.1.1) stack Type seek: bad offset expression Object card id 1002 Line #show field "crossHilight" Hint on idle Type round: bad parameter Object card id 1002 Line #show field "crossHilight" Hint on idle Another problem I had while debugging came when I put an "answer here" in the script. It remained in the script after I removed it seemlingly because when I'd click apply I'd get the above error and the original script (with the answer here) remained somehow in my card. When I'd go to edit the card script the line was removed but when I'd search for "answer here" in the global search box It'd said that it was in the card script. I tried using "Replace in All" to get rid of it as well as "set the script of this card to.." but neither worked. There seemed to be two scripts, one I could see and one I could not-which was active and still had the "answer here" in it. I ended up having to go into Rev 1.1.1 and when I modified the script what I saw was actually "applied" and the dialog stopped popping up. Is anyone else having problems with their 1.1.1 stacks or the Rev 2.2 debugger/script saving? Any help would be appreciated. From david at kwinter.ca Fri Jun 4 15:15:38 2004 From: david at kwinter.ca (David Kwinter) Date: Fri, 4 Jun 2004 13:15:38 -0600 Subject: stand Alone bug In-Reply-To: Message-ID: <9055032A-B65B-11D8-8E81-000393881C54@kwinter.ca> Hey that's pretty funny - I just posted about that problem. If you have 1.1.1, open your stack in it and go to the script which has been changed and hit space or return or whatever then hit apply. The script you see will actually be applied. On Friday, June 4, 2004, at 12:49 PM, tzvi wrote: > sorry forgot to add the error itself. > > executing at 2:18:46 PM > Type Chunk: can't find stack > Object Enter > Line send "setLoc" to stack "entry Form" > Hint button id 1010 of group id 1012 of card id 1143 of stack > "fskiosk" of stack "/Users/tzvi/Desktop/fs.rev" > As of now , no line like this anymore. > > > On Friday, June 4, 2004, at 02:47 PM, tzvi wrote: > >> I was trying to save as a standAlone, keep on getting errors "there >> was an error while saving the standalone app." >> then it comes up the error stating a line of code that was removed , >> changed around , and deleted already to make sure its deleted >> completely to see what's going on. But just didn't work . The same >> thing error over and over. >> Any help is appreciated. >> Thanks >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From tzvi at realtorsgroup.us Fri Jun 4 15:51:40 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Fri, 4 Jun 2004 15:51:40 -0400 Subject: stand Alone bug In-Reply-To: <9055032A-B65B-11D8-8E81-000393881C54@kwinter.ca> Message-ID: <990AB2EC-B660-11D8-8706-0030654C1E62@realtorsgroup.us> On Friday, June 4, 2004, at 03:15 PM, David Kwinter wrote: > Hey that's pretty funny - I just posted about that problem. If you > have 1.1.1, open your stack in it and go to the script which has been > changed and hit space or return or whatever then hit apply. The script > you see will actually be applied. I don't have 1.1.1 I started with 2.0. The bottom line I'm stuck . Don't tell me that I have to rewrite the whole file. Since when I deleted the whole script. an empty errorWindow comes up then when I hit the "script" btn the development script window comes up. Thanks > > > On Friday, June 4, 2004, at 12:49 PM, tzvi wrote: > >> sorry forgot to add the error itself. >> >> executing at 2:18:46 PM >> Type Chunk: can't find stack >> Object Enter >> Line send "setLoc" to stack "entry Form" >> Hint button id 1010 of group id 1012 of card id 1143 of stack >> "fskiosk" of stack "/Users/tzvi/Desktop/fs.rev" >> As of now , no line like this anymore. >> >> >> On Friday, June 4, 2004, at 02:47 PM, tzvi wrote: >> >>> I was trying to save as a standAlone, keep on getting errors "there >>> was an error while saving the standalone app." >>> then it comes up the error stating a line of code that was removed , >>> changed around , and deleted already to make sure its deleted >>> completely to see what's going on. But just didn't work . The same >>> thing error over and over. >>> Any help is appreciated. >>> Thanks >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From tzvi at realtorsgroup.us Fri Jun 4 16:07:09 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Fri, 4 Jun 2004 16:07:09 -0400 Subject: stand Alone bug In-Reply-To: <990AB2EC-B660-11D8-8706-0030654C1E62@realtorsgroup.us> Message-ID: It did compile on 2.1 (but crashed after it finished) but the standalone is good. On Friday, June 4, 2004, at 03:51 PM, tzvi wrote: > > On Friday, June 4, 2004, at 03:15 PM, David Kwinter wrote: > >> Hey that's pretty funny - I just posted about that problem. If you >> have 1.1.1, open your stack in it and go to the script which has been >> changed and hit space or return or whatever then hit apply. The >> script you see will actually be applied. > I don't have 1.1.1 I started with 2.0. > The bottom line I'm stuck . Don't tell me that I have to rewrite the > whole file. Since when I deleted the whole script. an empty > errorWindow comes up then when I hit the "script" btn the development > script window comes up. > Thanks >> >> >> On Friday, June 4, 2004, at 12:49 PM, tzvi wrote: >> >>> sorry forgot to add the error itself. >>> >>> executing at 2:18:46 PM >>> Type Chunk: can't find stack >>> Object Enter >>> Line send "setLoc" to stack "entry Form" >>> Hint button id 1010 of group id 1012 of card id 1143 of stack >>> "fskiosk" of stack "/Users/tzvi/Desktop/fs.rev" >>> As of now , no line like this anymore. >>> >>> >>> On Friday, June 4, 2004, at 02:47 PM, tzvi wrote: >>> >>>> I was trying to save as a standAlone, keep on getting errors >>>> "there was an error while saving the standalone app." >>>> then it comes up the error stating a line of code that was removed >>>> , changed around , and deleted already to make sure its deleted >>>> completely to see what's going on. But just didn't work . The same >>>> thing error over and over. >>>> Any help is appreciated. >>>> Thanks >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From RGould8 at aol.com Fri Jun 4 16:19:49 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri, 4 Jun 2004 16:19:49 EDT Subject: Way to split stack vertically with scrollbars? Message-ID: <155.368afd60.2df23365@aol.com> Is there a way in Revolution to create an app that is 800x600, yet has the top 500 pixels in a "horizontal scrolling" region, with a horizontal scrollbar at the bottom of that top region: ------------------------------------------- | | | | | | | | ------------------------------------------- | | | | ------------------------------------------- This would be similar to what you'd see in html if you were using frames, and told the top frame to have a horizontal scrollbar. Perhaps have the top and bottom be separate stacks? What I'd like to do is have the top region be 2000 pixels wide, yet permit the user to scroll that top-section within the 800-pixel-wide viewable area of the stack. From devin_asay at byu.edu Fri Jun 4 16:29:09 2004 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 04 Jun 2004 14:29:09 -0600 Subject: Way to split stack vertically with scrollbars? In-Reply-To: <155.368afd60.2df23365@aol.com> References: <155.368afd60.2df23365@aol.com> Message-ID: Couldn't you make the two regions separate groups each with its own set of scrollbars? Then if any of the controls in each group were out of the visible area of the group the scrollbars should automatically be activated. Am I understanding the problem correctly? Devin On Jun 4, 2004, at 2:19 PM, RGould8 at aol.com wrote: > Is there a way in Revolution to create an app that is 800x600, > yet has the top 500 pixels in a "horizontal scrolling" region, with > a horizontal scrollbar at the bottom of that top region: > > ------------------------------------------- > | | > | | > | | > | | > ------------------------------------------- > | | > | | > ------------------------------------------- > > This would be similar to what you'd see in html if you were using > frames, and told the top frame to have a horizontal scrollbar. > > Perhaps have the top and bottom be separate stacks? What I'd like > to do is have the top region be 2000 pixels wide, yet permit the > user to scroll that top-section within the 800-pixel-wide viewable > area of > the stack. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Devin Asay Humanities Technology and Research Support Center Brigham Young University From lists at mangomultimedia.com Fri Jun 4 13:54:29 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 4 Jun 2004 11:54:29 -0600 Subject: Where to store read/write files on multi-user systems In-Reply-To: <4D3E2E92-B64F-11D8-B7AA-000A956C462A@mangomultimedia.com> References: <12025110-B64D-11D8-8708-000393680A94@aliceposta.it> <4D3E2E92-B64F-11D8-B7AA-000A956C462A@mangomultimedia.com> Message-ID: <39FF9126-B650-11D8-B7AA-000A956C462A@mangomultimedia.com> On Jun 4, 2004, at 11:47 AM, Trevor DeVore wrote: >> >> However, you have to set permission accordingly. As far as I know >> there is not a way to set permissions from Revolution when you create >> a file.... (right?) .. so you can have problems to read/write files >> created by an other user. > > You can use the shell command to change the permissions. I think you > would want to chmod 666 the file to make it read/writable by everyone. I just tested and this works - get shell("chmod 666 " "e& MY_FILE_PATH "e) -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From RGould8 at aol.com Fri Jun 4 16:39:01 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri, 4 Jun 2004 16:39:01 EDT Subject: Way to split stack vertically with scrollbars? Message-ID: <80.d9622dc.2df237e5@aol.com> In a message dated 6/4/04 4:32:16 PM, devin_asay at byu.edu writes: > Couldn't you make the two regions separate groups each with its own set > of scrollbars? Then if any of the controls in each group were out of > the visible area of the group the scrollbars should automatically be > activated. > > Am I understanding the problem correctly? > > Devin > Hmmmm - - - that sounds like it could work. The only tricky part is that the user will be adding/subtracting a lot ot graphic bitmaps and positioning them within that top scrolling area, so I'll have a lot of "add to group" logic to keep track of. I was hoping I could just create new bitmaps and plop them on the card in the right spot and not worry about groups and positioning things within groups. However, if I absolutely must use groups, I can do that. So is it not technically possible to have a card that is 2000 pixels wide shown in a stack that is only 800 pixels wide, and have horizontal scrollbars? From themacguy at macosx.com Fri Jun 4 17:39:54 2004 From: themacguy at macosx.com (Barry Levine) Date: Fri, 4 Jun 2004 15:39:54 -0600 Subject: When is a "word" not a "word"? Message-ID: I may be misinterpreting things or simply have an erroneous expectation: Let's say you have a field containing the text "Is this something?" Double-click on the last word and the nine letters that make up the word are selected. That seems to be what you would expect. Now open the message box and type "the last word of field 1". What do you get? That's right; the "?" is also part of the last word. So I guess what I'm looking for is the Transcript equivalent of double-clicking a word. There's the "clickChunk" but that implies I've actually clicked on the word. This needs to be done independent of any mouseClicks. How would I describe: "the last word minus the last char of field 1" Thanks, Barry From RGould8 at aol.com Fri Jun 4 17:41:30 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri, 4 Jun 2004 17:41:30 EDT Subject: Way to split stack vertically with scrollbars? Message-ID: <30.584a99c8.2df2468a@aol.com> I think you're idea of using scrollbars with groups is a good one. I'm just having difficulty getting it set up correctly. I'm finding that if I add elements to my group that go beyond the right-hand-side of my stack, Revolution moves the vertical sliderbar off the edge of the stack and then the user can't use it anymore. Are there any example stacks out there that I can study to see how this is done? In a message dated 6/4/04 4:32:16 PM, devin_asay at byu.edu writes: > Couldn't you make the two regions separate groups each with its own set > of scrollbars? Then if any of the controls in each group were out of > the visible area of the group the scrollbars should automatically be > activated. > > Am I understanding the problem correctly? > > Devin > > On Jun 4, 2004, at 2:19 PM, RGould8 at aol.com wrote: > > > Is there a way in Revolution to create an app that is 800x600, > > yet has the top 500 pixels in a "horizontal scrolling" region, with > > a horizontal scrollbar at the bottom of that top region: > > > > ------------------------------------------- > > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | > > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | > > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | > > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | > > ------------------------------------------- > > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | > > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | > > ------------------------------------------- > > > > This would be similar to what you'd see in html if you were using > > frames, and told the top frame to have a horizontal scrollbar. > > > > Perhaps have the top and bottom be separate stacks??? What I'd like > > to do is have the top region be 2000 pixels wide, yet permit the > > user to scroll that top-section within the 800-pixel-wide viewable > > area of > > the stack. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From ambassador at fourthworld.com Fri Jun 4 17:47:23 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 04 Jun 2004 14:47:23 -0700 Subject: When is a "word" not a "word"? In-Reply-To: References: Message-ID: <40C0EDEB.1090505@fourthworld.com> Barry Levine wrote: > I may be misinterpreting things or simply have an erroneous expectation: > > Let's say you have a field containing the text "Is this something?" > > Double-click on the last word and the nine letters that make up the word > are selected. That seems to be what you would expect. Now open the > message box and type "the last word of field 1". What do you get? That's > right; the "?" is also part of the last word. > > So I guess what I'm looking for is the Transcript equivalent of > double-clicking a word. There's the "clickChunk" but that implies I've > actually clicked on the word. This needs to be done independent of any > mouseClicks. > > How would I describe: "the last word minus the last char of field 1" Try token instead of word. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From revlist at cableone.net Fri Jun 4 17:50:19 2004 From: revlist at cableone.net (Chris Sheffield) Date: Fri, 4 Jun 2004 15:50:19 -0600 Subject: Way to split stack vertically with scrollbars? In-Reply-To: <30.584a99c8.2df2468a@aol.com> Message-ID: <000901c44a7d$ee99f0d0$64fea8c0@chris1> Does setting the lockLoc of your group to true do the trick? Chris Sheffield Software Developer Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of RGould8 at aol.com Sent: Friday, June 04, 2004 3:42 PM To: use-revolution at lists.runrev.com Subject: Re: Way to split stack vertically with scrollbars? I think you're idea of using scrollbars with groups is a good one. I'm just having difficulty getting it set up correctly. I'm finding that if I add elements to my group that go beyond the right-hand-side of my stack, Revolution moves the vertical sliderbar off the edge of the stack and then the user can't use it anymore. Are there any example stacks out there that I can study to see how this is done? In a message dated 6/4/04 4:32:16 PM, devin_asay at byu.edu writes: > Couldn't you make the two regions separate groups each with its own set > of scrollbars? Then if any of the controls in each group were out of > the visible area of the group the scrollbars should automatically be > activated. > > Am I understanding the problem correctly? > > Devin > > On Jun 4, 2004, at 2:19 PM, RGould8 at aol.com wrote: > > > Is there a way in Revolution to create an app that is 800x600, > > yet has the top 500 pixels in a "horizontal scrolling" region, with > > a horizontal scrollbar at the bottom of that top region: > > > > ------------------------------------------- > > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | > > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | > > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | > > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | > > ------------------------------------------- > > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | > > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? | > > ------------------------------------------- > > > > This would be similar to what you'd see in html if you were using > > frames, and told the top frame to have a horizontal scrollbar. > > > > Perhaps have the top and bottom be separate stacks??? What I'd like > > to do is have the top region be 2000 pixels wide, yet permit the > > user to scroll that top-section within the 800-pixel-wide viewable > > area of > > the stack. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.698 / Virus Database: 455 - Release Date: 6/2/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.698 / Virus Database: 455 - Release Date: 6/2/2004 From dsc at swcp.com Fri Jun 4 17:53:26 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 4 Jun 2004 15:53:26 -0600 Subject: OT for the time being (was: RunRev on PocketPC?) In-Reply-To: <471F7C88-B627-11D8-B16C-003065CC999E@pi.be> References: <471F7C88-B627-11D8-B16C-003065CC999E@pi.be> Message-ID: <9B859700-B671-11D8-A230-000A9567A3E6@swcp.com> On Jun 4, 2004, at 7:01 AM, Wouter wrote: > With a handheld like this one it probably will pose no problems. Wow. I just made a mockup to hold in my hand. (Just put 5 C cells in a small cut-down box.) Wow. I don't know if my eyes can exploit the 800X480 5" screen, though. Maybe I can figure out how to print 185 dots per inch on my printer and tape that to my mockup. Or I would hold my hands up to my cinema display, halfway from my eyes to the screen. Won't work in extended weightlessness and can't go where where Bluetooth and 802.11b are not allowed, but I can live with that. Wow. Now, if only it was a Mac. Dar Scott (who used many of the computers in the video) From RGould8 at aol.com Fri Jun 4 17:58:03 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri, 4 Jun 2004 17:58:03 EDT Subject: Way to split stack vertically with scrollbars? Message-ID: Ahhhh, much better, thank you!!! In a message dated 6/4/04 5:51:02 PM, revlist at cableone.net writes: > Does setting the lockLoc of your group to true do the trick? > > Chris Sheffield > Software Developer > Read Naturally > > From psahores at easynet.fr Fri Jun 4 17:47:32 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 4 Jun 2004 23:47:32 +0200 Subject: Where to store read/write files on multi-user systems In-Reply-To: <3EB66BD8-B632-11D8-B7AA-000A956C462A@mangomultimedia.com> References: <3EB66BD8-B632-11D8-B7AA-000A956C462A@mangomultimedia.com> Message-ID: Le 4 juin 04, ? 16:19, Trevor DeVore a ?crit : > Scenario: > An application which consists of the following parts - > 1) Revolution executable > 2) Revolution stack for storing global user information (read/write) > 3) Valentina Database (read/write) > 4) Revolution stack for storing user preferences (read/write) > Hello Trevor, In my idea, the most secure way to get your project up would be to set up this all as a work for Apache + a TCP sockets driven application server (coded in Rev, Python or Java) connected to an ACID compliant database server (PostgreSQL, FireBird, Sybase, Oracle,...) where the Rev's client-side apps would have to act as browsers of the server-side stuff. Any other way will need lots more coding for less usable results (availaibility, concurrents accesses, TCO). > > Problem: > Where is the best place to store files with different requirements? > Some should be read/writable by just the user, others by every user > who uses your application. > > > Here is what I have come up with and I am looking for feedback on this > (more appropriate place to store things, etc.). These use folders > which are accessible using specialFolderPath or are located where the > application was installed by the user. > > Windows XP/2000 > * User specific preference files (4 in my list above)- C:/Documents > and Settings/USERNAME/Application Data/MYAPP > specialFolderPath(26) > * Shared files writable by everyone (2 and 3)- C:/Documents and > Settings/All Users/Application Data/MYAPP > specialFolderPath(35) > > Windows 98/ME > * User specific preference files (4)- C:/WINDOWS/Application Data/MYAPP > specialFolderPath(26) > * Everything else- C:/Program Files/MYAPP (basically the location > where the user installs the app) > > Mac OS X > * User specific preference files (4)- > /Users/USERNAME/Library/Preferences/MYAPP > specialFolderPath("pref") > * Shared files writable by everyone (2 and 3)- /Users/Shared/MYAPP > specialFolderPath("sdat") > > Mac OS 9 > * User specific preference files (4)- OS 9:System Folder/Preferences > specialFolderPath("pref") > * Shared files writable by everyone (2 and 3)- Location where > application is installed. > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From katir at hindu.org Fri Jun 4 18:19:34 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Fri, 4 Jun 2004 12:19:34 -1000 Subject: FTP problem to Name Based Virtual Server Web Site In-Reply-To: References: <1F2CD15C-B34F-11D8-AAC8-0003936D012E@mac.com> <409BFE9C-B35F-11D8-B55A-000A959D0AC6@hindu.org> <51FA116C-B5E5-11D8-B8CC-000A959D0AC6@hindu.org> Message-ID: <42525016-B675-11D8-B8CC-000A959D0AC6@hindu.org> Dave, you got it... Thank you! > With ftp://dave:pass at 192.168.123.7/../../, I get a listing of the root > volume. works... and put url "ftp://jiva%40hheonline.org:password at 55.55.55.55/../../var/www/ formdata/guestbook.dat" pulls down the data... see below. libURL is just fine ;-) case closed. On Jun 4, 2004, at 9:03 AM, Dave Cragg wrote: > At 7:09 pm -1000 3/6/04, Sannyasin Sivakatirswami wrote: > > >> Ok here we go with logs: >> >> ftp://jiva%40hheonline.org:password at 55.55.55.555//home/jiva/ >> mainwebsite_html/ >> > [snip] > What happens when you you get the same url but with a single slash > instead of a double slash? I'm guessing you will get the same result. right, same result > > Similarly, what happens in Rev when you get the same url, but with a > single slash? Again, I'm guessing you will get the same. > > >> == back to interarchy: >> >> ftp://jiva%40hheonline.org:password at 555.55.55.55// >> right, same result > Again, do you get something different from Interarchy when you use a > single slash? right, same result... I always get thrown back to the USER home directory... > > Here is a quick summary of how libUrl constructs the paths it uses in > calls to an ftp server. > > [snip] > > If the current working directory doesn't match the path in the url, > then libUrl prepends the current working diectory to the path in the > url. So, for example, if I call > ftp://dave:pass at 192.168.123.7/Documents libUrl will also get a listing > of /Users/dave/Documents. > > I may be wrong, but I think this is how it should be. Yes, probably so. I don't know much about these virtual servers-domains. When we got our new managed server I didn't expect, upon "create name based site" that it would generate an entire virtual server... "web sites on steroids" It's a model for those who are selling web space, which we are not... But I can see the advantages from a security point of view... it means I could delegate content management for a particular site to a remote user and he can really do much to my server, so that's a good thing. and locking in FTP call to a particular web site on the server must be what this is all about > > If you want to climb back up the file hierarchy, you can use "../". > > For example, ftp://dave:pass at 192.168.123.7/../ will return a listing > of the /Users directory. > > With ftp://dave:pass at 192.168.123.7/../../, I get a listing of the root > volume. That works! Thanks again. > > I think you should be able to get what you need in this way. > > Cheers > Dave From tzvi at realtorsgroup.us Fri Jun 4 18:16:26 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Fri, 4 Jun 2004 18:16:26 -0400 Subject: OT for the time being (was: RunRev on PocketPC?) In-Reply-To: <9B859700-B671-11D8-A230-000A9567A3E6@swcp.com> Message-ID: This was supposed to be released in ,02. On Friday, June 4, 2004, at 05:53 PM, Dar Scott wrote: > > On Jun 4, 2004, at 7:01 AM, Wouter wrote: > >> With a handheld like this one it probably will pose no problems. > > Wow. I just made a mockup to hold in my hand. (Just put 5 C cells in > a small cut-down box.) Wow. > > I don't know if my eyes can exploit the 800X480 5" screen, though. > Maybe I can figure out how to print 185 dots per inch on my printer > and tape that to my mockup. Or I would hold my hands up to my cinema > display, halfway from my eyes to the screen. > > Won't work in extended weightlessness and can't go where where > Bluetooth and 802.11b are not allowed, but I can live with that. > > Wow. Now, if only it was a Mac. > > Dar Scott > (who used many of the computers in the video) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Fri Jun 4 18:30:31 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 4 Jun 2004 15:30:31 -0700 Subject: External sample In-Reply-To: <002701c449de$948be520$7401000a@minipcxp> References: <20040603160108.08D12930114@mail.runrev.com> <002701c449de$948be520$7401000a@minipcxp> Message-ID: <11125649582.20040604153031@ahsoftware.net> John- Thursday, June 3, 2004, 7:49:38 PM, you wrote: JR> ftp://ftp.runrev.com/pub/revolution/downloads/distributions/sdk/ExternalSDK.zip JR> works great...using an old version of CodeWarrior in XP too! The example is JR> actually in a 'Visual' format (MS Visual Studio I believe). Interesting. What are you using to open it with? I can extract everything under OSX, but WinZip complains about a corrupt archive. -- -Mark Wieder mwieder at ahsoftware.net From lists at mangomultimedia.com Fri Jun 4 18:39:42 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 4 Jun 2004 16:39:42 -0600 Subject: Where to store read/write files on multi-user systems In-Reply-To: References: <3EB66BD8-B632-11D8-B7AA-000A956C462A@mangomultimedia.com> Message-ID: <123B1F7B-B678-11D8-B7AA-000A956C462A@mangomultimedia.com> On Jun 4, 2004, at 3:47 PM, Pierre Sahores wrote: > Le 4 juin 04, ? 16:19, Trevor DeVore a ?crit : > >> Scenario: >> An application which consists of the following parts - >> 1) Revolution executable >> 2) Revolution stack for storing global user information (read/write) >> 3) Valentina Database (read/write) >> 4) Revolution stack for storing user preferences (read/write) >> > Hello Trevor, > > In my idea, the most secure way to get your project up would be to set > up this all as a work for Apache + a TCP sockets driven application > server (coded in Rev, Python or Java) connected to an ACID compliant > database server (PostgreSQL, FireBird, Sybase, Oracle,...) where the > Rev's client-side apps would have to act as browsers of the > server-side stuff. Any other way will need lots more coding for less > usable results (availaibility, concurrents accesses, TCO). Pierre, This particular application is an interactive training title that will be distributed on CD-ROM for the moment but will eventually be embedded on medical hardware. The revolution stacks I'm using for data storage allow people using the program to set up multiple users and track the number of lessons they have completed. It isn't multi-user in the sense that multiple people will access the program at once but in the fact different users of the same PC could access the program. Example - The administrator will install the application on a Windows XP machine in the C:/Program Files directory. Bob logs in (Bob doesn't have administrator rights so he can't write to the C:/Program Files directory) and uses the program. In order for Bob to save his progress in the lessons on the computer the revolution stack that stores this information needs to be in a area where everyone can read/write files. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From tsj at unimelb.edu.au Fri Jun 4 19:03:21 2004 From: tsj at unimelb.edu.au (Terry Judd) Date: Sat, 5 Jun 2004 09:03:21 +1000 Subject: Background app in OSX.3? In-Reply-To: <20040604160026.9D7E1930106@mail.runrev.com> Message-ID: <6021CBE2-B67B-11D8-A633-000393AEC28C@unimelb.edu.au> Briian Yennie wrote: > Er, I think I've got it. > Apparently in Panther, this information is cached. Try this: > > http://cocoa.mamasam.com/MACOSXDEV/2003/11/1/76192.php > > Which suggests to "touch" your application bundle after you change the > plist file. > In terminal: > > cd /Applications > touch MyApplication.app > > So use LSUIelement as usual, but you gotta trick the OS into seeing > your change. > It may also work to drag things in and out of your applications > folder, but the above seems more likely to work to me... > > HTH. > Brian Then Ken Ray wrote: > > Cool... it looks like if you set LSBackgroundOnly (instead of the old > "NSBGonly") it should work. Terry, why don't you try it and get back > to us? OK, I don't have Panther at home (10.2.8 - but then nothing was working here either). So I tried setting LSUIelement and 'touching' the applications folder as suggest by Brian with no effect. However, LSBackgroundOnly (+ touch) does work on 10.2.8 (things are looking up) but I won't be able to test on Panther until Monday (NB it didn't work when I tried it yesterday but then we didn't know about the touch trick). I'll keep you informed. Thanks for all your help. Cheers, Terry... From david at kwinter.ca Fri Jun 4 20:59:32 2004 From: david at kwinter.ca (David Kwinter) Date: Fri, 4 Jun 2004 18:59:32 -0600 Subject: stand Alone bug In-Reply-To: <990AB2EC-B660-11D8-8706-0030654C1E62@realtorsgroup.us> Message-ID: <9B2C142C-B68B-11D8-8E81-000393881C54@kwinter.ca> I feel your pain. I recommend asking the Rev ppl if you can get a copy of 1.1.1 - I've found that for certain projects it is better to be able to debug properly than to have the extra features. On Friday, June 4, 2004, at 01:51 PM, tzvi wrote: > > On Friday, June 4, 2004, at 03:15 PM, David Kwinter wrote: > >> Hey that's pretty funny - I just posted about that problem. If you >> have 1.1.1, open your stack in it and go to the script which has been >> changed and hit space or return or whatever then hit apply. The >> script you see will actually be applied. > I don't have 1.1.1 I started with 2.0. > The bottom line I'm stuck . Don't tell me that I have to rewrite the > whole file. Since when I deleted the whole script. an empty > errorWindow comes up then when I hit the "script" btn the development > script window comes up. > Thanks >> >> >> On Friday, June 4, 2004, at 12:49 PM, tzvi wrote: >> >>> sorry forgot to add the error itself. >>> >>> executing at 2:18:46 PM >>> Type Chunk: can't find stack >>> Object Enter >>> Line send "setLoc" to stack "entry Form" >>> Hint button id 1010 of group id 1012 of card id 1143 of stack >>> "fskiosk" of stack "/Users/tzvi/Desktop/fs.rev" >>> As of now , no line like this anymore. >>> >>> >>> On Friday, June 4, 2004, at 02:47 PM, tzvi wrote: >>> >>>> I was trying to save as a standAlone, keep on getting errors >>>> "there was an error while saving the standalone app." >>>> then it comes up the error stating a line of code that was removed >>>> , changed around , and deleted already to make sure its deleted >>>> completely to see what's going on. But just didn't work . The same >>>> thing error over and over. >>>> Any help is appreciated. >>>> Thanks >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From shaosean at unitz.ca Fri Jun 4 21:48:52 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Fri, 04 Jun 2004 21:48:52 -0400 Subject: Windows externals In-Reply-To: <04494B37-B580-11D8-ABCB-000A27B49A96@major-k.de> References: <001601c44982$6077b310$64fea8c0@chris1> <04494B37-B580-11D8-ABCB-000A27B49A96@major-k.de> Message-ID: > The win-version (EXT.dll) had exactly that functionality: > get cddrive() ## or something... it only seemed to return the first cd drive if you have more than one -Sean From jacque at hyperactivesw.com Fri Jun 4 22:57:35 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Jun 2004 21:57:35 -0500 Subject: stand Alone bug In-Reply-To: <990AB2EC-B660-11D8-8706-0030654C1E62@realtorsgroup.us> References: <990AB2EC-B660-11D8-8706-0030654C1E62@realtorsgroup.us> Message-ID: <40C1369F.1000900@hyperactivesw.com> On 6/4/04 2:51 PM, tzvi wrote: > > On Friday, June 4, 2004, at 03:15 PM, David Kwinter wrote: > >> Hey that's pretty funny - I just posted about that problem. If you >> have 1.1.1, open your stack in it and go to the script which has been >> changed and hit space or return or whatever then hit apply. The script >> you see will actually be applied. > > I don't have 1.1.1 I started with 2.0. > The bottom line I'm stuck . Don't tell me that I have to rewrite the > whole file. Since when I deleted the whole script. an empty errorWindow > comes up then when I hit the "script" btn the development script window > comes up. > Thanks For both these stacks: open the property inspector for the object that has the errant script. Look at the custom properties for that object. If you see one called "cRevGeneral", delete it. This property stores a copy of the script, and removing it may solve the problem. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bornstein at designeq.com Sat Jun 5 00:19:46 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Sat, 5 Jun 2004 00:19:46 -0400 Subject: I just want to turn off button hiliting... Message-ID: <93D1EA0C-B6A7-11D8-B5AE-000A95909E26@designeq.com> Here's a problem with hiliting I've run into with buttons. I create a button, set its style to rectangle (or standard) and turn off hiliting in the object inspector. If I click the button, no problem, it doesn't hilite. However, if I put this script into the button: on mousestilldown set the loc of me to the mouseloc end mousestilldown The button will follow the mouse around BUT it also hilites and stays hilited. If I test the button in the msg box (put the hilite of btn "test") it returns false. If I say in the msg box, "set the hilite of btn "test" to false" I don't see any change. If I add this mouseup handler: on mouseup set the hilite of me to false end mouseup it remains hilited. However, if I replace it with this mouseup handler: on mouseup set the hilite of me to true set the hilite of me to false end mouseup Then the hilite is removed. What I really want to do is just drag the button around with the mouse without it ever hiliting. Anybody have an idea why this is happening? TIA Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From ambassador at fourthworld.com Sat Jun 5 01:32:52 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 04 Jun 2004 22:32:52 -0700 Subject: I just want to turn off button hiliting... In-Reply-To: <93D1EA0C-B6A7-11D8-B5AE-000A95909E26@designeq.com> References: <93D1EA0C-B6A7-11D8-B5AE-000A95909E26@designeq.com> Message-ID: <40C15B04.3010207@fourthworld.com> Howard Bornstein wrote: > Here's a problem with hiliting I've run into with buttons. I create a > button, set its style to rectangle (or standard) and turn off hiliting > in the object inspector. If I click the button, no problem, it doesn't > hilite. However, if I put this script into the button: > > on mousestilldown > set the loc of me to the mouseloc > end mousestilldown > > The button will follow the mouse around BUT it also hilites and stays > hilited. If I test the button in the msg box (put the hilite of btn > "test") it returns false. If I say in the msg box, "set the hilite of > btn "test" to false" I don't see any change. > > If I add this mouseup handler: > > on mouseup > set the hilite of me to false > end mouseup > > it remains hilited. > > However, if I replace it with this mouseup handler: > > on mouseup > set the hilite of me to true > set the hilite of me to false > end mouseup > > Then the hilite is removed. > > What I really want to do is just drag the button around with the mouse > without it ever hiliting. > > Anybody have an idea why this is happening? Is the style of the button rectangle or standard and you're using OS X? If so, welcome to Macintosh: Apple has decided that buttons will always hilite, regardless of trivial little things like what a developer may want, so buttons drawn by the OS will have the hilite. If you don't need the Apple-specific appearance you can just set the style to anything other than standard, and if the style is rectangle just set the backgroundColor to tell the engine to draw using its internal routines. The engine will faithfully deliver what you want; it was designed with the philosophy Apple helped popularize but sometimes forgets: the user is in control. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From bornstein at designeq.com Sat Jun 5 01:49:02 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Sat, 5 Jun 2004 01:49:02 -0400 Subject: I just want to turn off button hiliting... In-Reply-To: <40C15B04.3010207@fourthworld.com> References: <93D1EA0C-B6A7-11D8-B5AE-000A95909E26@designeq.com> <40C15B04.3010207@fourthworld.com> Message-ID: <0C8C2D16-B6B4-11D8-B5AE-000A95909E26@designeq.com> On Jun 5, 2004, at 1:32 AM, Richard Gaskin wrote: > Is the style of the button rectangle or standard and you're using OS > X? If so, welcome to Macintosh: You got it. :-) > If you don't need the Apple-specific appearance you can just set the > style to anything other than standard, and if the style is rectangle > just set the backgroundColor to tell the engine to draw using its > internal routines. Thanks, that does, in fact work. That will help a lot. While I'm at it, here's another one (for some reason Rev is just not doing what I want tonight!). I've got a button that creates another object (say another button). In the button's script I first lock the screen. Then create the new button, then do some stuff, and later rename the button. It appears that when creating an object via script, this nullifies the lock screen command, because the button first appears with its original name and then you see it renamed (these are just trivial examples--the main point is that the lock screen command doesn't seem to hold if you're creating objects). Is this a known phenomena? Also only in OSX? Any workarounds? Thanks, Richard. Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From briany at qldlearning.com Sat Jun 5 02:21:16 2004 From: briany at qldlearning.com (Brian Yennie) Date: Sat, 5 Jun 2004 02:21:16 -0400 Subject: I just want to turn off button hiliting... In-Reply-To: <0C8C2D16-B6B4-11D8-B5AE-000A95909E26@designeq.com> Message-ID: <8D1FB731-B6B8-11D8-A30D-000393AA08D2@qldlearning.com> > I've got a button that creates another object (say another button). In > the button's script I first lock the screen. Then create the new > button, then do some stuff, and later rename the button. It appears > that when creating an object via script, this nullifies the lock > screen command, because the button first appears with its original > name and then you see it renamed (these are just trivial examples--the > main point is that the lock screen command doesn't seem to hold if > you're creating objects). Is this a known phenomena? Also only in OSX? > Any workarounds? This is just a stab in the dark, but could this be IDE specific? I'm thinking if something (such as the IDE) is intercepting messages for new controls, it might be unlocking the screen? What happens if you lock the screen _and_ lock messages? - Brian From ambassador at fourthworld.com Sat Jun 5 02:24:52 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 04 Jun 2004 23:24:52 -0700 Subject: I just want to turn off button hiliting... In-Reply-To: <0C8C2D16-B6B4-11D8-B5AE-000A95909E26@designeq.com> References: <93D1EA0C-B6A7-11D8-B5AE-000A95909E26@designeq.com> <40C15B04.3010207@fourthworld.com> <0C8C2D16-B6B4-11D8-B5AE-000A95909E26@designeq.com> Message-ID: <40C16734.7040606@fourthworld.com> Howard Bornstein wrote: > I've got a button that creates another object (say another button). In > the button's script I first lock the screen. Then create the new button, > then do some stuff, and later rename the button. It appears that when > creating an object via script, this nullifies the lock screen command, > because the button first appears with its original name and then you see > it renamed (these are just trivial examples--the main point is that the > lock screen command doesn't seem to hold if you're creating objects). Is > this a known phenomena? Also only in OSX? Any workarounds? I believe the lockscreen should remain in place even when creating objects. You might double-check to make sure the stack that's the defaultStack is the one you want locked at the time the lockscreen is set. That might come into play if the button creation is triggered by a user action in a palette window, for example, where the defaultstack is the palette window being interacted with while the topstack is the document where the resulting object should appear. If your setup has everything happening in one window there might be something else at play, perhaps a newObject handler in the IDE that's changing the lockscreen without being mindful of matching lock and unlock commands. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From monte at sweattechnologies.com Sat Jun 5 02:56:41 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 5 Jun 2004 16:26:41 +0930 Subject: stand Alone bug In-Reply-To: <93222DEB-B657-11D8-8706-0030654C1E62@realtorsgroup.us> Message-ID: >I was trying to save as a standAlone, keep on getting errors "there >was an error while saving the standalone app." >then it comes up the error stating a line of code that was removed , >changed around , and deleted already to make sure its deleted >completely to see what's going on. But just didn't work . The same >thing error over and over. There are some bugs in the 2.2 version of the standalone builder related to the inclusion searching routine that have been resolved for 2.3. Please choose to select inclusions manually until the 2.3 release if you are encountering this issue. Cheers Monte From tvogelaar at de-mare.nl Sat Jun 5 05:57:24 2004 From: tvogelaar at de-mare.nl (Terry Vogelaar (de Mare)) Date: Sat, 5 Jun 2004 11:57:24 +0200 Subject: Anti-aliased text on Windows? Message-ID: Hi all, Being a Mac user, I was surprised to see the text in my Rev made application without the soft edges I expected to see. Since it is a program to display text on an LCD projector, I was kinda disappointed. I asked a very experienced Windows user that admitted he didn't knew what anti-aliased text was. For all who don't know either: see the following link for a quick explanation. http://www.webdevelopersnotes.com/graphics/antialias.php3 It is an OpenType Postscript font displayed on a Win98 PC with Adobe Type Manager 4.1 installed. Would using another Win version or other type formats solve this problem? Of course I could convert every text into a graphic, but since it handles a lot of text on thousands of cards, that would not be an elegant solution. Terry From klaus at major-k.de Sat Jun 5 07:00:06 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 5 Jun 2004 13:00:06 +0200 Subject: Anti-aliased text on Windows? In-Reply-To: References: Message-ID: <80E7CBD3-B6DF-11D8-8CED-000A27B49A96@major-k.de> Dag Terry, > Hi all, > Being a Mac user, I was surprised to see the text in my Rev made > application without the soft edges I expected to see. Since it is a > program to display text on an LCD projector, I was kinda disappointed. > I asked a very experienced Windows user that admitted he didn't knew > what anti-aliased text was. For all who don't know either: see the > following link for a quick explanation. > http://www.webdevelopersnotes.com/graphics/antialias.php3 > > It is an OpenType Postscript font displayed on a Win98 PC with Adobe > Type Manager 4.1 installed. Would using another Win version or other > type formats solve this problem? > > Of course I could convert every text into a graphic, but since it > handles a lot of text on thousands of cards, that would not be an > elegant solution. I am not sure, if this will work for PS fonts and ATM, but does work for TrueType fonts on windows... You can set the "Font smoothing" system preferences in RR via setregistry: ... put setregistry("HKEY_CURRENT_USER\Control Panel\Desktop\FontSmoothing","1") into smooth ## 1 = smoothing on ## 0 = smoothing off ... Hope that helps... > Terry Regards and groetjes :-) Klaus Major klaus at major-k.de http://www.major-k.de From themacguy at macosx.com Sat Jun 5 09:43:51 2004 From: themacguy at macosx.com (Barry Levine) Date: Sat, 5 Jun 2004 07:43:51 -0600 Subject: When is a "word" not a "word"? In-Reply-To: <20040605053147.A3E76930114@mail.runrev.com> References: <20040605053147.A3E76930114@mail.runrev.com> Message-ID: <613E3BE0-B6F6-11D8-AF4F-000A95763ABC@macosx.com> Richard, Thanks for the reply. Unfortunately, the "?" isn't one of the delimiters recognized by token. Perhaps it will be helpful if I explain further. I'm using Transcript to highlight the words in a sentence sequentially but I'd like the punctuation -not- to be highlighted when this occurs. For example, field 1 contains: My dog has fleas. Does yours? How do I tell my stack to hilite the word "yours" (without the "?")? Thanks, Barry On Jun 4, 2004, at 11:31 PM, use-revolution-request at lists.runrev.com wrote: > From: Richard Gaskin > Subject: Re: When is a "word" not a "word"? > > Try token instead of word. > -- > Richard Gaskin > > Barry Levine wrote: >> I may be misinterpreting things or simply have an erroneous >> expectation: >> >> Let's say you have a field containing the text "Is this something?" >> >> Double-click on the last word and the nine letters that make up the >> word >> are selected. That seems to be what you would expect. Now open the >> message box and type "the last word of field 1". What do you get? >> That's >> right; the "?" is also part of the last word. >> >> So I guess what I'm looking for is the Transcript equivalent of >> double-clicking a word. There's the "clickChunk" but that implies I've >> actually clicked on the word. This needs to be done independent of any >> mouseClicks. >> >> How would I describe: "the last word minus the last char of field 1" > From chipp at chipp.com Sat Jun 5 11:40:27 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 05 Jun 2004 10:40:27 -0500 Subject: Anti-aliased text on Windows? In-Reply-To: References: Message-ID: <40C1E96B.5090009@chipp.com> Terry, If your XP computer displayed antialiased text and you're not seeing it on you Rev App then chances are you're using the default font for RunRev. Try putting in the msg: set the textfont of stack "yourStackNameHere" to tahoma you should see the antialiased fonts appear instantly. -Chipp Terry Vogelaar (de Mare) wrote: > Hi all, > Being a Mac user, I was surprised to see the text in my Rev made > application without the soft edges I expected to see. Since it is a > program to display text on an LCD projector, I was kinda disappointed. I > asked a very experienced Windows user that admitted he didn't knew what > anti-aliased text was. For all who don't know either: see the following > link for a quick explanation. > http://www.webdevelopersnotes.com/graphics/antialias.php3 > > It is an OpenType Postscript font displayed on a Win98 PC with Adobe > Type Manager 4.1 installed. Would using another Win version or other > type formats solve this problem? > > Of course I could convert every text into a graphic, but since it > handles a lot of text on thousands of cards, that would not be an > elegant solution. > > Terry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From johnrule at rcsprogramming.com Sat Jun 5 11:44:29 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Sat, 5 Jun 2004 08:44:29 -0700 Subject: use-revolution Digest, Vol 9, Issue 9 References: <20040605053147.A3E76930114@mail.runrev.com> Message-ID: <00a001c44b13$fd47a7d0$7401000a@minipcxp> > WinZip complains about a corrupt archive. I vaguely remember that being the case now. Use the 'sit' file instead: ftp://ftp.runrev.com/pub/revolution/downloads/distributions/sdk/ExternalSDK.sit JR > Date: Fri, 4 Jun 2004 15:30:31 -0700 > From: Mark Wieder > Subject: Re: External sample > To: How to use Revolution > Message-ID: <11125649582.20040604153031 at ahsoftware.net> > Content-Type: text/plain; charset=us-ascii > > John- > > Thursday, June 3, 2004, 7:49:38 PM, you wrote: > > JR> ftp://ftp.runrev.com/pub/revolution/downloads/distributions/sdk/ExternalSDK.zip > > JR> works great...using an old version of CodeWarrior in XP too! The example is > JR> actually in a 'Visual' format (MS Visual Studio I believe). > > Interesting. What are you using to open it with? I can extract > everything under OSX, but WinZip complains about a corrupt archive. > > -- > -Mark Wieder > mwieder at ahsoftware.net > From bornstein at designeq.com Sat Jun 5 12:38:54 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Sat, 5 Jun 2004 12:38:54 -0400 Subject: Rev won't draw In-Reply-To: <5.1.1.6.0.20040604085328.01fcf078@mail.xmission.com> References: <5.1.1.6.0.20040604085328.01fcf078@mail.xmission.com> Message-ID: On Jun 4, 2004, at 11:03 AM, Leston Drake wrote: > On one card in my stack, when I click on any tool in the Tools > palette, and click-and-drag on the card to draw the object (e.g., a > button, a field) it does not create it. It does nothing. > > There is no script on the card or on any of the objects on the card. > > Anyone seen this before or have any useful ideas? This is a long shot, but go to the card and execute this from the message box: set the cantselect of this card to false See if it works now. Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From johnrule at rcsprogramming.com Sat Jun 5 13:06:01 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Sat, 5 Jun 2004 10:06:01 -0700 Subject: External example References: <20040605160007.4FEF393012B@mail.runrev.com> Message-ID: <001001c44b1f$61ffcd00$7301000a@minipcxp> Date: Sat, 5 Jun 2004 08:44:29 -0700 From: "John Rule" Subject: Re: use-revolution Digest, Vol 9, Issue 9 To: Message-ID: <00a001c44b13$fd47a7d0$7401000a at minipcxp> Content-Type: text/plain; charset="iso-8859-1" > WinZip complains about a corrupt archive. I vaguely remember that being the case now. Use the 'sit' file instead: ftp://ftp.runrev.com/pub/revolution/downloads/distributions/sdk/ExternalSDK.sit JR > Date: Fri, 4 Jun 2004 15:30:31 -0700 > From: Mark Wieder > Subject: Re: External sample > To: How to use Revolution > Message-ID: <11125649582.20040604153031 at ahsoftware.net> > Content-Type: text/plain; charset=us-ascii > > John- > > Thursday, June 3, 2004, 7:49:38 PM, you wrote: > > JR> ftp://ftp.runrev.com/pub/revolution/downloads/distributions/sdk/ExternalSDK.zip > > JR> works great...using an old version of CodeWarrior in XP too! The example is > JR> actually in a 'Visual' format (MS Visual Studio I believe). > > Interesting. What are you using to open it with? I can extract > everything under OSX, but WinZip complains about a corrupt archive. > > -- > -Mark Wieder > mwieder at ahsoftware.net > From psahores at easynet.fr Sat Jun 5 13:26:59 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 5 Jun 2004 19:26:59 +0200 Subject: Where to store read/write files on multi-user systems In-Reply-To: <123B1F7B-B678-11D8-B7AA-000A956C462A@mangomultimedia.com> References: <3EB66BD8-B632-11D8-B7AA-000A956C462A@mangomultimedia.com> <123B1F7B-B678-11D8-B7AA-000A956C462A@mangomultimedia.com> Message-ID: <8D259A03-B715-11D8-BCD9-000A95C61E96@easynet.fr> Hello Trevor, Le 5 juin 04, ? 00:39, Trevor DeVore a ?crit : > On Jun 4, 2004, at 3:47 PM, Pierre Sahores wrote: >> Le 4 juin 04, ? 16:19, Trevor DeVore a ?crit : >> >>> Scenario: >>> An application which consists of the following parts - >>> 1) Revolution executable >>> 2) Revolution stack for storing global user information (read/write) >>> 3) Valentina Database (read/write) >>> 4) Revolution stack for storing user preferences (read/write) >>> >> Hello Trevor, >> >> In my idea, the most secure way to get your project up would be to >> set up this all as a work for Apache + a TCP sockets driven >> application server (coded in Rev, Python or Java) connected to an >> ACID compliant database server (PostgreSQL, FireBird, Sybase, >> Oracle,...) where the Rev's client-side apps would have to act as >> browsers of the server-side stuff. Any other way will need lots more >> coding for less usable results (availaibility, concurrents accesses, >> TCO). > > Pierre, > > This particular application is an interactive training title that will > be distributed on CD-ROM for the moment but will eventually be > embedded on medical hardware. The revolution stacks I'm using for > data storage allow people using the program to set up multiple users > and track the number of lessons they have completed. > > It isn't multi-user in the sense that multiple people will access the > program at once but in the fact different users of the same PC could > access the program. OK, and sorry ! I was mistaking in about the way your app has to work ;) Best Rgards, Pierre > > Example - > The administrator will install the application on a Windows XP machine > in the C:/Program Files directory. Bob logs in (Bob doesn't have > administrator rights so he can't write to the C:/Program Files > directory) and uses the program. In order for Bob to save his > progress in the lessons on the computer the revolution stack that > stores this information needs to be in a area where everyone can > read/write files. > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From FlexibleLearning at aol.com Sat Jun 5 14:07:56 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat, 5 Jun 2004 14:07:56 EDT Subject: FontSmoothing Message-ID: In a message dated 05/06/2004 17:02:29 GMT Daylight Time, use-revolution-request at lists.runrev.com writes: put setregistry("HKEY_CURRENT_USER\Control Panel\Desktop\FontSmoothing","1") into smooth ## 1 = smoothing on ## 0 = smoothing off Win2k... 0=off 2=on /H _________________________________________________ Hugh Senior The Flexible Learning Company Consultant Programming & Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: _mailto:h at flexibleLearning.com_ (mailto:admin at flexibleLearning.com) Web: _www.flexibleLearning.com_ (http://www.flexiblelearning.com/) From bornstein at designeq.com Sat Jun 5 14:24:05 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Sat, 5 Jun 2004 14:24:05 -0400 Subject: Rev 2.2 debug bugs In-Reply-To: References: Message-ID: <86CEBC2A-B71D-11D8-9D0A-000A95909E26@designeq.com> On Jun 4, 2004, at 3:09 PM, David Kwinter wrote: > Is anyone else having problems with their 1.1.1 stacks or the Rev 2.2 > debugger/script saving? I'm not having the problems you described but I have been seeing a maddeningly frequent occurrence of a Rev freezing when I invoke debug mode. I'll select Script Debug mode from the debug menu. Under OSX (10.3.3/10.3.4) the debug menu stays highlighted and Rev freezes. It does "appear" to respond to some keyboard commands--for example, if I type cmd-Q, the File menu highlights like it's trying to quit, but no action takes place. The only recourse is to force-quit. As I say, this has been happening with increasing frequency. Am I the only one seeing this? Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From bornstein at designeq.com Sat Jun 5 14:41:36 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Sat, 5 Jun 2004 14:41:36 -0400 Subject: MouseMove strangeness Message-ID: I'm trying to write a handler that resizes the contents of a group when the group border is resized. Say the group consists off a field and a button. Within the group script I've put this: on mousemove set the rectangle of fld 1 to the rectangle of me end mousemove If I change the group size manually (without this script inside) and then execute the set rectangle command from the message box, it acts as expected: the field sizes to the size of the group border. However, when I use the mousemove handler, as soon as the mouse cursor enters the group borders, both the group and field sizes start expanding automatically. They will eventually expand off the screen. Since I'm not actually changing the group size (I never even get to a mousedown state) I can't figure out why anything is changing, let alone expanding. If anything, mousemove should continually be setting the field size to the same (non-changing) size of the group border, thus, nothing should actually be changing. Am I missing something obvious? Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From bill at bluewatermaritime.com Sat Jun 5 16:14:40 2004 From: bill at bluewatermaritime.com (Bill) Date: Sat, 05 Jun 2004 16:14:40 -0400 Subject: How to use progress bar In-Reply-To: <20040528065644.C131093010B@mail.runrev.com> Message-ID: I do a lot of time consuming things with data and would love to have a progress bar or something instead of just a spinning beachball. I want it to use the number of cards in the stack as finish and then increment every 2% of the total cards or something like that. Since I couldn't even get the progress bar to change at all no matter what I threw at it I need some help! Thanks in advance. From dcragg at lacscentre.co.uk Sat Jun 5 17:29:58 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 5 Jun 2004 22:29:58 +0100 Subject: MouseMove strangeness In-Reply-To: References: Message-ID: At 2:41 pm -0400 5/6/04, Howard Bornstein wrote: >I'm trying to write a handler that resizes the contents of a group >when the group border is resized. Say the group consists off a field >and a button. Within the group script I've put this: > >on mousemove > set the rectangle of fld 1 to the rectangle of me >end mousemove > >If I change the group size manually (without this script inside) and >then execute the set rectangle command from the message box, it acts >as expected: the field sizes to the size of the group border. >However, when I use the mousemove handler, as soon as the mouse >cursor enters the group borders, both the group and field sizes >start expanding automatically. They will eventually expand off the >screen. A group will normally resize to accommodate its contents. If the group has a margin setting > 0 (and probably a borderWidth > 0) this means that as the field rect gets set to the group rect, the group will then expand again to retain its margins and border settings. There are probably a number of ways to achieve what you want, but it will depend on your specific circumstances. For example, how/when is the group resized? By script, or by the user dragging on a border? Possible ways: Set the margins (and borderwidth) of the group to 0. Set the lockLocation of the group to true. (May need to be toggled if the group resizing is done manually.) Instead of resizing the group, just resize the field. Instead of resizing the group, use a "dummy object" such as a graphic and resize that, then set the rect of the field to the rect of the "dummy object". Cheers Dave From rogerguay at centurytel.net Sat Jun 5 19:23:57 2004 From: rogerguay at centurytel.net (Roger Guay) Date: Sat, 5 Jun 2004 16:23:57 -0700 Subject: Still a Couple of Nits Message-ID: <6ADBCDEE-B747-11D8-9D6C-000393A1CAAA@centurytel.net> Hello List, I didn't get a solution for these the first time, and they are really to bugging me. When I use the Command and Option keys to access scripts, I find that the script editor itself often opens up as well. How can I stop this??? I also find that the Command and "M" keys do not toggle the Message Box although it does cause the Tools menu to hilite briefly. The only response I got form an earlier query was to toggle "Suppress Messages." This did not work for me. Can anyone please help? TIA, Roger From katir at hindu.org Sat Jun 5 20:48:55 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat, 5 Jun 2004 14:48:55 -1000 Subject: Way to split stack vertically with scrollbars? In-Reply-To: <80.d9622dc.2df237e5@aol.com> References: <80.d9622dc.2df237e5@aol.com> Message-ID: <49D7CDC4-B753-11D8-B8CC-000A959D0AC6@hindu.org> Assuming you don't necessarily need a lot of bells and whistle in the top scrolling part, and, assuming a horizontal view of an image gallery is all you need, you can possibly incorporate a scrolling field at the top. with only one line of characters, and you set the image data of each of the characters to the image that you want. I use this daily ( in a substack) for previewing and re-ordering images that appear below on a one per card basis. the "Preview" button, set the images source of char#x in the preview field to the image 1 of card x in the mainstack. The user can reorder the images in the horizontal field by simply cutting and pasting them around on the same "line" as it were... then when the preview closes, the main stack is reordered accordingly. Don't know if this helps much, but i tried groups and it was crazy... and this worked. If you want i can send the stack off list. On Jun 4, 2004, at 10:39 AM, RGould8 at aol.com wrote: > Hmmmm - - - that sounds like it could work. The only tricky part is > that > the user will be adding/subtracting a lot ot graphic bitmaps and > positioning > them within that top scrolling > area, so I'll have a lot of "add to group" logic to keep track of. I > was > hoping I could just create > new bitmaps and plop them on the card in the right spot and not worry > about > groups and positioning things within groups. However, if I > absolutely must > use groups, I can do that. > > So is it not technically possible to have a card that is 2000 pixels > wide > shown in a stack that is only 800 pixels wide, and have horizontal > scrollbars? From bornstein at designeq.com Sat Jun 5 22:29:24 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Sat, 5 Jun 2004 22:29:24 -0400 Subject: MouseMove strangeness In-Reply-To: References: Message-ID: <530DEBF8-B761-11D8-9D0A-000A95909E26@designeq.com> On Jun 5, 2004, at 5:29 PM, Dave Cragg wrote: > A group will normally resize to accommodate its contents. If the group > has a margin setting > 0 (and probably a borderWidth > 0) this means > that as the field rect gets set to the group rect, the group will then > expand again to retain its margins and border settings. Yes, I finally figured this out. > Possible ways: > > Set the margins (and borderwidth) of the group to 0. For some reason, this doesn't work. I set the borderwidth and margins of both the group and the field to 0 yet, it still automatically resized whenever the mouse was within. I even had the field set to a smaller size than the group. I could get the field to shrink instead of expand and I got stasis, but never a smooth resizing as I resized the group. I've decided to just use a field instead of a group and use Rev's built-in ability to resize objects. Actually much better. Thanks for your response. Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From kray at sonsothunder.com Sat Jun 5 23:59:22 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 5 Jun 2004 22:59:22 -0500 Subject: How to use progress bar In-Reply-To: Message-ID: <044601c44b7a$aa01bb30$6601a8c0@precision340> Bill, In your loop you need to set the thumbPosition of the scrollbar to a value and it will move. Here's an example for a progress bar based on the total number of cards: set the endValue of scrollbar "Progress" to \ (the number of cards of this stack) -- First, start with the scrollbar empty set the thumbPosition of scrollbar "Progress" to 0 repeat with x = 1 to the number of cards of this stack set the thumbPosition of scrollbar "Progress" to x end repeat -- Finally, reset the scrollbar to empty set the thumbPosition of scrollbar "Progress" to 0 HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Bill > Sent: Saturday, June 05, 2004 3:15 PM > To: use-revolution at lists.runrev.com > Subject: How to use progress bar > > > I do a lot of time consuming things with data and would love > to have a progress bar or something instead of just a > spinning beachball. I want it to use the number of cards in > the stack as finish and then increment every 2% of the total > cards or something like that. Since I couldn't even get the > progress bar to change at all no matter what I threw at it I > need some help! > > Thanks in advance. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Sun Jun 6 00:00:30 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 5 Jun 2004 23:00:30 -0500 Subject: MouseMove strangeness In-Reply-To: Message-ID: <044701c44b7a$d2259c30$6601a8c0@precision340> > I'm trying to write a handler that resizes the contents of a > group when > the group border is resized. Don't use mouseMove... check out the resizeControl message; you get that as soon as the group bounding box handle that is being dragged is released. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Sun Jun 6 00:03:31 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 5 Jun 2004 23:03:31 -0500 Subject: Still a Couple of Nits In-Reply-To: <6ADBCDEE-B747-11D8-9D6C-000393A1CAAA@centurytel.net> Message-ID: <044801c44b7b$3e307440$6601a8c0@precision340> > When I use the Command and Option keys to access scripts, I find that > the script editor itself often opens up as well. How can I stop > this??? This is a bug (IMHO), and the only way to deal with it other than hacking the IDE is to hold down Command and Option very briefly so that only the script of the target object opens. It'll take some practice, but it can be done. > I also find that the Command and "M" keys do not toggle the > Message Box > although it does cause the Tools menu to hilite briefly. What version of Rev are you using? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Sun Jun 6 00:17:16 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 5 Jun 2004 23:17:16 -0500 Subject: When is a "word" not a "word"? In-Reply-To: <613E3BE0-B6F6-11D8-AF4F-000A95763ABC@macosx.com> Message-ID: <044c01c44b7d$2a304c20$6601a8c0@precision340> Barry, Try this: on mouseUp local tStart,tEnd put the number of words of fld 1 into tNum repeat with x = 1 to tNum get matchChunk(word x of fld 1,"(\w*)",tStart,tEnd) if it is true then select char tStart to tEnd of word x of fld 1 else -- process match error here; shouldn't happen end if wait 500 milliseconds end repeat select empty end mouseUp HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Barry Levine > Sent: Saturday, June 05, 2004 8:44 AM > To: use-revolution at lists.runrev.com > Subject: Re: When is a "word" not a "word"? > > > Richard, > > Thanks for the reply. Unfortunately, the "?" isn't one of the > delimiters recognized by token. Perhaps it will be helpful if > I explain > further. I'm using Transcript to highlight the words in a sentence > sequentially but I'd like the punctuation -not- to be > highlighted when > this occurs. For example, field 1 contains: > > My dog has fleas. Does yours? > > How do I tell my stack to hilite the word "yours" (without the "?")? > > Thanks, > Barry > > On Jun 4, 2004, at 11:31 PM, use-revolution-request at lists.runrev.com > wrote: > > > From: Richard Gaskin > > Subject: Re: When is a "word" not a "word"? > > > > Try token instead of word. > > -- > > Richard Gaskin > > > > Barry Levine wrote: > >> I may be misinterpreting things or simply have an erroneous > >> expectation: > >> > >> Let's say you have a field containing the text "Is this something?" > >> > >> Double-click on the last word and the nine letters that make up the > >> word > >> are selected. That seems to be what you would expect. Now open the > >> message box and type "the last word of field 1". What do you get? > >> That's > >> right; the "?" is also part of the last word. > >> > >> So I guess what I'm looking for is the Transcript equivalent of > >> double-clicking a word. There's the "clickChunk" but that implies > >> I've actually clicked on the word. This needs to be done > independent > >> of any mouseClicks. > >> > >> How would I describe: "the last word minus the last char > of field 1" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rcozens at pon.net Sun Jun 6 11:20:50 2004 From: rcozens at pon.net (Rob Cozens) Date: Sun, 6 Jun 2004 08:20:50 -0700 Subject: How to use progress bar In-Reply-To: <044601c44b7a$aa01bb30$6601a8c0@precision340> References: <044601c44b7a$aa01bb30$6601a8c0@precision340> Message-ID: Bill, >In your loop you need to set the thumbPosition of the scrollbar to a value >and it will move. Here's an example for a progress bar based on the total >number of cards: Ken's handler should do the job; but if you want something a little more generic: put the number of cards into recordCount set the thumbPosition of scrollBar "Progress Scrollbar" to 0 set the endvalue of scrollBar "Progress Scrollbar" to recordCount show scrollBar "Progress Scrollbar" put 0 into recordsProcessed put round(recordCount/(the width of scrollBar "Progress Scrollbar")) into progressInterval -- the minimum change in thumbPosition value to move the bar 1 pixel put max(1,progressInterval) into progressInterval -- adjust for intervals < 1 repeat with x=1 to recordCount set cursor to busy [card processing logic here] add 1 to recordsProcessed if (recordsProcessed mod progressInterval)=0 then set the thumbPosition of scrollBar "Progress Scrollbar" to recordsProcessed end repeat set the thumbPosition of scrollBar "Progress Scrollbar" to recordCount -- yes, recordCount: make sure progress shows 100% complete This logic calculates the minimum value change required to move the thumbPosition 1 pixel based on the length of the progress bar in pixels and the endValue. It only updates the progress bar when the aggregate change in thumbPosition value is large enough to move the thumbPosition 1 pixel. (Eg: Assuming a 100 pixel progress bar, the thumbPosition would be updated every card in a 100-card stack, every 10 cards in a 1,000-card stack, every 100 cards in a 10,000-card stack.) Note the interval adjusts automatically when the length of the progress bar is changed. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rogerguay at centurytel.net Sun Jun 6 12:08:02 2004 From: rogerguay at centurytel.net (Roger Guay) Date: Sun, 6 Jun 2004 09:08:02 -0700 Subject: Still a Couple of Nits In-Reply-To: <20040606160015.014E19300C3@mail.runrev.com> References: <20040606160015.014E19300C3@mail.runrev.com> Message-ID: Thanks for the reply, Ken. I'm using version 2.2 on OS X 10.3.4. Thanks, Roger On Jun 6, 2004, at 9:00 AM, use-revolution-request at lists.runrev.com wrote: > >> When I use the Command and Option keys to access scripts, I find that >> the script editor itself often opens up as well. How can I stop >> this??? > > This is a bug (IMHO), and the only way to deal with it other than > hacking > the IDE is to hold down Command and Option very briefly so that only > the > script of the target object opens. It'll take some practice, but it > can be > done. > >> I also find that the Command and "M" keys do not toggle the >> Message Box >> although it does cause the Tools menu to hilite briefly. > > What version of Rev are you using? > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ From bobnelson at mac.com Sun Jun 6 12:55:38 2004 From: bobnelson at mac.com (Bob Nelson) Date: Sun, 06 Jun 2004 09:55:38 -0700 Subject: Not shy at all... Message-ID: ...so let's dive in with both feet. HyperCard was my friend - and remained my friend until the advent of OS X and a new machine that won't boot into OS 9.x any more. Sad, since I used it for all sorts of cool tricks, especially the massaging of copious amounts of data that needed a good "cleaning" before dropping it into MySQL or FileMaker. A new project came along and prompted me to go hunting. One of the old HyperCard sites recommended Revolution or SuperCard, so I've been demo'ing Revolution for a couple of days to see how the package operates compared to other options - including RealBASIC. So I've got a little script that does a moderately simple thing: Grab a web page, bring it back, strip useless data out of it (right now, I've just got it stripping out the extra returns and leading spaces per line) and the next step will be to kill the HTML on the page so I can mine the data... My layout and code are fairly simple: Two fields and two buttons so I can work through the example - the first field is the 'holder' of the remote URL which has been retrieved (Imported_Raw) and the second field will be the restructured output when I'm done. Here's the code, for those who want to dive deeper... on mouseUp put 0 into i repeat forever add 1 to i if char 1 of line i of field "Imported_Raw" is numToChar(13) then delete line i of field "Imported_Raw" put "Ate one return at line " & i & " of " & the number of lines of field "Imported_Raw" & " total lines." subtract 1 from i end if repeat while char 1 of line i of field "Imported_Raw" = " " delete char 1 of line i of field "Imported_Raw" put "Ate one space at line " & i & " of " & the number of lines of field "Imported_Raw" & " total lines." end repeat if line i of field "Imported_Raw" is the last line of field "Imported_Raw" then exit repeat end if end repeat end mouseUp Here's what I noticed about execution: 1. Importing the URL is awesome - a great feature that makes my life soooo much easier for this project! And fast, too! 2. The page I grabbed consisted of 140,000 lines of code. After removing extra line feeds, the number of lines is around 80,000. 3. This script runs VERY slow, compared to relatively the same script in HyperCard running under 9.2.1 -- as an example, Revolution has been running this script for more than 18 hours and still hasn't finished processing. (And that's running on a Dual 2 GHz, 4 Gb RAM, OS X most current version with all updates.) Under HC, the similar script executed in about an hour - running on an iMac G3/233 with 1 Gb and OS 9.2.1 -- any comments regarding execution speed? 4. I don't see any mechanisms for determining progress of the operation -- although I may have certainly missed something. Are there any progress bars, etc., that one can use in Revolution? 5. Looking through all the examples I can find, as well as documentation, I noted that there aren't many examples related to text manipulation - and importing/exporting text, etc., in/out of your stack. I'm sure I missed something on this front, as I'm sure people would be doing this all the time... Can anyone point me in a direction? Finally, I'm impressed with the professional layout of the product - this could well be the perfect 'update' (I'm sure they don't like to hear that at Rev!) to HyperCard. I'm looking forward to a book, like The Complete HyperCard Handbook, that lays out the functionality of Revolution as an awesome reference book. Thanks for your time! Bob From gizmotron at earthlink.net Sun Jun 6 13:19:23 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun, 6 Jun 2004 10:19:23 -0700 Subject: Not shy at all... In-Reply-To: Message-ID: I don't have time to go into this in depth but here are a few speed mods to help you. I will comment out your code and add mine. You test it, I'm too busy this morning, sorry... On Sunday, June 6, 2004, at 09:55 AM, Bob Nelson wrote: > on mouseUp > put 0 into i > repeat forever > add 1 to i > --if char 1 of line i of field "Imported_Raw" is numToChar(13) then > --delete line i of field "Imported_Raw" > --put "Ate one return at line " & i & " of " & the number of > lines of > field "Imported_Raw" & " total lines." > --subtract 1 from i > --end if put field "Imported_Raw" into zap replace return with empty in zap -- this way you remove all line breaks fast, then: replace "
" with return in zap put return & return into zingo replace "

" with zingo in zap -- you are using html to be converted to either some other -- form of html or you or stripping all the way down to readable -- formatted text. You can tell Rev to attempt to render the existing -- zap variable into an off screen field and then begin working with -- the results of that. -- like this: -- set the HTMLtext of field "offScreenDump" to zap > repeat while char 1 of line i of field "Imported_Raw" = " " > delete char 1 of line i of field "Imported_Raw" > put "Ate one space at line " & i & " of " & the number of lines > of > field "Imported_Raw" & " total lines." > end repeat > if line i of field "Imported_Raw" is the last line of field > "Imported_Raw" then > exit repeat > end if > end repeat -- I would try to do the above loop without the repeat loops if possible. -- hope this helps > > end mouseUp Mark From janschenkel at yahoo.com Sun Jun 6 13:33:57 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 6 Jun 2004 10:33:57 -0700 (PDT) Subject: Not shy at all... In-Reply-To: Message-ID: <20040606173357.90444.qmail@web60506.mail.yahoo.com> --- Bob Nelson wrote: > ...so let's dive in with both feet. > > HyperCard was my friend - and remained my friend > until the advent of OS X > and a new machine that won't boot into OS 9.x any > more. Sad, since I used > it for all sorts of cool tricks, especially the > massaging of copious amounts > of data that needed a good "cleaning" before > dropping it into MySQL or > FileMaker. > Hi Bob, Welcome to the Revolution -- and for the sort of work you're doing, it is an excellent choice ; the URL library makes it easy to read data, and the database library allows you to connect to MySQL directly and to FMPro via web-calls or ODBC. > A new project came along and prompted me to go > hunting. One of the old > HyperCard sites recommended Revolution or SuperCard, > so I've been demo'ing > Revolution for a couple of days to see how the > package operates compared to > other options - including RealBASIC. > > So I've got a little script that does a moderately > simple thing: Grab a web > page, bring it back, strip useless data out of it > (right now, I've just got > it stripping out the extra returns and leading > spaces per line) and the next > step will be to kill the HTML on the page so I can > mine the data... > > My layout and code are fairly simple: > > Two fields and two buttons so I can work through the > example - the first > field is the 'holder' of the remote URL which has > been retrieved > (Imported_Raw) and the second field will be the > restructured output when I'm > done. > > Here's the code, for those who want to dive > deeper... > > on mouseUp > put 0 into i > repeat forever > add 1 to i > if char 1 of line i of field "Imported_Raw" is > numToChar(13) then > delete line i of field "Imported_Raw" > put "Ate one return at line " & i & " of " & > the number of lines of > field "Imported_Raw" & " total lines." > subtract 1 from i > end if > repeat while char 1 of line i of field > "Imported_Raw" = " " > delete char 1 of line i of field > "Imported_Raw" > put "Ate one space at line " & i & " of " & > the number of lines of > field "Imported_Raw" & " total lines." > end repeat > if line i of field "Imported_Raw" is the last > line of field > "Imported_Raw" then > exit repeat > end if > end repeat > > end mouseUp > Allow me to optimize this script :-) -- on mouseUp -- copy the field data into a variable put field "Imported_Raw" into tData -- calculate the number of lines once put the number of lines of tData into tNumLines -- initialise line tracker variable put 0 into i -- use the speedy 'repeat for each' construct repeat for each line tLine in tData -- update the progress add 1 to i if i MOD 100 = 1 then -- show progress put "Processing line" && i &&"of" && tNumLines end if -- skip the line if it's empty if tLine is empty then next repeat -- eat the leading and trailing spaces put word 1 to -1 of tLine into tLine -- append this bit to a different variable put tLine & return after tCleanData end repeat end mouseUp -- > > Here's what I noticed about execution: > > 1. Importing the URL is awesome - a great feature > that makes my life soooo > much easier for this project! And fast, too! Yup, it's a life saver :-) > 2. The page I grabbed consisted of 140,000 lines of > code. After removing > extra line feeds, the number of lines is around > 80,000. Not too shabby, but certainly not beyond Revolution's capabilities. > 3. This script runs VERY slow, compared to > relatively the same script in > HyperCard running under 9.2.1 -- as an example, > Revolution has been running > this script for more than 18 hours and still hasn't > finished processing. > (And that's running on a Dual 2 GHz, 4 Gb RAM, OS X > most current version > with all updates.) Under HC, the similar script > executed in about an hour - > running on an iMac G3/233 with 1 Gb and OS 9.2.1 -- > any comments regarding > execution speed? The version I produced should require far less overhead and zip along at a very good speed. The main problem with your approach was that it constantly updates the data in your field, which results in a redraw ; plus, you're asking the processor to calculate the number of lines numerous times, and to find the offset of line i. > 4. I don't see any mechanisms for determining > progress of the operation -- > although I may have certainly missed something. Are > there any progress > bars, etc., that one can use in Revolution? There are "progress bar" controls ; see the following recent mailing list posts on how to use them : > 5. Looking through all the examples I can find, as > well as documentation, I > noted that there aren't many examples related to > text manipulation - and > importing/exporting text, etc., in/out of your > stack. I'm sure I missed > something on this front, as I'm sure people would be > doing this all the > time... Can anyone point me in a direction? > I hope the above helped ; but make sure to browse through the entire documentation, as you'll find a Cookbook with examples. > Finally, I'm impressed with the professional layout > of the product - this > could well be the perfect 'update' (I'm sure they > don't like to hear that at > Rev!) to HyperCard. I'm looking forward to a book, > like The Complete > HyperCard Handbook, that lays out the functionality > of Revolution as an > awesome reference book. > There's Dan Shafer's book : "Revolution : SOftware at the speed of thought" ; for more information : > Thanks for your time! > > Bob > Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From sims at ezpzapps.com Sun Jun 6 13:50:36 2004 From: sims at ezpzapps.com (sims) Date: Sun, 6 Jun 2004 19:50:36 +0200 Subject: Not shy at all... In-Reply-To: <20040606173357.90444.qmail@web60506.mail.yahoo.com> References: <20040606173357.90444.qmail@web60506.mail.yahoo.com> Message-ID: > I'm looking forward to a book, > > like The Complete >> HyperCard Handbook, that lays out the functionality >> of Revolution as an >> awesome reference book. >> > >There's Dan Shafer's book : "Revolution : SOftware at >the speed of thought" ; for more information : > Also note... European Revolution Conference 14-15-16 November 2004 Malta We have greatly expanded the European Revolution Conference to be held 14-15-16 November 2004 in Valletta, Malta The November 2004 EuroRevCon Features... * Kevin Miller, Rev CEO Keynote Sunday evening and daily discussions * Two full days of Rev presentations and discussions by expert Rev developers: Malte Brill Richard Gaskin Klaus Major Frederic Rinaldi Jan Schenkel * Special pricing on Dan Shafer's book Revolution: Software at the Speed of Thought * CDs loaded with Rev examples and tools offered to all attendees * Special Rev License pricing for attendees Revolution Express will be offered for just $99 (retail price $149) Revolution Studio will be offered for $299 (retail price $399) More information is available online at: http://techietours.com/Rev/ Those who wish to extend their learning holiday in sunny Malta are also offered two additional events which take place before and after the European Revolution Conference. Want to know more? Please get in touch... email: rev at TechieTours.com iChat: techietours Kind regards, Jim Sims Techie Tours -- Tech Conferences http://TechieTours.com We make... iBirthday http://EZPZapps.com/iB SmartDog http://EZPZapps.com/SmartDog Kartolina http://EZPZapps.com/kartolina From tzvi at realtorsgroup.us Sun Jun 6 14:23:16 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Sun, 6 Jun 2004 14:23:16 -0400 Subject: stand Alone bug In-Reply-To: Message-ID: <9434D5D8-B7E6-11D8-8706-0030654C1E62@realtorsgroup.us> Thanks, looks like that was the problem. I checked the "select inclusions manually" and that did it. And also regarding to Jacqueline's message, there was no customProperty's . Thanks anyway. On Saturday, June 5, 2004, at 02:56 AM, Monte Goulding wrote: > >> I was trying to save as a standAlone, keep on getting errors "there >> was an error while saving the standalone app." >> then it comes up the error stating a line of code that was removed , >> changed around , and deleted already to make sure its deleted >> completely to see what's going on. But just didn't work . The same >> thing error over and over. > > There are some bugs in the 2.2 version of the standalone builder > related to > the inclusion searching routine that have been resolved for 2.3. Please > choose to select inclusions manually until the 2.3 release if you are > encountering this issue. > > Cheers > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Sun Jun 6 14:42:05 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 06 Jun 2004 19:42:05 +0100 Subject: Not shy at all... In-Reply-To: Message-ID: <5.1.0.14.0.20040606190647.02325b68@mail.tweedly.net> At 09:55 06/06/2004 -0700, Bob Nelson wrote: >...so let's dive in with both feet. I'll do the same, and probably land myself right in trouble :) I've only just started investigating Revolution, with no previous experience with Hypercard or AnythingCard - so these are comments that need to be treated accordingly. >So I've got a little script that does a moderately simple thing: Grab a web >page, bring it back, strip useless data out of it (right now, I've just got >it stripping out the extra returns and leading spaces per line) and the next >step will be to kill the HTML on the page so I can mine the data... Stripping HTML can become tricky - I'd look around and see if there is a user-contributed script / library to deal with the heavy lifting ... >My layout and code are fairly simple: >Two fields and two buttons so I can work through the example - the first >field is the 'holder' of the remote URL which has been retrieved >(Imported_Raw) and the second field will be the restructured output when I'm >done. > >Here's the code, for those who want to dive deeper... I'll leave specific comments to those who know better, but doing all the manipulation in the same field looks inefficient - put the processed sections into a separate (results) field (and don't display it until done). >Here's what I noticed about execution: > >5. Looking through all the examples I can find, as well as documentation, I >noted that there aren't many examples related to text manipulation - and >importing/exporting text, etc., in/out of your stack. I'm sure I missed >something on this front, as I'm sure people would be doing this all the >time... Can anyone point me in a direction? From an outsider's point of view, the lack of a regular expression package in Revolution looks like it will make this (the real problem, not the simple first step) a harder problem than it need have been. One of the things that attracted me to Revolution was a statement along the lines of "text processing like you've never seen" - but I haven't found anything to justify that claim yet. The built-in tokenizing is neat, but hardly revolutionary, and the apparent lack of RE looks like a big missing feature. (Please tell me it's in there and I just missed it in the docs ....) Although Revolution looks great for some things, I'd have said that a text-processing problem with minimal user interaction doesn't look like the sweet-spot for Revolution. I did a simple Python attempt at your simple problem - prompt for URL, read URL in, strip blank lines and leading spaces. Didn't bother with a progress bar - the processing takes less than a second anyway (for 210K lines -> 145K lines). >Finally, I'm impressed with the professional layout of the product - this >could well be the perfect 'update' (I'm sure they don't like to hear that at >Rev!) to HyperCard. I'm looking forward to a book, like The Complete >HyperCard Handbook, that lays out the functionality of Revolution as an >awesome reference book. -- Alex Tweedly. -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.699 / Virus Database: 456 - Release Date: 04/06/2004 From frederic at runrev.com Sun Jun 6 14:46:59 2004 From: frederic at runrev.com (=?ISO-8859-1?Q?Fr=E9d=E9ric_RINALDI?=) Date: Sun, 6 Jun 2004 20:46:59 +0200 Subject: Chinese Unicode problem Message-ID: somebody may have an idea on this: I started working for a customer on a chinese dictionary, and of course this uses unicode. He gave me some samples, but I'm facing a problem with unicode conversion: if you open the enclosed xml text in TextEdit, you'll see the correct chinese chars. If you copy and paste the text into a RRev field, the chinese unicode chars are still there, and correct. But I found no way to simply read that file (or the unicode chars part of it) using URL" binfile..." and have it correctly displayed in the field. Tried setting the text, the UnicodeText, no chance. Seems like there's a character conversion at any level. Checking hexa of original and displayed unicode chars shows they're different, but I couldn't figure what relation there is between them. Any idea? Thanks Cordialement, -------------- next part -------------- Fr?d?ric RINALDI ~ frederic at runrev.com Runtime Revolution - User-Centric Development Tools ~~~ Check our web site http://www.runrev.com/ for new Revolution editions & special offers ~~~ From janschenkel at yahoo.com Sun Jun 6 14:52:20 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 6 Jun 2004 11:52:20 -0700 (PDT) Subject: Not shy at all... In-Reply-To: <5.1.0.14.0.20040606190647.02325b68@mail.tweedly.net> Message-ID: <20040606185220.56216.qmail@web60510.mail.yahoo.com> --- Alex Tweedly wrote: > From an outsider's point of view, the lack of a > regular expression package > in Revolution looks like it will make this (the real > problem, not the > simple first step) a harder problem than it need > have been. One of the > things that attracted me to Revolution was a > statement along the lines > of "text processing like you've never seen" - but I > haven't found anything > to justify that claim yet. The built-in tokenizing > is neat, but hardly > revolutionary, and the apparent lack of RE looks > like a big missing > feature. (Please tell me it's in there and I just > missed it in the docs ....) > Hi Alex, Regular Expressions are most definitely supported in Revolution, using the following functions : - replaceText - matchText - matchChunk Combining these with the built-in tokens of chars, items, words, lines,... results in a very flexible environment to tackle human readable text. > Although Revolution looks great for some things, I'd > have said that a > text-processing problem with minimal user > interaction doesn't look like the > sweet-spot for Revolution. > If you want to program without a user interface, you can also use the command line version, which gives you everything Perl and Python and others have to offer. Hope this clarified things, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From Meitnik at aol.com Sun Jun 6 14:57:27 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Sun, 6 Jun 2004 14:57:27 EDT Subject: freezing ide/stacks Message-ID: In a message dated 06/06/2004 12:02:28 PM, use-revolution-request at lists.runrev.com writes: > As I say, this has been happening with increasing frequency. Am I the > only one seeing this? > -- I do, under mac 10.2.8. Lost 2hr trying to figure out whats the problem. Finally a subtle script error was accepted for a stack save but when reopening the stack, it would not work and no error msg either. When I copied and pasted the script all over again and did an apply, it reported the error and was able to fix it. saved the stack, it worked correctly when reran. whew. third time it happened. IDE/script editor is scary sometimes. ;-) From claus at dreischer.de Sun Jun 6 15:27:14 2004 From: claus at dreischer.de (Claus Dreischer) Date: Sun, 6 Jun 2004 21:27:14 +0200 Subject: toolTip with more than 1 line In-Reply-To: References: Message-ID: Hi, i know that the info in a toolTip should be short, but sometimes it's more readable when there are 2 or 3 small lines in a toolTip. The Dict says: " The toolTip of a control is a single line of text. " So, is there no way? Regards, Claus. From psahores at easynet.fr Sun Jun 6 16:35:55 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sun, 6 Jun 2004 22:35:55 +0200 Subject: Chinese Unicode problem In-Reply-To: References: Message-ID: <1C1ED406-B7F9-11D8-948A-000A95C61E96@easynet.fr> Hi Fr?d?ric, Le 6 juin 04, ? 20:46, Fr?d?ric RINALDI a ?crit : > somebody may have an idea on this: I started working for a customer > on a chinese dictionary, and of course this uses unicode. > > He gave me some samples, but I'm facing a problem with unicode > conversion: > > if you open the enclosed xml text in TextEdit, you'll see the correct > chinese chars. If you copy and paste the text into a RRev field, the > chinese unicode chars are still there, and correct. Did you test the standard open file for read/read from file... commands. Combinated, if needed, with an FTP command, that could do the trick. > > But I found no way to simply read that file (or the unicode chars > part of it) using URL" binfile..." and have it correctly displayed in > the field. Tried setting the text, the UnicodeText, no chance. > > Seems like there's a character conversion at any level. Checking hexa > of original and displayed unicode chars shows they're different, but I > couldn't figure what relation there is between them. Else, did you try to see if the use of the urlencode/urldecode functions could help ? A+, > > Any idea? > > Thanks > > Cordialement, > > > Fr?d?ric RINALDI ~ frederic at runrev.com > Runtime Revolution - User-Centric Development Tools > ~~~ Check our web site http://www.runrev.com/ for new Revolution > editions & special offers > ~~~_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From revolution at jaedworks.com Sun Jun 6 02:07:53 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sat, 5 Jun 2004 23:07:53 -0700 Subject: Getting an applications icon under OSX In-Reply-To: <138AD682-B5B6-11D8-9407-0003930D06A0@unimelb.edu.au> References: <20040603160104.8E092930113@mail.runrev.com> <138AD682-B5B6-11D8-9407-0003930D06A0@unimelb.edu.au> Message-ID: At 9:31 AM +1000 6/4/2004, Terry Judd wrote: >Is there any way of capturing/extracting an applications icon from >within Rev (via Applescript maybe?). I'd like to associate an apps >icon with its name in a launcher-style thing I'm building (apps are >listed dynamically) but have no idea how to go about it. Ideas? Hmmm. For Mach-O (packaged) apps, I think you may be out of luck, because the icon format isn't one that Rev reads natively. (Given an external, you could examine the package, find the icon, and either display it or convert it to PNG or some other Rev-friendly format.) -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Sun Jun 6 16:45:57 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sun, 6 Jun 2004 13:45:57 -0700 Subject: Not shy at all... In-Reply-To: References: Message-ID: At 9:55 AM -0700 6/6/2004, Bob Nelson wrote: >Two fields and two buttons so I can work through the example - the first >field is the 'holder' of the remote URL which has been retrieved >(Imported_Raw) and the second field will be the restructured output when I'm >done. > >Here's the code, for those who want to dive deeper... > [...] Using replace (instead of looping through each line) will be quite a lot faster: on mouseUp put field "Imported_Raw" into rawText -- manipulations are much faster in variables repeat while return & return is in rawText replace return & return with return in rawText -- nuke blank lines end repeat repeat while return & space is in rawText replace return & space with return in rawText -- nuke leading space end repeat put rawText into field "Imported_Raw" end mouseUp >4. I don't see any mechanisms for determining progress of the operation -- >although I may have certainly missed something. Are there any progress >bars, etc., that one can use in Revolution? There's a progress bar object (actually a variant of the scrollbar). The way to handle this is to update the bar's thumbPosition property each time through the loop. Here's a simple example: repeat with x = 1 to 100 set the thumbPosition of scrollbar "Progress Indicator" to x updateCard x -- or do whatever the loop is supposed to do end repeat But the script above should run fast enough that you won't need one. >5. Looking through all the examples I can find, as well as documentation, I >noted that there aren't many examples related to text manipulation - and >importing/exporting text, etc., in/out of your stack. I'm sure I missed >something on this front, as I'm sure people would be doing this all the >time... Can anyone point me in a direction? On the "All Documentation By Category" page, click "Text and Data Processing" - there are a number of examples and how-tos for importing, counting, manipulating, etc. By the way, it's simple to strip HTML using the HTMLText property: -- myData contains HTML: set the HTMLText of field "Holder" to myData put the text of field "Holder" into myData -- myData now contains just the text -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Sun Jun 6 16:49:36 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sun, 6 Jun 2004 13:49:36 -0700 Subject: Not shy at all... In-Reply-To: <5.1.0.14.0.20040606190647.02325b68@mail.tweedly.net> References: <5.1.0.14.0.20040606190647.02325b68@mail.tweedly.net> Message-ID: At 7:42 PM +0100 6/6/2004, Alex Tweedly wrote: >I'll leave specific comments to those who know better, but doing all >the manipulation in the same field looks inefficient - put the >processed sections into a separate (results) field (and don't >display it until done). You're mostly right - it actually is much faster to do it all in memory, that is, in a variable. Putting data into a field is a slow operation. (Or if the dataset is too large, reading it into a variable in chunks and processing it there will still be much more efficient than doing it in a field.) >From an outsider's point of view, the lack of a regular expression >package in Revolution looks like it will make this (the real >problem, not the simple first step) a harder problem than it need >have been. One of the things that attracted me to Revolution was a >statement along the lines of "text processing like you've never >seen" - but I haven't found anything to justify that claim yet. The >built-in tokenizing is neat, but hardly revolutionary, and the >apparent lack of RE looks like a big missing feature. (Please tell >me it's in there and I just missed it in the docs ....) Just do a search for "regular expression" - it's in there. -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From alex at tweedly.net Sun Jun 6 17:31:03 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 06 Jun 2004 22:31:03 +0100 Subject: Not shy at all... In-Reply-To: <20040606185220.56216.qmail@web60510.mail.yahoo.com> References: <5.1.0.14.0.20040606190647.02325b68@mail.tweedly.net> Message-ID: <5.1.0.14.0.20040606215411.00aeca68@mail.tweedly.net> At 11:52 06/06/2004 -0700, Jan Schenkel wrote: >--- Alex Tweedly wrote: >(Please tell me it's in there and I just missed it in the docs ....) and sure enough, someone did !! Thanks Jan. It just didn't seem likely that a modern language wouldn't have this - but it wasn't mentioned in the search results (when searching the Dictionary - I've now found it in the more global search - another useful lesson learnt). -- Alex Tweedly. -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.699 / Virus Database: 456 - Release Date: 04/06/2004 From alex at tweedly.net Sun Jun 6 18:00:28 2004 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 06 Jun 2004 23:00:28 +0100 Subject: Not shy at all... In-Reply-To: References: Message-ID: <5.1.0.14.0.20040606224427.02329500@mail.tweedly.net> At 13:45 06/06/2004 -0700, Jeanne A. E. DeVoto wrote: >At 9:55 AM -0700 6/6/2004, Bob Nelson wrote: >>Two fields and two buttons so I can work through the example - the first >>field is the 'holder' of the remote URL which has been retrieved >>(Imported_Raw) and the second field will be the restructured output when I'm >>done. >> >>Here's the code, for those who want to dive deeper... >[...] > >Using replace (instead of looping through each line) will be quite a lot >faster: > >on mouseUp > put field "Imported_Raw" into rawText -- manipulations are much faster > in variables > repeat while return & return is in rawText > replace return & return with return in rawText -- nuke blank lines > end repeat > repeat while return & space is in rawText > replace return & space with return in rawText -- nuke leading space > end repeat > put rawText into field "Imported_Raw" >end mouseUp Since I brought up Regular Expressions, I have to suggest: on mouseUp put field "Imported_Raw" into rawText put replaceText(rawText, "\n+ *", cr) into field "Imported_Raw" end mouseUp Should be even faster than two replace loops But the HTMLText technique looks much better :-) -- Alex Tweedly. btw - thanks Jeanne - I had done the search - but inside Transcript Dictionary, instead of in the whole doc. set - my mistake. -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.699 / Virus Database: 456 - Release Date: 04/06/2004 From katir at hindu.org Sun Jun 6 18:09:05 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sun, 6 Jun 2004 12:09:05 -1000 Subject: Sort cards Numeric by (a mixed string) Message-ID: <20191282-B806-11D8-B8CC-000A959D0AC6@hindu.org> Is there a way to force Rev to see a mixed alpha numeric string as numeric if it begins with numbers? Context: series of cards auto loaded with images where the field "photofileName" comes in and the image ref for image 1 on the card is the same. e.g. card no fld "photoFileName" card 1 1.BigBlueBird card 2 10.RedOrange card 3 11.WhiteApple card 4 2.SmallBlackBird Ideal the person naming the photos uses zero padding, but typically I find users oblivious to this issue and I simply need to give them a way to resort from a button to: card 1 1.BigBlueBird card 2 2.SmallBlackBird card 3 10.RedOrange card 4 11.WhiteApple Sort cards of this stack numeric by fld "photoFileName" does nothing... no error, no resort... I assume because the mixed strings cannot be evaluated as numbers... What would be a work around...?? I could use some complicated parsing routine but it would fail if another user decided to use a different delimiter (in this case he's used a dot), so I need a global solution that says to Rev -forget the alpha characters at the end of the string, just use the numbers at the beginning. iViewMedia does this automatically in its catalog system... i.e. it assumes if there are numbers at the beginning to sort by numbers and "10*alphaChars" follows "9*alphaChars", not "1*alphaChars" in any listing.... TIA Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From bill at bluewatermaritime.com Sun Jun 6 18:04:44 2004 From: bill at bluewatermaritime.com (Bill) Date: Sun, 06 Jun 2004 18:04:44 -0400 Subject: How to use progress bar In-Reply-To: <20040606160015.2D5759300CE@mail.runrev.com> Message-ID: Thanks for all your answers. Since they still had no effect on my scroll bar when I tried them I decided that I have something wrong with my stack. First I put a progress bar in the group (assuming it would have to be there so it would be visible on every card as I cycle through the cards) and I get no such object so I changed the progress bar to a scroll bar (also named "Progress Scrollbar") and send a one line message to it and I get no such object. So then I made a clean stack with just one progress bar with the correct name and I get: Message execution error: Error description: Chunk: no such object So then I decide that maybe these things are not called "scrollBar" so I find out they are called "scrollbar" in the documentation (should make no difference . This makes a difference on my simple test stack so I move on to the big stack and find out I have to call it "bg scrollbar" and then it is happy except then set the lock screen to true so that going through all those cards won't take so long and the lock screen also makes my nice little progress bar do nothing. So how do you get a progress bar to work while lock screen is in effect? Perhaps I make a special pallette stack that holds it? Otherwise without lock screen things take way to long. It must be possible as you can make the spinning beachball with lock screen in effect. On 6/6/04 12:00 PM, "use-revolution-request at lists.runrev.com" wrote: > put the number of cards into recordCount > set the thumbPosition of scrollBar "Progress Scrollbar" to 0 > set the endvalue of scrollBar "Progress Scrollbar" to recordCount > show scrollBar "Progress Scrollbar" > put 0 into recordsProcessed > put round(recordCount/(the width of scrollBar "Progress Scrollbar")) > into progressInterval -- the minimum change in thumbPosition value to > move the bar 1 pixel > put max(1,progressInterval) into progressInterval -- adjust for intervals < 1 > repeat with x=1 to recordCount > set cursor to busy > [card processing logic here] > add 1 to recordsProcessed > if (recordsProcessed mod progressInterval)=0 then set the > thumbPosition of scrollBar "Progress Scrollbar" to recordsProcessed > end repeat > set the thumbPosition of scrollBar "Progress Scrollbar" to > recordCount -- yes, recordCount: make sure progress shows 100% > complete From rgriffit at ctc.net Sun Jun 6 18:31:23 2004 From: rgriffit at ctc.net (Raymond Griffith) Date: Sun, 6 Jun 2004 18:31:23 -0400 Subject: Sort cards Numeric by (a mixed string) In-Reply-To: <20191282-B806-11D8-B8CC-000A959D0AC6@hindu.org> Message-ID: <3DC54A00-B809-11D8-B739-000393BFB02E@ctc.net> On Sunday, June 6, 2004, at 06:09 PM, Sannyasin Sivakatirswami wrote: > Is there a way to force Rev to see a mixed alpha numeric string as > numeric if it begins with numbers? > > Context: series of cards auto loaded with images where the field > "photofileName" comes in and the image ref for image 1 on the card is > the same. > It would be to your advantage to have different fields for the number, name, etc. > e.g. > card no fld "photoFileName" > > card 1 1.BigBlueBird > card 2 10.RedOrange > card 3 11.WhiteApple > card 4 2.SmallBlackBird > > Ideal the person naming the photos uses zero padding, but typically I > find users oblivious to this issue and I simply need to give them a > way to resort from a button to: > > card 1 1.BigBlueBird > card 2 2.SmallBlackBird > card 3 10.RedOrange > card 4 11.WhiteApple > > Sort cards of this stack numeric by fld "photoFileName" > > does nothing... no error, no resort... I assume because the mixed > strings cannot be evaluated as numbers... > What would be a work around...?? I could use some complicated parsing > routine but it would fail if another user decided to use a different > delimiter (in this case he's used a dot), so I need a global solution > that says to Rev -forget the alpha characters at the end of the > string, just use the numbers at the beginning. iViewMedia does this > automatically in its catalog system... i.e. it assumes if there are > numbers at the beginning to sort by numbers and "10*alphaChars" > follows "9*alphaChars", not "1*alphaChars" in any listing.... If you give the user the opportunity to assign different characteristics to their pictures (number, name, color, weight, species, whatever) then it would be a simple thing to allow them to sort by any of these things. Raymond > > TIA > > Sannyasin Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Cubist at aol.com Sun Jun 6 18:51:06 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Sun, 6 Jun 2004 18:51:06 EDT Subject: Sort cards Numeric by (a mixed string) Message-ID: <2b.5945c6d2.2df4f9da@aol.com> sez katir at hindu.org: >Is there a way to force Rev to see a mixed alpha numeric string as >numeric if it begins with numbers? I don't see how Rev *can* treat a mixed alpha-numeric string as numeric. If the only alpha characters are found in "abcdef", then you could get away with treating the string as hexadecimal; but if the string contains X or Z or K or whatever else, you're probably screwed. >Context: series of cards auto loaded with images where the field >"photofileName" comes in and the image ref for image 1 on the card is >the same. > >e.g. >card no fld "photoFileName" >card 1 1.BigBlueBird >card 2 10.RedOrange >card 3 11.WhiteApple >card 4 2.SmallBlackBird > >Ideal the person naming the photos uses zero padding, but typically I >find users oblivious to this issue and I simply need to give them a way >to resort from a button to: > >card 1 1.BigBlueBird >card 2 2.SmallBlackBird >card 3 10.RedOrange >card 4 11.WhiteApple > >Sort cards of this stack numeric by fld "photoFileName" >does nothing... no error, no resort... I assume because the mixed >strings cannot be evaluated as numbers... >What would be a work around...?? I could use some complicated parsing >routine but it would fail if another user decided to use a different >delimiter (in this case he's used a dot), so I need a global solution >that says to Rev -forget the alpha characters at the end of the string, >just use the numbers at the beginning. iViewMedia does this >automatically in its catalog system... i.e. it assumes if there are >numbers at the beginning to sort by numbers and "10*alphaChars" follows >"9*alphaChars", not "1*alphaChars" in any listing.... Maybe something like this might work? set the itemDelimiter to "." sort cards of this stack by (item 1 of the name of each card) This is off the top of my head, so I've probably mangled the syntax horribly, but perhaps the basic idea will prove sound. Hope this helps... From briany at qldlearning.com Sun Jun 6 19:02:13 2004 From: briany at qldlearning.com (Brian Yennie) Date: Sun, 6 Jun 2004 19:02:13 -0400 Subject: Sort cards Numeric by (a mixed string) In-Reply-To: <3DC54A00-B809-11D8-B739-000393BFB02E@ctc.net> Message-ID: <8C5BDAC9-B80D-11D8-B2A3-000393AA08D2@qldlearning.com> >> does nothing... no error, no resort... I assume because the mixed >> strings cannot be evaluated as numbers... >> What would be a work around...?? I could use some complicated parsing >> routine but it would fail if another user decided to use a different >> delimiter (in this case he's used a dot), so I need a global solution >> that says to Rev -forget the alpha characters at the end of the >> string, just use the numbers at the beginning. iViewMedia does this >> automatically in its catalog system... i.e. it assumes if there are >> numbers at the beginning to sort by numbers and "10*alphaChars" >> follows "9*alphaChars", not "1*alphaChars" in any listing.... Here's one that's not too complicated: put fld "photoFileName" into pFileName ## extract the numeric prefix put empty into numericPrefix repeat for each char c in pFileName if (c is a number) then put c after numericPrefix else exit repeat end if end repeat ## remove it from the original if (numericPrefix is not empty) then delete char 1 to length(numericPrefix) of pFileName ## pad it with zeros repeat until length(numericPrefix) = 5 put "0" before numericPrefix end repeat ## put it back on put numericPrefix before pFileName put pFileName into fld "photoSortField" ... sort cards ... by fld "photoSortField" HTH, Brian From Meitnik at aol.com Sun Jun 6 20:56:49 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Sun, 6 Jun 2004 20:56:49 EDT Subject: dirty flag for os x widget in window titlebar Message-ID: <19d.256df33d.2df51751@aol.com> I hope there is a way to set the dirty visual clue under os x for signaling that the doc one is editing has not been saved (and clearing it once doc is saved). And is there such a visual clue under xp or win2k?? Anyone have a suggestion?? Do I need to bugzilla a feature request? Thanks, Andrew From kray at sonsothunder.com Sun Jun 6 21:18:47 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 6 Jun 2004 20:18:47 -0500 Subject: toolTip with more than 1 line In-Reply-To: Message-ID: <053001c44c2d$65c36500$6601a8c0@precision340> > i know that the info in a toolTip should be short, > but sometimes it's more readable when there are 2 or 3 small lines in > a toolTip. > > > The Dict says: > " > The toolTip of a control is a single line of text. > " > > So, is there no way? Using the normal tooltip mechanism, no. But you can fake your own with a palette stack, a single field, and trapping mouseenter/mouseleave from a frontscirpt. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Sun Jun 6 21:29:49 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 6 Jun 2004 20:29:49 -0500 Subject: How to use progress bar In-Reply-To: Message-ID: <053301c44c2e$f021cc90$6601a8c0@precision340> Bill, I'll bet you converted a HyperCard stack, right? If so, check the 'hcAddressing'; if it's turned on, you have to refer to scrollbars in background groups as "bg scrollbar"; if you turn it off, you can just address it as "scrollbar". Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Bill > Sent: Sunday, June 06, 2004 5:05 PM > To: use-revolution at lists.runrev.com > Subject: Re: How to use progress bar > > > Thanks for all your answers. Since they still had no effect > on my scroll bar when I tried them I decided that I have > something wrong with my stack. First I put a progress bar in > the group (assuming it would have to be there so it would be > visible on every card as I cycle through the cards) and I get > no such object so I changed the progress bar to a scroll bar > (also named "Progress Scrollbar") and send a one line message > to it and I get no such object. > > So then I made a clean stack with just one progress bar with > the correct name and I get: > > Message execution error: > Error description: Chunk: no such object > > So then I decide that maybe these things are not called > "scrollBar" so I find out they are called "scrollbar" in the > documentation (should make no difference . This makes a > difference on my simple test stack so I move on to the big > stack and find out I have to call it "bg scrollbar" and then > it is happy except then set the lock screen to true so that > going through all those cards won't take so long and the lock > screen also makes my nice little progress bar do nothing. > > So how do you get a progress bar to work while lock screen is > in effect? Perhaps I make a special pallette stack that holds > it? Otherwise without lock screen things take way to long. It > must be possible as you can make the spinning beachball with > lock screen in effect. > > > On 6/6/04 12:00 PM, "use-revolution-request at lists.runrev.com" > wrote: > > > put the number of cards into recordCount > > set the thumbPosition of scrollBar "Progress Scrollbar" to > 0 set the > > endvalue of scrollBar "Progress Scrollbar" to recordCount show > > scrollBar "Progress Scrollbar" put 0 into recordsProcessed > > put round(recordCount/(the width of scrollBar "Progress Scrollbar")) > > into progressInterval -- the minimum change in > thumbPosition value to > > move the bar 1 pixel > > put max(1,progressInterval) into progressInterval -- adjust > for intervals < 1 > > repeat with x=1 to recordCount > > set cursor to busy > > [card processing logic here] > > add 1 to recordsProcessed > > if (recordsProcessed mod progressInterval)=0 then set the > > thumbPosition of scrollBar "Progress Scrollbar" to recordsProcessed > > end repeat > > set the thumbPosition of scrollBar "Progress Scrollbar" to > > recordCount -- yes, recordCount: make sure progress shows 100% > > complete > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From themacguy at macosx.com Sun Jun 6 21:51:42 2004 From: themacguy at macosx.com (Barry Levine) Date: Sun, 6 Jun 2004 19:51:42 -0600 Subject: Extracting the text from a PDF? Message-ID: <399765DA-B825-11D8-AF29-000A95763ABC@macosx.com> Is there something within Rev that would permit me to extract the text from a pdf file into a container (var or field)? Thanks, Barry From sarahr at genesearch.com.au Sun Jun 6 23:05:57 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 7 Jun 2004 13:05:57 +1000 Subject: Still a Couple of Nits In-Reply-To: <6ADBCDEE-B747-11D8-9D6C-000393A1CAAA@centurytel.net> References: <6ADBCDEE-B747-11D8-9D6C-000393A1CAAA@centurytel.net> Message-ID: <98E4BDAA-B82F-11D8-AC3F-0003937A97B8@genesearch.com.au> > When I use the Command and Option keys to access scripts, I find that > the script editor itself often opens up as well. How can I stop > this??? In Preferences - General, you will see a check box that toggles the use of Command-Option to edit scripts and then a sub-button to this which specifies whether this will also work in Revolution UI windows. Uncheck this second check box and this will stop happening. > > I also find that the Command and "M" keys do not toggle the Message > Box although it does cause the Tools menu to hilite briefly. Whenever the menus stop working, the solution seems to be to reset preferences to their defaults. There is a button to do this in the Preferences window. > > The only response I got form an earlier query was to toggle "Suppress > Messages." This did not work for me. Can anyone please help? Toggling the Suppress Messages button re-activates the Command-Option hover if it has stopped working. Cheers, Sarah From sarahr at genesearch.com.au Sun Jun 6 23:23:42 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 7 Jun 2004 13:23:42 +1000 Subject: Sort cards Numeric by (a mixed string) In-Reply-To: <20191282-B806-11D8-B8CC-000A959D0AC6@hindu.org> References: <20191282-B806-11D8-B8CC-000A959D0AC6@hindu.org> Message-ID: <13CAADBE-B832-11D8-AC3F-0003937A97B8@genesearch.com.au> On 7 Jun 2004, at 8:10 am, Sannyasin Sivakatirswami wrote: > Is there a way to force Rev to see a mixed alpha numeric string as > numeric if it begins with numbers? > > Context: series of cards auto loaded with images where the field > "photofileName" comes in and the image ref for image 1 on the card is > the same. > > e.g. > card no fld "photoFileName" > > card 1 1.BigBlueBird > card 2 10.RedOrange > card 3 11.WhiteApple > card 4 2.SmallBlackBird > > Ideal the person naming the photos uses zero padding, but typically I > find users oblivious to this issue and I simply need to give them a > way to resort from a button to: > > card 1 1.BigBlueBird > card 2 2.SmallBlackBird > card 3 10.RedOrange > card 4 11.WhiteApple > > Sort cards of this stack numeric by fld "photoFileName" > Try something like this: set the itemDel to "." sort lines of theData numeric by item 1 of (word 3 of each) Cheers, Sarah From bornstein at designeq.com Sun Jun 6 23:47:32 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Sun, 6 Jun 2004 23:47:32 -0400 Subject: Still a Couple of Nits In-Reply-To: <6ADBCDEE-B747-11D8-9D6C-000393A1CAAA@centurytel.net> References: <6ADBCDEE-B747-11D8-9D6C-000393A1CAAA@centurytel.net> Message-ID: <67BE005C-B835-11D8-908E-000A95909E26@designeq.com> On Jun 5, 2004, at 7:23 PM, Roger Guay wrote: > When I use the Command and Option keys to access scripts, I find that > the script editor itself often opens up as well. How can I stop > this??? I've seen this also. My impression is that this happens if I'm still holding down Command & Option after the script editor opens, so the message gets passed on to open up the code for the script editor itself. My only solution to this is to let go of the Command & Option keys the moment the script editor opens. Since I've been training myself for this, I haven't seen the problem too often. I haven't seen that problem with Command-M. It toggles the message box as expected for me. Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From erikhans08 at yahoo.com Mon Jun 7 02:08:46 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sun, 6 Jun 2004 23:08:46 -0700 (PDT) Subject: Anti-aliased text on Windows? In-Reply-To: <40C1E96B.5090009@chipp.com> Message-ID: <20040607060846.82654.qmail@web61105.mail.yahoo.com> hi Chipp, please let me know when you receive my (your) money order so that i know i am confirmed. thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From erikhans08 at yahoo.com Mon Jun 7 02:11:34 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sun, 6 Jun 2004 23:11:34 -0700 (PDT) Subject: OT oops In-Reply-To: <20040607060846.82654.qmail@web61105.mail.yahoo.com> Message-ID: <20040607061135.74344.qmail@web61102.mail.yahoo.com> my Monterey message was only supposed to go to Austin. disculpas, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From erikhans08 at yahoo.com Mon Jun 7 02:36:16 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sun, 6 Jun 2004 23:36:16 -0700 (PDT) Subject: IDE Interference - the longest running thread? In-Reply-To: <40B9169C.7000604@fourthworld.com> Message-ID: <20040607063616.99082.qmail@web61104.mail.yahoo.com> Re: IDE Interference - the longest running thread? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From xbury.cs at clearstream.com Mon Jun 7 02:54:05 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 7 Jun 2004 08:54:05 +0200 Subject: IDE Interference - the longest running thread? Message-ID: On 07.06.2004 08:36:16 use-revolution-bounces wrote: >Re: IDE Interference - >the longest running thread? > >===== >erik at erikhansen.org http://www.erikhansen.org > what do I win? ;)) Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From shedrup at ms9.hinet.net Mon Jun 7 03:11:34 2004 From: shedrup at ms9.hinet.net (Friedrich F. Grohmann) Date: Mon, 7 Jun 2004 15:11:34 +0800 Subject: Chinese Unicode problem Message-ID: <200406070712.PAA28058@msr41.hinet.net> Fr?d?ric, I've been struggling for a couple of months with Revolution and Asian scripts. Obviously, the earlier Macintosh operation systems and HyperCard have spoiled me pretty much so that I have a hard time finding my way through all the marvels of OS X and Unicode and what not. Nevertheless, I managed to put a program together for one course I gave this semester, practically everything in Chinese, and the result does not seem too bad, at least in my eyes, though I've lost count on how many times Revolution crashed on me. One of the worst drawbacks is that automatic line wrap does not work for Chinese. If you are dealing with large amounts of two-byte text and not some lonely characters here and there, you are going to waste a lot of time just fitting text into fields. I've written a very simple stack in order to import Chinese text from system 9 files so that one can work with in Rev under OS X. The method is primitive -I'm a philologist, not a professional scripter, and was under too heavy time constrains to develop something more sophisticated- but it works. Let me know if you want me to send you a copy. O yes, I should not forget to mention that one of the wonders of working with Chinese under these conditions is that some characters can not be "translated" and end up as something which looks like a line brake and is going to crash Revolution if you are not careful. I've identified four or five culprits so far, by no means uncommon characters. Cordialement, Fritz From bmoa at cs.uvic.ca Mon Jun 7 03:41:54 2004 From: bmoa at cs.uvic.ca (Belaid Moa) Date: Mon, 7 Jun 2004 00:41:54 -0700 (PDT) Subject: How do externals work? In-Reply-To: <053001c44c2d$65c36500$6601a8c0@precision340> Message-ID: Hello All, I am new to Revolution world. I get used to hypercards and XCMDs/XCFNs. I am trying to move to Revolution but I found it difficult. In hypercards I used to send data between stacks and XCMDs by using hypercard libraries and Parameters. I don't see how one can do this in Revolution? Do I need to create my own library that allows such communication? I found that both Alex and Trevor used XcmdGlue.c/.h and external.c/.h to do such communication. Alex&Trevor: Am I right? If yes, I really like to understand how does your solution work? I apologize for taking your precious time. Your reply is appreciated and thanks in advance. With best regards. Belaid Moa, UVic From mazzapaolo at libero.it Sat Jun 5 03:19:09 2004 From: mazzapaolo at libero.it (Paolo Mazza) Date: Sat, 5 Jun 2004 09:19:09 +0200 Subject: Where to store read/write files on multi-user systems In-Reply-To: <4D3E2E92-B64F-11D8-B7AA-000A956C462A@mangomultimedia.com> Message-ID: Thanks Trevor, it is fine - I can use shell command. But given the fact that both MAC OS X and WINDOWS XP are multi-user systems, I think Revolution should take into consideration this point and set an option on the "Build standalone" panel for multi-user application. I think it would be a very useful feature for the next release of Revolution. Your suggestions would be a good start, and I think they are consistent with standard procedures both for MAC OS X and for WINDOWS XP. I do not know for the other systems. Windows XP/2000 * User specific preference files (4 in my list above)- C:/Documents and Settings/USERNAME/Application Data/MYAPP specialFolderPath(26) * Shared files writable by everyone (2 and 3)- C:/Documents and Settings/All Users/Application Data/MYAPP specialFolderPath(35) Mac OS X * User specific preference files (4)- /Users/USERNAME/Library/Preferences/MYAPP specialFolderPath("pref") * Shared files writable by everyone (2 and 3)- /Users/Shared/MYAPP specialFolderPath("sdat") SET PERMISSIONS get shell("chmod 666 " "e& MY_FILE_PATH "e) Ciao Paolo Mazza Venerd?, 4 Giu 2004, alle 19:47 Europe/Rome, Trevor DeVore ha scritto: > On Jun 4, 2004, at 11:31 AM, paolo wrote: > >> Referring to MAC OS X I think this is fine: >>> >>> Mac OS X >>> * User specific preference files (4)- >>> /Users/USERNAME/Library/Preferences/MYAPP >>> specialFolderPath("pref") >>> * Shared files writable by everyone (2 and 3)- /Users/Shared/MYAPP >>> specialFolderPath("sdat") >>> >>> >> >> However, you have to set permission accordingly. As far as I know >> there is not a way to set permissions from Revolution when you create >> a file.... (right?) .. so you can have problems to read/write files >> created by an other user. > > You can use the shell command to change the permissions. I think you > would want to chmod 666 the file to make it read/writable by everyone. > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bill at bluewatermaritime.com Mon Jun 7 12:31:35 2004 From: bill at bluewatermaritime.com (Bill) Date: Mon, 07 Jun 2004 12:31:35 -0400 Subject: How to use progress bar In-Reply-To: <20040607160033.CDF3A9300C8@mail.runrev.com> Message-ID: On 6/7/04 12:00 PM, "use-revolution-request at lists.runrev.com" wrote: You guess it! It is a converted hypercard stack. I am madly cleaning up all the data in all my converted hypercard stacks and exporting them to MYSQL (very time consuming using combination of RunRev and excel and much paying of attention to created indexes and new relations) -- but I'd rather be doing that then trying to import Chinese characters like that other guy ;) I wonder how many other things 'hcAddressing'; turned on, affects? It doesn't help with old hypercard scripts that refer to "go next card in this bg" as I had to change all those to "go next card". And why would you want special hyper card addressing for the progress bar that doesn't exist in hypercard? Does anyone know how to make the progress bar work with lock screen in affect? From themacguy at macosx.com Mon Jun 7 12:46:59 2004 From: themacguy at macosx.com (Barry Levine) Date: Mon, 7 Jun 2004 10:46:59 -0600 Subject: Am I the only one? (Windows issue) Message-ID: <4B7FA6E7-B8A2-11D8-80AB-000A95763ABC@macosx.com> Is there anyone else having problems with the appearance of text when developing in OSX but deploying in Windows? How about simply moving an OSX stack over to Windows and opening it in the IDE there? I'm using Rev 2.2 but didn't seem to have this issue in releases prior to 2.0. Thanks, Barry From claus at dreischer.de Mon Jun 7 12:47:42 2004 From: claus at dreischer.de (Claus Dreischer) Date: Mon, 7 Jun 2004 18:47:42 +0200 Subject: toolTip with more than 1 line In-Reply-To: <053001c44c2d$65c36500$6601a8c0@precision340> References: <053001c44c2d$65c36500$6601a8c0@precision340> Message-ID: > > i know that the info in a toolTip should be short, >> but sometimes it's more readable when there are 2 or 3 small lines in >> a toolTip. >> >> >> The Dict says: >> " >> The toolTip of a control is a single line of text. >> " >> >> So, is there no way? > >Using the normal tooltip mechanism, no. But you can fake your own with a >palette stack, a single field, and trapping mouseenter/mouseleave from a >frontscirpt. > >Ken Ray Thanks Ken, I'll try this. Claus. From rcozens at pon.net Mon Jun 7 12:50:55 2004 From: rcozens at pon.net (Rob Cozens) Date: Mon, 7 Jun 2004 09:50:55 -0700 Subject: How to use progress bar In-Reply-To: References: Message-ID: >I wonder how many other things 'hcAddressing' Hi Bill, If you want your stack to work like a default Revolution stack instead of a converted HC stack, set the stack's dynamicPaths property to false as well. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rogerguay at centurytel.net Mon Jun 7 13:13:23 2004 From: rogerguay at centurytel.net (Roger Guay) Date: Mon, 7 Jun 2004 10:13:23 -0700 Subject: Still a Couple of Nits In-Reply-To: <20040607160033.7C6CA9300C7@mail.runrev.com> References: <20040607160033.7C6CA9300C7@mail.runrev.com> Message-ID: A very big thanks to Sarah (genius du jour) for solving my nitty problems!! Cheers, Roger On Jun 7, 2004, at 9:00 AM, use-revolution-request at lists.runrev.com wrote: > Message: 9 > Date: Mon, 7 Jun 2004 13:05:57 +1000 > From: Sarah Reichelt > Subject: Re: Still a Couple of Nits > To: How to use Revolution > Message-ID: <98E4BDAA-B82F-11D8-AC3F-0003937A97B8 at genesearch.com.au> > Content-Type: text/plain; charset=US-ASCII; format=flowed > >> When I use the Command and Option keys to access scripts, I find that >> the script editor itself often opens up as well. How can I stop >> this??? > In Preferences - General, you will see a check box that toggles the use > of Command-Option to edit scripts and then a sub-button to this which > specifies whether this will also work in Revolution UI windows. Uncheck > this second check box and this will stop happening. >> >> I also find that the Command and "M" keys do not toggle the Message >> Box although it does cause the Tools menu to hilite briefly. > Whenever the menus stop working, the solution seems to be to reset > preferences to their defaults. There is a button to do this in the > Preferences window. >> >> The only response I got form an earlier query was to toggle "Suppress >> Messages." This did not work for me. Can anyone please help? > Toggling the Suppress Messages button re-activates the Command-Option > hover if it has stopped working. > > Cheers, > Sarah From mpetrides at earthlink.net Mon Jun 7 13:21:56 2004 From: mpetrides at earthlink.net (Marian Petrides, M.D.) Date: Mon, 7 Jun 2004 13:21:56 -0400 Subject: Am I the only one? (Windows issue) No you are not In-Reply-To: <4B7FA6E7-B8A2-11D8-80AB-000A95763ABC@macosx.com> References: <4B7FA6E7-B8A2-11D8-80AB-000A95763ABC@macosx.com> Message-ID: <2D3D6DCF-B8A7-11D8-8EEE-0003931B4DBE@earthlink.net> Yes. I have had to reformat many of my text fields, despite using a fairly standard font: Times New Roman 18 pt. Not a big deal, but a time-consuming nuisance. AND, if I bring the same stack back to OS X, I once again have to reformat the same text fields. FWIW, I encountered this same problem with a number of other authoring environments, too (e.g. CourseBuilder from Discovery Systems), so I don't think it's a Rev thing. M On Jun 7, 2004, at 12:46 PM, Barry Levine wrote: > Is there anyone else having problems with the appearance of text when > developing in OSX but deploying in Windows? How about simply moving an > OSX stack over to Windows and opening it in the IDE there? I'm using > Rev 2.2 but didn't seem to have this issue in releases prior to 2.0. > > Thanks, > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gregory.lypny at videotron.ca Mon Jun 7 13:28:12 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Mon, 07 Jun 2004 13:28:12 -0400 Subject: Locking the location of a Window Message-ID: <0D6B982F-B8A8-11D8-B81B-000D9350C9C2@videotron.ca> Hello Everyone, What property do I set to lock the location of a window so that it cannot be moved by a user? I'm thinking of a palette toolbar being fixed to the top of the screen. Greg From jperryl at ecs.fullerton.edu Mon Jun 7 13:42:43 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 7 Jun 2004 10:42:43 -0700 (PDT) Subject: Am I the only one? (Windows issue) In-Reply-To: <4B7FA6E7-B8A2-11D8-80AB-000A95763ABC@macosx.com> Message-ID: Hi Barry, I am having this problem. I have made a stack in OSX and moved it over to XP & 2000... about half-way through my fonts stop displaying properly. So, I fix them in Windows, bring it back to the Mac, take it back to Windows and ... poof! All my font fixes are gone and it's back to the same old problem. I am also using 2.2. Is this your problem? Judy On Mon, 7 Jun 2004, Barry Levine wrote: > Is there anyone else having problems with the appearance of text when > developing in OSX but deploying in Windows? How about simply moving an > OSX stack over to Windows and opening it in the IDE there? I'm using > Rev 2.2 but didn't seem to have this issue in releases prior to 2.0. From jperryl at ecs.fullerton.edu Mon Jun 7 13:44:57 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 7 Jun 2004 10:44:57 -0700 (PDT) Subject: Am I the only one? (Windows issue) No you are not In-Reply-To: <2D3D6DCF-B8A7-11D8-8EEE-0003931B4DBE@earthlink.net> Message-ID: But it's a serious problem for doing any cross-platform presentation work. Richard Gaskin suggested that it was a bug, for which I've submitted a bug report. Judy On Mon, 7 Jun 2004, Marian Petrides, M.D. wrote: > Yes. I have had to reformat many of my text fields, despite using a > fairly standard font: Times New Roman 18 pt. Not a big deal, but a > time-consuming nuisance. AND, if I bring the same stack back to OS X, > I once again have to reformat the same text fields. > > FWIW, I encountered this same problem with a number of other authoring > environments, too (e.g. CourseBuilder from Discovery Systems), so I > don't think it's a Rev thing. From klaus at major-k.de Mon Jun 7 13:45:29 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 7 Jun 2004 19:45:29 +0200 Subject: Locking the location of a Window In-Reply-To: <0D6B982F-B8A8-11D8-B81B-000D9350C9C2@videotron.ca> References: <0D6B982F-B8A8-11D8-B81B-000D9350C9C2@videotron.ca> Message-ID: <7729CE62-B8AA-11D8-8287-000A27B49A96@major-k.de> Hi Gregory, > Hello Everyone, > > What property do I set to lock the location of a window so that it > cannot be moved by a user? > I'm thinking of a palette toolbar being fixed to the top of the screen. the only way i can think of is to set the decorations of that stack to empty... As long it has a windowbar it can be moved. Hope that helps... > Greg > Regards Klaus Major klaus at major-k.de http://www.major-k.de P.S. You could add the upper part of a screenshot of a regular window as an image to your stack to make it look like there is nothing wrong with it ;-) From devin_asay at byu.edu Mon Jun 7 14:05:09 2004 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 07 Jun 2004 12:05:09 -0600 Subject: Am I the only one? (Windows issue) No you are not In-Reply-To: References: Message-ID: <36A5DC8C-B8AD-11D8-A8B9-000A95A6A138@byu.edu> Doesn't it work to use separate profiles when running on Mac v. Windows systems? You can create the profile to specify a textFont and textSize for your fields and then just select the proper profile on startup or openstack. Devin On Jun 7, 2004, at 11:44 AM, Judy Perry wrote: > But it's a serious problem for doing any cross-platform presentation > work. > > Richard Gaskin suggested that it was a bug, for which I've submitted a > bug > report. > > Judy > > On Mon, 7 Jun 2004, Marian Petrides, M.D. wrote: > >> Yes. I have had to reformat many of my text fields, despite using a >> fairly standard font: Times New Roman 18 pt. Not a big deal, but a >> time-consuming nuisance. AND, if I bring the same stack back to OS X, >> I once again have to reformat the same text fields. >> >> FWIW, I encountered this same problem with a number of other authoring >> environments, too (e.g. CourseBuilder from Discovery Systems), so I >> don't think it's a Rev thing. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Devin Asay Humanities Technology and Research Support Center Brigham Young University From jperryl at ecs.fullerton.edu Mon Jun 7 14:09:52 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 7 Jun 2004 11:09:52 -0700 (PDT) Subject: Am I the only one? (Windows issue) No you are not In-Reply-To: <36A5DC8C-B8AD-11D8-A8B9-000A95A6A138@byu.edu> Message-ID: Perhaps, but it still shouldn't do what it is doing. I'll look into your suggestion, though! Judy On Mon, 7 Jun 2004, Devin Asay wrote: > Doesn't it work to use separate profiles when running on Mac v. Windows > systems? You can create the profile to specify a textFont and textSize > for your fields and then just select the proper profile on startup or > openstack. > > Devin From rcozens at pon.net Mon Jun 7 14:24:00 2004 From: rcozens at pon.net (Rob Cozens) Date: Mon, 7 Jun 2004 11:24:00 -0700 Subject: Locking the location of a Window In-Reply-To: <7729CE62-B8AA-11D8-8287-000A27B49A96@major-k.de> References: <0D6B982F-B8A8-11D8-B81B-000D9350C9C2@videotron.ca> <7729CE62-B8AA-11D8-8287-000A27B49A96@major-k.de> Message-ID: >>What property do I set to lock the location of a window so that it >>cannot be moved by a user? >>I'm thinking of a palette toolbar being fixed to the top of the screen. > >the only way i can think of is to set the decorations of that stack >to empty... setting the windowShape property does this also -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From geoff at advantae.com Mon Jun 7 14:33:55 2004 From: geoff at advantae.com (Geoff Caplan) Date: Mon, 7 Jun 2004 19:33:55 +0100 Subject: Capabilities: RTF editing, Graphs, flat-file database Message-ID: <636864681.20040607193355@variosoft.com> Hi folks, I'm evaluating Revolution for an upcoming project. It seems to be maturing into an exciting product, but I'm not entirely sure it can do everything I need. 1) I am going to need a simple Rich Text edit box, with user control of fonts, point-sizes, text colour, inline images, bullets. 2) I am going to need runtime graphs and charts: they will be simple but they have to look good. 3) I am going to need a rock-solid embedded flat-file data store that can handle up to 60,000 records and be searched on multiple keys. It must require no separate installation or user maintenance. Ideally, these features could be built to work on all platforms from the same codebase. Can this be done in Revolution? ------------------ Geoff Caplan From kray at sonsothunder.com Mon Jun 7 15:29:52 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 7 Jun 2004 14:29:52 -0500 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <636864681.20040607193355@variosoft.com> Message-ID: <00b801c44cc5$d1970460$6601a8c0@precision340> > I'm evaluating Revolution for an upcoming project. It seems > to be maturing into an exciting product, but I'm not entirely > sure it can do everything I need. > > 1) I am going to need a simple Rich Text edit box, with user > control of fonts, point-sizes, text colour, inline images, bullets. > > 2) I am going to need runtime graphs and charts: they will be > simple but they have to look good. > > 3) I am going to need a rock-solid embedded flat-file data > store that can handle up to 60,000 records and be searched on > multiple keys. It must require no separate installation or > user maintenance. > > Ideally, these features could be built to work on all > platforms from the same codebase. > > Can this be done in Revolution? In short, "yes". In specific: 1) Fields automatically support fonts, sizes, styles, colors, inline images; bullets are a little tricky as a field does not have paragraph-level indents, so if the bulleted text can wrap to the left margin (although the bullet itself is indented), then you're OK. 2) Runtime graphs and charts are very doable and there are a couple of free charting libraries available to help you build them. 3) You have a number of choices on data storage; you can use internal card-based storage (basically one "card" per record in a stack that holds all the cards; search across the cards for what you want), or you can use a number of DBMSes (Valentina, PostgreSQL, mySQL, etc.). If you have any more questions, let us know, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From lestond at lpsoftware.com Mon Jun 7 15:44:14 2004 From: lestond at lpsoftware.com (Leston Drake) Date: Mon, 07 Jun 2004 13:44:14 -0600 Subject: Rev won't draw In-Reply-To: References: <5.1.1.6.0.20040604085328.01fcf078@mail.xmission.com> <5.1.1.6.0.20040604085328.01fcf078@mail.xmission.com> Message-ID: <5.1.1.6.0.20040607134001.020219a0@mail.xmission.com> Thanks for the suggestion Howard. That didn't fix the problem, but clued me in to what it might be. I have a full-card image (jpg) on the bottom layer that I have the cantSelect = true. If I change it to be false, then I can draw. I would definitely say this is a Rev bug. Thanks again. --Leston At 10:38 AM 6/5/2004, you wrote: >On Jun 4, 2004, at 11:03 AM, Leston Drake wrote: > >>On one card in my stack, when I click on any tool in the Tools palette, >>and click-and-drag on the card to draw the object (e.g., a button, a >>field) it does not create it. It does nothing. >> >>There is no script on the card or on any of the objects on the card. >> >>Anyone seen this before or have any useful ideas? > >This is a long shot, but go to the card and execute this from the message box: > >set the cantselect of this card to false > >See if it works now. > > >Regards, > >Howard Bornstein >----------------------- >D E S I G N E Q >www.designeq.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From rbarber at yhb.att.ne.jp Mon Jun 7 15:50:14 2004 From: rbarber at yhb.att.ne.jp (ron barber) Date: Tue, 8 Jun 2004 04:50:14 +0900 Subject: Chinese Unicode problem In-Reply-To: <200406070712.PAA28058@msr41.hinet.net> References: <200406070712.PAA28058@msr41.hinet.net> Message-ID: Hi Fritz, Please go to bugzilla and enter these. Or, let me know what they are and I will bugzilla them. Tuviah is working on many of the issues we have experienced with Japanese unicode but he can't fix what he doesn't know. Ron On Jun 7, 2004, at 4:11 PM, Friedrich F. Grohmann wrote: > Fr?d?ric, > > I've been struggling for a couple of months with Revolution and Asian > scripts. Obviously, the earlier Macintosh operation systems and > HyperCard > have spoiled me pretty much so that I have a hard time finding my way > through all the marvels of OS X and Unicode and what not. > > Nevertheless, I managed to put a program together for one course I gave > this semester, practically everything in Chinese, and the result does > not > seem too bad, at least in my eyes, though I've lost count on how many > times Revolution crashed on me. One of the worst drawbacks is that > automatic line wrap does not work for Chinese. If you are dealing with > large amounts of two-byte text and not some lonely characters here and > there, you are going to waste a lot of time just fitting text into > fields. > > I've written a very simple stack in order to import Chinese text from > system 9 files so that one can work with in Rev under OS X. The method > is > primitive -I'm a philologist, not a professional scripter, and was > under > too heavy time constrains to develop something more sophisticated- but > it > works. Let me know if you want me to send you a copy. > > O yes, I should not forget to mention that one of the wonders of > working > with Chinese under these conditions is that some characters can not be > "translated" and end up as something which looks like a line brake and > is > going to crash Revolution if you are not careful. I've identified four > or > five culprits so far, by no means uncommon characters. > > Cordialement, > > Fritz > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Mon Jun 7 15:25:41 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 7 Jun 2004 14:25:41 -0500 Subject: How to use progress bar In-Reply-To: Message-ID: <00b701c44cc5$3bf903e0$6601a8c0@precision340> > I wonder how many other things 'hcAddressing'; turned on, > affects? According to the docs: "If the HCAddressing property is set to true, expressions in the stack's scripts that refer to fields without specifying card or background are assumed to refer to grouped controls, and expressions that refer to other control types are assumed to refer to card controls." This is why it affects progress bars, since they are an "other control type". Since you put it into a group, you need to specify "background" in order to address the object. It also states: "The values reported by the 'long' or 'abbreviated' name or ID will include "card" or "backrgound" as the first word, depending on whether the control is part of a group." and finally: "The style property of a button whose style is 'menu' reports 'popup' instead. This is because HyperCard uses a style setting of 'popup' to designate popup menus." HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bornstein at designeq.com Mon Jun 7 17:38:15 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Mon, 7 Jun 2004 17:38:15 -0400 Subject: MouseMove strangeness In-Reply-To: <044701c44b7a$d2259c30$6601a8c0@precision340> References: <044701c44b7a$d2259c30$6601a8c0@precision340> Message-ID: On Jun 6, 2004, at 12:00 AM, Ken Ray wrote: > Don't use mouseMove... check out the resizeControl message; you get > that as > soon as the group bounding box handle that is being dragged is > released. Actually, I found a way to make it work with mouseMove. I can't set the rect of the field to the rect of the group for reasons discussed before (since it changes in real time and the group tries to adjust), but I can store the widths, heights, and edges of the group and adjust the parts to fit it within the mousemove handler. It turns out that the order in which these operations are done are critical, but it does work. While resizeControl would be adequate, using mouseMove lets the group elements be resized in realtime, not just when the mouse is released. Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From bornstein at designeq.com Mon Jun 7 17:54:48 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Mon, 7 Jun 2004 17:54:48 -0400 Subject: Rev won't draw In-Reply-To: <5.1.1.6.0.20040607134001.020219a0@mail.xmission.com> References: <5.1.1.6.0.20040604085328.01fcf078@mail.xmission.com> <5.1.1.6.0.20040604085328.01fcf078@mail.xmission.com> <5.1.1.6.0.20040607134001.020219a0@mail.xmission.com> Message-ID: <4B8B2C68-B8CD-11D8-BC9C-000A95909E26@designeq.com> On Jun 7, 2004, at 3:44 PM, Leston Drake wrote: > I have a full-card image (jpg) on the bottom layer that I have the > cantSelect = true. > If I change it to be false, then I can draw. > > I would definitely say this is a Rev bug. Yes, it appears that if the cantselect of an object is set to true, Rev won't honor an object creation tool's mouseclick. But it does still process mouseclicks. In fact, here's a quick and dirty way to get around this problem. In the jpeg image handler put this script: on mouseup if the optionkey is down then set the cantselect of me to false else set the cantselect of me to true end if end mouseup Cantselect is useful if you have lots of other objects on top of your jpeg that you want to select by dragging a marque. So when you're creating a new object, first option-click the jpeg and the object creation tools will work. Then when you're done, click it again so that you can select multiple objects by dragging the mouse. Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From lestond at lpsoftware.com Mon Jun 7 17:58:37 2004 From: lestond at lpsoftware.com (Leston Drake) Date: Mon, 07 Jun 2004 15:58:37 -0600 Subject: Rev won't draw In-Reply-To: <4B8B2C68-B8CD-11D8-BC9C-000A95909E26@designeq.com> References: <5.1.1.6.0.20040607134001.020219a0@mail.xmission.com> <5.1.1.6.0.20040604085328.01fcf078@mail.xmission.com> <5.1.1.6.0.20040604085328.01fcf078@mail.xmission.com> <5.1.1.6.0.20040607134001.020219a0@mail.xmission.com> Message-ID: <5.1.1.6.0.20040607155749.02019090@mail.xmission.com> That's exactly why I'm using cantSelect = true, want to drag-select a bunch of objects on top of it. Thanks for the nifty tip. --Leston At 03:54 PM 6/7/2004, you wrote: >On Jun 7, 2004, at 3:44 PM, Leston Drake wrote: > >>I have a full-card image (jpg) on the bottom layer that I have the >>cantSelect = true. >>If I change it to be false, then I can draw. >> >>I would definitely say this is a Rev bug. > >Yes, it appears that if the cantselect of an object is set to true, Rev >won't honor an object creation tool's mouseclick. But it does still >process mouseclicks. In fact, here's a quick and dirty way to get around >this problem. In the jpeg image handler put this script: > >on mouseup > if the optionkey is down then > set the cantselect of me to false > else > set the cantselect of me to true > end if >end mouseup > >Cantselect is useful if you have lots of other objects on top of your jpeg >that you want to select by dragging a marque. So when you're creating a >new object, first option-click the jpeg and the object creation tools will >work. Then when you're done, click it again so that you can select >multiple objects by dragging the mouse. > > >Regards, > >Howard Bornstein >----------------------- >D E S I G N E Q >www.designeq.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From tsj at unimelb.edu.au Mon Jun 7 19:17:25 2004 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 8 Jun 2004 09:17:25 +1000 Subject: Background app in OSX.3 - solution In-Reply-To: <20040605053147.3271D930110@mail.runrev.com> Message-ID: Success at last! Setting LSBackgroundOnly to 1 in the pList... LSBackgroundOnly 1 ...and either 'touching' using the terminal it OR dragging the application out of and back into its folder seems to do the trick on both 10.2 and 10.3. Many thanks to Brian and Ken for their help on this one. Now if anyone knows how to extract image data from .ics files...? Cheers, Terry... Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA From geoff at advantae.com Mon Jun 7 20:49:30 2004 From: geoff at advantae.com (Geoff Caplan) Date: Tue, 8 Jun 2004 01:49:30 +0100 Subject: Capabilities: RTF editing, Graphs, flat-file database Message-ID: <867017026.20040608014930@variosoft.com> Ken, Thanks for the response... KR> 1) Fields automatically support fonts, sizes, styles, colors, KR> inline images; bullets are a little tricky as a field does not KR> have paragraph-level indents, so if the bulleted text can wrap to KR> the left margin (although the bullet itself is indented), then KR> you're OK. What are my options if I need a more complete Rich Text editor with bullets, tables, indents etc? I don't need it right away but I don't want to run into brick walls in the future. I guess I could use a .dll, but then I sacrifice portability. KR> 3) You have a number of choices on data storage; you can use KR> internal card-based storage (basically one "card" per record in a KR> stack that holds all the cards; search across the cards for what KR> you want), or you can use a number of DBMSes (Valentina, KR> PostgreSQL, mySQL, etc.). As I say, what I need is a single-user flat-file data store for a low-cost consumer product - an embedded engine that will be 100% rock-solid, install seamlessly with the application and maintain itself with no user intervention. I don't need relational capability or concurrent access. MySQL and Postgres don't fit the bill, obviously. I haven't used Valentina, but as a full-featured RDBMS it would surely be too complex and unreliable. The built-in card-based storage would be simple and reliable, but I need to search a record-set of around 60,000 records on multiple keys so I can't imagine that it would do the job (or am I wrong about this?). Again, there are suitable .dlls such as Tsunami, but only at the cost of portability... Alternatively, Sleepycat and others release ASCI C sourcecode with their engines - is there some way of building this into Revolution? This would be the ideal solution, I think. I need to solve this if I'm going to go with Rev, so I'd be very grateful for any advice... ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From lists at mangomultimedia.com Mon Jun 7 20:54:35 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 7 Jun 2004 18:54:35 -0600 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <867017026.20040608014930@variosoft.com> References: <867017026.20040608014930@variosoft.com> Message-ID: <691288E8-B8E6-11D8-A668-000A956C462A@mangomultimedia.com> On Jun 7, 2004, at 6:49 PM, Geoff Caplan wrote: > MySQL and Postgres don't fit the bill, obviously. I haven't used > Valentina, but as a full-featured RDBMS it would surely be too complex > and unreliable. I'm curious as to why you think Valentina is unreliable? It has been excellent in my experience with it. You just install the database files when you install the program and the user doesn't have to do anything else. There are externals for Mac and Windows which are already available and it offers great searching capabilities. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From b.xavier at internet.lu Mon Jun 7 21:20:28 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 8 Jun 2004 03:20:28 +0200 Subject: ANN Props NO2 In-Reply-To: Message-ID: Hi everyone Here's the first announcement of PropsNO2 (Nitrous Oxide) for RunRev version 1.1 demo. Tired of pulling down the properties palette sections menu? Here's one plugin palette that will save you countless kilometers of menu dragging, time consuming switching that kills the momentum in your application's design... This auto-configuring plug-in (no installation required other than for auto-open) avoids all plugin crashes and non- supported plugin features (Im quite unsettled about that!). PropsNO2 will give you one click to view any property section (well almost) and add a couple of its own (cd, stack and group props!). Surely more are possible and your feedback will hopefully help bring this as new features... I prefer releasing a time saving tool than waiting to find more bugs in RR - this plugin is for your productivity! Last but not least, a better profiling feature to save the properties of an object as a style and allow you to quickly restore them to any other object without the painstacking use of the awkward RR profiles! Imagine saving an objects colors or geometry, etc...) and duplicating it or them in less than 3 seconds! Naturally it took long hours and dozens of crashes to build this stack! A nag startup screen and the disabled profile tool will remain disabled until you register or encourage me enough to send you the lifetime free updates! The free download and preview are at As RR plugins are now futile, you just need to open this stack to make it work! This is shareware. Im thinking of a 15 euro shareware, it's well worth it IMOHO! If you think it's worth more, let me know! Please inquire directly for licenses - if I get enough requests, I have a menu toolbar to add to the revmenubar stack with even more time saving features in the works ;) Your encouragement will be astackimilated. This stack is dedicated to Rob Cozens and Richard Gaskin's gracious help! Xavier -- http://monsieurx.com Tools to tune your productivity From b.xavier at internet.lu Mon Jun 7 21:34:20 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 8 Jun 2004 03:34:20 +0200 Subject: ANN Props NO2 In-Reply-To: Message-ID: Can anyone tell me who designed the properties palette to interface with him/it? Emailing to Kevin for answers seems futile... X of the Borg From b.xavier at internet.lu Mon Jun 7 21:34:20 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 8 Jun 2004 03:34:20 +0200 Subject: =?iso-8859-1?q?shortcut_intuitivity_=E0_la_Rev_8X?= In-Reply-To: <002401c4499f$38a6f4f0$f4f0d80a@WorkPC> Message-ID: he he... Control shift-i will not import a picture but chore shift period will X's accidental rev tip #1 Is there is doc for deez unintuitive shotcuts? ;X - The designer of a new kind of system must participate fully in the implementation. ?Donald E. Knuth From mwieder at ahsoftware.net Mon Jun 7 22:03:41 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 7 Jun 2004 19:03:41 -0700 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <867017026.20040608014930@variosoft.com> References: <867017026.20040608014930@variosoft.com> Message-ID: <3510495141.20040607190341@ahsoftware.net> Geoff- Monday, June 7, 2004, 5:49:30 PM, you wrote: Well, the Sleepycat folks live up the block from me, so of course I've talked with them about a rev mind-meld, but... Lemme beat Rob to the punch here and say... look into sdb. That will give you your flat-file database in pure Transcript, so it's cross platform from the start. -- -Mark Wieder mwieder at ahsoftware.net From themacguy at macosx.com Mon Jun 7 22:35:24 2004 From: themacguy at macosx.com (Barry Levine) Date: Mon, 7 Jun 2004 20:35:24 -0600 Subject: Am I the only one (Windows...) - A resolution, perhaps Message-ID: <7E79B9EC-B8F4-11D8-9077-000A95763ABC@macosx.com> I've been bombarding Scott Raney with eMails and sample stacks that displayed the problem. (Bug 794 - Problem being an OSX-developed stack brought over to Windows where the fields would display not just the wrong font but a "corrupted" font with the baseline, size, style, font all way too small and usually pushed way up above where you could readily see the text.) After I completely updated my Windows installation per MS recommendations (Service Pack 4 on W2K, etc.) -and- installed a printer (the was no printer selection as this was a recent install), the problem disappeared. I was not sure which action resolved the problem as I did both before running the stack in the IDE again. However, my subsequent eMail to Scott caused him to look at the "formatForPrinting" property of my stack which, Scott says, was "true". This causes all sorts of really nasty things to happen to the stack's (and distro's!) appearance if you do not have a printer installed and selected (so says Scott). Additionally, if I had RTFM(!), the formatForPrinting property must be set to false before you change any text in a field (which I had not been doing because I had been developing in OSX). Here's what the online doc has to say: > Comments: > Windows systems may use different font versions for printing and for > screen display, and the spacing of the print version may differ from > the spacing of the screen version. This can result in layouts and line > breaks differing between the screen display and the printed result. > For the best appearance of printed cards in a stack, make sure the > stack is closed (and not in memory), then set the stack's > formatForPrinting property to true before opening the stack to print > it. > Important! Do not edit field text in a stack whose > formatForPrinting is true. Doing so can cause display anomalies. Set > the formatForPrinting property to false before you make changes to > text in fields. Do I leave formatForPrinting false in the saved stack but set it to true in the preopenStack handler? Is it not proper to leave it set to true even if the distro's field text never changes? Anyone with experience in this issue is invited to opine. Thankfully, these questions are minor compared to the (resolved) issue I had been facing. Thanks, Barry From ambassador at fourthworld.com Mon Jun 7 22:37:09 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 07 Jun 2004 19:37:09 -0700 Subject: ANN Props NO2 In-Reply-To: References: Message-ID: <40C52655.1030302@fourthworld.com> MisterX wrote: > Can anyone tell me who designed the properties palette > to interface with him/it? The RunRev IDE is not open source, so I don't know if they have a liason contact for collaboration. Bug reports and feature requests are normally submitted through Bugzilla, and I don't believe RunRev has an obligation to provide support beyond usage, which is well documented. What exactly do you need? Maybe one of the list folks here can help. > Emailing to Kevin for answers seems futile... I would imagine Kevin is quite busy; as he's said here before, he reads everything that comes in usually on the same day, but it's not possible to reply to that volume of email as quickly. My own correspondences sometimes see a reply many days later, but in each case I've not not had urgent issues so I wouldn't expect him to drop everything just for me. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From chipp at chipp.com Mon Jun 7 22:56:58 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 07 Jun 2004 21:56:58 -0500 Subject: ANN Props NO2 In-Reply-To: References: Message-ID: <40C52AFA.3010902@chipp.com> Xavier, I've a couple of concerns with your new plugin palette. 1) It doesn't seem to 'keep current' the property window settings when switching from object to object. This is something the RR palettes already do by themselves, so it appears you've broken something there. 2) In your documentation it states under Uninstall "Delete me! I dare you!" While this is not only unprofessional and unappropriate for a paid for program (you are charging for it), it also is *scary* to your users! 3) Because you've password protected your stack, it's difficult to know exactly what you're doing. For instance, are you modifying any of the IDE code? If indeed you are, I suggest you reconsider, as modifying the RR code is *BAD BEHAVIOR* and at the least will create support nightmares for the RunRev team. If you're inserting frontscripts, I'd also like to know. 4) Both in your documentation and on this website, you continue to slam RunRev for their product quality. This certainly doesn't seem a very professional approach if your goal is to garner more support for your plugin and products. BTW, I make a living using RunRev and don't encounter near the problems you suggest. 5) In your documentation you state: If this application crashes... crashing and instability behavior is completely out of the control of the programmer and rests entirely under the responsibility of RunRev development. I assume you're kidding! You're asking people to purchase your software, yet wish to take no responsibility regarding the quality of it? Wow, I wish I could make such a claim to my customers!!! (Please pay me now, and report all bugs to RunRev;-) And lastly, your incorrect assumption below: > As RR plugins are now futile, you just need to open this stack to > make it work! is blatantly untrue, and has no place on this list. I've created and maintained a slew of cross-platform plugins for RunRev (for free) which are used by many here. Just because you've had limited success writing professional plugins, doesn't mean it's not possible by others. -Chipp From hershbp at verizon.net Mon Jun 7 23:22:23 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Mon, 7 Jun 2004 23:22:23 -0400 Subject: novice Array questions Message-ID: <0F245920-B8FB-11D8-A194-0030654C1E62@verizon.net> Hi all, I know this is a lame question but I'd still appreciate an explanation. (I'll admit most of the knowledge I do have I achieved from this mailing list with the help I got from you people and I definitely appreciate it. What is the point of an varArray[] that a var won't do ? If you need more then 1 var use 2 var's or more. Number 2 , if you use a varArray []in a repeat e.g. repeat for each line myL in varArray[] --could you take info from which array you want do the lines work together ? if foo then put line myL of varArray[1] else put line myL of varArray[2] end repeat And by the way is it possible to split a SQL into 2 var's ? meaning, put revDataFromQuery(,,db,"SELECET (a,b) FROM table_c") into myVar1,myVar2 ? or somthing like this ? I know you could do put a,b,c,d into myVar , is it possible the other way around instead of put a into b put c into d and so on? Thanks a mill. From sarahr at genesearch.com.au Tue Jun 8 00:49:24 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 8 Jun 2004 14:49:24 +1000 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <00b801c44cc5$d1970460$6601a8c0@precision340> References: <00b801c44cc5$d1970460$6601a8c0@precision340> Message-ID: <371CF2B6-B907-11D8-AC3F-0003937A97B8@genesearch.com.au> > 3) You have a number of choices on data storage; you can use internal > card-based storage (basically one "card" per record in a stack that > holds > all the cards; search across the cards for what you want), or you can > use a > number of DBMSes (Valentina, PostgreSQL, mySQL, etc.). Just to add to Ken's answer about data storage: The one-card-per-record method will get rather unwieldy and slow if you have 60,000 records. I wouldn't recommend that method for more than about 1000 records. Another very popular way is to use a single data field with one line per record, and each field in the record separated by some delimiter, usually tab. The whole field can be loaded into memory allowing very fast searching, sorting etc. Also, you might want to consider XML which saves your data externally in a file that can be read by many applications, but uses Rev's fast XML library for searching, editing etc. Cheers, Sarah From sarahr at genesearch.com.au Tue Jun 8 00:54:14 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 8 Jun 2004 14:54:14 +1000 Subject: How to use progress bar In-Reply-To: References: Message-ID: > Does anyone know how to make the progress bar work with lock screen in > affect? > No, it won't work I'm afraid. What you could try is getting the data from each card by name or number instead of going to each card. e.g. in very simple form: on mouseUp repeat with c = 1 to the number of cards put fld "Data" of cd x & cr after collectedData set the thumbPos of scrollbar "Progress" to c end repeat -- do something with collectedData end mouseUp As others have pointed out, if you have lots of repeats, you are better not to update the progress bar every time, so you can use something like: if c mod 10 = 0 then set the thumbPos .... Cheers, Sarah From sarahr at genesearch.com.au Tue Jun 8 01:05:05 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 8 Jun 2004 15:05:05 +1000 Subject: Still a Couple of Nits In-Reply-To: References: <20040607160033.7C6CA9300C7@mail.runrev.com> Message-ID: <67E12A4C-B909-11D8-AC3F-0003937A97B8@genesearch.com.au> Wow - it's lucky I got time to read my emails today or I might have missed my day of genius completely :-) Sarah On 8 Jun 2004, at 6:51 am, Roger Guay wrote: > A very big thanks to Sarah (genius du jour) for solving my nitty > problems!! > > Cheers, Roger > From b.xavier at internet.lu Tue Jun 8 01:39:08 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 8 Jun 2004 07:39:08 +0200 Subject: ANN Props NO2 In-Reply-To: <40C52655.1030302@fourthworld.com> Message-ID: Richard, > What exactly do you need? Maybe one of the list folks here can help. Maybe my approach is wrong. I try to record the property palette's changes for the selobj and try to restore them for another. No problem with the recording but with the restoring it doesn't work. I am trying to avoid recording per revproperty palette object the translation to the selobj's properties... The newer approach im considering may have to do this... > > Emailing to Kevin for answers seems futile... > > I would imagine Kevin is quite busy; as he's said here before, he reads > everything that comes in usually on the same day, but it's not possible > to reply to that volume of email as quickly. My own correspondences > sometimes see a reply many days later, but in each case I've not not had > urgent issues so I wouldn't expect him to drop everything just for me. I dont expect a same day answer. But after a month, and this is not the only occurence, I am getting quite frustrated trying to get into contact with RR to "help". cheers Xavier From ambassador at fourthworld.com Tue Jun 8 02:09:11 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 07 Jun 2004 23:09:11 -0700 Subject: topstack empty? Message-ID: <40C55807.6070505@fourthworld.com> Under what circumstances should "the topstack" return empty? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From b.xavier at internet.lu Tue Jun 8 02:29:43 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 8 Jun 2004 08:29:43 +0200 Subject: ANN Props NO2 In-Reply-To: <40C52AFA.3010902@chipp.com> Message-ID: Chipp, > I've a couple of concerns with your new plugin palette. > > 1) It doesn't seem to 'keep current' the property window settings when > switching from object to object. This is something the RR palettes > already do by themselves, so it appears you've broken something there. I noticed that too ;) I did try to call for testers and only had one person's great help and comments. Im practically resourcesless but I keep trying! See later, I've fixed the problem, I hope. > 2) In your documentation it states under Uninstall "Delete me! I dare > you!" While this is not only unprofessional and unappropriate for a paid > for program (you are charging for it), it also is *scary* to your users! You're right of course... I've remove the "bad" stuff... I'll flagelate tonite ;) > 3) Because you've password protected your stack, it's difficult to know > exactly what you're doing. For instance, are you modifying any of the > IDE code? If indeed you are, I suggest you reconsider, as modifying the > RR code is *BAD BEHAVIOR* and at the least will create support > nightmares for the RunRev team. If you're inserting frontscripts, I'd > also like to know. I dont dare touch RR code. It is quite complicated! The only mod I did (so far) is to add menulines to a certain menu that needs it... As for the frontscript, it only catches the selectedobjectchanged. I just added a fix to pass this message (thanks for the frontscript mention!). This may fix problem 1)... > 4) Both in your documentation and on this website, you continue to slam > RunRev for their product quality. This certainly doesn't seem a very > professional approach if your goal is to garner more support for your > plugin and products. BTW, I make a living using RunRev and don't > encounter near the problems you suggest. With this plugin I've encountered SO MANY crashes, you would never believe it. Without modifying anything, just trying to implement a plugin which is a feature. They only thing I got working was the startup and the revexample. I'll just say that there are two crash prone features in RR, the other one being images in HTMLText. I've probably slammed the plugins enough on this list I wont do that again. Do you plugins use the revselectedobjectchanged or the reveditscript? Try it sometime... Try to port the revpluginexample to another stack or modify that stack to do your plugin's work... Doesn't take long to see the problem... > 5) In your documentation you state: > > If this application crashes... crashing and instability behavior is > completely out of the control of the programmer and rests entirely under > the responsibility of RunRev development. > > I assume you're kidding! You're asking people to purchase your software, > yet wish to take no responsibility regarding the quality of it? Wow, I > wish I could make such a claim to my customers!!! (Please pay me now, > and report all bugs to RunRev ;-) Have you seen the Microsoft or RR EULA? Are they responsible? ;) I've removed the offending text. > And lastly, your incorrect assumption below: > > > As RR plugins are now futile, you just need to open this stack to > > make it work! > > is blatantly untrue, and has no place on this list. I've created and > maintained a slew of cross-platform plugins for RunRev (for free) which > are used by many here. Just because you've had limited success writing > professional plugins, doesn't mean it's not possible by others. Part of that is a joke. Im no borg mind you ;) BUT I tried futily for hundreds of hours non-stop to make the revselectedobjectchanged and the revscriptedit plug-in features work. All I got was crashes, non-working call while the revexample does work (which is so frustrating to see) No one could explain that, not RR or the list! According to RR's support, plug-ins are not a priority - so be it - makes you wonder why they are still there and why there is no mention of them in the features list ;). Nobody has been able to answer my call for help except for Richards frontscript idea which did work! And since free software doesn't give me enough feedback satisfaction maybe paying software will. I tried to invoke user's sense of feedback and hardly got any. So now I'll put my work to the market to see if it works - hopefully RR will not copy the design and leave me some clients, but if they do, I wont mind - only if it crashes! ;) It's all for your benefit IMOHO, im trying to help you develop faster! As Andy Grove said, complacency is the enemy of productivity (or something like that he said...) So 15 euros is fine for you? ;) From b.xavier at internet.lu Tue Jun 8 02:39:53 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 8 Jun 2004 08:39:53 +0200 Subject: topstack empty? In-Reply-To: <40C55807.6070505@fourthworld.com> Message-ID: when the topstack is not there ;) If you open RR and dont open a stack (that is not a palette or modal) the topstack returns empty. Same behavior as with the selobj... naturally, if you try this, the topstack is stack "F:/mc/Revolution/components/tools/revmenubar.rev" whatdayakna! More IDE interference ;)) Im just joking! dont flame please! > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Richard > Gaskin > Sent: Tuesday, June 08, 2004 08:09 > To: How to use Revolution > Subject: topstack empty? > > > Under what circumstances should "the topstack" return empty? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Tue Jun 8 03:02:37 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 08 Jun 2004 00:02:37 -0700 Subject: topstack empty? In-Reply-To: References: Message-ID: <40C5648D.7090100@fourthworld.com> MisterX wrote: > Richard wrote: >>>Under what circumstances should "the topstack" return empty? > when the topstack is not there ;) > > If you open RR and dont open a stack (that is not a palette or modal) > the topstack returns empty. Same behavior as with the selobj... How are topstack and selectedObject related? > naturally, if you try this, the topstack is > stack "F:/mc/Revolution/components/tools/revmenubar.rev" That's my point, and the source of the mystery: in order for the engine to remain active it must always have one window open. In the circumstance that gave rise to the question there are actually several: one toplevel stack and five palette stacks. Normally I would expect that the topstack would refer to the toplevel stack, and if that were closed it would return the topmost palette stack. Yet in my circumstance I have a script that checks "the long name of the topstack" and it was causing errors so I had it put the topstack and it put empty. Hmmmmm.... The more I think about this something occurs to me: the bug is triggered when going between two toplevel stacks in the same window ("go cd xxx of stack yyy in window of this stack"), and the script triggering the error is in a preOpenStack handler. Maybe what's happening is that since preOpenStack happens before the stack is drawn, yet the other stack is effectively no longer in that window, so there is a window which for that moment is in a sort of limbo, no longer belonging to that stack that was there but without the next one being rendered into it. Is that a bug? I so, what should one expect the topStack to return under these circumstances, the stack that's been closed or the one that hasn't opened yet? A Zen koan in Transcript.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From xbury.cs at clearstream.com Tue Jun 8 03:22:51 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 8 Jun 2004 09:22:51 +0200 Subject: topstack empty? Message-ID: Richard, This may not solve the problem but if you set the revmenubar (and other rev windows) as palettes, some things work much better! One of them is the revmenubar that would not come forward when you bring forward a stack. Most annoying... I had to make a startup plugin that resolved this ;) cheers Xavier On 08.06.2004 09:02:37 use-revolution-bounces wrote: >MisterX wrote: >> Richard wrote: >>>>Under what circumstances should "the topstack" return empty? >> when the topstack is not there ;) >> >> If you open RR and dont open a stack (that is not a palette or modal) >> the topstack returns empty. Same behavior as with the selobj... > >How are topstack and selectedObject related? > >> naturally, if you try this, the topstack is >> stack "F:/mc/Revolution/components/tools/revmenubar.rev" > >That's my point, and the source of the mystery: in order for the engine >to remain active it must always have one window open. > >In the circumstance that gave rise to the question there are actually >several: one toplevel stack and five palette stacks. Normally I would >expect that the topstack would refer to the toplevel stack, and if that >were closed it would return the topmost palette stack. Yet in my >circumstance I have a script that checks "the long name of the topstack" >and it was causing errors so I had it put the topstack and it put empty. > >Hmmmmm.... > >The more I think about this something occurs to me: the bug is >triggered when going between two toplevel stacks in the same window ("go >cd xxx of stack yyy in window of this stack"), and the script triggering >the error is in a preOpenStack handler. Maybe what's happening is that >since preOpenStack happens before the stack is drawn, yet the other >stack is effectively no longer in that window, so there is a window >which for that moment is in a sort of limbo, no longer belonging to that >stack that was there but without the next one being rendered into it. > >Is that a bug? I so, what should one expect the topStack to return >under these circumstances, the stack that's been closed or the one that >hasn't opened yet? > >A Zen koan in Transcript.... Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From xbury.cs at clearstream.com Tue Jun 8 03:25:40 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 8 Jun 2004 09:25:40 +0200 Subject: How to use progress bar Message-ID: On 08.06.2004 06:54:14 use-revolution-bounces wrote: >> Does anyone know how to make the progress bar work with lock screen in >> affect? my MC Script Editor X uses a palette which is updated via a message while a locked screen handler does the work. The second trick is to lock the screen, go to a blank card (as the original SE in MC did...) cheers Xavier Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From heather at runrev.com Tue Jun 8 04:10:03 2004 From: heather at runrev.com (Heather Nagey) Date: Tue, 08 Jun 2004 09:10:03 +0100 Subject: ANN Props NO2 In-Reply-To: <20040608072413.4CBB49300FF@mail.runrev.com> Message-ID: > I dont expect a same day answer. But after a month, and this is not the only > occurence, I am getting quite frustrated trying to get into contact with RR > to "help". Xavier, if you want a faster response, try emailing support rather than Kevin directly. We can answer most questions, and you're more likely to get a 48 hour turnaround. Of course, if your query really needs the intervention of the CEO you're still going to be facing a delay, but if its something the support team can deal with, we'll do it quickly, Regards, Heather -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 131 7184333 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From geoff at advantae.com Tue Jun 8 04:45:00 2004 From: geoff at advantae.com (Geoff Caplan) Date: Tue, 8 Jun 2004 09:45:00 +0100 Subject: Capabilities: RTF editing, Graphs, flat-file database Message-ID: <354838248.20040608094500@variosoft.com> Hi folks, Thanks for the responses. Trevor DeVore wrote: >> I'm curious as to why you think Valentina is unreliable? It has been >> excellent in my experience with it. You just install the database >> files when you install the program and the user doesn't have to do >> anything else. There are externals for Mac and Windows which are >> already available and it offers great searching capabilities. Simply on the basis that as a full-featured RDBMS it is a very complex bit of kit and vastly over-specified for this particular requirement. And Paradigma don't promote it as an embedded engine on their website: they focus on the speed. Paradigma themselves say that data corruption can occur if the host computer crashes: http://www.paradigmasoft.com/faq/kernel.html#safe_data Crashing is a not-unusual occurrence on Windoze! An RDBMS designed for embedded use would use a technique such as journaling to self-recover from such a crash. Mark Wieder wrote: >> Lemme beat Rob to the punch here and say... look into sdb. That will >> give you your flat-file database in pure Transcript, so it's cross >> platform from the start. Could well be the answer - I'll certainly give it a try. Does anyone know where sdb lives? The link on runrev.com appears to be out of date... Sarah Reichelt wrote: >> Another very popular way is to use a single data field with one line >> per record, and each field in the record separated by some delimiter, >> usually tab. The whole field can be loaded into memory allowing very >> fast searching, sorting etc. Sarah, can you point me to the Rev functions you would use for this? Sounds like you are saying that Rev has Awk-like capabilities. This has the merit of simplicity. But with up to 60,000 records, I would have to test the speed and memory issues. >> Also, you might want to consider XML which saves your data externally >> in a file that can be read by many applications, but uses Rev's fast >> XML library for searching, editing etc. I don't need data portability, so the case for XML seems weak in my own scenario. I know some people are using XML/XPath as a data engine, but I'd prefer something built for the job. ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From bobnelson at mac.com Tue Jun 8 04:45:50 2004 From: bobnelson at mac.com (Bob Nelson) Date: Tue, 08 Jun 2004 01:45:50 -0700 Subject: Hmmm... Message-ID: Well, I tried to publish a message to the list-serv and haven't seen it come out the other side (yet) so I'm doing a little trouble-shooting here. Bob From chipp at chipp.com Tue Jun 8 05:03:08 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 08 Jun 2004 04:03:08 -0500 Subject: ANN Props NO2 In-Reply-To: References: Message-ID: <40C580CC.9010906@chipp.com> Xavier, See my comments below... MisterX wrote: > I dont dare touch RR code. It is quite complicated! The only mod I did > (so far) is to add menulines to a certain menu that needs it... > > As for the frontscript, it only catches the selectedobjectchanged. I just > added a fix to pass this message (thanks for the frontscript mention!). > This may fix problem 1)... Glad to hear you're not modifying the codebase. > I'll just say that there are two crash prone features in RR, the other one > being images in HTMLText. If you can produce a recipe for crashes, please post it to Bugzilla. Or, post it here and let other try and repeat. Make it as simple as possible. I use HTMLtext images alot with no problems...so I'm wondering what it is you do which create crashes...and if there's no workaround? > Do you plugins use the revselectedobjectchanged or the reveditscript? > Try it sometime... Try to port the revpluginexample to another stack or > modify that stack to do your plugin's work... Doesn't take long to see the > problem... Nope, I don't use those. For my properties plugin, I set my own frontscripts and let the user toggle them on and off...same with my Layout plugin. Most of my plugins don't need to interfere with the IDE, but do call some of the functions of the IDE (altArchive is one of them). > Part of that is a joke. Im no borg mind you ;) > > BUT > > I tried futily for hundreds of hours non-stop to make the > revselectedobjectchanged and the revscriptedit plug-in features work. > All I got was crashes, non-working call while the revexample does work > (which is so frustrating to see) No one could explain that, not RR or the > list! I can certainly see how frustrated you must get trying to do the same thing for 'hundreds of hours' without success. You're a more patient person than I! (I usually give up way sooner;-) best of luck, Chipp From mpetrides at earthlink.net Tue Jun 8 06:33:34 2004 From: mpetrides at earthlink.net (Marian Petrides, M.D.) Date: Tue, 8 Jun 2004 06:33:34 -0400 Subject: OpenStack not executed Rev 2.1.2 In-Reply-To: <00b701c44cc5$3bf903e0$6601a8c0@precision340> References: <00b701c44cc5$3bf903e0$6601a8c0@precision340> Message-ID: <4B32C378-B937-11D8-BB26-0003931B4DBE@earthlink.net> I have encountered a couple of instances in which it appears that the openStack handler does not get fully executed when I first open a stack or run a standalone. Most recently, I tried to add a password to a non-standalone stack's openStack handler. I wrote the line of code to set the password, saved the stack, closed it and removed it from memory then reopened it. Despite the fact that this should have triggered the openStack handler it apparently did not-- I was still able to access the stack's script without entering a password. What is even stranger is that I then changed the line to read: set the password of this stack to empty, saved, closed/remove from memory, reopen. Now, I get the password dialog and it responds to the password I had set before I reset the password to empty. This is in Rev 2.1.2 IDE. Does anybody have any idea why this is happening? Marian From jimlyons at earthlink.net Tue Jun 8 06:50:53 2004 From: jimlyons at earthlink.net (Jim Lyons) Date: Tue, 8 Jun 2004 06:50:53 -0400 Subject: Disappointing demo Message-ID: Yesterday I went to a friend's house and downloaded the demo version of Rev 2.2 to his Mac PowerBook running system 10.2. I had been extolling the virtues of Rev and suggesting it as a solution to a programming project he is working on. In less than five minutes we had a standalone downloading a file from the web and displaying it in a window. But in that same five minutes: 1. I noticed the Bookmark menu in the script editor. I had never noticed it before so, eager to show off the excellent documentation, I searched for "bookmarks" and got three hits. But clicking on the first two did nothing. I just tried it on my system running 10.3 with same result. OK, no biggy... 2. While making the standalone settings we noticed white horizontal lines across the text when you scroll a field. I remember this bug from an earlier version of Rev (it kept me from selling Rev as a solution to a client at the time) but I thought it was fixed. I encouraged my friend to upgrade to Jaguar... 3. I set the name of the app to "Net App Test", more than once, but it kept reverting itself back to "Untitled 1". This wasn't a problem on my system where I had tested this demo. On his system, I had saved the stack without setting the name first, so went back and changed the name, then made the standalone settings, saving the stack when prompted. Haven't investigated further... My friend was still pretty impressed with all of Rev's capabilities, especially with its net-savvy features. But he was not convinced that it was a mature and reliable product after these problems showed up so quickly. Sorry to seem like I'm just complaining. I cut RunRev a lot of slack myself, and look forward to the bug-fix release that's coming. The positive lesson to get from this is, to find problems in your application most quickly, go demonstrate it to someone. Can anyone offer any suggestions about 2 and 3 above? I'm just starting to use the standalone builder and haven't found much in the archives or on the help sites listed in RevNet that is specifically about this. I hope RunRev will include a Tutorial soon on using the SB... Jim Lyons From monte at sweattechnologies.com Tue Jun 8 07:38:42 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 8 Jun 2004 21:08:42 +0930 Subject: Disappointing demo In-Reply-To: Message-ID: >3. I set the name of the app to "Net App Test", more than once, but it >kept reverting itself back to "Untitled 1". This wasn't a problem on my >system where I had tested this demo. On his system, I had saved the >stack without setting the name first, so went back and changed the >name, then made the standalone settings, saving the stack when >prompted. Haven't investigated further... What do you mean it kept reverting itself? Under what circumstances? By default the standalone builder uses the name of the mainstack as the application name. If you enter a name it will keep it but it will ask you if you want to save. If you don't save then you may lose the name you entered just as you are likely to lose other properties you have set. Please do investigate further because this is the first report of this issue and if indeed it is an issue it needs to go into bugzilla so it will get fixed and you can do bug free demo's ;-) Cheers Monte From xbury.cs at clearstream.com Tue Jun 8 08:07:03 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 8 Jun 2004 14:07:03 +0200 Subject: ANN Props NO2 Message-ID: Chipp >Glad to hear you're not modifying the codebase. Sorry to disapoint you that I dont take unnecessary risks ;)) >If you can produce a recipe for crashes, please post it to Bugzilla. Or, >post it here and let other try and repeat. Make it as simple as >possible. I use HTMLtext images alot with no problems...so I'm wondering >what it is you do which create crashes...and if there's no workaround? Just download my Discrete browser and use the images (turned off in the prefs...) Browse for a while, or try to reload the same url a couple times... It's that easy. >Nope, I don't use those. For my properties plugin, I set my own >frontscripts and let the user toggle them on and off...same with my >Layout plugin. Most of my plugins don't need to interfere with the IDE, >but do call some of the functions of the IDE (altArchive is one of them). oh, so plugins are futile by you too? ;) >> Part of that is a joke. Im no borg mind you ;) >> >> BUT >> >> I tried futily for hundreds of hours non-stop to make the >> revselectedobjectchanged and the revscriptedit plug-in features work. >> All I got was crashes, non-working call while the revexample does work >> (which is so frustrating to see) No one could explain that, not RR or the >> list! >I can certainly see how frustrated you must get trying to do the same >thing for 'hundreds of hours' without success. You're a more patient >person than I! (I usually give up way sooner;-) not patience, determination! If I had patience I wouldn't beach so much ;) >best of luck, > >Chipp > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From rodney at oceanbrowser.com Tue Jun 8 08:11:21 2004 From: rodney at oceanbrowser.com (Rodney Tamblyn) Date: Wed, 9 Jun 2004 00:11:21 +1200 Subject: Capabilities: RTF editing, Graphs, flat-file database - valentina In-Reply-To: <354838248.20040608094500@variosoft.com> References: <354838248.20040608094500@variosoft.com> Message-ID: > > Simply on the basis that as a full-featured RDBMS it is a very complex > bit of kit and vastly over-specified for this particular requirement. > And Paradigma don't promote it as an embedded engine on their website: > they focus on the speed. Paradigma themselves say that data corruption > can occur if the host computer crashes: > > http://www.paradigmasoft.com/faq/kernel.html#safe_data > > Crashing is a not-unusual occurrence on Windoze! An RDBMS designed for > embedded use would use a technique such as journaling to self-recover > from such a crash. I've never experienced a data corruption of a Valentina database and I've been using it for several years now across several product releases. Sure it could happen, but I guess at this level the same could be said of a Revolution stack (if Windows crashed at the precise moment Revolution was saving the stack). All this being said, Valentina may be excessive for your requirements. I just wanted to make clear that in my experience the data safety issue you describe is not something I would be particuarly concerned about in a real world setting. Rodney From rjb at rz.uni-potsdam.de Tue Jun 8 09:16:34 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue, 8 Jun 2004 15:16:34 +0200 Subject: Capabilities: RTF editing, Graphs, flat-file database - valentina Message-ID: > >Simply on the basis that as a full-featured RDBMS it is a very complex >bit of kit and vastly over-specified for this particular requirement. >And Paradigma don't promote it as an embedded engine on their website: >they focus on the speed. Paradigma themselves say that data corruption >can occur if the host computer crashes: > >http://www.paradigmasoft.com/faq/kernel.html#safe_data > >Crashing is a not-unusual occurrence on Windoze! An RDBMS designed for >embedded use would use a technique such as journaling to self-recover >from such a crash. Paradigma does not promote Valentina as embedded product because the use and thus "level of embedding" is dependent on the programming environment: in many Valentina is used as a shared library (i.e. Rev) or as a plugin (i.e. RB). It is truly embedded for people using C++. Robert Brenstein From lists at mangomultimedia.com Tue Jun 8 10:24:26 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 8 Jun 2004 08:24:26 -0600 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <354838248.20040608094500@variosoft.com> References: <354838248.20040608094500@variosoft.com> Message-ID: <8BB2E10E-B957-11D8-9741-000A956C462A@mangomultimedia.com> On Jun 8, 2004, at 2:45 AM, Geoff Caplan wrote: > Hi folks, > > Thanks for the responses. > > Trevor DeVore wrote: > >>> I'm curious as to why you think Valentina is unreliable? It has been >>> excellent in my experience with it. You just install the database >>> files when you install the program and the user doesn't have to do >>> anything else. There are externals for Mac and Windows which are >>> already available and it offers great searching capabilities. > > Simply on the basis that as a full-featured RDBMS it is a very complex > bit of kit and vastly over-specified for this particular requirement. > And Paradigma don't promote it as an embedded engine on their website: > they focus on the speed. Paradigma themselves say that data corruption > can occur if the host computer crashes: > > http://www.paradigmasoft.com/faq/kernel.html#safe_data > > Crashing is a not-unusual occurrence on Windoze! An RDBMS designed for > embedded use would use a technique such as journaling to self-recover > from such a crash. I think labeling Valentina as unreliable is a bit harsh in this case. Granted, it may not be what you are looking for in your scenario since you would like journaling but the fact that you might get some corrupted data given the following (taken from the paradigma site) - "Corruption of a Valentina database, as for any other database, may happen only if a crash occurs at the same time as the database is being written to disk. And even then only when writing new information into the table or when changing the File Allocation Table (FAT)." doesn't make Valentina unreliable in my opinion. It just means you would have to handle creating occasional backups that could be restored from if a crash occurred. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From ambassador at fourthworld.com Tue Jun 8 10:51:53 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 08 Jun 2004 07:51:53 -0700 Subject: Disappointing demo In-Reply-To: References: Message-ID: <40C5D289.2030708@fourthworld.com> Jim Lyons wrote: > 3. I set the name of the app to "Net App Test", more than once, but it > kept reverting itself back to "Untitled 1". This wasn't a problem on my > system where I had tested this demo. On his system, I had saved the > stack without setting the name first, so went back and changed the name, > then made the standalone settings, saving the stack when prompted. > Haven't investigated further... It would be interesting to get a recipe for that. I've not had that problem here, but I don't doubt that you did. Are you sure you've saved the stack after the name was changed? > My friend was still pretty impressed with all of Rev's capabilities, > especially with its net-savvy features. But he was not convinced that it > was a mature and reliable product after these problems showed up so > quickly. Sorry to seem like I'm just complaining. I cut RunRev a lot of > slack myself, and look forward to the bug-fix release that's coming. Maybe they're promoting Rev the way I promote California: I really like it here, but when I talk with folks back east I always complain about the floods, fires, riots, and earthquakes, hopefully keeping the actual good living we have here a well-kept secret. :) Rev represents an unbeatable ROI proposition that almost guarantees higher margins through lower development costs than is possible with nearly any other tool. Heck, if everyone were using it my clients would lose a ten-to-one advantage over their competition (I love being able to resolve a support issue by sending a custom build - it only takes a second with automated standalone building, but it's beyond what the competition could hope to acheive). By embedding demo-killing anti-features, our consultancies remain even more competitive. :) But seriously, if you can get recipes for those put 'em in Bugzilla. I've been blown away by the progress made on bug fixes over the last several weeks, so I have high confidence that issues like these can be resolved. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jacque at hyperactivesw.com Tue Jun 8 11:16:11 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Jun 2004 10:16:11 -0500 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <354838248.20040608094500@variosoft.com> References: <354838248.20040608094500@variosoft.com> Message-ID: <40C5D83B.7040304@hyperactivesw.com> On 6/8/04 3:45 AM, Geoff Caplan wrote: > Sarah Reichelt wrote: > > >>>Another very popular way is to use a single data field with one line >>>per record, and each field in the record separated by some delimiter, >>>usually tab. The whole field can be loaded into memory allowing very >>>fast searching, sorting etc. And yet another way is to store your data as plain (or encrypted, if you prefer) text files on disk. Read them into RAM when the stack opens, convert them to an array, and work with the array while the stack is open. Then reconvert the array back to a text file and re-write to disk when the stack closes. Array access is lightening fast if you know what key you want, and arrays have no problem with tens of thousands of entries. You'd have to test the search speed. I have used this approach for small-ish databases (5,000 records or so) using the "repeat for each element" structure and it wasn't too bad. Not a speed demon, but not bad. Commands you would need are: split, combine, repeat for each element, and the open/read/write file commands (or else the URL container structures.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jun 8 11:28:34 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Jun 2004 10:28:34 -0500 Subject: Disappointing demo In-Reply-To: References: Message-ID: <40C5DB22.1020900@hyperactivesw.com> On 6/8/04 5:50 AM, Jim Lyons wrote: > 2. While making the standalone settings we noticed white horizontal > lines across the text when you scroll a field. I remember this bug from > an earlier version of Rev (it kept me from selling Rev as a solution to > a client at the time) but I thought it was fixed. I encouraged my friend > to upgrade to Jaguar... It happens in Jaguar too; the only version of OS X that is immune is Panther. You are right that this was an old bug that was fixed, but it showed up again in the last release. It has been fixed for the next one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From geoff at advantae.com Tue Jun 8 11:30:16 2004 From: geoff at advantae.com (Geoff Caplan) Date: Tue, 8 Jun 2004 16:30:16 +0100 Subject: Capabilities: RTF editing, Graphs, flat-file database Message-ID: <878953189.20040608163016@variosoft.com> Hi folks, TD> I think labeling Valentina as unreliable is a bit harsh in this TD> case. I'm not saying it's unreliable relative to other RDBMS - just that it is likely to be unreliable compared to a simpler data engine. I'm told that RDBMS are one of the most demanding types to software to engineer and make reliable, and are surely best avoided if the features are not really required. With, say, the Sleepycat single user engine there is much less to go wrong. But it is worth saying in passing that the best embedded engines can survive crashes/power-outages etc. For example Borland Interbase is reportedly used in the Abrams battle tank. When the cannon fires, the resulting electric pulse crashes the tank's systems. Interbase repairs itself and is back up and running within a second of the reboot... Impressive. > And yet another way is to store your data as plain (or encrypted, if you > prefer) text files on disk. Read them into RAM when the stack opens, > convert them to an array, and work with the array while the stack is > open. Then reconvert the array back to a text file and re-write to disk > when the stack closes. Array access is lightening fast if you know what > key you want, and arrays have no problem with tens of thousands of entries. Worth a try, but I think I am going to need multiple keys, which would complicate things... Suppose I could maintain maintain arrays for the other keys with pointers to the main key... ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From shedrup at ms9.hinet.net Tue Jun 8 11:59:59 2004 From: shedrup at ms9.hinet.net (Friedrich F. Grohmann) Date: Tue, 8 Jun 2004 23:59:59 +0800 Subject: Chinese Unicode problem Message-ID: <200406081601.AAA02387@msr41.hinet.net> Ron, Thank you so much for your offer to help. So far I've identified five characters which cause problems when you convert Chinese OS 9 files so that they can be used in Rev under OS X. I came across these cases while working with actual text, and they didn't seem to be related in any manner but when I checked their code to answer your question it looks as if there were a system behind this -they are lying on the same "fault line", to borrow a term from geology. Have a look at the situation: CJK UNIFIED IDEOGRAPH UTF8 300A E3 80 8A 4E0A E4 B8 8A 5C0A E5 B0 8A 6B0A E6 AC 8A 990A E9 A4 8A All the best, Fritz From bmoa at cs.uvic.ca Tue Jun 8 12:34:15 2004 From: bmoa at cs.uvic.ca (Belaid Moa) Date: Tue, 8 Jun 2004 09:34:15 -0700 (PDT) Subject: OpenStack not executed Rev 2.1.2 In-Reply-To: <4B32C378-B937-11D8-BB26-0003931B4DBE@earthlink.net> Message-ID: I had the same problem. But I still don't know how to solve it since I am new to Rev World. With best regards. Belaid MOA. On Tue, 8 Jun 2004, Marian Petrides, M.D. wrote: > I have encountered a couple of instances in which it appears that the > openStack handler does not get fully executed when I first open a stack > or run a standalone. > > Most recently, I tried to add a password to a non-standalone stack's > openStack handler. I wrote the line of code to set the password, saved > the stack, closed it and removed it from memory then reopened it. > Despite the fact that this should have triggered the openStack handler > it apparently did not-- I was still able to access the stack's script > without entering a password. > > What is even stranger is that I then changed the line to read: set the > password of this stack to empty, saved, closed/remove from memory, > reopen. Now, I get the password dialog and it responds to the password > I had set before I reset the password to empty. > > This is in Rev 2.1.2 IDE. > > Does anybody have any idea why this is happening? > > Marian > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Tue Jun 8 12:41:56 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Jun 2004 10:41:56 -0600 Subject: Programming contest In-Reply-To: <40930107.2050401@hyperactivesw.com> References: <40930107.2050401@hyperactivesw.com> Message-ID: On Apr 30, 2004, at 7:44 PM, J. Landman Gay wrote: > This sounds like something one of us (or a group of us) here might > want to do: > > http://www.cis.upenn.edu/proj/plclub/contest/ > I put in a token entry using Revolution, both in the lighting division (for fast prototyping languages) and the main division. So, maybe Transcript will be mentioned when the results are announced in September. (I had forgotten about this, since I was distracted and I didn't notice any more comment on the list, but my wife mentioned it Friday night, about a third of the way into the lightning division. I looked at the task description. My non-programming son was interested, so we did something.) Dar Scott From jacque at hyperactivesw.com Tue Jun 8 14:26:25 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Jun 2004 13:26:25 -0500 Subject: OpenStack not executed Rev 2.1.2 In-Reply-To: References: Message-ID: <40C604D1.2090605@hyperactivesw.com> On Tue, 8 Jun 2004, Marian Petrides, M.D. wrote: >I have encountered a couple of instances in which it appears that the >openStack handler does not get fully executed when I first open a stack >or run a standalone. > >Most recently, I tried to add a password to a non-standalone stack's >openStack handler. I wrote the line of code to set the password, saved >the stack, closed it and removed it from memory then reopened it. >Despite the fact that this should have triggered the openStack handler >it apparently did not-- I was still able to access the stack's script >without entering a password. > >What is even stranger is that I then changed the line to read: set the >password of this stack to empty, saved, closed/remove from memory, >reopen. Now, I get the password dialog and it responds to the password >I had set before I reset the password to empty. > >This is in Rev 2.1.2 IDE. > >Does anybody have any idea why this is happening? When you set a password, it is checked just before the stack opens. Since you set the password in an openstack handler, it actually got set *after* the stack opened. That means you would not have a protected stack until the next time the stack opened -- which is what happened. After the second opening, you removed the password via script. That change did not take place until the next time you opened the stack after that script ran. You only need to set the password on a stack once, so the easiest thing is to just set it from the message box. There isn't any need to reset it every time the stack is opened, and even if you enter the passkey during development, the next time the stack opens it will still be protected. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Jun 8 14:37:11 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 08 Jun 2004 11:37:11 -0700 Subject: error message anomalies, anyone? Message-ID: <40C60757.5070702@fourthworld.com> Howe many of you have found that error messages in Rev 2.2 do not appear to be related to the actual cause of script errors? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From userev at canelasoftware.com Tue Jun 8 14:39:25 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 8 Jun 2004 11:39:25 -0700 Subject: OpenStack not executed Rev 2.1.2 In-Reply-To: <4B32C378-B937-11D8-BB26-0003931B4DBE@earthlink.net> References: <00b701c44cc5$3bf903e0$6601a8c0@precision340> <4B32C378-B937-11D8-BB26-0003931B4DBE@earthlink.net> Message-ID: <2A975379-B97B-11D8-966C-000393C3F5BC@canelasoftware.com> On Jun 8, 2004, at 3:33 AM, Marian Petrides, M.D. wrote: > I have encountered a couple of instances in which it appears that the > openStack handler does not get fully executed when I first open a > stack or run a standalone. > > Most recently, I tried to add a password to a non-standalone stack's > openStack handler. I wrote the line of code to set the password, > saved the stack, closed it and removed it from memory then reopened > it. Despite the fact that this should have triggered the openStack > handler it apparently did not-- I was still able to access the stack's > script without entering a password. > > What is even stranger is that I then changed the line to read: set > the password of this stack to empty, saved, closed/remove from memory, > reopen. Now, I get the password dialog and it responds to the > password I had set before I reset the password to empty. > > This is in Rev 2.1.2 IDE. > > Does anybody have any idea why this is happening? > > Marian I have had issues with openCard and other open.... before. The solution for me was to delete the "cRevGeneral" custom property of the mainstack, substacks, and cards that were affected. I made a little utility that goes through and cleans all my stacks, cards, and controls of those nasty little buggers. Chipp made a real nice one at: . -- Best regards, Mark Talluto http://www.canelasoftware.com From rbarber at yhb.att.ne.jp Tue Jun 8 14:49:37 2004 From: rbarber at yhb.att.ne.jp (ron barber) Date: Tue, 8 Jun 2004 13:49:37 -0500 Subject: Chinese Unicode problem In-Reply-To: <200406081601.AAA02387@msr41.hinet.net> References: <200406081601.AAA02387@msr41.hinet.net> Message-ID: <9751018E-B97C-11D8-BABB-000A95DAEEF0@yhb.att.ne.jp> Fritz, This is a known issue, bug 243, we see it in Japanese as well. It is being addressed by Tuviah, but if it remains a problem, we will report it again. Thanks Ron On Jun 8, 2004, at 10:59 AM, Friedrich F. Grohmann wrote: > Ron, > > Thank you so much for your offer to help. So far I've identified five > characters which cause problems when you convert Chinese OS 9 files so > that they can be used in Rev under OS X. I came across these cases > while > working with actual text, and they didn't seem to be related in any > manner but when I checked their code to answer your question it looks > as > if there were a system behind this -they are lying on the same "fault > line", to borrow a term from geology. Have a look at the situation: > > CJK UNIFIED IDEOGRAPH UTF8 > > 300A E3 80 8A > 4E0A E4 B8 8A > 5C0A E5 B0 8A > 6B0A E6 AC 8A > 990A E9 A4 8A > > All the best, > Fritz > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From yoy at comcast.net Tue Jun 8 14:45:08 2004 From: yoy at comcast.net (yoy) Date: Tue, 8 Jun 2004 14:45:08 -0400 Subject: OpenStack not executed Rev 2.1.2 References: <40C604D1.2090605@hyperactivesw.com> Message-ID: <000601c44d88$d785aed0$35d45144@fatal> ----- Original Message ----- From: "J. Landman Gay" To: "How to use Revolution" Sent: Tuesday, June 08, 2004 2:26 PM Subject: Re: OpenStack not executed Rev 2.1.2 > You only need to set the password on a stack once, so the easiest thing > is to just set it from the message box. There isn't any need to reset it > every time the stack is opened, and even if you enter the passkey during > development, the next time the stack opens it will still be protected. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com Jacqueline, Have I told you lately that you're brilliant? If I haven't, I'm sorry. You are! Andy From MFitz53 at comcast.net Tue Jun 8 15:01:47 2004 From: MFitz53 at comcast.net (Mike) Date: Tue, 08 Jun 2004 15:01:47 -0400 Subject: error message anomalies, anyone? In-Reply-To: <40C60757.5070702@fourthworld.com> References: <40C60757.5070702@fourthworld.com> Message-ID: <40C60D1B.6070803@comcast.net> Richard Gaskin wrote: > Howe many of you have found that error messages in Rev 2.2 do not > appear to be related to the actual cause of script errors? > I certainly have. From jbv.silences at Club-Internet.fr Tue Jun 8 15:04:11 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Tue, 08 Jun 2004 21:04:11 +0200 Subject: Capabilities: RTF editing, Graphs, flat-file database References: <00b801c44cc5$d1970460$6601a8c0@precision340> <371CF2B6-B907-11D8-AC3F-0003937A97B8@genesearch.com.au> Message-ID: <40C60DA4.18A84@Club-Internet.fr> Sarah Reichelt : > Just to add to Ken's answer about data storage: > The one-card-per-record method will get rather unwieldy and slow if you > have 60,000 records. I wouldn't recommend that method for more than > about 1000 records. > Another very popular way is to use a single data field with one line > per record, and each field in the record separated by some delimiter, > usually tab. The whole field can be loaded into memory allowing very > fast searching, sorting etc. > Also, you might want to consider XML which saves your data externally > in a file that can be read by many applications, but uses Rev's fast > XML library for searching, editing etc. > BTW, when do you guys decide to use an SQL database instead of a single file loaded in memory of a flat-file database ? Is it related to the number of records ? the number of items per record ? The complexity of the treatments to be done on the records ? In several apps I developped (either offline and online) it was hard for me to decide (except when the SQL DB already existed of course), as I always found the Rev search & sort functions quite fast & powerful (slightly less powerful than the same functions in OMO that I still miss). AFAIR, about 2 years ago, someone mentioned on the MC list using a well indexed flat-file DB of about 700,000 records, with no disturbing delays in searching & sorting... Any opinion ? Thanks, JB From gizmotron at earthlink.net Tue Jun 8 15:03:14 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 8 Jun 2004 12:03:14 -0700 Subject: error message anomalies, anyone? In-Reply-To: <40C60757.5070702@fourthworld.com> Message-ID: <7EA8F71B-B97E-11D8-BECC-000A95859272@earthlink.net> On Tuesday, June 8, 2004, at 11:37 AM, Richard Gaskin wrote: > Howe many of you have found that error messages in Rev 2.2 do not > appear to be related to the actual cause of script errors? This started happening to me after I tried out someone's stack that downloaded extra stack information each time it ran. It was probably coincidental but I trashed that example stack & Rev 2.2 and did a fresh install of Rev 2.2. It has worked peachy-keen ever since. I was getting error messages that I could not track down. They looked like they were coming from Rev and none of my own. Mark From b.xavier at internet.lu Tue Jun 8 15:25:07 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 8 Jun 2004 21:25:07 +0200 Subject: error message anomalies, anyone? In-Reply-To: <40C60757.5070702@fourthworld.com> Message-ID: Richard, I posted a bug (1477) about this regarding the compiler for one. A certain keyword would throw off the compiler error message. In another case, some wrong wording in scripts can cause also weird reactions put field "x" of cd 1 of stack y of me (of me is wrong...) Can you be more specific? cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Richard > Gaskin > Sent: Tuesday, June 08, 2004 20:37 > To: How to use Revolution > Subject: error message anomalies, anyone? > > > Howe many of you have found that error messages in Rev 2.2 do not appear > to be related to the actual cause of script errors? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Tue Jun 8 15:40:30 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 08 Jun 2004 12:40:30 -0700 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <40C60DA4.18A84@Club-Internet.fr> References: <00b801c44cc5$d1970460$6601a8c0@precision340> <371CF2B6-B907-11D8-AC3F-0003937A97B8@genesearch.com.au> <40C60DA4.18A84@Club-Internet.fr> Message-ID: <40C6162E.704@fourthworld.com> jbv wrote: >...when do you guys decide to use an SQL database instead of a single > file loaded in memory of a flat-file database ? ... > AFAIR, about 2 years ago, someone mentioned on the MC list using a well > indexed flat-file DB of about 700,000 records, with no disturbing delays > in searching & sorting... My WebMerge product is effectively a specialized RAM-based database. It generates static HTML pages from the exported contents of nearly any database, spreadsheet, or other columnar data. In the last couple years the program has become popular among affiliate marketers, and many of these use product data feeds supplied by their vendors. I have many customers who regularly process 50,000 records at a time, and all I hear about it how fast it is. :) (If you don't mind the blatant self-promotion, some of these user comments are posted at ). Given the nature of the program, I didn't really have a choice of how the data is stored. But after honing performance over the years I've gained the confidence to use simple blocks of text with chunk expressions in many other apps as well, leaving things like MySQL for multi-user databases (record-locking is a beautiful thing when you need it). -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From userev at canelasoftware.com Tue Jun 8 15:41:04 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 8 Jun 2004 12:41:04 -0700 Subject: error message anomalies, anyone? In-Reply-To: <40C60757.5070702@fourthworld.com> References: <40C60757.5070702@fourthworld.com> Message-ID: On Jun 8, 2004, at 11:37 AM, Richard Gaskin wrote: > Howe many of you have found that error messages in Rev 2.2 do not > appear to be related to the actual cause of script errors? > Sometimes people don't like to be the first 10 to raise their hands. So I will raise it here on this list as well. -- Best regards, Mark Talluto http://www.canelasoftware.com From userev at canelasoftware.com Tue Jun 8 15:43:14 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 8 Jun 2004 12:43:14 -0700 Subject: =?iso-8859-1?q?Re=3A_shortcut_intuitivity_=E0_la_Rev_8X?= In-Reply-To: References: Message-ID: <14FEF8CA-B984-11D8-966C-000393C3F5BC@canelasoftware.com> On Jun 7, 2004, at 6:34 PM, MisterX wrote: > he he... > > Control shift-i > will not import a picture > > but chore shift period will > > X's accidental rev tip #1 > > Is there is doc for deez > unintuitive shotcuts? > > ;X they are listed in the menubar next to the menu item. I think I saw something in the docs as well related to shortcuts. -- Best regards, Mark Talluto http://www.canelasoftware.com From jhj at jhj.com Tue Jun 8 15:50:28 2004 From: jhj at jhj.com (Jerry J) Date: Tue, 8 Jun 2004 12:50:28 -0700 Subject: use-revolution Digest, Vol 9, Issue 15 In-Reply-To: <20040608072413.4CBB49300FF@mail.runrev.com> References: <20040608072413.4CBB49300FF@mail.runrev.com> Message-ID: <17D68920-B985-11D8-89E2-003065B58254@jhj.com> > Date: Tue, 8 Jun 2004 03:20:28 +0200 > From: "MisterX" > Subject: ANN Props NO2 > To: "How to use Revolution" > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > Hi everyone > > Here's the first announcement of PropsNO2 (Nitrous Oxide) for > RunRev version 1.1 demo. MisterX: Nitrous Oxide is N2O not NO2! Cheer, Jerry Jensen From mpetrides at earthlink.net Tue Jun 8 15:54:40 2004 From: mpetrides at earthlink.net (Marian Petrides, M.D.) Date: Tue, 8 Jun 2004 15:54:40 -0400 Subject: OpenStack not executed Rev 2.1.2 In-Reply-To: <40C604D1.2090605@hyperactivesw.com> References: <40C604D1.2090605@hyperactivesw.com> Message-ID: Thanks. That helps M On Jun 8, 2004, at 2:26 PM, J. Landman Gay wrote: > On Tue, 8 Jun 2004, Marian Petrides, M.D. wrote: > > >I have encountered a couple of instances in which it appears that the > >openStack handler does not get fully executed when I first open a > stack > >or run a standalone. > > > >Most recently, I tried to add a password to a non-standalone stack's > >openStack handler. I wrote the line of code to set the password, > saved > >the stack, closed it and removed it from memory then reopened it. > >Despite the fact that this should have triggered the openStack handler > >it apparently did not-- I was still able to access the stack's script > >without entering a password. > > > >What is even stranger is that I then changed the line to read: set > the > >password of this stack to empty, saved, closed/remove from memory, > >reopen. Now, I get the password dialog and it responds to the > password > >I had set before I reset the password to empty. > > > >This is in Rev 2.1.2 IDE. > > > >Does anybody have any idea why this is happening? > > When you set a password, it is checked just before the stack opens. > Since you set the password in an openstack handler, it actually got > set *after* the stack opened. That means you would not have a > protected stack until the next time the stack opened -- which is what > happened. After the second opening, you removed the password via > script. That change did not take place until the next time you opened > the stack after that script ran. > > You only need to set the password on a stack once, so the easiest > thing is to just set it from the message box. There isn't any need to > reset it every time the stack is opened, and even if you enter the > passkey during development, the next time the stack opens it will > still be protected. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From psahores at easynet.fr Tue Jun 8 16:14:56 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Tue, 8 Jun 2004 22:14:56 +0200 Subject: OpenStack not executed Rev 2.1.2 In-Reply-To: <4B32C378-B937-11D8-BB26-0003931B4DBE@earthlink.net> References: <00b701c44cc5$3bf903e0$6601a8c0@precision340> <4B32C378-B937-11D8-BB26-0003931B4DBE@earthlink.net> Message-ID: <82DE44F1-B988-11D8-BB0E-000A95C61E96@easynet.fr> Hi, The same bug affects some of my Rev 2.1.2 stacks --> i, always, use the preopenstack statement, instead, as a workaround... Best Regards, Le 8 juin 04, ? 12:33, Marian Petrides, M.D. a ?crit : > I have encountered a couple of instances in which it appears that the > openStack handler does not get fully executed when I first open a > stack or run a standalone. > > Most recently, I tried to add a password to a non-standalone stack's > openStack handler. I wrote the line of code to set the password, > saved the stack, closed it and removed it from memory then reopened > it. Despite the fact that this should have triggered the openStack > handler it apparently did not-- I was still able to access the stack's > script without entering a password. > > What is even stranger is that I then changed the line to read: set > the password of this stack to empty, saved, closed/remove from memory, > reopen. Now, I get the password dialog and it responds to the > password I had set before I reset the password to empty. > > This is in Rev 2.1.2 IDE. > > Does anybody have any idea why this is happening? > > Marian > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From jbv.silences at Club-Internet.fr Tue Jun 8 16:18:45 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Tue, 08 Jun 2004 22:18:45 +0200 Subject: Capabilities: RTF editing, Graphs, flat-file database References: <00b801c44cc5$d1970460$6601a8c0@precision340> <371CF2B6-B907-11D8-AC3F-0003937A97B8@genesearch.com.au> <40C60DA4.18A84@Club-Internet.fr> <40C6162E.704@fourthworld.com> Message-ID: <40C61F1B.7EFA85F3@Club-Internet.fr> Richard, > > My WebMerge product is effectively a specialized RAM-based database. It > generates static HTML pages from the exported contents of nearly any > database, spreadsheet, or other columnar data. Yep, I've already heard of WebMerge... Did you try to evaluate the "limits" of your app (or should I say the approach of / way of handling data structure used in your app) anyhow ? JB From bobnelson at mac.com Tue Jun 8 16:18:55 2004 From: bobnelson at mac.com (Bob Nelson) Date: Tue, 08 Jun 2004 13:18:55 -0700 Subject: Not Shy... In-Reply-To: <20040608160009.C080F9300C5@mail.runrev.com> Message-ID: ...so let's dive in with both feet. HyperCard was my friend - and remained my friend until the advent of OS X and a new machine that won't boot into OS 9.x any more. Sad, since I used it for all sorts of cool tricks, especially the massaging of copious amounts of data that needed a good "cleaning" before dropping it into MySQL or FileMaker. A new project came along and prompted me to go hunting. One of the old HyperCard sites recommended Revolution or SuperCard, so I've been demo'ing Revolution for a couple of days to see how the package operates compared to other options - including RealBASIC. So I've got a little script that does a moderately simple thing: Grab a web page, bring it back, strip useless data out of it (right now, I've just got it stripping out the extra returns and leading spaces per line) and the next step will be to kill the HTML on the page so I can mine the data... My layout and code are fairly simple: Two fields and two buttons so I can work through the example - the first field is the 'holder' of the remote URL which has been retrieved (Imported_Raw) and the second field will be the restructured output when I'm done. Here's the code, for those who want to dive deeper... on mouseUp put 0 into i repeat forever add 1 to i if char 1 of line i of field "Imported_Raw" is numToChar(13) then delete line i of field "Imported_Raw" put "Ate one return at line " & i & " of " & the number of lines of field "Imported_Raw" & " total lines." subtract 1 from i end if repeat while char 1 of line i of field "Imported_Raw" = " " delete char 1 of line i of field "Imported_Raw" put "Ate one space at line " & i & " of " & the number of lines of field "Imported_Raw" & " total lines." end repeat if line i of field "Imported_Raw" is the last line of field "Imported_Raw" then exit repeat end if end repeat end mouseUp Here's what I noticed about execution: 1. Importing the URL is awesome - a great feature that makes my life soooo much easier for this project! And fast, too! 2. The page I grabbed consisted of 140,000 lines of code. After removing extra line feeds, the number of lines is around 80,000. 3. This script runs VERY slow, compared to relatively the same script in HyperCard running under 9.2.1 -- as an example, Revolution has been running this script for more than 18 hours and still hasn't finished processing. (And that's running on a Dual 2 GHz, 4 Gb RAM, OS X most current version with all updates.) Under HC, the similar script executed in about an hour - running on an iMac G3/233 with 1 Gb and OS 9.2.1 -- any comments regarding execution speed? 4. I don't see any mechanisms for determining progress of the operation -- although I may have certainly missed something. Are there any progress bars, etc., that one can use in Revolution? 5. Looking through all the examples I can find, as well as documentation, I noted that there aren't many examples related to text manipulation - and importing/exporting text, etc., in/out of your stack. I'm sure I missed something on this front, as I'm sure people would be doing this all the time... Can anyone point me in a direction? Finally, I'm impressed with the professional layout of the product - this could well be the perfect 'update' (I'm sure they don't like to hear that at Rev!) to HyperCard. I'm looking forward to a book, like The Complete HyperCard Handbook, that lays out the functionality of Revolution as an awesome reference book. Thanks for your time! Bob From b.xavier at internet.lu Tue Jun 8 16:32:43 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 8 Jun 2004 22:32:43 +0200 Subject: use-revolution Digest, Vol 9, Issue 15 In-Reply-To: <17D68920-B985-11D8-89E2-003065B58254@jhj.com> Message-ID: Well, I guess I'll need some rebranding! ;) Here's some history... http://www.chm.bris.ac.uk/motm/n2o/n2oj.htm I got thrown of by the NOS brand ;) Thanks for the info! > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Jerry J > Sent: Tuesday, June 08, 2004 21:50 > To: use-revolution at lists.runrev.com > Subject: Re: use-revolution Digest, Vol 9, Issue 15 > > > > Date: Tue, 8 Jun 2004 03:20:28 +0200 > > From: "MisterX" > > Subject: ANN Props NO2 > > To: "How to use Revolution" > > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > > > Hi everyone > > > > Here's the first announcement of PropsNO2 (Nitrous Oxide) for > > RunRev version 1.1 demo. > > MisterX: Nitrous Oxide is N2O not NO2! > > Cheer, > Jerry Jensen > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jbv.silences at Club-Internet.fr Tue Jun 8 16:30:31 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Tue, 08 Jun 2004 22:30:31 +0200 Subject: Capabilities: RTF editing, Graphs, flat-file database References: <00b801c44cc5$d1970460$6601a8c0@precision340> <371CF2B6-B907-11D8-AC3F-0003937A97B8@genesearch.com.au> <40C61F1B.7EFA85F3@Club-Internet.fr> Message-ID: <40C621E6.B55E3A9C@Club-Internet.fr> > > > > > > My WebMerge product is effectively a specialized RAM-based database. It > > generates static HTML pages from the exported contents of nearly any > > database, spreadsheet, or other columnar data. > BTW I have another (tough and slighty OT ) question. In case of using a flat-file database with Rev cgi (in a similar way as WebMerge, that is HTML pages genetaed on-the-fly from HTML templates and data stored as various txt files + indexes and loaded at each cgi request), how does one manage security on the server for those data files ? I mean : to prevent them from being hacked / modified / downloaded by unauthorized users ? I guess it's more a server security issue, but nevertheless, getting clear answers and indications might make several list members feel like trying it, as for small amounts of data it often means less headaches than working with an SQL DB... Thanks, JB From davis.phil at comcast.net Tue Jun 8 17:02:17 2004 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 8 Jun 2004 14:02:17 -0700 Subject: Not Shy... References: Message-ID: <000c01c44d9b$e20478b0$9d7ba8c0@RON7XP> Hi Bob - ----- Original Message ----- From: "Bob Nelson" To: Sent: Tuesday, June 08, 2004 1:18 PM Subject: Not Shy... --- snip --- > Here's what I noticed about execution: > > 1. Importing the URL is awesome - a great feature that makes my life soooo > much easier for this project! And fast, too! > 2. The page I grabbed consisted of 140,000 lines of code. After removing > extra line feeds, the number of lines is around 80,000. You might consider changing your approach so you can take advantage of Rev's power. (Some changes would also help in HC - for example, use variables instead of fields as the place where you change data.) But anyway, you could do this: -- put field into variable for improved performance put fld "Imported_Raw" into vRawText -- get rid of empty lines repeat while (cr & cr is in vRawText) replace (cr & cr) with cr in vRawText end repeat > 3. This script runs VERY slow, compared to relatively the same script in > HyperCard running under 9.2.1 -- as an example, Revolution has been running > this script for more than 18 hours and still hasn't finished processing. > (And that's running on a Dual 2 GHz, 4 Gb RAM, OS X most current version > with all updates.) Under HC, the similar script executed in about an hour - > running on an iMac G3/233 with 1 Gb and OS 9.2.1 -- any comments regarding > execution speed? Check out Ken Ray's optimization tips: http://sonsothunder.com/devres/revolution/revolution.htm#Tips There are others on the list who have info like this too - I could only think of Ken's offhand. > 4. I don't see any mechanisms for determining progress of the operation -- > although I may have certainly missed something. Are there any progress > bars, etc., that one can use in Revolution? You can use a scrollbar. Read all about it in the Rev docs. I'll leave the other items (below) for someone else. Phil Davis > 5. Looking through all the examples I can find, as well as documentation, I > noted that there aren't many examples related to text manipulation - and > importing/exporting text, etc., in/out of your stack. I'm sure I missed > something on this front, as I'm sure people would be doing this all the > time... Can anyone point me in a direction? > > Finally, I'm impressed with the professional layout of the product - this > could well be the perfect 'update' (I'm sure they don't like to hear that at > Rev!) to HyperCard. I'm looking forward to a book, like The Complete > HyperCard Handbook, that lays out the functionality of Revolution as an > awesome reference book. > > Thanks for your time! > > Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Tue Jun 8 17:25:36 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 8 Jun 2004 15:25:36 -0600 Subject: [ANN] EnhancedQT 0.6.0 Message-ID: <61BA51A2-B992-11D8-9741-000A956C462A@mangomultimedia.com> EnhancedQT 0.6.0 is now available. Additions and modifications are as follows: 0.6.0 (6/8/04) * Added qtFlipMovie which will mirror a movie horizontally or vertically. * Fixed a bug in qtSaveMovieSnapShotToFile which caused incorrect resizing when MaintainAspectRatio was set to true. * The FSCommand message is now sent to a player when encountered in a SWF (or SWF embedded in QT) movie. This means you can create SWF movies in Flash and have them communicate with Revolution. * Added qtGetTrackName and qtGetTrackType functions. * Fixed some memory errors. Mac OS X/9 and Windows versions are available at -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From ambassador at fourthworld.com Tue Jun 8 17:34:03 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 08 Jun 2004 14:34:03 -0700 Subject: Not Shy... In-Reply-To: References: Message-ID: <40C630CB.9090000@fourthworld.com> Bob Nelson wrote: > ...so let's dive in with both feet. > > HyperCard was my friend - and remained my friend until the advent of OS X > and a new machine that won't boot into OS 9.x any more. Sad, since I used > it for all sorts of cool tricks, especially the massaging of copious amounts > of data that needed a good "cleaning" before dropping it into MySQL or > FileMaker. > > A new project came along and prompted me to go hunting. One of the old > HyperCard sites recommended Revolution or SuperCard, so I've been demo'ing > Revolution for a couple of days to see how the package operates compared to > other options - including RealBASIC. > > So I've got a little script that does a moderately simple thing: Grab a web > page, bring it back, strip useless data out of it (right now, I've just got > it stripping out the extra returns and leading spaces per line) and the next > step will be to kill the HTML on the page so I can mine the data... > > My layout and code are fairly simple: > > Two fields and two buttons so I can work through the example - the first > field is the 'holder' of the remote URL which has been retrieved > (Imported_Raw) and the second field will be the restructured output when I'm > done. > > Here's the code, for those who want to dive deeper... > > on mouseUp > put 0 into i > repeat forever > add 1 to i > if char 1 of line i of field "Imported_Raw" is numToChar(13) then > delete line i of field "Imported_Raw" > put "Ate one return at line " & i & " of " & the number of lines of > field "Imported_Raw" & " total lines." > subtract 1 from i > end if > repeat while char 1 of line i of field "Imported_Raw" = " " > delete char 1 of line i of field "Imported_Raw" > put "Ate one space at line " & i & " of " & the number of lines of > field "Imported_Raw" & " total lines." > end repeat > if line i of field "Imported_Raw" is the last line of field > "Imported_Raw" then > exit repeat > end if > end repeat > > end mouseUp > > > Here's what I noticed about execution: > > 1. Importing the URL is awesome - a great feature that makes my life soooo > much easier for this project! And fast, too! > 2. The page I grabbed consisted of 140,000 lines of code. After removing > extra line feeds, the number of lines is around 80,000. > 3. This script runs VERY slow, compared to relatively the same script in > HyperCard running under 9.2.1 -- as an example, Revolution has been running > this script for more than 18 hours and still hasn't finished processing. > (And that's running on a Dual 2 GHz, 4 Gb RAM, OS X most current version > with all updates.) Under HC, the similar script executed in about an hour - > running on an iMac G3/233 with 1 Gb and OS 9.2.1 -- any comments regarding > execution speed? > 4. I don't see any mechanisms for determining progress of the operation -- > although I may have certainly missed something. Are there any progress > bars, etc., that one can use in Revolution? > 5. Looking through all the examples I can find, as well as documentation, I > noted that there aren't many examples related to text manipulation - and > importing/exporting text, etc., in/out of your stack. I'm sure I missed > something on this front, as I'm sure people would be doing this all the > time... Can anyone point me in a direction? I think there may be issues with the original code. For example, if the last line of the file is empty then any empty line will cause it to exit prematurely. I've revised the handler below, with comments to help describe the admittedly liberal rewrite. My note there about the use of the mod operator to update the progress bar incrementally is weak -- ideally you should divide the data size by the number of useful scrollbar increments to get the value to use with the mod operator. I also added a simple timing mechanism (the references to milliseconds at the top and bottom) so you can see how fast it is and compare it with similar additions to your existing script. Even as it is, the handler below should be a few orders of magnitude faster than what you have above. But if you raise the mod value for the scrollbar update even higher you should see it gain another big speed increase. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev ------------------------------------------------------------ on mouseUp -- Get initial timing: put the milliseconds into s -- -- Always much faster to work in a variable than field data: put fld "Imported_Raw" into tData -- -- Since we'll use the number of lines often, let's get it only once: put the number of lines of tData into tNumLines -- -- Progress indicator - -- Add a scrollbar object, set the style to "progress": set the endValue of scrollbar 1 to tNumLines put 0 into i -- The "repeat for each" construct is often two or three orders of -- magnitude faster than any other form, since it parses the chunk -- referenced in it as it goes while keeping a pointer into the data. -- In order to maintain its place in the data it must treat the data -- as read-only, so we'll copy the data into another var for output: repeat for each line tLine in tData add 1 to i -- Update our progress bar -- Since the time it takes the OS to redraw the scrollbar can cut -- into our total processing time significantly, rather than -- updating it in each iteration we'll update it just every 20 -- lines: if i mod 20 = 0 then set the thumbposition of scrollbar 1 to i -- -- Using the constant "cr" is much faster than calling the numToChar -- function, which adds up a lot in a repeat, so we could use: -- if char 1 of tLine is cr then -- ...instead of: -- if char 1 of tLine is numToChar(13) -- -- But since we're already parsing by lines that's done for us, all -- we need to do is see if the line is empty: -- if tLine is empty then -- put "Ate one return at line " & i & " of " & tNumLines & \ -- " total lines." -- next repeat -- end if -- -- Unless you really need to know how many spaces are removed, -- you can do that and this part too: -- repeat while char 1 of tLine = " " -- delete char 1 of tLine -- put "Ate one space at line " & i & " of " & tNumLines & \ -- " total lines." -- end repeat -- -- ...in just two lines: get word 1 to (the number of words of tLine) of tLine if it is empty then next repeat -- -- Now we just copy the trimmed text to an output var: put it &cr after tOutputData -- end repeat -- Show completed progress in case your data isn't evenly divisible -- by 20: set the thumbposition of scrollbar 1 to tNumLines -- put tOutputData into fld "Processed_Data" -- -- Display elapsed time: put the milliseconds - s end mouseUp From Meitnik at aol.com Tue Jun 8 17:34:46 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Tue, 8 Jun 2004 17:34:46 EDT Subject: fake errors msg Message-ID: <1e5.2263f958.2df78af6@aol.com> In a message dated 06/08/2004 04:22:20 PM, use-revolution-request at lists.runrev.com writes: > Howe many of you have found that error messages in Rev 2.2 do not appear > to be related to the actual cause of script errors? > - count me. hate it. lost time and effort. andrew From revolution at knowledgeworks.plus.com Tue Jun 8 17:02:44 2004 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Tue, 8 Jun 2004 22:02:44 +0100 Subject: error message anomalies, anyone? Message-ID: After hardly using Rev in the past year, I spent the last four weeks or so coding quite a few applications. I started off using 2.1.1 (the latest version for which I have a license), but found error messages which a) were unrelated to the eventual cause of the error, or b) were resolved by simply adding a space (in an innocuous place) inside the script and applying the new script, or c) would crash the IDE before I even got a chance to see what the error message said. This was so unworkable (particularly the last issue) that I down-graded to 2.1. Whilst this version was better than 2.1.1, I still found that all three of these wasteful situations occurred. So I downgraded to 2.0.1, and this is a far more usable version with regard to these problems. In case it should be of any significance, I am using Windows XP. Until the past month I had been using 2.0.1 since it was relesed, and did not experience these problems. Since no-one else seemed to be having these problems, and I found a way of working round them, I didn't bother to raise it on this list (I figured that surely there are everyday Rev users who would be flagging these things in bugzilla if they were generally occuring). Also, I was often demonstrating Rev whilst I was coding these applications. People were not very impressed with Rev because of the instability of the IDE. My claims about the efficiencies of the language and the framework sounded pretty hollow when Rev would crash every hour or so and I would have lost my work and not even know what the cause of the crash was. After losing so much work in the past few weeks, I have now got into the habit of saving my stacks after every single change to a script. I think that Runrev need to focus on making the core of the IDE stable. >From my perspective it has become almost unusable following the release of version 2.0.1. I don't remember Rev being so buggy at 1.1.1. I'm not sure what I want to hear - that I am the only one who has experienced this radical bugginess, or that it is so widely experienced that something will be done about it! Regards, Bernard Devlin From dsc at swcp.com Tue Jun 8 17:43:31 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Jun 2004 15:43:31 -0600 Subject: error message anomalies, anyone? In-Reply-To: References: Message-ID: On Jun 8, 2004, at 1:25 PM, MisterX wrote: > put field "x" of cd 1 of stack y of me (of me is wrong...) This is correct if in a script of a stack (which can be a mainstack). It worked in a test script I just made. However, there are some instances in which ' of me ' does not work and I have not figured out the pattern. Dar Scott From jperryl at ecs.fullerton.edu Tue Jun 8 18:36:22 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 8 Jun 2004 15:36:22 -0700 (PDT) Subject: error message anomalies, anyone? In-Reply-To: <40C60757.5070702@fourthworld.com> Message-ID: Count me in. Judy On Tue, 8 Jun 2004, Richard Gaskin wrote: > Howe many of you have found that error messages in Rev 2.2 do not appear > to be related to the actual cause of script errors? From kray at sonsothunder.com Tue Jun 8 18:57:18 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 8 Jun 2004 17:57:18 -0500 Subject: error message anomalies, anyone? In-Reply-To: <40C60757.5070702@fourthworld.com> Message-ID: <00de01c44dab$f72d8b40$6601a8c0@precision340> > Howe many of you have found that error messages in Rev 2.2 do > not appear > to be related to the actual cause of script errors? Count me in as well... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From david at kwinter.ca Tue Jun 8 19:03:20 2004 From: david at kwinter.ca (David Kwinter) Date: Tue, 8 Jun 2004 17:03:20 -0600 Subject: error message anomalies, anyone? In-Reply-To: <00de01c44dab$f72d8b40$6601a8c0@precision340> Message-ID: <0946559E-B9A0-11D8-82E9-000393881C54@kwinter.ca> Me too. I've upgraded but continue to use 1.1.1 which is still an awesome product IMHO On Tuesday, June 8, 2004, at 04:57 PM, Ken Ray wrote: >> Howe many of you have found that error messages in Rev 2.2 do >> not appear >> to be related to the actual cause of script errors? > > Count me in as well... > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Tue Jun 8 19:59:57 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 08 Jun 2004 16:59:57 -0700 Subject: error message anomalies, anyone? In-Reply-To: References: Message-ID: <40C652FD.2050903@fourthworld.com> Hey Bernard - Good to see you here. > I'm not sure what I want to hear - that I am the only one who has > experienced this radical bugginess, or that it is so widely experienced > that something will be done about it! I believe that RR has demonstrated a willingness to listen to and act on these issues, as evidenced in the daily assault on Bugzilla. In the last several weeks I've seen a good many of my bug reports knocked off one by one, at a rate that speaks very well for future releases. In fact, I'm told the issue that prompted this thread has also been addressed, so the only question is whether we'll have to wait for the next version to see it addressed or whether an interim release may become possible. In all honesty, while this erroneous error code issue has been a frequent topic on the MC list, the folks here have rarely mentioned it. That's why I made the post today, to get a feel for its scope. Now that folks are speaking up we can realize that it affects all Transcript users regardless of which IDE they're using (sensible enough, since the issue was in the engine), and such information can be useful in helping RunRev make good decisions. Along these lines, a request for anyone experiencing any bug: Please vote for the issues that are most important to you. Bugzilla takes only a moment to set up an account, and is well worth it. RunRev has taken the nearly unprecedented move of having a transparently democratic system to help guide priorities. I believe there is great wisdom in in seeking open counsel like that, but like any democratic system it only reflects the desires of stakeholders to the degree that they vote. Taking the time to review bugs and vote on them is also an interesting exercise for another reason: when you do it weekly you get a feel for just how many of these issues get resolved. With a product as complex as Rev no one can expect blue-ribbon code every day, but I think the commitment the team is demonstrating is quite commendable. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Jun 8 20:00:36 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 08 Jun 2004 17:00:36 -0700 Subject: error message anomalies, anyone? In-Reply-To: References: Message-ID: <40C65324.9090106@fourthworld.com> Hey Bernard - Good to see you here. > I'm not sure what I want to hear - that I am the only one who has > experienced this radical bugginess, or that it is so widely experienced > that something will be done about it! I believe that RR has demonstrated a willingness to listen to and act on these issues, as evidenced in the daily assault on Bugzilla. In the last several weeks I've seen a good many of my bug reports knocked off one by one, at a rate that speaks very well for future releases. In fact, I'm told the issue that prompted this thread has also been addressed, so the only question is whether we'll have to wait for the next version to see it addressed or whether an interim release may become possible. In all honesty, while this erroneous error code issue has been a frequent topic on the MC list, the folks here have rarely mentioned it. That's why I made the post today, to get a feel for its scope. Now that folks are speaking up we can realize that it affects all Transcript users regardless of which IDE they're using (sensible enough, since the issue was in the engine), and such information can be useful in helping RunRev make good decisions. Along these lines, a request for anyone experiencing any bug: Please vote for the issues that are most important to you. Bugzilla takes only a moment to set up an account, and is well worth it. RunRev has taken the nearly unprecedented move of having a transparently democratic system to help guide priorities. I believe there is great wisdom in in seeking open counsel like that, but like any democratic system it only reflects the desires of stakeholders to the degree that they vote. Taking the time to review bugs and vote on them is also an interesting exercise for another reason: when you do it weekly you get a feel for just how many of these issues get resolved. With a product as complex as Rev no one can expect blue-ribbon code every day, but I think the commitment the team is demonstrating is quite commendable. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Jun 8 20:12:19 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 08 Jun 2004 17:12:19 -0700 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <40C61F1B.7EFA85F3@Club-Internet.fr> References: <00b801c44cc5$d1970460$6601a8c0@precision340> <371CF2B6-B907-11D8-AC3F-0003937A97B8@genesearch.com.au> <40C60DA4.18A84@Club-Internet.fr> <40C6162E.704@fourthworld.com> <40C61F1B.7EFA85F3@Club-Internet.fr> Message-ID: <40C655E3.1050601@fourthworld.com> jbv wrote: >>My WebMerge product is effectively a specialized RAM-based database. >>It generates static HTML pages from the exported contents of nearly >> any database, spreadsheet, or other columnar data. > > Did you try to evaluate the "limits" of your app (or should I say > the approach of / way of handling data structure used in your app) > anyhow ? I haven't done much stress testing, but thus far the engine has taken everything my customers can throw at it. With modern VM being so efficient there's a lot to be said for RAM-based databases that wasn't true years ago in systems like Mac OS 9. My favorite stress-test example (after the time I put the Bible into a single field): One of my customers sent me a gzipped file that was about 70MBs. Of course gzip is very efficient with text data, so I knew the resulting file would be fairly big. But no problem for Rev running in OS X: I used the built-in decompress function to read the 70MBs and the decompressed file was more than 500MBs -- it took a while but worked flawlessly. > In case of using a flat-file database with Rev cgi (in a similar way > as WebMerge, that is HTML pages genetaed on-the-fly from HTML > templates and data stored as various txt files + indexes and loaded at > each cgi request), how does one manage security on the server for > those data files ? I mean : to prevent them from being hacked / > modified / downloaded by unauthorized users ? In WebMerge's case, since it generates static web pages, the security considerations are no greater or lesser than for any web server. With CGI there are some additional considerations. For example, never write a Transcript CGI that allows the user to execute statements with "do". ;) Chipp's been working a lot with CGIs lately -- Chipp, got any good security tips from what you've been working on? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From michaell at unimelb.edu.au Tue Jun 8 20:22:38 2004 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Wed, 9 Jun 2004 10:22:38 +1000 Subject: error message anomalies, anyone? Message-ID: Me. OS X.3 Richard wrote: > >Howe many of you have found that error messages in Rev 2.2 do not appear >to be related to the actual cause of script errors? > >-- -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From jimlyons at earthlink.net Tue Jun 8 21:23:50 2004 From: jimlyons at earthlink.net (Jim Lyons) Date: Tue, 8 Jun 2004 21:23:50 -0400 Subject: Disappointing demo Message-ID: On 6/8/04 5:50 AM, I wrote: > 2. While making the standalone settings we noticed white horizontal > lines across the text when you scroll a field.... I encouraged my > friend > to upgrade to Jaguar... whoops, I miswrote -- he has Jaguar, I meant Panther. Jacque replied that this is a known issue, fixed in the next release. > 3. I set the name of the app to "Net App Test", more than once, but it > kept reverting itself back to "Untitled 1". ... Monte replied: > What do you mean it kept reverting itself? Under what circumstances? > ... > > Please do investigate further because this is the first report of this > issue > and if indeed it is an issue it needs to go into bugzilla so it will > get > fixed and you can do bug free demo's ;-) I am leaving on a trip in the morning so all I had time to do was retrace my steps a little. If you make a new stack and save it, then bring up Standalone Settings, change the name, then click the button for Advanced to select inclusions manually, you will see the name change back. That was the first time it changed, which I noticed and changed back. It's been about thirty minutes now of cascading confusion trying to reproduce the rest of what I did before, and I found new and different problems. I made the error stack do its flashing dance twice. Now the buttons at the top of the Settings window don't work -- you have to click them twice to get the button to correspond to the panel that's shown, and the green check marks don't reflect the button settings on the panel. Sorry but this is making my head hurt and I have to pack. Maybe this will be somewhat of a lead for you, but it's not clear enough for me to enter into bugzilla. Jim Lyons From monte at sweattechnologies.com Tue Jun 8 21:42:46 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 9 Jun 2004 11:12:46 +0930 Subject: Disappointing demo In-Reply-To: Message-ID: >I am leaving on a trip in the morning so all I had time to do was >retrace my steps a little. If you make a new stack and save it, then >bring up Standalone Settings, change the name, then click the button >for Advanced to select inclusions manually, you will see the name >change back. That was the first time it changed, which I noticed and >changed back. Not here... but I'm using the latest version... >Maybe this will be somewhat of a lead for you, but it's not clear >enough for me to enter into bugzilla. No... sorry. As I can't replicate it I can't find the issue. I tried various possibilities and none made it change back. Maybe when you gat back from your trip we can discuss it more. Cheers Monte From bornstein at designeq.com Tue Jun 8 22:30:55 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Tue, 8 Jun 2004 22:30:55 -0400 Subject: Problems with the Export command Message-ID: <090CD0E2-B9BD-11D8-BC9C-000A95909E26@designeq.com> I've been running into a problem using the Export command. The TD says "If you use the form export [format] to..., the selected image is exported." I select an image in my stack and from the message box execute: export JPEG to file "mytest2.jpg" This should export the image as a JPEG to the defaultfolder. In fact, this file does appear in the default folder, but neither Preview nor PhotoShop can parse the image (Preview says "File Error. Could not open file. It may be corrupt or a file format that Preview doesn't recognize"). If I use the other format for Export (i.e. export image...) and type in: export image "imagename" to file "mytest2.jpg" as JPEG, it works as expected. Any idea why the Export [format] version doesn't seem to be generating a valid JPEG file (I've also tried with PNG with the same results)? I'm specifically trying to use this version because I want to use the ExportCard script that Key Ray has posted on his web site. Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From bornstein at designeq.com Tue Jun 8 22:35:43 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Tue, 8 Jun 2004 22:35:43 -0400 Subject: Problems with the Export command In-Reply-To: <090CD0E2-B9BD-11D8-BC9C-000A95909E26@designeq.com> References: <090CD0E2-B9BD-11D8-BC9C-000A95909E26@designeq.com> Message-ID: Sorry, I should have mentioned I'm running Rev. 2.2 on OS X 10.3.4. Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From jacque at hyperactivesw.com Tue Jun 8 23:02:41 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Jun 2004 22:02:41 -0500 Subject: Programming contest In-Reply-To: References: <40930107.2050401@hyperactivesw.com> Message-ID: <40C67DD1.5080900@hyperactivesw.com> On 6/8/04 11:41 AM, Dar Scott wrote: > > On Apr 30, 2004, at 7:44 PM, J. Landman Gay wrote: > >> This sounds like something one of us (or a group of us) here might >> want to do: >> >> http://www.cis.upenn.edu/proj/plclub/contest/ >> > > I put in a token entry using Revolution, both in the lighting division > (for fast prototyping languages) and the main division. So, maybe > Transcript will be mentioned when the results are announced in September. That's great! I had you in the back of my mind when I posted the link. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Tue Jun 8 23:33:45 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 08 Jun 2004 22:33:45 -0500 Subject: Problems with the Export command In-Reply-To: <090CD0E2-B9BD-11D8-BC9C-000A95909E26@designeq.com> References: <090CD0E2-B9BD-11D8-BC9C-000A95909E26@designeq.com> Message-ID: <40C68519.6010501@chipp.com> Howard, I believe this is an engine bug and is scheduled to be fixed (I think it already has been) for the next release. Perhaps if Richard gets his way, we may have an interim engine release soon;-) -Chipp Howard Bornstein wrote: > I've been running into a problem using the Export command. The TD says > "If you use the form export [format] to..., the selected image is > exported." > > I select an image in my stack and from the message box execute: export > JPEG to file "mytest2.jpg" > > This should export the image as a JPEG to the defaultfolder. In fact, > this file does appear in the default folder, but neither Preview nor > PhotoShop can parse the image (Preview says "File Error. Could not open > file. It may be corrupt or a file format that Preview doesn't recognize"). > > If I use the other format for Export (i.e. export image...) and type in: > export image "imagename" to file "mytest2.jpg" as JPEG, it works as > expected. > > Any idea why the Export [format] version doesn't seem to be generating a > valid JPEG file (I've also tried with PNG with the same results)? > > I'm specifically trying to use this version because I want to use the > ExportCard script that Key Ray has posted on his web site. > > > > Regards, > > Howard Bornstein > ----------------------- > D E S I G N E Q > www.designeq.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Tue Jun 8 23:45:04 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 08 Jun 2004 22:45:04 -0500 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <40C655E3.1050601@fourthworld.com> References: <00b801c44cc5$d1970460$6601a8c0@precision340> <371CF2B6-B907-11D8-AC3F-0003937A97B8@genesearch.com.au> <40C60DA4.18A84@Club-Internet.fr> <40C6162E.704@fourthworld.com> <40C61F1B.7EFA85F3@Club-Internet.fr> <40C655E3.1050601@fourthworld.com> Message-ID: <40C687C0.4090409@chipp.com> JB, Actually, I'm not really working with RR CGI's at all. I did a bit of research and have come to the conclusion that they won't work well for my projects. Check out the section entitled "Why Multi-Tier?" on page: http://www.altuit.com/webs/altuit2/RunRevCaseStudies/Hemingway.htm for the approach I've selected for all our projects. REV CGI's can work well for small projects with a lot of business logic (easy to script), but small numbers of hits. When you start launching a bunch of them simultaneously (as when a bunch of users hit your web app), they tend to be quite the memory hog-- in some cases reportedly too big for the server. At least that's what I've come to conclude. best, Chipp > Chipp's been working a lot with CGIs lately -- Chipp, got any good > security tips from what you've been working on? > From vokey at uleth.ca Wed Jun 9 00:37:51 2004 From: vokey at uleth.ca (Dr.John R.Vokey) Date: Tue, 8 Jun 2004 22:37:51 -0600 Subject: Enough already! In-Reply-To: <20040609030115.6480C930116@mail.runrev.com> References: <20040609030115.6480C930116@mail.runrev.com> Message-ID: All, Sheesh! I have read too much fluff and politeness: it's like the whole RR list has become Canadian, eh. A. Let us all agree that: 1) the runrev team members are great, sweet, wonderful people to a fault. 2) runrev is great, sweet, wonderful, , ... B. But that, the RR IDE (and some aspects of the engine) are deplorably buggy. So, 1) voice all bug complaints *without launching yet again into how ``the runrev team members are great, sweet, wonderful people to a fault'', and are all working hard, fingers to the bone, nose to the grind stone, etc.* Let's just take that as given. 2) *don't apologise for the lousy documentation, inconsistent functioning, damnably stupid decisions (as you see it) by the RR team. After all, if *you* can't find it/understand it/use it correctly *it is not your fault*. By definition, it is theirs. It is their *job* to make it clear, straightforward, and simple. (Imagine trying to make your career as a writer and always blaming the reader for ``failing to understand, not using the index or the appendix you oh so thoughtfully provided''. Exactly.) 3) But they won't know to fix it if you don't engage in B.1.---whether by bugzilla, or by simply writing a letter. *Don't* for a moment believe that you have to use bugzilla, or even email. Believe (because of A.1.) that they will and do listen to every complaint. Of course they do; they are not stupid (and, of course, ``are great, sweet, wonderful people to a fault.''). 4) But, by B.2., quit mealy-mouthing your responses: you have a right (and, if you care about the product, duty) to bitch, moan, complain, perseverate, and otherwise rain on RR and the team *without apology*. As for those (you know who you are) who inevitably and boringly jump to RR's defence at every seeming opportunity: give it up. It is silly, unnecessary, and, importantly, insulting and often unfairly intimidating to the poor user who is just flummoxed by the many (entirely expected and predictable) failings of RR. Remember, not all of us are Windoze users who expect and routinely receive much worse than RR has ever delivered. My favourite: ``The only time Microsoft will deliver a product that doesn't suck, is when they sell vacuum cleaners''.) 5) I, of course, as a Canadian, did not mean to denigrate in any way the runrev team members who are all great, sweet, wonderful people to a fault. ;-) But, you need to claim my nationality to get away with such transparent piety. 6) Enough. Really. Stop it. -- John R. Vokey, PhD Professor B.E.R.G. - Behaviour and Evolution Research Group Micro-Cognition Laboratory Department of Psychology & Neuroscience University of Lethbridge Lethbridge, Alberta T1K 3M4 CANADA From bornstein at designeq.com Wed Jun 9 01:05:58 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Wed, 9 Jun 2004 01:05:58 -0400 Subject: Problems with the Export command In-Reply-To: <40C68519.6010501@chipp.com> References: <090CD0E2-B9BD-11D8-BC9C-000A95909E26@designeq.com> <40C68519.6010501@chipp.com> Message-ID: On Jun 8, 2004, at 11:33 PM, Chipp Walters wrote: > I believe this is an engine bug and is scheduled to be fixed (I think > it already has been) for the next release. Perhaps if Richard gets his > way, we may have an interim engine release soon;-) Thanks for the feedback, Chipp. Bummer that it's a bug, as I need this capability. But maybe if Richard asks real nicely, we'll get that interim release soon! :-) Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From davis.phil at comcast.net Wed Jun 9 01:13:39 2004 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 8 Jun 2004 22:13:39 -0700 Subject: Enough already! In-Reply-To: Message-ID: Wow! Rough day, huh? ;o) Personally, I think a little respect and decency go a long way. It's a great feeling (and can be a strong motivator for improved performance) when it comes your way, right? So why not give it to others, especially when their actions have in some measure created an opportunity for it? I also think doing this is partly a cultural expression of this list. For better or worse, a well-established habit can be a hard thing to change. I think of it as oil for the mechanics of list communication. That's all - I'm done. No [further] comebacks, no fights. Done. Phil Davis > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Dr.John > R.Vokey > Sent: Tuesday, June 08, 2004 8:38 PM > To: use-revolution at lists.runrev.com > Subject: Enough already! > > > All, > Sheesh! I have read too much fluff and politeness: it's like the > whole RR list has become Canadian, eh. > > A. Let us all agree that: > > 1) the runrev team members are great, sweet, wonderful people to a > fault. > 2) runrev is great, sweet, wonderful, , ... > > B. But that, the RR IDE (and some aspects of the engine) are deplorably > buggy. > > So, > 1) voice all bug complaints *without launching yet again into how ``the > runrev team members are great, sweet, wonderful people to a fault'', > and are all working hard, fingers to the bone, nose to the grind stone, > etc.* Let's just take that as given. > > 2) *don't apologise for the lousy documentation, inconsistent > functioning, damnably stupid decisions (as you see it) by the RR team. > After all, if *you* can't find it/understand it/use it correctly *it is > not your fault*. By definition, it is theirs. It is their *job* to > make it clear, straightforward, and simple. (Imagine trying to make > your career as a writer and always blaming the reader for ``failing to > understand, not using the index or the appendix you oh so thoughtfully > provided''. Exactly.) > > 3) But they won't know to fix it if you don't engage in B.1.---whether > by bugzilla, or by simply writing a letter. *Don't* for a moment > believe that you have to use bugzilla, or even email. Believe (because > of A.1.) that they will and do listen to every complaint. Of course > they do; they are not stupid (and, of course, ``are great, sweet, > wonderful people to a fault.''). > > 4) But, by B.2., quit mealy-mouthing your responses: you have a right > (and, if you care about the product, duty) to bitch, moan, complain, > perseverate, and otherwise rain on RR and the team *without apology*. > As for those (you know who you are) who inevitably and boringly jump to > RR's defence at every seeming opportunity: give it up. It is silly, > unnecessary, and, importantly, insulting and often unfairly > intimidating to the poor user who is just flummoxed by the many > (entirely expected and predictable) failings of RR. Remember, not all > of us are Windoze users who expect and routinely receive much worse > than RR has ever delivered. My favourite: ``The only time Microsoft > will deliver a product that doesn't suck, is when they sell vacuum > cleaners''.) > > 5) I, of course, as a Canadian, did not mean to denigrate in any way > the runrev team members who are all great, sweet, wonderful people to a > fault. ;-) But, you need to claim my nationality to get away with > such transparent piety. > > 6) Enough. Really. Stop it. > > -- > John R. Vokey, PhD > Professor > B.E.R.G. - Behaviour and Evolution Research Group > Micro-Cognition Laboratory > Department of Psychology & Neuroscience > University of Lethbridge > Lethbridge, Alberta T1K 3M4 > CANADA > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Wed Jun 9 01:26:30 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 9 Jun 2004 07:26:30 +0200 Subject: ANN Props N2O In-Reply-To: Message-ID: Hi everyone, I just uploaded version 1.1.2 of my new plugin PropsN2O http://www.monsieurx.com/modules.php?name=News&file=article&sid=150 I got lucky and found the problem with the revPropertyPalette not being updated after changing objects in my new plugin. Also changed the name to reflect chemistry standards thanks to Jerry Jensen! Just a few questions for those interested to reply off-list: - Should PropsN2O auto-position itself above the RevPropertyPalette? - Would it be nicer with 2 button rows? - Would you like a "last message" recall menu? - How much would you pay for this software? - Are the buttons confusing? - Features you would like to see? cheers Xavier From b.xavier at internet.lu Wed Jun 9 01:38:03 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 9 Jun 2004 07:38:03 +0200 Subject: Enough already! In-Reply-To: Message-ID: If you like being flamed as I have been for mouthing your objections, it's in your right but it wouldn't be smart cognition or learning-ship of how things work by human psychology standards. Although my polite (Im pseudo-belgian) b1tching was polarized in different ways to try to get some recognition in my critiques, Chipp's comments regarding professional behavior have set me straight once more. Be objective and put yourself in their shoes, no matter how ugly they can be! It's not nice but complaining does provide some relief (to quote a holo-doctor in ST Voyager). Naturally, bitching is futile and will prevent your comments from being assimilated in their fullest intentions. The best way you can help is 1) enter a bugzilla 2) make a plugin to replace the parts you dont like about RR! 3) buy RR and do it yourself (you seem to be working on borg technology so it should a piece of cake for you !) (borg smiley) But go ahead, make your day and moan all you want. RR is doing their best to ply to everyone's comments, critiques and suggestions but time is still their only barrier... I could complain that only one person has sent a nice comment regarding my new stack, but why? Im just enjoying my stack and if they prefer not using it or feeling bad about it, it's their problem! Despite this moan, I can't coerce them to do it or kindly request them to waste their time to do that either! ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Dr.John > R.Vokey > Sent: Wednesday, June 09, 2004 06:38 > To: use-revolution at lists.runrev.com > Subject: Enough already! > > > All, > Sheesh! I have read too much fluff and politeness: it's like the > whole RR list has become Canadian, eh. > > A. Let us all agree that: > > 1) the runrev team members are great, sweet, wonderful people to a > fault. > 2) runrev is great, sweet, wonderful, , ... > > B. But that, the RR IDE (and some aspects of the engine) are deplorably > buggy. > > So, > 1) voice all bug complaints *without launching yet again into how ``the > runrev team members are great, sweet, wonderful people to a fault'', > and are all working hard, fingers to the bone, nose to the grind stone, > etc.* Let's just take that as given. > > 2) *don't apologise for the lousy documentation, inconsistent > functioning, damnably stupid decisions (as you see it) by the RR team. > After all, if *you* can't find it/understand it/use it correctly *it is > not your fault*. By definition, it is theirs. It is their *job* to > make it clear, straightforward, and simple. (Imagine trying to make > your career as a writer and always blaming the reader for ``failing to > understand, not using the index or the appendix you oh so thoughtfully > provided''. Exactly.) > > 3) But they won't know to fix it if you don't engage in B.1.---whether > by bugzilla, or by simply writing a letter. *Don't* for a moment > believe that you have to use bugzilla, or even email. Believe (because > of A.1.) that they will and do listen to every complaint. Of course > they do; they are not stupid (and, of course, ``are great, sweet, > wonderful people to a fault.''). > > 4) But, by B.2., quit mealy-mouthing your responses: you have a right > (and, if you care about the product, duty) to bitch, moan, complain, > perseverate, and otherwise rain on RR and the team *without apology*. > As for those (you know who you are) who inevitably and boringly jump to > RR's defence at every seeming opportunity: give it up. It is silly, > unnecessary, and, importantly, insulting and often unfairly > intimidating to the poor user who is just flummoxed by the many > (entirely expected and predictable) failings of RR. Remember, not all > of us are Windoze users who expect and routinely receive much worse > than RR has ever delivered. My favourite: ``The only time Microsoft > will deliver a product that doesn't suck, is when they sell vacuum > cleaners''.) > > 5) I, of course, as a Canadian, did not mean to denigrate in any way > the runrev team members who are all great, sweet, wonderful people to a > fault. ;-) But, you need to claim my nationality to get away with > such transparent piety. > > 6) Enough. Really. Stop it. > > -- > John R. Vokey, PhD > Professor > B.E.R.G. - Behaviour and Evolution Research Group > Micro-Cognition Laboratory > Department of Psychology & Neuroscience > University of Lethbridge > Lethbridge, Alberta T1K 3M4 > CANADA > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Wed Jun 9 01:56:15 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 9 Jun 2004 07:56:15 +0200 Subject: OL - Jay In-Reply-To: Message-ID: Sorry for this OL... Jay sent me a comment and everytime I try to reply I get an error. So Jay, can you either check your reply-to email address? Hope you understand why you havent got an answer... cheers Xavier From soapdog at mac.com Wed Jun 9 01:47:34 2004 From: soapdog at mac.com (Andre Garzia) Date: Wed, 9 Jun 2004 02:47:34 -0300 Subject: Programming contest In-Reply-To: References: <40930107.2050401@hyperactivesw.com> Message-ID: <81C64D03-B9D8-11D8-ACBD-0003936D012E@mac.com> On Jun 8, 2004, at 1:41 PM, Dar Scott wrote: > I put in a token entry using Revolution, both in the lighting division > (for fast prototyping languages) and the main division. So, maybe > Transcript will be mentioned when the results are announced in > September. > > (I had forgotten about this, since I was distracted and I didn't > notice any more comment on the list, but my wife mentioned it Friday > night, about a third of the way into the lightning division. I looked > at the task description. My non-programming son was interested, so > we did something.) > > Dar Scott Dar, You managed to put into Lightning division! WOW Thats great! I always tried that with Scheme... This year, I could not face the challenge... hope your entry goes fine! :D Cheers! Andre > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From ambassador at fourthworld.com Wed Jun 9 01:47:46 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 08 Jun 2004 22:47:46 -0700 Subject: Problems with the Export command In-Reply-To: <090CD0E2-B9BD-11D8-BC9C-000A95909E26@designeq.com> References: <090CD0E2-B9BD-11D8-BC9C-000A95909E26@designeq.com> Message-ID: <40C6A482.70508@fourthworld.com> Howard Bornstein wrote: > I select an image in my stack and from the message box execute: export > JPEG to file "mytest2.jpg" > > This should export the image as a JPEG to the defaultfolder. In fact, > this file does appear in the default folder, but neither Preview nor > PhotoShop can parse the image (Preview says "File Error. Could not open > file. It may be corrupt or a file format that Preview doesn't recognize"). It's generating a PPM file, or so sez GraphicConverter. It appears to be a problem with the interpreter, and fortunately not with the underlying JPEG mechanism. The problem seems limited to this form: export to file But I just tried the other form shown in the Transcript Dictionary: export to file as ...and it seems to work, apparently routing the command to the appropriate compressor, e.g.: export img 1 to file "mytest2.jpg" as jpeg export img "MyImage" to file "mytest2.png" as png If you want it to work by selection you could use: export the selectedObject to file "mytest1.jpg" as "jpeg" -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From docrosli at yahoo.com Wed Jun 9 01:48:20 2004 From: docrosli at yahoo.com (Rosli Hassan) Date: Tue, 8 Jun 2004 22:48:20 -0700 (PDT) Subject: launch doc with app doesn't open the doc Message-ID: <20040609054820.17145.qmail@web11607.mail.yahoo.com> hello everybody, firstly, thanx to everyone who responded to my query the other day on 'running stack off the server concurrently'. It really helps my understanding of what is happening actually. another question: on win 98, this works fine: on mouseUp answer file "Select a text file for input:" if it is empty then exit mouseUp put it into y launch y with "C:/Program Files/Microsoft Office/Office10/winword.exe" go stack "timer" end mouseUp result: msword launches and open the text file in msword application. The stack "timer" opens up perfectly. But, on win XP, it only opens up blank document ("document 1") in msword without the appropriate file as chosen from the answer file. Did i do anything wrong? any help is appreciated. thanx. Rosli. __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From gizmotron at earthlink.net Wed Jun 9 01:51:08 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 8 Jun 2004 22:51:08 -0700 Subject: Enough already! In-Reply-To: Message-ID: <0144C704-B9D9-11D8-84C4-000A95859272@earthlink.net> On Tuesday, June 8, 2004, at 09:37 PM, Dr.John R.Vokey wrote: > All, > Sheesh! I have read too much fluff and politeness: it's like the > whole RR list has become Canadian, eh. Well that's sort of interesting, knowing that not all Canadians think alike like the rest of us on earth, but some having strong opinions that tend to isolate or denigrate others, especially people like us poor misguided Americans south of the border in some peoples eyes or in our own eyes. Your numbered points of interest are best suited to discussion lists for psychological interest groups that like heated discussions of prying the lid off the group to see what's inside and having that end up as the entire point of interest. At least that is what it seems like to me and my opinion. My brother is the moderator of the gestalt-l list. I watched this kind of communication for the last eight years. All the interesting e-mails are much like yours on that list. I only mention this because it would be easy to read your message as troll-bate. I don't think it is troll-bate and to me it doesn't matter. I'm used to seeing comments about how helpful someone has been. Just about everything on this list is volunteer contributions in support of something that is better than where at least for me where I came from with the tools that I had to work with. Because of Revolution I find myself considering doing things that I would never had tried with Director. So you can't blow the shine off the symbolism just to patina the carcass of the fatted calf just because the prodigal son has wondered home. For me it's still a party and I'm just coming up on my first year with Revolution. So happy I discovered Revolution birthday to me... and thanks for all the good advice and ideas from all the great people on this list. Remember last week when I was wondering about icon and file recognition problems on Windows. Well it turns out that I spelled the name of my own application wrong while setting up Ken's recommendations for setting the registry three months ago. I bothered just about everyone and they kept asking me to look at Ken Ray's "Setting Document Associations in Windows." What a laugh. I did it to myself. There was never a problem. Boy do I feel better having confessed that... mb From chipp at chipp.com Wed Jun 9 01:51:11 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 09 Jun 2004 00:51:11 -0500 Subject: ANN Props N2O In-Reply-To: References: Message-ID: <40C6A54F.1040605@chipp.com> Hi Xavier, I'll check out your plugin when I get a chance, but can you confirm one thing for me. Does you plugin modify anything at all in the RunRev IDE? I'm a bit confused as you said something about 'adding extra menulines' or something... I appreciate your sincere desire to create a professional product. I'm sorry if I'm sounding too..er..'Canadian.' ;-) Chipp From soapdog at mac.com Wed Jun 9 01:53:04 2004 From: soapdog at mac.com (Andre Garzia) Date: Wed, 9 Jun 2004 02:53:04 -0300 Subject: about something I call LibWrapper. Message-ID: <4633DBEB-B9D9-11D8-ACBD-0003936D012E@mac.com> Hi Folks, I make extensive use of command line utilities in my MacOS X... So I've become feed up with always going to terminal and decide to put some gui-wrapper around some utilities. Of course I used Rev, then, since I figured out that I would do this from time to time, I came with a silly little library called libWrapper that makes my life easier. It's like this, create the GUI in Rev, set some custom properties in your controls, and theres a function that will loop thru the controls and assemble the line to be used by shell() function. I have a simple /bin/defaults and ps wrappers now... I could release them all... Is this kind of code interesting? Anyone want it? Cheers Andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From briany at qldlearning.com Wed Jun 9 02:13:46 2004 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 9 Jun 2004 02:13:46 -0400 Subject: Enough already! In-Reply-To: Message-ID: <2A6029BE-B9DC-11D8-87DD-000393AA08D2@qldlearning.com> John, So: 1) Revolution is overly buggy in it's current state 2) It's not personal- we like the people who work there Are we seriously fighting about our "rights" to express the above? Come on. We can't just declare "no more complimenting the people at RunRev" any more than we can say "no complaining about bugs!". Do you really think telling a roomful of professionals to "Stop It" is going to fly, along with a barrage of "mealy-mouthed", "insulting", "intimidating", etc, etc? If there is a practical issue wherein new users are being driven away, let's dig in. But if you just think it's nauseating to hear us compliment RunRev, tough luck. This list along with RunRev has a long history together including personal friends and more than a decade worth of acquaintances and experiences and it won't do much good to tell people to like each other a little less. By all means, you are well within your rights to sound off as much as you like here, but it's NOT within them to tell everyone else what they can say as well. - Brian From xbury.cs at clearstream.com Wed Jun 9 02:14:32 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 9 Jun 2004 08:14:32 +0200 Subject: ANN Props N2O Message-ID: Chipp I swear I dont touch the IDE. The mod I do for the revPropertyPalette stack section, for the mainstack menu to set its menulines to 20 so that when you want to change the mainstack you dont get the ridiculous 5 lines which force you to waste time. That's the goal of N2O... Accelerate and fast for the least amount of money... And for your relief, the frontscript passes all events it catches... Apparently you seem to like it ;) Enjoy! On 09.06.2004 07:51:11 use-revolution-bounces wrote: >Hi Xavier, > >I'll check out your plugin when I get a chance, but can you confirm one >thing for me. Does you plugin modify anything at all in the RunRev IDE? >I'm a bit confused as you said something about 'adding extra menulines' >or something... > >I appreciate your sincere desire to create a professional product. I'm >sorry if I'm sounding too..er..'Canadian.' ;-) > >Chipp > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From wouter.abraham at pi.be Wed Jun 9 05:48:17 2004 From: wouter.abraham at pi.be (Wouter) Date: Wed, 9 Jun 2004 11:48:17 +0200 Subject: bug or feature? Message-ID: <2279BA4F-B9FA-11D8-BDD7-003065CC999E@pi.be> Hi all, Testing code with animated gifs resulted in a question. Should something that normally is a typo, but is not generating an error while applying the script or during its executing, be considered a bug (spacebug in this case :) or a feature? (seems to be like this from rev 1.1.1 up to the recent versions, mc too) set the repeatCount of img "someName.gif" of stack "someNameTest"to -1 ### no space between the quote and "to" Greetings, WA (my appologies to Chipp for my OL mail) From rjb at rz.uni-potsdam.de Wed Jun 9 06:27:30 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed, 9 Jun 2004 12:27:30 +0200 Subject: Enough already! In-Reply-To: <0144C704-B9D9-11D8-84C4-000A95859272@earthlink.net> References: <0144C704-B9D9-11D8-84C4-000A95859272@earthlink.net> Message-ID: >On Tuesday, June 8, 2004, at 09:37 PM, Dr.John R.Vokey wrote: > >>All, >> Sheesh! I have read too much fluff and politeness: it's like the >>whole RR list has become Canadian, eh. > >Well that's sort of interesting, knowing that not all Canadians >think alike like the rest of us on earth, but some having strong >opinions that tend to isolate or denigrate others, especially people >like us poor misguided Americans south of the border in some peoples >eyes or in our own eyes. > I hope I am not putting my foot in my mouth by responding to this thread, but I haven't read John's comments so badly. I think his two main points were 1. people posting about problems should try to control their temper and try to stay factual -- whining and aggravation does not help anyone (says me who did that at some ocassions :) although the state of buginess of Rev in some areas can be frustrating (hopefully this will change soon); but if one needs to vent their frustrations on the list, we should be able to accept them (although the post should be tagged accordingly) 2. some responses to bug reports or shortcomings of RR seem to be overly defensive about RR which can be intimidating and a possible turn-off (if someone needs a full-featured word processing field, it does not help extolling how RR can do million other things and is easy to program). Some of such emails would be better sent off-list for more direct and somber discussion. Robert From edmccabe at cox.net Wed Jun 9 08:58:12 2004 From: edmccabe at cox.net (Edward McCabe) Date: Wed, 09 Jun 2004 08:58:12 -0400 Subject: Appleshare IP 6.3.3 Message-ID: I have decided that I am ready to serve my own site and need to find a source where I can purchase Appleshare IP 6.3.3 so that I can continue to utilize OS 9.2 and my HC database until I get all my stacks converted to Rev. I have been unable to locate a copy. A 10 user version would be adequate. Help. Ed McCabe isb at macconnect.com From fdy at mcc.org Wed Jun 9 09:10:17 2004 From: fdy at mcc.org (Fred D Yocum) Date: Wed, 9 Jun 2004 09:10:17 -0400 Subject: Can RevRun do this? In-Reply-To: <20040609030115.87A81930118@mail.runrev.com> Message-ID: I have lurked on this list for a long time, propping projects up against Revruns specs and seeing if I need to use for a specific project. Having time learn a new program and transferring my meagre programming skills (I'm a graphic designer) has kept me from actually taking the dive. Here is one such project. A program that with enable the of creating single sheets documents 8.5 x 11inches (Letter) which have locked areas and unlocked areas. The user can change some wording but not others. This is for creating name badges, business cards, posters etc. Word processing software is not set up to create fixed layouts. PDF doesn't allow editing at the level we want, desktop publishing programs cost too much (the software is to be used by charity thrift shops who have whatever computers or software is donated or owned by volunteers. I know that printing documents is not something that would be considered a strength of revolution, but should I be considering it for this project? F D Yocum Graphic Designer Mennonite Central Committee From themacguy at macosx.com Wed Jun 9 09:17:43 2004 From: themacguy at macosx.com (Barry Levine) Date: Wed, 9 Jun 2004 07:17:43 -0600 Subject: about something I call LibWrapper In-Reply-To: <20040609102744.3FE9D930112@mail.runrev.com> References: <20040609102744.3FE9D930112@mail.runrev.com> Message-ID: <641C5BBB-BA17-11D8-8CB3-000A95763ABC@macosx.com> Andre, Yes; it sounds very useful. Please advise a URL where one may DL it. Thanks, Barry On Jun 9, 2004, at 4:27 AM, Andre Garzia wrote: > about something I call LibWrapper From rcozens at pon.net Wed Jun 9 09:52:15 2004 From: rcozens at pon.net (Rob Cozens) Date: Wed, 9 Jun 2004 06:52:15 -0700 Subject: Can RevRun do this? In-Reply-To: References: Message-ID: >I know that printing documents is not something that would be >considered a strength of revolution, but should I be considering it for >this project? Go for it, Fred! Design the stack WYSIWYG, and print each card into a layout rectangle to fill each printed page. See "Printing Cards W/Headers & Footers" in the April List archives. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From iansummerfield at icmlondon.co.uk Wed Jun 9 10:42:56 2004 From: iansummerfield at icmlondon.co.uk (Ian Summerfield) Date: Wed, 9 Jun 2004 15:42:56 +0100 Subject: How to rotate text? Message-ID: <4BC79582-BA23-11D8-A16B-0003938D4A68@icmlondon.co.uk> I need to rotate text through 90 degrees to label a chart. I can't find how. It's looking like the text will have to be an image because they're the only things that can be rotated? In which case, the user needs to specify the text, can I get the text and somehow convert it to an image? -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and may contain legally privileged information. It is intended solely for use of the individual(s) or entity to whom it is addressed. Should you receive this message in error, please notify the sender by replying to this mail or calling +44 20 7636 6565. If you are not the intended recipient, any disclosure, distribution, reproduction, printing or reliance on the contents of this information is strictly prohibited and may be illegal. Any views expressed by an individual within this EMail do not necessarily reflect the views of ICM. From fdy at mcc.org Wed Jun 9 10:45:34 2004 From: fdy at mcc.org (Fred D Yocum) Date: Wed, 9 Jun 2004 10:45:34 -0400 Subject: Can RevRun do this? Message-ID: Thanks Rob. I found this: Print cards with headers http://lists.runrev.com/pipermail/use-revolution/2004-April/035976.html >> See "Printing Cards W/Headers & Footers" in the April List archives. From kray at sonsothunder.com Wed Jun 9 10:44:34 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 9 Jun 2004 09:44:34 -0500 Subject: about something I call LibWrapper. In-Reply-To: <4633DBEB-B9D9-11D8-ACBD-0003936D012E@mac.com> Message-ID: <01aa01c44e30$4bbcd600$6601a8c0@precision340> Sounds interesting, Andre... I'd like to see it. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Andre Garzia > Sent: Wednesday, June 09, 2004 12:53 AM > To: How to use Revolution > Subject: about something I call LibWrapper. > > > Hi Folks, > > I make extensive use of command line utilities in my MacOS > X... So I've > become feed up with always going to terminal and decide to put some > gui-wrapper around some utilities. Of course I used Rev, > then, since I > figured out that I would do this from time to time, I came > with a silly > little library called libWrapper that makes my life easier. It's like > this, create the GUI in Rev, set some custom properties in your > controls, and theres a function that will loop thru the controls and > assemble the line to be used by shell() function. > > I have a simple /bin/defaults and ps wrappers now... I could release > them all... > > > Is this kind of code interesting? Anyone want it? > > Cheers > Andre > -- > Andre Alves Garzia ? 2004 > Soap Dog Studios - BRAZIL > http://studio.soapdog.org > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Wed Jun 9 11:03:51 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Jun 2004 09:03:51 -0600 Subject: bug or feature? In-Reply-To: <2279BA4F-B9FA-11D8-BDD7-003065CC999E@pi.be> References: <2279BA4F-B9FA-11D8-BDD7-003065CC999E@pi.be> Message-ID: <37D9A7C0-BA26-11D8-8ED8-000A9567A3E6@swcp.com> On Jun 9, 2004, at 3:48 AM, Wouter wrote: > set the repeatCount of img "someName.gif" of stack "someNameTest"to > -1 ### no space between the quote and "to" If this works the same as with the space there, then I'd call it a feature. Without an xtalk spec, we can call it what we want, I suppose. Dar Scott From janschenkel at yahoo.com Wed Jun 9 11:07:46 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jun 2004 08:07:46 -0700 (PDT) Subject: How to rotate text? In-Reply-To: <4BC79582-BA23-11D8-A16B-0003938D4A68@icmlondon.co.uk> Message-ID: <20040609150746.87543.qmail@web60502.mail.yahoo.com> --- Ian Summerfield wrote: > I need to rotate text through 90 degrees to label a > chart. I can't > find how. It's looking like the text will have to > be an image because > they're the only things that can be rotated? In > which case, the user > needs to specify the text, can I get the text and > somehow convert it > to an image? > Hi Ian, You can do that by letting the user type the text into a field , taking a snapshot and then using that image for your chart. -- put the rect of field "Input" into tFieldRect import snapshot from rect tFieldRect set the angle of the last image to 90 -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From martyknapp at comcast.net Wed Jun 9 11:31:53 2004 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 09 Jun 2004 08:31:53 -0700 Subject: Alpha Channel? Message-ID: I have an Apple Keynote presentation that I'm thinking of recreating in Revolution so that I can customize the slide-to-slide timing and do a few other things that keynote can't do. Can Revolution recognize a graphic image that has an alpha mask-- to make part of an image transparent? If so, then I could mimic the cutouts in Keynote. Also, when you place a graphic image in Revolution is there a way to constrain the proportions as you size the image? Thanks, Marty From userev at canelasoftware.com Wed Jun 9 11:38:56 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 9 Jun 2004 08:38:56 -0700 Subject: Alpha Channel? In-Reply-To: References: Message-ID: <1E692348-BA2B-11D8-BFD9-000393C3F5BC@canelasoftware.com> On Jun 9, 2004, at 8:31 AM, Marty Knapp wrote: > Also, when you place a graphic image in Revolution is there a way to > constrain the proportions as you size the image? Spoke with Scott about that years ago. I don't think he ever got around to implementing it. I will bugzilla it (as a feature request) since I need that as well. -- Best regards, Mark Talluto http://www.canelasoftware.com From klaus at major-k.de Wed Jun 9 11:39:19 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 9 Jun 2004 17:39:19 +0200 Subject: Alpha Channel? In-Reply-To: References: Message-ID: <2C3CE4F8-BA2B-11D8-8CED-000A27B49A96@major-k.de> Hi Marty, > I have an Apple Keynote presentation that I'm thinking of recreating in > Revolution so that I can customize the slide-to-slide timing and do a > few > other things that keynote can't do. Can Revolution recognize a graphic > image > that has an alpha mask-- to make part of an image transparent? If so, > then I > could mimic the cutouts in Keynote. Yes, sure! You can use GIF or PNG files in RR. GIF supports a 1bit mask, PNG an 8bit mask, so PNG will probably be your choice. > Also, when you place a graphic image in Revolution is there a way to > constrain the proportions as you size the image? Unfortunately the "standard" (?, well at least in most image editing apps...) (SHIFT-)key for scaling object proportionaly is not supported in RR. Instead holding the SHIFT-key when resizing objects will constrain the object to a SQUARE object... :-( Hope that helps... > Thanks, > Marty Regards Klaus Major klaus at major-k.de http://www.major-k.de From userev at canelasoftware.com Wed Jun 9 11:44:35 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 9 Jun 2004 08:44:35 -0700 Subject: Proportional image sizing (was: Alpha Channel?) In-Reply-To: References: Message-ID: On Jun 9, 2004, at 8:31 AM, Marty Knapp wrote: > Also, when you place a graphic image in Revolution is there a way to > constrain the proportions as you size the image? Turns out their already is a request for this: bugzilla 1116 Gerald Vidic has already taken care of this. Vote if interested. -- Best regards, Mark Talluto http://www.canelasoftware.com From klwillis.dsl at verizon.net Wed Jun 9 11:57:03 2004 From: klwillis.dsl at verizon.net (Kevin Willis) Date: Wed, 9 Jun 2004 10:57:03 -0500 Subject: ::: MySQL and Application Deployment Message-ID: <20040609155704.SPAQ3910.out005.verizon.net@outgoing.verizon.net> Hello - We are interested in purchasing the Enterprise version of Revolution, but would like to hear what other users experiences have been with MySQL database development and the deployment issues involved to Windows platforms. If someone has a sample Windows application we can download and run which makes use of a MySQL database, that would give us a better idea what we can do with Revolution. - Kevin Willis http://www.westcoastsoftwaresolutions.com From graham.samuel at wanadoo.fr Wed Jun 9 09:45:18 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Wed, 09 Jun 2004 15:45:18 +0200 Subject: error message anomalies, anyone? Message-ID: <6.1.0.6.2.20040609123120.01d198d0@pop3.blueyonder.co.uk> On Tue, 08 Jun 2004 11:37:11 -0700, Richard Gaskin wrote: >Howe many of you have found that error messages in Rev 2.2 do not appear >to be related to the actual cause of script errors? Me, certainly. With a bit of effort I could give specific examples. I guess (it **is** just a guess) that the error-message generator is losing the context in which the error occurs, so that it's reduced to simply giving some kind of random or generic error. I noticed some who have replied have linked this behaviour to crashes in the IDE. Although I do see crashes in the IDE (almost always when I try to completely remove a mainstack and substacks from the IDE and start work on a new one - my suspicion is that the 'quit' handling in my original stack is somehow messing things up), this doesn't, for me, seem to have any connection with the anomalous error problem. Slightly OT, when this error-reporting is improved (soon?) could RunRev stop giving the currently reported error a dark hilite - it's dark blue on my PC laptop - I find I have to click elsewhere in the error report window to switch off the hilite so as to render the error text readable, every time - and I can't believe I'm the only one. I haven't yet looked into Bugzilla to see if this has been formally suggested as an improvement. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From janschenkel at yahoo.com Wed Jun 9 13:00:50 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jun 2004 10:00:50 -0700 (PDT) Subject: ::: MySQL and Application Deployment In-Reply-To: <20040609155704.SPAQ3910.out005.verizon.net@outgoing.verizon.net> Message-ID: <20040609170050.36310.qmail@web60508.mail.yahoo.com> --- Kevin Willis wrote: > Hello - > > We are interested in purchasing the Enterprise > version > of Revolution, but would like to hear what other > users > experiences have been with MySQL database > development and > the deployment issues involved to Windows platforms. > > If someone has a sample Windows application we can > download and > run which makes use of a MySQL database, that would > give us a > better idea what we can do with Revolution. > > - Kevin Willis > Hi Kevin, You may find the following user contributions of interest : - a general Database sample stack by Tuviah Snyder, the author of the revdatabase library - two stacks by Sarah Reichelt at her website Hope this helped, Jan Schenkel ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From gregory.lypny at videotron.ca Wed Jun 9 14:08:19 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 09 Jun 2004 14:08:19 -0400 Subject: Number of items property Message-ID: Hello everyone, I've imported a tab-delimited text file into a field, which I know has 11,000 data points in 1,000 lines and 11 columns. A handler that counts the number of items in each line and tallies them confirms this. However, the following handler, with the item delimiter set to tab and which uses the number function to count the number of items directly, gives me an answer of 10,001. put the number of items in fld "Data" -- returns 10,001 and not 11,000 That's 999 short. My guess is that the number function is not counting the last item on the end of each of the first 999 lines because those lines end with a carriage return and not a tab. Any thoughts? It seems to me that using the number function, applied to items as above, is more efficient and elegant than looping through the items in each line. Is it safe to modify its use by simply adding the number of lines less one? Something like this: put the number of items in fld "Data" + the number of lines in fld "Data" - 1 Greg From gizmotron at earthlink.net Wed Jun 9 14:15:34 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 9 Jun 2004 11:15:34 -0700 Subject: Number of items property In-Reply-To: Message-ID: On Wednesday, June 9, 2004, at 11:08 AM, Gregory Lypny wrote: > Any thoughts? What happens if you use replace to change the cr to a (tab & cr) before trying the count? Mark From gregory.lypny at videotron.ca Wed Jun 9 14:24:21 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 09 Jun 2004 14:24:21 -0400 Subject: Message Box with vertical scroll bar Message-ID: <3A6D5C27-BA42-11D8-B036-000D9350C9C2@videotron.ca> Is it possible to equip the message box with a vertical scroll bar? Greg From janschenkel at yahoo.com Wed Jun 9 14:24:58 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jun 2004 11:24:58 -0700 (PDT) Subject: Number of items property In-Reply-To: Message-ID: <20040609182458.59402.qmail@web60502.mail.yahoo.com> --- Gregory Lypny wrote: > Hello everyone, > > I've imported a tab-delimited text file into a > field, which I know has > 11,000 data points in 1,000 lines and 11 columns. A > handler that > counts the number of items in each line and tallies > them confirms this. > However, the following handler, with the item > delimiter set to tab and > which uses the number function to count the number > of items directly, > gives me an answer of 10,001. > > put the number of items in fld "Data" -- returns > 10,001 and not 11,000 > > That's 999 short. My guess is that the number > function is not counting > the last item on the end of each of the first 999 > lines because those > lines end with a carriage return and not a tab. Any > thoughts? It > seems to me that using the number function, applied > to items as above, > is more efficient and elegant than looping through > the items in each > line. Is it safe to modify its use by simply adding > the number of > lines less one? Something like this: > > put the number of items in fld "Data" + the number > of lines in fld > "Data" - 1 > > Greg > Hi Greg, Your end conclusion is correct : when Revolution calculates the number of items, it will use the itemDelimiter and simply count how many times it's present in the variable, thus happily tacking the last item of line i and the first item of line i+1 together and considering them as a single item. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From briany at qldlearning.com Wed Jun 9 14:26:26 2004 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 9 Jun 2004 14:26:26 -0400 Subject: Number of items property In-Reply-To: Message-ID: <84850874-BA42-11D8-87DD-000393AA08D2@qldlearning.com> One other option, with a caveat- if each column only has one word in it (i.e. no white space or punctuation or else enclosed in quotes), you could count the number of words, which will respect any kind of white space delimiter as a word break. Else, I would go with Mark's suggestion: put fld "xxx" into tData replace cr with tab&cr in tData put (the number of items in tData) - Brian > > On Wednesday, June 9, 2004, at 11:08 AM, Gregory Lypny wrote: > >> Any thoughts? > > What happens if you use replace to change the cr to a (tab & cr) > before trying the count? > > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From briany at qldlearning.com Wed Jun 9 14:29:07 2004 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 9 Jun 2004 14:29:07 -0400 Subject: Number of items property In-Reply-To: Message-ID: > put the number of items in fld "Data" + the number of lines in fld > "Data" - 1 This looks like a clever workaround to me- the only thing I can think of that would screw it up would be if you were to somehow set either the lineDelimiter or itemDelimiter incorrectly (or to the same thing), but that would seem to be a mistake all on it's own... - Brian From janschenkel at yahoo.com Wed Jun 9 14:33:16 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jun 2004 11:33:16 -0700 (PDT) Subject: Message Box with vertical scroll bar In-Reply-To: <3A6D5C27-BA42-11D8-B036-000D9350C9C2@videotron.ca> Message-ID: <20040609183316.3684.qmail@web60501.mail.yahoo.com> --- Gregory Lypny wrote: > Is it possible to equip the message box with a > vertical scroll bar? > > Greg > Have you tried it ? -- Just kidding, it should be possible ; here's a recipe : - Menu 'Edit' > Item 'Preferences' - go to the 'General' panel, then tick the checkbox 'Contextual menus work in Revolution windows' - Then hold down the Ctrl+Alt+Shift keys, and right-click on the field you want to give scrollbars - In the contextual menu, pick the item 'Property Inspector' - Now turn on the vertical scrollbar using the palette You may have to explicitly issue save stack "Message box" for it to stick between sessions. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From b.xavier at internet.lu Wed Jun 9 14:45:46 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 9 Jun 2004 20:45:46 +0200 Subject: Message Box with vertical scroll bar In-Reply-To: <3A6D5C27-BA42-11D8-B036-000D9350C9C2@videotron.ca> Message-ID: recipee first show the message box second in the msg put the windows... you see message box... create a stack with a button with script to locate the fields on mouseup set the defaultstack to "message box" put the number of fields into controlsnum repeat with x = 1 to controlsnum put the short name of field x & cr after nulist end repeat put nulist end mouseup so now you type... set the vscrollbar of fld "Message Field" of stack "message box" to true or set the vscrollbar of fld "result" of stack "message box" to true you might want to resize the fields though (left as an excercise...) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Gregory > Lypny > Sent: Wednesday, June 09, 2004 20:24 > To: Revolution > Subject: Message Box with vertical scroll bar > > > Is it possible to equip the message box with a vertical scroll bar? > > Greg > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From bornstein at designeq.com Wed Jun 9 14:54:13 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Wed, 9 Jun 2004 14:54:13 -0400 Subject: Problems with the Export command In-Reply-To: <40C6A482.70508@fourthworld.com> References: <090CD0E2-B9BD-11D8-BC9C-000A95909E26@designeq.com> <40C6A482.70508@fourthworld.com> Message-ID: <666C241F-BA46-11D8-A1B3-000A95909E26@designeq.com> On Jun 9, 2004, at 1:47 AM, Richard Gaskin wrote: > > It appears to be a problem with the interpreter, and fortunately not > with the underlying JPEG mechanism. > > The problem seems limited to this form: > > export to file > > But I just tried the other form shown in the Transcript Dictionary: > > export to file as > > ...and it seems to work, apparently routing the command to the > appropriate compressor, e.g.: > > export img 1 to file "mytest2.jpg" as jpeg > export img "MyImage" to file "mytest2.png" as png > > If you want it to work by selection you could use: > > export the selectedObject to file "mytest1.jpg" as "jpeg" > > -- > Richard Gaskin > Fourth World Media Corporation Thanks, Richard. I was also able to get it to work using "export image". Your suggestion of using the selectedobject allowed me to make this work with Ken's script as well. Thank you! I found that the largest width I could set the stack and create an export image was about 4000 pixels. Anything greater caused the image to display garbage. I searched the archives but couldn't find a definitive answer: is there a maximum size image beyond which Rev cannot handle? Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From dglaser at pacific.net Wed Jun 9 15:01:10 2004 From: dglaser at pacific.net (Dale Glaser) Date: Wed, 9 Jun 2004 12:01:10 -0700 Subject: Would like to convert some very useful HyperCard stacks Message-ID: This is my first post to this list, so sorry if I am asking for answers that have been posted many times. I am a HyperCard user who has designed several (for me) extremely useful web page generator stacks and am now thinking of "upgrading" to Revolution or SuperCard. I downloaded trials of both and found that Revolution seemed to do a better job of converting my stack, even though it doesn't actually work fully. I get error messages and as a newbie am a bit stuck what to do next. I am tending to go with Revolution as far as I have played with it, but I haven't found how to work with the error messages or how to step through and debug script as I can in HC. So my first request is just to get some help in how to step through my scripts in order to try and debug them. Alternative idea.. The fact is that for now I just want to make my HyperCard stacks work in an OS X environment and maybe make them cross platform, and don't want to do much else with Revolution. So.... another scenario I have thought of is to find other people out there in the Revolution world who might see these stacks as useful and want to help me convert them so that they can be used by me and them and others. I have a write-up about these HC stacks at: http://www.pacificsites.com/~dglaser/webtools.html And you can download copies of my most used stacks, a calendar of events web page generator, and topic oriented web links page generator at the same place. I am not saying these stacks are the greatest thing since apple pie but I have used them for years to create static pages out of various kinds of database information. So I just wondered what you out there think about this idea...? Or whether anyone was interested in helping me... Dale -- http://www.daleglaser.com From geoff at advantae.com Wed Jun 9 15:14:35 2004 From: geoff at advantae.com (Geoff Caplan) Date: Wed, 9 Jun 2004 20:14:35 +0100 Subject: Documentation on expressions?? Message-ID: <796545735.20040609201435@variosoft.com> Hi folks, Perhaps I'm just being dim, but I can't find anything in the documentation about expressions & conditions. Keyword searching fails to throw anything up, and there are no cross-references from the control structure dict entries. Can anyone help me out here? I guess I won't be the first person to mention it, but the documentation really does leave a lot to be desired. Surely RunRev could at least provide an in-depth paper giving conventional introduction to the language? The information seems to be scattered over dozens of different snippets. I have also been looking at the Python documentation, which is terrific. I was able to do productive things after an hour or so, while here I am with Rev scratching around trying to find info on the basic syntax. If they want to expand their market beyond the old Hypercard die-hards they are surely going to have to do better than this... ------------------ Geoff Caplan From janschenkel at yahoo.com Wed Jun 9 15:34:36 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jun 2004 12:34:36 -0700 (PDT) Subject: Documentation on expressions?? In-Reply-To: <796545735.20040609201435@variosoft.com> Message-ID: <20040609193436.1840.qmail@web60504.mail.yahoo.com> --- Geoff Caplan wrote: > Hi folks, > > Perhaps I'm just being dim, but I can't find > anything in the > documentation about expressions & conditions. > Keyword searching fails > to throw anything up, and there are no > cross-references from the > control structure dict entries. Can anyone help me > out here? > > I guess I won't be the first person to mention it, > but the > documentation really does leave a lot to be desired. > Surely RunRev > could at least provide an in-depth paper giving > conventional > introduction to the language? The information seems > to be scattered > over dozens of different snippets. > > I have also been looking at the Python > documentation, which is > terrific. I was able to do productive things after > an hour or so, > while here I am with Rev scratching around trying to > find info on the > basic syntax. If they want to expand their market > beyond the old > Hypercard die-hards they are surely going to have to > do better than > this... > > ------------------ > Geoff Caplan > Hi Geoff, Just a quick pointer : - open the documentation - go to the Roadmap - go to the section "All Documentation By Category" - click on "Values & Properties" - have a look at the entry "About containers, variables and sources of value" - also click on "Math, Logic & Dates" to get a list of buimlt-in logic and math functions that you can ue in your expressions. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From rogerguay at centurytel.net Wed Jun 9 15:35:18 2004 From: rogerguay at centurytel.net (Roger Guay) Date: Wed, 9 Jun 2004 12:35:18 -0700 Subject: Grid and Grab . . . Message-ID: <235FE336-BA4C-11D8-B164-000393A1CAAA@centurytel.net> Hello List, Is there a way to have the grid feature work with the Grab command? I would like the user to be able to move objects constrained to a grid. Any suggestions? Thanks, Roger From geoff at advantae.com Wed Jun 9 15:35:10 2004 From: geoff at advantae.com (Geoff Caplan) Date: Wed, 9 Jun 2004 20:35:10 +0100 Subject: Screen drawing buggy? Message-ID: <1627286968.20040609203510@variosoft.com> Hi folks, I'm seeing some worrying problems with screen drawing in the IDE. For example, say you have one palette on top of another. If you drag any other window, the palette in the background will flicker through the palette in the foreground: not very professional looking. Given that the IDE is reportedly written in Transcript, is this problem going to show up in standalone applications? I do have a very big screen and a very old graphics card, but I haven't seen this with other applications... ------------------ Geoff Caplan From alex at tweedly.net Wed Jun 9 15:44:30 2004 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 09 Jun 2004 20:44:30 +0100 Subject: Documentation on expressions?? In-Reply-To: <796545735.20040609201435@variosoft.com> Message-ID: <5.1.0.14.0.20040609203919.00ac9ea0@mail.tweedly.net> At 20:14 09/06/2004 +0100, Geoff Caplan wrote: >Hi folks, > >Perhaps I'm just being dim, but I can't find anything in the >documentation about expressions & conditions. Keyword searching fails >to throw anything up, and there are no cross-references from the >control structure dict entries. Can anyone help me out here? I couldn't agree more. Most annoying is that the Transcript dictionary for "repeat control structure" gives a reasonable set of examples - and the "if control structure" gives none. Best I could find (and I spent a long time yesterday looking) was under Help / Documentation All Documentation by category Math, Logic and Dates which does at least give a number of operators, and examples under each. -- Alex Tweedly, frustrated would-be Rev user. -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.699 / Virus Database: 456 - Release Date: 04/06/2004 From janschenkel at yahoo.com Wed Jun 9 15:45:11 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jun 2004 12:45:11 -0700 (PDT) Subject: Would like to convert some very useful HyperCard stacks In-Reply-To: Message-ID: <20040609194511.5001.qmail@web60504.mail.yahoo.com> --- Dale Glaser wrote: > This is my first post to this list, so sorry if I am > asking for > answers that have been posted many times. > Hi Dale, Welcome to the Revolution -- this mailing list will happily answer your questions or point you to the answers, so don't be shy ! > I am a HyperCard user who has designed several (for > me) extremely > useful web page generator stacks and am now thinking > of "upgrading" > to Revolution or SuperCard. I downloaded trials of > both and found > that Revolution seemed to do a better job of > converting my stack, > even though it doesn't actually work fully. I get > error messages and > as a newbie am a bit stuck what to do next. > One excellent bit of information is the HC-to-Rev tutorial that Jacqueline Landman Gay has written : > I am tending to go with Revolution as far as I have > played with it, > but I haven't found how to work with the error > messages or how to > step through and debug script as I can in HC. > > So my first request is just to get some help in how > to step through > my scripts in order to try and debug them. > First you have to turn on the 'Debug mode' in the menu 'Development', select 'Script Debug Mode' if it doesn't have a checkmark in front of it. In the same menu, you'll also find the Message and Variable Watchers. You can make the debug kick in by using the keyword 'breakpoint' in your script : -- on mouseUp put 5 into x ## we want to stop right here breakpoint ## now you can step or trace through the rest answer x end mouseUp -- However, these are permanent ; the Revolution script editor also allows you to set temporary breakpoints by clicking on the grey area to the left of the script. When you click there, a red dot will appear, and upon execution, the script will halt there. The script editor doubles as debugger, and when you hut a breakpoint, the bottom of the screen will show buttons "Step into", "Step over", "Trace", "Run" and "Abort" As for lending a hand, I'm currently too swamped with work and evening classes ; but there might be others on this list to take you up on that offer. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From janschenkel at yahoo.com Wed Jun 9 15:48:53 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jun 2004 12:48:53 -0700 (PDT) Subject: Screen drawing buggy? In-Reply-To: <1627286968.20040609203510@variosoft.com> Message-ID: <20040609194853.44998.qmail@web60510.mail.yahoo.com> --- Geoff Caplan wrote: > Hi folks, > > I'm seeing some worrying problems with screen > drawing in the IDE. > > For example, say you have one palette on top of > another. If you drag > any other window, the palette in the background will > flicker through > the palette in the foreground: not very professional > looking. > > Given that the IDE is reportedly written in > Transcript, is this > problem going to show up in standalone applications? > I do have a very > big screen and a very old graphics card, but I > haven't seen this with > other applications... > > ------------------ > Geoff Caplan > Hi Geoff, On what platform and version are you encountering this screen redraw issue ? I don't have this sort of problem on my Win2K or WinME portables. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From janschenkel at yahoo.com Wed Jun 9 16:13:34 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jun 2004 13:13:34 -0700 (PDT) Subject: Documentation on expressions?? In-Reply-To: <1804367663.20040609205622@variosoft.com> Message-ID: <20040609201334.71235.qmail@web60509.mail.yahoo.com> --- Geoff Caplan wrote: > Jan, > > JS> Just a quick pointer : > > Thanks - very helpful. > > But I think that this rather sums up the > documentation. It was hard to > find in the first place, and when you do find it, it > doesn't actually > give the syntax: you have to look up over a dozen > entries in the > dict... > > And if you go to the list archives to check you are > not about to post > a FAQ you find they are not searchable... this is > just plain daft - it > puts more strain on their support resources and to > the kind souls who > help out newbies on the list. > > It all makes it that much harder than it should be > to evaluate the > product: I bet it loses them a lot of sales. > > ------------------ > Geoff Caplan > Hi Geoff, You're not going to hear any objections to a good FAQ from me -- and I'm willing to bet the only reason there isn't one at this point is a lack of resources at RunRev HQ. At this point in time, most of the information is provided by volunteers, in various forms. - there is where the Developer section hosts very interesting information - the mailing list archives can be searched at - and there's RevNet, a plug-in that provides a handy interface to examples, tips, etc. And then I'm happily skipping over revJournal.com and so many others. Anyone looking for more information on xTalk programming languages, can find plenty of information about HyperCard ; and nearly all of this knowledge will be applicable to Revolution scripting. For people who are just starting out, Dan Shafer has written an excellent book (volume 1 available, more on the way, published through Revolution Press) The best news for the documentation is that you can expect some serious changes for the best very soon, as Runtime Revolution has made a commitment to improving the documentation dramatically for the next version -- so stay tuned ! Best regards, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From janschenkel at yahoo.com Wed Jun 9 16:16:27 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jun 2004 13:16:27 -0700 (PDT) Subject: Screen drawing buggy? In-Reply-To: <646975413.20040609205909@variosoft.com> Message-ID: <20040609201627.72274.qmail@web60509.mail.yahoo.com> --- Geoff Caplan wrote: > Jan, > > JS> On what platform and version are you > encountering this > JS> screen redraw issue ? I don't have this sort of > JS> problem on my Win2K or WinME portables. > > That's reassuring. I'm on Win2K with the latest > service pack, but > perhaps it is because I have a 21" screen and a 6 > year-old graphics > card! On the other hand, other applications seem to > be able to cope > with this. > > ------------------ > Geoff Caplan > Hi Geoff, The engine has an uncanny way of exposing problems in graphic cards and drivers ; if you're using the latest version of the driver, and the problem persists, then it's probably the old graphics card. Hope I didn't dissapoint you, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From nnoydb at excite.com Wed Jun 9 16:16:52 2004 From: nnoydb at excite.com (K) Date: Wed, 9 Jun 2004 16:16:52 -0400 (EDT) Subject: Tasking (Background tasks)? Message-ID: <20040609201652.6E3DFB732@xprdmailfe19.nwk.excite.com> I have read the Messages Mechanics stack and have a few questions. I realize that it is the accepted method of taking in the RR environment but I am wondering if there are not any simple cooperative multi-tasking constructs. I am loading a significant amount of data using a repeat loop I would like at the approiate time to yeild to any other tasks. Can I accomplish this by using wait for messages? Has someone already built cooperative tasking API or LIB? Is it even possible. Since using a WAG to dealy a function is contrary to many multi-tasking concepts. Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From janschenkel at yahoo.com Wed Jun 9 16:28:35 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jun 2004 13:28:35 -0700 (PDT) Subject: Grid and Grab . . . In-Reply-To: <235FE336-BA4C-11D8-B164-000393A1CAAA@centurytel.net> Message-ID: <20040609202835.57328.qmail@web60510.mail.yahoo.com> --- Roger Guay wrote: > Hello List, > > Is there a way to have the grid feature work with > the Grab command? I > would like the user to be able to move objects > constrained to a grid. > Any suggestions? > > Thanks, Roger > Hi Roger, As you know from trying, the 'grab' command doesn't take the grid settings into account, so you could either enter an enhancement request in Bugzilla ; or you could roll your own grab command, based on the following quick-and-dirty example : -- local sDragging on mouseDown put true into sDragging end mouseDown on mouseUp put false into sDragging end mouseUp on mouseRelease put false into sDragging end mouseRelease on mouseMove x,y ## only react while we're dragging if sDragging is not "true" then pass mouseMove ## suppose we have a 10x10 grid, recalc x and y put (x DIV 10) * 10 into tX put (y DIV 10) * 10 into tY ## update the location set the location of me to tX,tY end mouseMove -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From janschenkel at yahoo.com Wed Jun 9 16:34:55 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jun 2004 13:34:55 -0700 (PDT) Subject: Tasking (Background tasks)? In-Reply-To: <20040609201652.6E3DFB732@xprdmailfe19.nwk.excite.com> Message-ID: <20040609203455.59075.qmail@web60510.mail.yahoo.com> --- K wrote: > > > I have read the Messages Mechanics stack and have a > few questions. > > I realize that it is the accepted method of taking > in the RR environment but I am wondering if there > are not any simple cooperative multi-tasking > constructs. I am loading a significant amount of > data using a repeat loop I would like at the > approiate time to yeild to any other tasks. Can I > accomplish this by using wait for messages? Has > someone already built cooperative tasking API or > LIB? Is it even possible. Since using a WAG to > dealy a function is contrary to many multi-tasking > concepts. > > Kevin > Hi Kevin, Revolution is a single-threaded environment (which avoids all the "happy-funny" bits of multi-threaded environments such as Java) and 'send' is a great way of giving us more control. A few commands work with callback messages but this is something that is not easy to mimick in your own code. Your best bet is to span off new processes and use the read and write process commands, but those don't work on all platforms. Wait with messages can be a partial solution, but for intensive tasks it's better to handle them asap anyway, rather than pushing more and more tasks up the message queue. Just my two euro-cents, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From edmccabe at cox.net Wed Jun 9 16:35:06 2004 From: edmccabe at cox.net (Edward McCabe) Date: Wed, 09 Jun 2004 16:35:06 -0400 Subject: Would like to convert some very useful HyperCard stacks Message-ID: --- Dale Glaser wrote: > This is my first post to this list, so sorry if I am > asking for > answers that have been posted many times. Dale; The only problem I have had converting my own HC stacks to Rev from HC involved a conflict between variable names I had used in my HC scripts with the special words used by Rev. I had to go through every script and rename the variables which conflicted with REV words. One of the professionals on the list suggested a simple scheme where every variable starts with "t". I employed this regimen and it solved my problem. Ed McCabe From hershbp at verizon.net Wed Jun 9 16:33:59 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Wed, 9 Jun 2004 16:33:59 -0400 Subject: No subject Message-ID: <5640DD86-BA54-11D8-9BEF-0030654C1E62@verizon.net> I'm wondering why 2.2 is crashing on almost like 1.1 ? One example if I delete a very big group of buttons or a group of buttons that is one on-top of another. Thanks From briany at qldlearning.com Wed Jun 9 16:38:26 2004 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 9 Jun 2004 16:38:26 -0400 Subject: Tasking (Background tasks)? In-Reply-To: <20040609201652.6E3DFB732@xprdmailfe19.nwk.excite.com> Message-ID: Wait with messages is one option that will allow other messages to be sent and executed. Another is to use "send" to process things in chunks, such as: on mouseUp loadSomeData end mouseUp on loadSomeData if (dataLoadingComplete() = TRUE) then ... send "loadSomeData" to me in 50 milliseconds end if end loadSomeData By using send, you are essentially "yielding" until the next message is delivered, and you can specify how much time you want to give up- the above example giving 50 milliseconds between chunks of processing. I've never compared "send" to "wait with messages" directly, but I presume "wait" will give you the tightest loop while "send" offers the most flexibility. HTH > I realize that it is the accepted method of taking in the RR > environment but I am wondering if there are not any simple cooperative > multi-tasking constructs. I am loading a significant amount of data > using a repeat loop I would like at the approiate time to yeild to any > other tasks. Can I accomplish this by using wait for messages? Has > someone already built cooperative tasking API or LIB? Is it even > possible. Since using a WAG to dealy a function is contrary to many > multi-tasking concepts. From chipp at chipp.com Wed Jun 9 16:41:44 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 09 Jun 2004 15:41:44 -0500 Subject: Can RevRun do this? In-Reply-To: References: Message-ID: <40C77608.9080309@chipp.com> Hi Fred, Certainly it can! In fact, I've been planning on creating a templatized "PrintGadget" which does just what you say and more (next free time I have that is!) Jerry Daniels, who sometimes lurks on this list, has had tons of experience with Print and Rev...as has Jan Schenkel. Either one of them would be a good source for answering some questions on the details for going about this. -Chipp Fred D Yocum wrote: > (I'm a graphic designer) has kept me from actually taking the dive. Here > is one such project. > > A program that with enable the of creating single sheets documents 8.5 x > 11inches (Letter) which have locked areas and unlocked areas. The user > can change some wording but not others. This is for creating name badges, > business cards, posters etc. Word processing software is not set up to > create fixed layouts. PDF doesn't allow editing at the level we want, > desktop publishing programs cost too much (the software is to be used by > charity thrift shops who have whatever computers or software is donated > or owned by volunteers. > > I know that printing documents is not something that would be > considered a strength of revolution, but should I be considering it for > this project? From janschenkel at yahoo.com Wed Jun 9 16:48:44 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jun 2004 13:48:44 -0700 (PDT) Subject: Documentation on expressions?? In-Reply-To: <1410654506.20040609213025@variosoft.com> Message-ID: <20040609204844.82295.qmail@web60509.mail.yahoo.com> --- Geoff Caplan wrote: > Jan, > > JS> section hosts very interesting information > JS> - the mailing list archives can be searched at > JS> > > That's good to know. So why the **** don't RunRev > link to it from > their archive page?? > Well the list manager auto-generates all those html pages ; however, a direct link from the website, or better yet a transfer of the entire technology, would go a long way. > JS> For people who are just starting out, Dan Shafer > has > JS> written an excellent book (volume 1 available, > more on > JS> the way, published through Revolution Press) > JS> > > > This would be the next step, if I decide to go with > Rev. > In the meantime, you should be able to find cheap copies of HyperCard books in second-hand bookstores. > JS> The best news for the documentation is that you > can > JS> expect some serious changes for the best very > soon, as > JS> Runtime Revolution has made a commitment to > improving > JS> the documentation dramatically for the next > version -- > JS> so stay tuned ! > > I think they will have to, or they will stay a very > niche player. > Still, sounds as if they are at least aware of the > issue. > They are aware of the situation ; the main problem isn't that there's not enough documentation, but that it's too hard to find what you're looking for. Some time ago, they started including a Documentation search stack, which helps a lot as well ; but requires that you have an idea of what you're looking for and how it is called. Moreover, the current documentation is geared towards being a reference ; but doesn't really provide for other learning styles -- expect big changes soon ! > I recently tried to broker the sale of a good > software product to a > big (and very profitable) distributor. They liked > the product but > turned it down, because they felt it would cost too > much to document. > They typically allocate a substantial % of the > development budget for > the technical writing. They say that far too many > developers are more > interested in the code than the docs, which makes > their products > unviable no matter how good the code is... > > ------------------ > Geoff Caplan > Well, as I make my living as a programmer, I have to admit that documentation is less important to me than getting the darn thing to work properly. However, writing documentation is a bit of an art, and it's often better to have someone else write the docs, because this person is less likely to take for granted what the developer knows. If a program serves its purpose, then someone will turn up to try and explain how it works ; or someone else will program some alternative with a more accessible interface and better docs. Just the nature of the beast, I'd say. Jan Schenkel. __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From hershbp at verizon.net Wed Jun 9 16:45:41 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Wed, 9 Jun 2004 16:45:41 -0400 Subject: crashing In-Reply-To: <5640DD86-BA54-11D8-9BEF-0030654C1E62@verizon.net> Message-ID: Sorry for not puting a subject Also I wanted to add while removing from memory a stack like the examples I mentioned below . On Wednesday, June 9, 2004, at 04:33 PM, hershbp at verizon.net wrote: > I'm wondering why 2.2 is crashing on almost like 1.1 ? > One example if I delete a very big group of buttons or a group of > buttons that is one on-top of another. > Thanks > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Wed Jun 9 16:51:54 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 9 Jun 2004 13:51:54 -0700 (PDT) Subject: crashing In-Reply-To: Message-ID: <20040609205154.48722.qmail@web60501.mail.yahoo.com> --- hershbp at verizon.net wrote: > Sorry for not puting a subject > Also I wanted to add while removing from memory a > stack like the > examples I mentioned below . > On Wednesday, June 9, 2004, at 04:33 PM, > hershbp at verizon.net wrote: > > > I'm wondering why 2.2 is crashing on almost like > 1.1 ? > > One example if I delete a very big group of > buttons or a group of > > buttons that is one on-top of another. > > Thanks > > Sometimes I wonder if I'm just lucky, or it's because I do most of my development on Win2K ; but I use Revolution all day and don't seem to bump into this sort of problems. On what platform are you encountering these issues ? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From chipp at chipp.com Wed Jun 9 16:51:58 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 09 Jun 2004 15:51:58 -0500 Subject: Alpha Channel? In-Reply-To: References: Message-ID: <40C7786E.5030808@chipp.com> Hi Marty, You certainly can use PNG's with an alpha channel in RR with no problem. While you can't shift-drag to constrain, you can write a simple handler to resize an image proportionally...or even easier is create a button and name it "Proportionally Fit the Height to the Current Width" (I know kinda long, but that's what it does;-) Then put the following script into the button: on mouseUp put the formattedWidth of img "myImage" into tFW put the formattedHeight of img "myImage" into tFH put the width of img "myImage" into tW set the height of img "myImage" to tW/tFW*tFH end mouseUp Next resize image "myImage" to roughly the size you want and then press the button. It will automatically set the height based upon the width proportionally. Don't forget to set the lockLoc of img "myImage" to true when you're done so it won't 'revert back to it's original size' on openCard. best, Chipp Marty Knapp wrote: > I have an Apple Keynote presentation that I'm thinking of recreating in > Revolution so that I can customize the slide-to-slide timing and do a few > other things that keynote can't do. Can Revolution recognize a graphic image > that has an alpha mask-- to make part of an image transparent? If so, then I > could mimic the cutouts in Keynote. > > Also, when you place a graphic image in Revolution is there a way to > constrain the proportions as you size the image? From chipp at chipp.com Wed Jun 9 16:54:29 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 09 Jun 2004 15:54:29 -0500 Subject: ::: MySQL and Application Deployment In-Reply-To: <20040609155704.SPAQ3910.out005.verizon.net@outgoing.verizon.net> References: <20040609155704.SPAQ3910.out005.verizon.net@outgoing.verizon.net> Message-ID: <40C77905.802@chipp.com> Hi Kevin, We do a lot of development with MySQL and RunRev, but we use it in a multi-tier mode. Check out the article at: http://www.altuit.com/webs/altuit2/RunRevCaseStudies/Hemingway.htm (especially the section entitled "Why Multi-Tier?" at the bottom) best, Chipp Kevin Willis wrote: > Hello - > > We are interested in purchasing the Enterprise version > of Revolution, but would like to hear what other users > experiences have been with MySQL database development and > the deployment issues involved to Windows platforms. > > If someone has a sample Windows application we can download and > run which makes use of a MySQL database, that would give us a > better idea what we can do with Revolution. > > - Kevin Willis > http://www.westcoastsoftwaresolutions.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Wed Jun 9 16:57:59 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 09 Jun 2004 15:57:59 -0500 Subject: Message Box with vertical scroll bar In-Reply-To: <3A6D5C27-BA42-11D8-B036-000D9350C9C2@videotron.ca> References: <3A6D5C27-BA42-11D8-B036-000D9350C9C2@videotron.ca> Message-ID: <40C779D7.30206@chipp.com> Just enter into the msg box: set the vScrollbar of fld "Results" of cd "Single Line" of stack "Message Box" to true then save stack "Message Box" that should do the trick. -Chipp Gregory Lypny wrote: > Is it possible to equip the message box with a vertical scroll bar? > > Greg > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Wed Jun 9 17:06:12 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 09 Jun 2004 16:06:12 -0500 Subject: Tasking (Background tasks)? In-Reply-To: <20040609201652.6E3DFB732@xprdmailfe19.nwk.excite.com> References: <20040609201652.6E3DFB732@xprdmailfe19.nwk.excite.com> Message-ID: <40C77BC4.7060104@chipp.com> Hi Kevin, I have a plugin which creates thumbnail images of folders of image files. This can take quite some time, so I have a setting checkBox 'Load images in background' which let's me do other things as well. It's called altImgViewr and is part of the altToolbar suite. You can of course view the source code if you like to see how it's done...but basically it's just like Brian mentioned earlier: use the 'send messages' command. You can download the plugin at: http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm best, Chipp From chipp at chipp.com Wed Jun 9 17:10:29 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 09 Jun 2004 16:10:29 -0500 Subject: Documentation on expressions?? In-Reply-To: <796545735.20040609201435@variosoft.com> References: <796545735.20040609201435@variosoft.com> Message-ID: <40C77CC5.6030401@chipp.com> Geoff, There's a regular expression manual at: http://www.pcre.org/man.txt Functions like matchText use regular expressions. The link to above is on the dictionary card for matchText. best, Chipp Geoff Caplan wrote: > Hi folks, > > Perhaps I'm just being dim, but I can't find anything in the > documentation about expressions & conditions. Keyword searching fails > to throw anything up, and there are no cross-references from the > control structure dict entries. Can anyone help me out here? From gregory.lypny at videotron.ca Wed Jun 9 17:24:51 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 09 Jun 2004 17:24:51 -0400 Subject: Number of items property In-Reply-To: <20040609201529.99317930143@mail.runrev.com> References: <20040609201529.99317930143@mail.runrev.com> Message-ID: <71793523-BA5B-11D8-B036-000D9350C9C2@videotron.ca> Wow! Thanks for all your great responses to my post (below). In particular, Mark Brownell's suggestion of replacing cr with tab & cr will cause the number of items to return the correct result of 11,000. Thanks again, Greg On Jun 9, 2004, at 4:15 PM, I wrote wrote: > Message: 3 > Date: Wed, 09 Jun 2004 14:08:19 -0400 > From: Gregory Lypny > Subject: Number of items property > To: Revolution > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Hello everyone, > > I've imported a tab-delimited text file into a field, which I know has > 11,000 data points in 1,000 lines and 11 columns. A handler that > counts the number of items in each line and tallies them confirms this. > However, the following handler, with the item delimiter set to tab > and > which uses the number function to count the number of items directly, > gives me an answer of 10,001. > > put the number of items in fld "Data" -- returns 10,001 and not > 11,000 > > That's 999 short. My guess is that the number function is not counting > the last item on the end of each of the first 999 lines because those > lines end with a carriage return and not a tab. Any thoughts? It > seems to me that using the number function, applied to items as above, > is more efficient and elegant than looping through the items in each > line. Is it safe to modify its use by simply adding the number of > lines less one? Something like this: > > put the number of items in fld "Data" + the number of lines in fld > "Data" - 1 > From rodmc at runrev.com Wed Jun 9 17:43:22 2004 From: rodmc at runrev.com (Rod McCall) Date: Wed, 9 Jun 2004 22:43:22 +0100 Subject: Information Request Message-ID: <200406092243.22186.rodmc@runrev.com> Hi everyone, Its that time of the day, month, year when I am asking people to let me know about any products they have written in Revolution. If you've released something in the last two months can you please complete the details below? Please email it back to me and NOT the list. Product Name: Platforms: Price: Description (40 words max): Website: Contact email: Demo available: yes/no For those who released software outwith the two month period there is still a chance to get some publicity but its a bit smaller so please complete the info below: Product Name: Description (ten words max): url These listings will look something like: Kevin's Jumper Designer Program using genetic algorithms to automatically design 1970's style jumpers. {http://urlhere} Also if you've got something in development thats not far from release please let me know about it. Thanks in advance for any information which I receive. Best, Rod -- Dr Rod McCall Runtime Revolution Ltd Revolution: User-Centric Software Development www.runrev.com From RGould8 at aol.com Wed Jun 9 17:38:40 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed, 9 Jun 2004 17:38:40 EDT Subject: Can I save stack when called from stub application? Message-ID: <1d7.233abcfc.2df8dd60@aol.com> I've got a very tiny "stub launcher" Revolution application that does a: on openCard go to stack URL "http://area51.myofficenetwork.com/FTP/Studio_Review/Scheduler.rev" end openCard I've saved that application as a Standalone app for Mac OS X. It works great. Now if my "Scheduler.rev" app that gets sublaunched off of a server has a button in it that does a: on mouseUp save this stack end mouseUp Shouldn't that save the Scheduler.rev app with any data that was changed? It's not working for me. The docs for SAVE state: You cannot save to a standalone application's file; standalones are read-only. However, I'm not saving the standalone application's file (that was the launcher app) - - I'm actually saving the file that got sublaunched _from_ that standalone application. From scott at tactilemedia.com Wed Jun 9 18:07:06 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 09 Jun 2004 15:07:06 -0700 Subject: Can I save stack when called from stub application? In-Reply-To: <1d7.233abcfc.2df8dd60@aol.com> Message-ID: Recently, "RGould8 at aol.com" wrote: > I've got a very tiny "stub launcher" Revolution application that does a: > > on openCard > go to stack URL > "http://area51.myofficenetwork.com/FTP/Studio_Review/Scheduler.rev" > end openCard > > I've saved that application as a Standalone app for Mac OS X. It works > great. Now if my "Scheduler.rev" app that gets sublaunched off of a server > has a > button in it that does a: > > on mouseUp > save this stack > end mouseUp > > Shouldn't that save the Scheduler.rev app with any data that was changed? > It's not working for me. > > The docs for SAVE state: > > You cannot save to a standalone application's file; standalones are > read-only. > > However, I'm not saving the standalone application's file (that was the > launcher app) - - I'm actually saving the file that got sublaunched _from_ > that > standalone application. If I understand your question, the issue is how you are accessing the scheduler stack. When you use "go stack url..." you are loading the net-based stack into a local cache which is not a physical file on your drive that can be saved. A better route would be to first load the net-stack into a new file on your drive and then open that local file for executing/saving. Like: put url "http://myServer/myStack.rev" into \ url ("binfile:" & pathtonewlocalstack & "/stackName.rev") Note that the above will only save the stack locally; in order to save the drive back on the server, you need to FTP the local stack back to the server, which can be done from Rev but requires your server login info. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From hershbp at verizon.net Wed Jun 9 18:04:56 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Wed, 9 Jun 2004 18:04:56 -0400 Subject: crashing In-Reply-To: <20040609205154.48722.qmail@web60501.mail.yahoo.com> Message-ID: <0ACCD8B8-BA61-11D8-9BEF-0030654C1E62@verizon.net> On Wednesday, June 9, 2004, at 04:51 PM, Jan Schenkel wrote: > --- hershbp at verizon.net wrote: >> Sorry for not puting a subject >> Also I wanted to add while removing from memory a >> stack like the >> examples I mentioned below . >> On Wednesday, June 9, 2004, at 04:33 PM, >> hershbp at verizon.net wrote: >> >>> I'm wondering why 2.2 is crashing on almost like >> 1.1 ? >>> One example if I delete a very big group of >> buttons or a group of >>> buttons that is one on-top of another. >>> Thanks >>> > > Sometimes I wonder if I'm just lucky, or it's because > I do most of my development on Win2K ; but I use > Revolution all day and don't seem to bump into this > sort of problems. > > On what platform are you encountering these issues ? Looks like your lucky that your developing on a pc, I'm working on a Mac OSX 10.2.8 Also possible professionalism counts which I recently started to use RR with no programing experience except for FMp (intermediate) > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > > > > __________________________________ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://messenger.yahoo.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Wed Jun 9 18:15:49 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 09 Jun 2004 15:15:49 -0700 Subject: Can I save stack when called from stub application? In-Reply-To: Message-ID: Recently, "Scott Rossi" wrote: > Note that the above will only save the stack locally; in order to save the > drive back on the server, you need to FTP the local stack back to the > server, which can be done from Rev but requires your server login info. Correction: the above should read "...in order to save the local stack back on the server...". Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From alex at tweedly.net Wed Jun 9 19:11:53 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 10 Jun 2004 00:11:53 +0100 Subject: Transcript language design. Message-ID: <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> One of the things that is a bit of a hurdle for a "traditional language programmer" (like me) to overcome is the unusual syntax and verbosity of Transcript. I'm trying to convince myself that this will feel more natural if I just keep trying :-) Are there any "style" hints or suggestions to help with this ? I've spent today making "simple" changes to the tutorial scripts; the three issues that have occupied an embarrassingly large number of hours today have been 1. Simple script. put "something" into field1 Of course, what I meant was put "something" into field field1 so it was disappearing into an unintended local variable. When I finally spotted this, I decided I should turn on explicitVariables - but the documentation warns against doing this in development mode (I can't actually find this paragraph again - but there was definitely a paragraph about "this can help you find hard to debug problems. If you use this, you should use "Suspend Development Tools" to avoid confusion"). Does this really cause problems ? 2. String concatenation I had put URL "file:" & fileName into myVar of course, I meant put URL ("file:" & fileName) into myVar or similar. I don't think I've ever encountered a language where a valid expression could cause unwanted side-effects in an expression using only a single instance of an operator. Sigh. 3. Traditional programing style. I forgot myself and wrote a traditional line of code myVar = 1 when I meant put 1 into myVar OK, my error; but I sure wish the compiler could warn me when I write an expression and never use it (or something to catch my slips into traditional languages) Sorry if this email is too close to a "vent of frustration" - but I'd really like to find a way to use Rev without wasting so much time in the "gentle" learning curve. Any suggestions on programming style welcomed. -- Alex Tweedly. -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.699 / Virus Database: 456 - Release Date: 04/06/2004 From rcozens at pon.net Wed Jun 9 19:24:10 2004 From: rcozens at pon.net (Rob Cozens) Date: Wed, 9 Jun 2004 16:24:10 -0700 Subject: Transcript language design. In-Reply-To: <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> References: <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> Message-ID: >I'm trying to convince myself that this will feel more natural if I >just keep trying :-) Hi Alex, Check the List archives for February Re: "Is Transcript's English orientation a plus or minus?". Then ask some of those who expressed the same concerns then how they feel about it today. I believe the answer is, "it will begin to feel more natural, and at some point you will realize one can get a lot more done with a lot fewer statements using 'verbose' Transcript syntax than one can ever hope to accomplish using 'efficient' C syntax". -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From hershbp at verizon.net Wed Jun 9 19:35:10 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Wed, 9 Jun 2004 19:35:10 -0400 Subject: space and return Message-ID: Hi all, How do delete a space or return ? repeat for each line ml in fld "x" put fld "x" & return into myVar end repeat now the last char is a "return or space" how do I remove that ? "I don't want to remove all of them , just the last one" Thanks From erikhans08 at yahoo.com Wed Jun 9 19:49:48 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Wed, 9 Jun 2004 16:49:48 -0700 (PDT) Subject: Enough already! (VENT) In-Reply-To: Message-ID: <20040609234948.61316.qmail@web61101.mail.yahoo.com> --- Robert Brenstein wrote: > if one needs to vent their frustrations on > the list, we should be able to accept them > (the post should be tagged accordingly) > Some of such emails would be > better sent off-list > for more direct and somber discussion. !@#$%^&*()_+ ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From erikhans08 at yahoo.com Wed Jun 9 19:52:03 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Wed, 9 Jun 2004 16:52:03 -0700 (PDT) Subject: Enough already! (VENT) In-Reply-To: Message-ID: <20040609235203.91258.qmail@web61103.mail.yahoo.com> --- Robert Brenstein wrote: > if one needs to vent their frustrations on > the list, we should be able to accept them > (the post should be tagged accordingly) > Some of such emails would be > better sent off-list > for more direct and somber discussion. !":@#$%^&*()_+;'?! it Robert, why route useful information off-list? Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From revolution at knowledgeworks.plus.com Wed Jun 9 19:15:20 2004 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Thu, 10 Jun 2004 00:15:20 +0100 Subject: Need to highlight searching the list archives (was Documentation on expressions??) Message-ID: > And if you go to the list archives to check you are > not about to post > a FAQ you find they are not searchable... Whilst the list is searchable from the Mindlube URL that Jan gave, it is also searchable via Google. I know that whenever I find the documentation does not meet my needs (not to say that the information isn't there), I always search the group's archive for some assistance as my next action - I would say that I can easily find a solution this way 90% of the time. I know that it took me a little while to get used to searching via Google (and I always forget that the Mindlube search is available). I would like to suggest to support at runrev.com that they include a link to these mechanisms of searching this list within each of the emails that is sent to the group. Does anyone object to the such a URL being included as a footer to each email sent to this group? We don't want people being put off Rev because they can't find the information they need and are too hesitant to ask on this list, but I also don't want Runrev to make a change that irritates existing members. Regards, Bernard Devlin From erikhans08 at yahoo.com Wed Jun 9 19:56:02 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Wed, 9 Jun 2004 16:56:02 -0700 (PDT) Subject: ANN Props N2O In-Reply-To: <40C6A54F.1040605@chipp.com> Message-ID: <20040609235602.82902.qmail@web61107.mail.yahoo.com> --- Chipp Walters wrote: > I appreciate your sincere desire to create a > professional product. I'm > sorry if I'm sounding too..er..'Canadian.' ;-) isn't the Canadian somewhere up north in Oklahoma or thereabouts? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From erikhans08 at yahoo.com Wed Jun 9 20:03:32 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Wed, 9 Jun 2004 17:03:32 -0700 (PDT) Subject: Would like to convert some very useful HyperCard stacks In-Reply-To: Message-ID: <20040610000332.71493.qmail@web61109.mail.yahoo.com> > --- Dale Glaser wrote: > One of the professionals on > the list suggested a simple scheme where every > variable starts with "t". that sounds like tGaskin. uJacquie has recommmended compacting your HC stacks several times to flush the garbage out. Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From scott at tactilemedia.com Wed Jun 9 20:27:19 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 09 Jun 2004 17:27:19 -0700 Subject: Transcript language design. In-Reply-To: <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> Message-ID: Recently, "Alex Tweedly" wrote: > One of the things that is a bit of a hurdle for a "traditional language > programmer" (like me) to overcome is the unusual syntax and verbosity of > Transcript. I'm trying to convince myself that this will feel more natural > if I just keep trying :-) > > Are there any "style" hints or suggestions to help with this ? You may get many answers to this. For general reference, FourthWorld has a good scripting guide: http://www.fourthworld.com/embassy/articles/scriptstyle.html Otherwise, it's *usually* best to avoid assigning names to controls that include the control's type, are simple numbers, or reserved words. While these names are certainly possible, using descriptive names (ie field "myCoolData") will help you avoid scripting errors until you are more used to the language. For example, avoid naming a field "6" or "into". Controls must be referenced by their class and a name, number or id: put "hello" into field "my stuff" put "hello" into field 1 put "hello" into field id 1005 Control names and messages are usually referenced with double quotes to avoid confusion with variable names. put 20 into field "myStuff" send "myStuff" to button 9 put 20 into myStuff > 2. String concatenation > I had > put URL "file:" & fileName into myVar > of course, I meant > put URL ("file:" & fileName) into myVar > or similar. Generally, xtalk is a bit forgiving in syntax, but the above is one case where it's not (not sure why). When concatenating, it's usually best to employ parens to avoid possible ambiguity, similar to math expressions: put 2 * 4 + 5 into myVar is not the same as: put 2 * (4 + 5) into myVar > 3. Traditional programing style. > I forgot myself and wrote a traditional line of code > myVar = 1 > when I meant > put 1 into myVar > OK, my error; but I sure wish the compiler could warn me when I write an > expression and never use it (or something to catch my slips into > traditional languages) You should have seen an error come up when trying to apply the above within a script. In any event, it will be worth your while to get in the habit of using "put x into y" since this is the fundamental syntax of xtalk languages. However, you may find some solace in the similarity of declaring local variables in a script: on mouseUp local x=1,y=2,z=3 answer y end mouseUp Hope some of this helps. Keep at it. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Wed Jun 9 20:32:07 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Jun 2004 17:32:07 -0700 Subject: Need to highlight searching the list archives (wasDocumentation on expressions??) In-Reply-To: References: Message-ID: <40C7AC07.1010501@fourthworld.com> revolution at knowledgeworks.plus.com wrote: > Whilst the list is searchable from the Mindlube URL that Jan gave, it is > also searchable via Google. I know that whenever I find the documentation > does not meet my needs (not to say that the information isn't there), I > always search the group's archive for some assistance as my next action - > I would say that I can easily find a solution this way 90% of the time. I > know that it took me a little while to get used to searching via Google > (and I always forget that the Mindlube search is available). > > I would like to suggest to support at runrev.com that they include a link to > these mechanisms of searching this list within each of the emails that is > sent to the group. One more for the hopper: you can also execute list archive searches with the 4W RevListSearch plugin from my Rev page: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From marty at vertex.ucls.uchicago.edu Wed Jun 9 20:31:55 2004 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Wed, 9 Jun 2004 19:31:55 -0500 (CDT) Subject: Alpha Channel? In-Reply-To: <20040609230525.5B061930176@mail.runrev.com> References: <20040609230525.5B061930176@mail.runrev.com> Message-ID: > > Don't forget to > > set the lockLoc of img "myImage" to true > > when you're done so it won't 'revert back to it's original size' on > openCard. Why on earth does RR do this? It drives my students crazy. Why do you have to lock the size of an image to keep it the size you set it? Is this a feature or a bug? - marty -- Marty Billingsley (marty at ucls.uchicago.edu) The University of Chicago Laboratory Schools From ambassador at fourthworld.com Wed Jun 9 20:35:46 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Jun 2004 17:35:46 -0700 Subject: Alpha Channel? In-Reply-To: References: <20040609230525.5B061930176@mail.runrev.com> Message-ID: <40C7ACE2.2060207@fourthworld.com> Marty Billingsley wrote: > > >>Don't forget to >> >>set the lockLoc of img "myImage" to true >> >>when you're done so it won't 'revert back to it's original size' on >>openCard. > > > Why on earth does RR do this? It drives my students crazy. > Why do you have to lock the size of an image to keep it the size > you set it? Is this a feature or a bug? I find it useful: as with web pages, the default is to resize the image to its natural size. If you swap out the filename you still get a properly-sized image. Thankfully we have a choice: if you never want it to change just set the lockLoc once and forget it. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Wed Jun 9 20:41:34 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Jun 2004 17:41:34 -0700 Subject: Transcript language design. In-Reply-To: <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> References: <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> Message-ID: <40C7AE3E.7050909@fourthworld.com> Alex Tweedly wrote: > I had > put URL "file:" & fileName into myVar > of course, I meant > put URL ("file:" & fileName) into myVar > or similar. > > I don't think I've ever encountered a language where a valid expression > could cause unwanted side-effects in an expression using only a single > instance of an operator. Sigh. The operator is fine. The error you should have encountered was something to the effect of using a reserved word for a variable name. "fileName" is a property of media container objects like players and images, used to reference externally-stored media files. It's also a property of a mainStack, referring to the file it's associated with. As with more formal languages, a little Hungarian notation goes a long way, not only in making the nature of variables more distinct but also in avoiding conflicts with reserved words: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From wouter.abraham at pi.be Wed Jun 9 20:45:54 2004 From: wouter.abraham at pi.be (Wouter) Date: Thu, 10 Jun 2004 02:45:54 +0200 Subject: bug or feature? In-Reply-To: <20040609160019.CC9E893012C@mail.runrev.com> References: <20040609160019.CC9E893012C@mail.runrev.com> Message-ID: <8768B7B8-BA77-11D8-BDD7-003065CC999E@pi.be> On 09 Jun 2004, at 18:00, use-revolution-request at lists.runrev.com wrote: > Message: 8 > Date: Wed, 9 Jun 2004 09:03:51 -0600 > From: Dar Scott > On Jun 9, 2004, at 3:48 AM, Wouter wrote: > >> set the repeatCount of img "someName.gif" of stack "someNameTest"to >> -1 ### no space between the quote and "to" > > If this works the same as with the space there, then I'd call it a > feature. Without an xtalk spec, we can call it what we want, I > suppose. > > Dar Scott > It appears indeed to be a feature as the following also seems to work all right: set the repeatCount of img"someName.gif"of stack"someNameTest"to -1 Omitting a space before or after a quote seems to be ok for the engine or parser Hopefully the runrev people don't change this behavior anymore once one start using this style :^) Greetings, WA From bornstein at designeq.com Wed Jun 9 20:45:48 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Wed, 9 Jun 2004 20:45:48 -0400 Subject: space and return In-Reply-To: References: Message-ID: <83DF1C59-BA77-11D8-9157-000A95909E26@designeq.com> On Jun 9, 2004, at 7:35 PM, hershbp at verizon.net wrote: > Hi all, > How do delete a space or return ? > repeat for each line ml in fld "x" > put fld "x" & return into myVar > end repeat > now the last char is a "return or space" how do I remove that ? "I > don't want to remove all of them , just the last one" > Thanks Easy. Just say "delete the last character of myVar" I'm not sure what you're trying to do in this loop. You're putting the fld "X" into the same variable over and over. Is this what you wanted to do? Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From revolution at knowledgeworks.plus.com Wed Jun 9 21:01:26 2004 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Thu, 10 Jun 2004 02:01:26 +0100 Subject: Need to highlight searching the list archives Message-ID: >> One more for the hopper: you can also execute list archive searches with the 4W RevListSearch plugin from my Rev page: References: <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> Message-ID: <5.1.0.14.0.20040610023421.00acb5c8@mail.tweedly.net> At 17:41 09/06/2004 -0700, Richard Gaskin wrote: >Alex Tweedly wrote: > >>I had >> put URL "file:" & fileName into myVar >>of course, I meant >> put URL ("file:" & fileName) into myVar >>or similar. >>I don't think I've ever encountered a language where a valid expression >>could cause unwanted side-effects in an expression using only a single >>instance of an operator. Sigh. > >The operator is fine. > >The error you should have encountered was something to the effect of using >a reserved word for a variable name. "fileName" is a property of media >container objects like players and images, used to reference >externally-stored media files. It's also a property of a mainStack, >referring to the file it's associated with. Sorry - my fault for cleaning up the example before sending it. The real script had >> put URL "file:" & myVar into myVar The problem wasn't the clash with fileName - it was the non-obvious "binding" of concatenation. The statement I wrote is (I think) evaluated as URL "file:" - evaluates to the empty string & myVar - concatenated to myVar put .... into myVar - assign the result (i.e. the file name) into myVar when I was expecting "file:" & myVar - concatenate the strings URL "file:name.txt" - take that as a URL put ... into myVar - put the content of the file into myVar The reason I ascribed this to the operator is that Transcript is unique (in my experience) of allowing the flexibility to use keywords and operators at the same syntactic level - hence requiring the unwary programmer to remember the need to parenthesize accordingly. Concatenation is "normally" immune from the issues common in math type expressions (e.g. (2 + 4) * 5 ) because there are few string operators; traditional languages using libraries require the parens around the function calls so don't give you this particular piece of rope :-) Thanks again (everyone) for the encouragement. I'll read another couple of months worth of archives before my next post .... -- Alex. -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.699 / Virus Database: 456 - Release Date: 04/06/2004 From mwieder at ahsoftware.net Wed Jun 9 21:43:18 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 9 Jun 2004 18:43:18 -0700 Subject: Transcript language design. In-Reply-To: <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> References: <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> Message-ID: <11637648004.20040609184318@ahsoftware.net> Alex- Wednesday, June 9, 2004, 4:11:53 PM, you wrote: AT> 1. Simple script. AT> put "something" into field1 AT> Of course, what I meant was AT> put "something" into field field1 AT> so it was disappearing into an unintended local variable. Yup. I think many of us have been here before in starting out. Put quotes around any of the runrev objects and you'll stay out of trouble here. put "something" into field "field1" --no problem put "something" into "field1" --error AT> When I finally spotted this, I decided I should turn on explicitVariables - AT> but the documentation warns against doing this in development mode (I AT> can't actually find this paragraph again - but there was definitely a AT> paragraph about "this can help you find hard to debug problems. If you use AT> this, you should use "Suspend Development Tools" to avoid AT> confusion"). Does this really cause problems ? I always have explicitVariables turned on. I've read the warnings and I continue to ignore them. Even if I didn't have it turned on, I would always explicitly declare my variables. But I do think that whatever possible problems explicitVariables may cause are far outweighed by having the compiler catch some errors before they cause any real trouble. AT> I don't think I've ever encountered a language where a valid expression AT> could cause unwanted side-effects in an expression using only a single AT> instance of an operator. Sigh. ...I may be wrong, but I don't think I've ever encountered a language where this wasn't the case. Take, for example, in C the difference between = and ==. How many times have you typed if (c = 3) instead of if (c == 3) ? I've gotten into the C habit of writing if (3 == c) just to avoid those kinds of things. -- -Mark Wieder mwieder at ahsoftware.net From alex at tweedly.net Wed Jun 9 22:03:24 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 10 Jun 2004 03:03:24 +0100 Subject: Transcript language design. In-Reply-To: <11637648004.20040609184318@ahsoftware.net> References: <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> Message-ID: <5.1.0.14.0.20040610025120.023dc650@mail.tweedly.net> At 18:43 09/06/2004 -0700, Mark Wieder wrote: >Alex- > >Wednesday, June 9, 2004, 4:11:53 PM, you wrote: >Yup. I think many of us have been here before in starting out. Put >quotes around any of the runrev objects and you'll stay out of trouble >here. > > put "something" into field "field1" --no problem > put "something" into "field1" --error That's a good tip (from a few people). >I always have explicitVariables turned on. I've read the warnings and >I continue to ignore them. Even if I didn't have it turned on, I would >always explicitly declare my variables. But I do think that whatever >possible problems explicitVariables may cause are far outweighed by >having the compiler catch some errors before they cause any real >trouble. Cool! I'll turn it on and just keep an eye out for problems. >AT> I don't think I've ever encountered a language where a valid expression >AT> could cause unwanted side-effects in an expression using only a single >AT> instance of an operator. Sigh. > >...I may be wrong, but I don't think I've ever encountered a language >where this wasn't the case. Ummmmm - Algol ? FORTRAN ? Pascal ? C ? Python ? etc. I can't remember enough about Cobol and RPG, so I'll leave them out. (Is my age showing ? :-) > Take, for example, in C the difference >between = and ==. How many times have you typed > >if (c = 3) instead of if (c == 3) ? Often. But that's not a counter-example; that's an example of using the wrong operator and the language design not helping to spot it; not an example of using the correct operator, which is the problem here. As I said - it caught me out mostly because string operations are so unusual. >I've gotten into the C habit of writing > >if (3 == c) just to avoid those kinds of things. I did that for a year or so - then the difficulty of reading it got too much, so I stopped. After another year, I got so tired of making the mistake, I started it again. Then it got annoying, so I stopped, ..... eventually I just gave up writing C completely and moved into the modern world of scripting languages :-) -- Alex. -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.699 / Virus Database: 456 - Release Date: 04/06/2004 From kray at sonsothunder.com Wed Jun 9 22:23:15 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 9 Jun 2004 21:23:15 -0500 Subject: Can I save stack when called from stub application? In-Reply-To: Message-ID: <028a01c44e91$e6bd8120$6601a8c0@precision340> > > on openCard > > go to stack URL > > "http://area51.myofficenetwork.com/FTP/Studio_Review/Scheduler.rev" > > end openCard > > > > I've saved that application as a Standalone app for Mac OS > X. It works > > great. Now if my "Scheduler.rev" app that gets > sublaunched off of a server > > has a > > button in it that does a: > > > > on mouseUp > > save this stack > > end mouseUp > > > > Shouldn't that save the Scheduler.rev app with any data that was > > changed? It's not working for me. In addition to Scott's suggestion, the other thing you can do is give it a fileName. You see, when you load a stack into memory (either as a result of getting a stack from the web, or by cloning a stack), it doesn't have an actual filepath. In fact, if you amended your button to read: on mouseUp answer the fileName of this stack end mouseUP you'd note that you get nothing in your answer box. So to save the stack you first need to set a file name for it, and THEN save it. Like: on mouseUp set the fileName of this stack to "/Users/kenray/desktop/myStack.rev" save this stack end mouseUp HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From nnoydb at excite.com Wed Jun 9 22:44:43 2004 From: nnoydb at excite.com (K) Date: Wed, 9 Jun 2004 22:44:43 -0400 (EDT) Subject: Tasking (Background tasks)? Message-ID: <20040610024443.C5DACAFAD4@xprdmailfe5.nwk.excite.com> This is not something that easily use the send in time construct. I do not wish to waste the run-time a send in WAG requires. What is the approiate construct to use so that several very intense repeat loops will get equal time? I have been using wait for messages which did not function as I would have expected. It seems that wait for messages only allow "new" habdlers to proceed nut does not yeild control to a handler already running a repeat construct. Maybe this is a question I should ask of the RR support. Any ideas? Kevin NOTE: Might there be a doEvents type construct which would allow 2 routines in tight loops to execute? -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Wed 06/09, Brian Yennie < briany at qldlearning.com > wrote: From: Brian Yennie [mailto: briany at qldlearning.com] To: nnoydb at excite.com, use-revolution at lists.runrev.com Date: Wed, 9 Jun 2004 16:38:26 -0400 Subject: Re: Tasking (Background tasks)? Wait with messages is one option that will allow other messages to be
sent and executed. Another is to use "send" to process things in
chunks, such as:

on mouseUp
loadSomeData
end mouseUp

on loadSomeData
if (dataLoadingComplete() = TRUE) then
...
send "loadSomeData" to me in 50 milliseconds
end if
end loadSomeData

By using send, you are essentially "yielding" until the next message is
delivered, and you can specify how much time you want to give up- the
above example giving 50 milliseconds between chunks of processing. I've
never compared "send" to "wait with messages" directly, but I presume
"wait" will give you the tightest loop while "send" offers the most
flexibility.

HTH

> I realize that it is the accepted method of taking in the RR
> environment but I am wondering if there are not any simple cooperative
> multi-tasking constructs. I am loading a significant amount of data
> using a repeat loop I would like at the approiate time to yeild to any
> other tasks. Can I accomplish this by using wait for messages? Has
> someone already built cooperative tasking API or LIB? Is it even
> possible. Since using a WAG to dealy a function is contrary to many
> multi-tasking concepts.

_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From scott at tactilemedia.com Wed Jun 9 23:28:37 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 09 Jun 2004 20:28:37 -0700 Subject: Can I save stack when called from stub application? In-Reply-To: <028a01c44e91$e6bd8120$6601a8c0@precision340> Message-ID: Recently, "Ken Ray" wrote: > > on mouseUp > > save this stack > > end mouseUp > > > > Shouldn't that save the Scheduler.rev app with any data that was > > changed? It's not working for me. > the other thing you can do is give it a fileName. Where was I when they handed out this information? Another one of Ken's tips strikes again. Thanks dude :-) Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jacque at hyperactivesw.com Wed Jun 9 23:58:06 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 09 Jun 2004 22:58:06 -0500 Subject: Alpha Channel? In-Reply-To: References: <20040609230525.5B061930176@mail.runrev.com> Message-ID: <40C7DC4E.9060308@hyperactivesw.com> On 6/9/04 7:31 PM, Marty Billingsley wrote: > > >>Don't forget to >> >>set the lockLoc of img "myImage" to true >> >>when you're done so it won't 'revert back to it's original size' on >>openCard. > > > Why on earth does RR do this? It drives my students crazy. > Why do you have to lock the size of an image to keep it the size > you set it? Is this a feature or a bug? I used to wonder the same thing, but I think it's supposed to be a feature. It allows the image boundaries to automatically adjust to the content when you change its filename. If you think of an image as a self-adjusting container rather than a static object, it makes more sense. On the other hand, I'm not sure why it adjusts itself when you *don't* change the content. So maybe altering this behavior would be a good feature request. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarahr at genesearch.com.au Wed Jun 9 22:17:45 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 10 Jun 2004 12:17:45 +1000 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <40C60DA4.18A84@Club-Internet.fr> References: <00b801c44cc5$d1970460$6601a8c0@precision340> <371CF2B6-B907-11D8-AC3F-0003937A97B8@genesearch.com.au> <40C60DA4.18A84@Club-Internet.fr> Message-ID: <5C8BC510-BA84-11D8-853C-0003937A97B8@genesearch.com.au> >> Just to add to Ken's answer about data storage: >> The one-card-per-record method will get rather unwieldy and slow if >> you >> have 60,000 records. I wouldn't recommend that method for more than >> about 1000 records. >> Another very popular way is to use a single data field with one line >> per record, and each field in the record separated by some delimiter, >> usually tab. The whole field can be loaded into memory allowing very >> fast searching, sorting etc. >> Also, you might want to consider XML which saves your data externally >> in a file that can be read by many applications, but uses Rev's fast >> XML library for searching, editing etc. >> > > BTW, when do you guys decide to use an SQL database instead of a single > file loaded in memory of a flat-file database ? > Is it related to the number of records ? the number of items per > record ? > The complexity of the treatments to be done on the records ? > Simple - if it has to be multi-user, go for SQL. If it doesn't then Rev's internal mechanisms are more than adequate :-) Cheers, Sarah From themacguy at macosx.com Wed Jun 9 23:59:07 2004 From: themacguy at macosx.com (Barry Levine) Date: Wed, 9 Jun 2004 21:59:07 -0600 Subject: Transcript language design In-Reply-To: <20040609230525.977D9930178@mail.runrev.com> References: <20040609230525.977D9930178@mail.runrev.com> Message-ID: <854563FA-BA92-11D8-9B85-000A95763ABC@macosx.com> Alex, I'm only going to address the first item; others here will have plenty to say about the remaining items. I have learned to use quotes whenever possible in order to assist Rev to determine what I want it to do. To use your example: put "something" into field "field 1" ...leaves no room for doubt. I also try to rename my objects to indicate their intended purpose. Fields might be named: "textData" or "numData" or "theFirstName". Again, note the quotes and also note the practice of using capitals in the appropriate places to assist recognition. If you also use "smart names" for your variables you'll end up with transcript statements like this: put userEnteredName into field "theUserName" which tells you where you've been and where you're going, so to speak. I wrote my first programs in Business Basic and Commodore Basic. I moved to HyperCard and learned enough in two weeks to become productive. I'm not that smart; HyperTalk and Transcript share, among other things, three traits that I treasure: An extremely high level syntax about as close to plain English as you could wish, the availability of long object names, and the ability to deal with synonyms. This latter trait drives "traditional" programmers nuts. *grin* Regards, Barry On Jun 9, 2004, at 5:05 PM, Alex wrote: > From: Alex Tweedly > Subject: Transcript language design. > To: How to use Revolution > Message-ID: <5.1.0.14.0.20040609233118.023549e0 at pop3.btinternet.com> > Content-Type: text/plain; charset="us-ascii" > > > One of the things that is a bit of a hurdle for a "traditional language > programmer" (like me) to overcome is the unusual syntax and verbosity > of > Transcript. I'm trying to convince myself that this will feel more > natural > if I just keep trying :-) > > Are there any "style" hints or suggestions to help with this ? > > I've spent today making "simple" changes to the tutorial scripts; the > three > issues that have occupied an embarrassingly large number of hours today > have been > > 1. Simple script. > put "something" into field1 > Of course, what I meant was > put "something" into field field1 > so it was disappearing into an unintended local variable. From mwieder at ahsoftware.net Thu Jun 10 00:03:04 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 9 Jun 2004 21:03:04 -0700 Subject: Transcript language design. In-Reply-To: <5.1.0.14.0.20040610025120.023dc650@mail.tweedly.net> References: <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> <5.1.0.14.0.20040610025120.023dc650@mail.tweedly.net> Message-ID: <14846033512.20040609210304@ahsoftware.net> Alex- Wednesday, June 9, 2004, 7:03:24 PM, you wrote: AT> Often. But that's not a counter-example; that's an example of using the AT> wrong operator and the language design not helping to spot it; not an AT> example of using the correct operator, which is the problem here. As I said AT> - it caught me out mostly because string operations are so unusual. Trying your example of: myVar = 1 gives me: Type Expression: double binary operator Object Button 1 Line myVar = 1 Hint = I don't see where this falls into the category of "the language design not helping to spot it". Even with the buggy error handler. It's annoying, and I'm constantly typing stuff like this and having to correct myself, but it *does* get caught. -- -Mark Wieder mwieder at ahsoftware.net From themacguy at macosx.com Thu Jun 10 00:09:54 2004 From: themacguy at macosx.com (Barry Levine) Date: Wed, 9 Jun 2004 22:09:54 -0600 Subject: OT - OSX eye candy for Windows? Message-ID: <0716258A-BA94-11D8-9B85-000A95763ABC@macosx.com> One of my professors asked if there was a way he could make a Windows app look like an OSX app. He was referring to the shape and size of the app's title bar, the red/yellow/green widgets, and the shape and "glow" of on-screen buttons. He'd even like "metal" if that can be done. He's not looking for the hacks that XP users have implemented to make their PC look like OSX; rather, he'd like the app to give the OSX look even if the user is running it on W2K or an un-hacked XP. Can this be done with Rev? Are there third-party items that could be glommed into a Rev (or VB) project to accomplish this? If I can help him, it might mean a higher grade.... ;-) Thanks, Barry From jacque at hyperactivesw.com Thu Jun 10 00:24:46 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 09 Jun 2004 23:24:46 -0500 Subject: Tasking (Background tasks)? In-Reply-To: <20040610024443.C5DACAFAD4@xprdmailfe5.nwk.excite.com> References: <20040610024443.C5DACAFAD4@xprdmailfe5.nwk.excite.com> Message-ID: <40C7E28E.9060500@hyperactivesw.com> On 6/9/04 9:44 PM, K wrote: > > This is not something that easily use the send in time construct. I > do not wish to waste the run-time a send in WAG requires. What is > the approiate construct to use so that several very intense repeat > loops will get equal time? I have been using wait for messages which > did not function as I would have expected. It seems that wait for > messages only allow "new" habdlers to proceed nut does not yeild > control to a handler already running a repeat construct. Maybe this > is a question I should ask of the RR support. Any ideas? > > > Kevin > > NOTE: Might there be a doEvents type construct which would allow 2 > routines in tight loops to execute? Unfortunately there isn't a construct like that. RR isn't multi-threaded, so your only option is to fake it using send in time. There isn't usually much runtime impact with this method and you gain a lot of control. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarahr at genesearch.com.au Wed Jun 9 23:44:03 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 10 Jun 2004 13:44:03 +1000 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <354838248.20040608094500@variosoft.com> References: <354838248.20040608094500@variosoft.com> Message-ID: <6A7B8250-BA90-11D8-853C-0003937A97B8@genesearch.com.au> >>> Another very popular way is to use a single data field with one line >>> per record, and each field in the record separated by some delimiter, >>> usually tab. The whole field can be loaded into memory allowing very >>> fast searching, sorting etc. > > Sarah, can you point me to the Rev functions you would use for this? > Sounds like you are saying that Rev has Awk-like capabilities. This > has the merit of simplicity. But with up to 60,000 records, I would > have to test the speed and memory issues. > Supposing your complete data set is stored in a field called "Data" (or a text file), when you start your app, set a custom property e.g. set the cMyDataSet of this stack to field "Data" Now your data is held in memory so it is faster to access. I am assuming that your data is in a sort of spreadsheet format with rows & columns e.g. firstname lastname phone email notes How you handle it now really depends on what manipulations you want to do. To sort: put the cMyDataSet of this stack into tempVar set the itemdelimiter to tab sort lines of tempVar by item 2 of each -- sorts by lastname set the cMyDataSet of this stack to tempVar To filter: put the cMyDataSet of this stack into tempVar filter tempVar with "*Smith*" -- reduces list to only lines containing Smith If you want to set & retrieve data: put "Jones" into item 2 of line 65 of tempVar put item 3 of line 9999 of the cMyDataSet of this stack into tPhone If you are doing of lot of line-based access, convert the data set to an array using split put the cMyDataSet of this stack into tempArray split tempArray using cr Then you can get tempArray[59999] which will be much faster than getting line 59999 of tempVar It is difficult to be more specific without knowing exactly what format your data is in and how you want to manipulate it, but hopefully this has given you some ideas to start with. Cheers, Sarah From kray at sonsothunder.com Thu Jun 10 01:44:50 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 10 Jun 2004 00:44:50 -0500 Subject: OT - OSX eye candy for Windows? In-Reply-To: <0716258A-BA94-11D8-9B85-000A95763ABC@macosx.com> Message-ID: <02af01c44eae$1263e870$6601a8c0@precision340> Barry, you could do it completely by hand by creating graphics for everything and then setting the windowShape to your "OSX" window. This would chop off the Windows XP window decorations and border trims. Of course you'd have to do it all yourself, but it can be done... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Barry Levine > Sent: Wednesday, June 09, 2004 11:10 PM > To: use-revolution at lists.runrev.com > Subject: OT - OSX eye candy for Windows? > > > One of my professors asked if there was a way he could make a Windows > app look like an OSX app. He was referring to the shape and > size of the > app's title bar, the red/yellow/green widgets, and the shape > and "glow" > of on-screen buttons. He'd even like "metal" if that can be done. > > He's not looking for the hacks that XP users have implemented to make > their PC look like OSX; rather, he'd like the app to give the > OSX look > even if the user is running it on W2K or an un-hacked XP. > > Can this be done with Rev? Are there third-party items that could be > glommed into a Rev (or VB) project to accomplish this? > > If I can help him, it might mean a higher grade.... ;-) > > Thanks, > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Thu Jun 10 01:53:59 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 10 Jun 2004 00:53:59 -0500 Subject: OT - OSX eye candy for Windows? In-Reply-To: <0716258A-BA94-11D8-9B85-000A95763ABC@macosx.com> References: <0716258A-BA94-11D8-9B85-000A95763ABC@macosx.com> Message-ID: <40C7F777.2050802@chipp.com> Barry, You mean like this? http://www.altuit.com/webs/altuit2/AltuitImages/RenderGadget_big.jpg This is a Windows app which looks like OSX..and functions that way too. I've quickly created an interface stack you can examine. You can view it by typing into the message box: go URL "http://www.altuit.com/webs/altuit2/RunRev/macMetalLook.rev" or go to the bottom of page: http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm Apple Metal Look Interface Stack ng tricks to get the Mac OSX 'Metal' look and feel. The texture is a background pattern. The backgourn pattern is an image named "apple.png" on card 2 of the stack. A small transparent PNG img "applehilite" is stretched to cover the height and width of the window. Then the lockloc of it is set to true so it won't revert back to a smaller size. The stack decorations are set to empty and there's a mouseMove handler on the titlebar...which is an image "appletitlebar.png" stretched horizontally. Theres a transparent fill graphic with a black outline around the whole thing. Other stuff should be self explanatory. -Chipp Walters, Altuit, Inc. Barry Levine wrote: > One of my professors asked if there was a way he could make a Windows > app look like an OSX app. He was referring to the shape and size of the > app's title bar, the red/yellow/green widgets, and the shape and "glow" > of on-screen buttons. He'd even like "metal" if that can be done. From frank at backtalk.com Thu Jun 10 02:14:06 2004 From: frank at backtalk.com (Frank Leahy) Date: Thu, 10 Jun 2004 07:14:06 +0100 Subject: Tasking (Background tasks)? In-Reply-To: <20040610032712.1EC3C9301A5@mail.runrev.com> References: <20040610032712.1EC3C9301A5@mail.runrev.com> Message-ID: <60C8A333-BAA5-11D8-971E-000A9580FCCE@backtalk.com> On Jun 10, 2004, at 4:27 AM, use-revolution-request at lists.runrev.com wrote: > From: "K" > Subject: Re: Tasking (Background tasks)? > To: use-revolution at lists.runrev.com > Message-ID: <20040610024443.C5DACAFAD4 at xprdmailfe5.nwk.excite.com> > Content-Type: text/plain; charset="us-ascii" > > > > This is not something that easily use the send in time construct. I > do not wish to waste the run-time a send in WAG requires. What is the > approiate construct to use so that several very intense repeat loops > will get equal time? I have been using wait for messages which did > not function as I would have expected. It seems that wait for > messages only allow "new" habdlers to proceed nut does not yeild > control to a handler already running a repeat construct. Maybe this > is a question I should ask of the RR support. Any ideas? > > > Kevin > Kevin, There are no light-weight threads in RR, so there is no way to do what you want to do (it's too bad too, because it would be very useful). I suppose you could write your own pseudo-threading, but unless they're fairly simple tasks I doubt it would be worth the effort. Can you give an example of the kinds of tasks you're running, and why the first can't run to completion while the second waits? Presumably the final completion time will be the same (i.e. t1 + t2). -- Frank From xbury.cs at clearstream.com Thu Jun 10 02:46:18 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 10 Jun 2004 08:46:18 +0200 Subject: OT - OSX eye candy for Windows? Message-ID: Barry, I was working on a skin manager earlier. You can see it at work in my ClipperX stack Search it on http://monsieurx.com cheers Xavier On 10.06.2004 07:44:50 use-revolution-bounces wrote: >Barry, you could do it completely by hand by creating graphics for >everything and then setting the windowShape to your "OSX" window. This would >chop off the Windows XP window decorations and border trims. > >Of course you'd have to do it all yourself, but it can be done... > >Ken Ray >Sons of Thunder Software >Email: kray at sonsothunder.com >Web Site: http://www.sonsothunder.com/ > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Barry Levine >> Sent: Wednesday, June 09, 2004 11:10 PM >> To: use-revolution at lists.runrev.com >> Subject: OT - OSX eye candy for Windows? >> >> >> One of my professors asked if there was a way he could make a Windows >> app look like an OSX app. He was referring to the shape and >> size of the >> app's title bar, the red/yellow/green widgets, and the shape >> and "glow" >> of on-screen buttons. He'd even like "metal" if that can be done. >> >> He's not looking for the hacks that XP users have implemented to make >> their PC look like OSX; rather, he'd like the app to give the >> OSX look >> even if the user is running it on W2K or an un-hacked XP. >> >> Can this be done with Rev? Are there third-party items that could be >> glommed into a Rev (or VB) project to accomplish this? >> >> If I can help him, it might mean a higher grade.... ;-) >> >> Thanks, >> Barry >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From xbury.cs at clearstream.com Thu Jun 10 02:49:27 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 10 Jun 2004 08:49:27 +0200 Subject: Tasking (Background tasks)? Message-ID: Mr. K There is a way to do some limited threading with RR. The thing to do is to use the send "command" in x ms But I dont know about concurency within the IDE. what I know is that using the get url you can do more than one thing at a time... Hopefully this helps a little. You can also test multitasking using more than one IDE engine and using applescripts to talk between the two to distribute tasks much like a cluster would do. cheers Mr X On 10.06.2004 08:14:06 use-revolution-bounces wrote: >On Jun 10, 2004, at 4:27 AM, use-revolution-request at lists.runrev.com >wrote: > >> From: "K" >> Subject: Re: Tasking (Background tasks)? >> To: use-revolution at lists.runrev.com >> Message-ID: <20040610024443.C5DACAFAD4 at xprdmailfe5.nwk.excite.com> >> Content-Type: text/plain; charset="us-ascii" >> >> >> >> This is not something that easily use the send in time construct. I >> do not wish to waste the run-time a send in WAG requires. What is the >> approiate construct to use so that several very intense repeat loops >> will get equal time? I have been using wait for messages which did >> not function as I would have expected. It seems that wait for >> messages only allow "new" habdlers to proceed nut does not yeild >> control to a handler already running a repeat construct. Maybe this >> is a question I should ask of the RR support. Any ideas? >> >> >> Kevin >> > >Kevin, > >There are no light-weight threads in RR, so there is no way to do what >you want to do (it's too bad too, because it would be very useful). I >suppose you could write your own pseudo-threading, but unless they're >fairly simple tasks I doubt it would be worth the effort. > >Can you give an example of the kinds of tasks you're running, and why >the first can't run to completion while the second waits? Presumably >the final completion time will be the same (i.e. t1 + t2). > >-- Frank > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From scott at tactilemedia.com Thu Jun 10 04:32:27 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 10 Jun 2004 01:32:27 -0700 Subject: Tasking (Background tasks)? In-Reply-To: <60C8A333-BAA5-11D8-971E-000A9580FCCE@backtalk.com> Message-ID: > This is not something that easily use the send in time construct. I > do not wish to waste the run-time a send in WAG requires. What is the > approiate construct to use so that several very intense repeat loops > will get equal time? I have been using wait for messages which did > not function as I would have expected. You might try "wait with messages" instead, but this may depend on what you're processing. If you post a sample of what you're doing, someone may be able to offer a more specific suggestion. Also, this may or may not be of some use to you but here is a simple stack that demonstrates control over simultaneously running handlers -- quasi threads, in effect (enter the following in your message box): go url "http://www.tactilemedia.com/download/multi.rev" Using "send in..." each "thread" can be started and stopped independently of the others. See the card script for the main handler. As Jacqueline explained, this is one way to simulate threaded events. I included a bunch of variable processing to simulate the effect of large number crunching but again, I'm not sure what you're attempting to do. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From alex at tweedly.net Thu Jun 10 05:54:50 2004 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 10 Jun 2004 10:54:50 +0100 Subject: Transcript language design. In-Reply-To: <14846033512.20040609210304@ahsoftware.net> References: <5.1.0.14.0.20040610025120.023dc650@mail.tweedly.net> <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> <5.1.0.14.0.20040610025120.023dc650@mail.tweedly.net> Message-ID: <5.1.0.14.0.20040610103726.023e9328@mail.tweedly.net> At 21:03 09/06/2004 -0700, Mark Wieder wrote: >Alex- > >Wednesday, June 9, 2004, 7:03:24 PM, you wrote: > >AT> Often. But that's not a counter-example; that's an example of using the >AT> wrong operator and the language design not helping to spot it; not an >AT> example of using the correct operator, which is the problem here. As I >said >AT> - it caught me out mostly because string operations are so unusual. > >Trying your example of: >myVar = 1 >gives me: We're mixing examples here Mark. My comments about language and operators in particular string operators (from me) was about the URL "file:" & myVar example, not the traditional assignment one. >Type Expression: double binary operator >Object Button 1 >Line myVar = 1 >Hint = Yeah - it gives me that too :-( I think I was misunderstanding that error message - and by then I was just so frustrated I had to do something else before I had any chance of slowing down and thinking again. Or (clutching at straws) maybe I had actually written put myVar = 3 which doesn't give an error. >I don't see where this falls into the category of "the language design >not helping to spot it". Even with the buggy error handler. It's >annoying, and I'm constantly typing stuff like this and having to >correct myself, but it *does* get caught. It might be that the error handler was (or seemed to be) pointing at a different line, and that's why I was confused. No matter - I've had enough help and encouragement from you all that I'm back ready to give it another enthusiastic try .... and none of the issues finished up being Bugzilla entries (though I do have a list of those to enter when I've re-verified them :-) Thanks -- Alex. >-- >-Mark Wieder > mwieder at ahsoftware.net > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.699 / Virus Database: 456 - Release Date: 04/06/2004 -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.699 / Virus Database: 456 - Release Date: 04/06/2004 From graham.samuel at wanadoo.fr Thu Jun 10 05:10:48 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Thu, 10 Jun 2004 11:10:48 +0200 Subject: Documentation on expressions?? Message-ID: <6.1.0.6.2.20040610110306.01d65dc8@pop3.blueyonder.co.uk> At 20:14 09/06/2004 +0100, Geoff Caplan wrote: >Hi folks, > >Perhaps I'm just being dim, but I can't find anything in the >documentation about expressions & conditions. Keyword searching fails >to throw anything up, and there are no cross-references from the >control structure dict entries. Can anyone help me out here? I see several people are already trying to help Geoff, but I wonder whether he is asking a question that's been in the back of my mind since I first saw HyperCard - is there a formal description of the language (in RR's case, Transcript) anywhere to be found, so that we would know **exactly** what an expression is, what a condition is, what a chunk is, etc. and could therefore have the foundation of the ability to write correct code first time through? I think the answer is 'no' but people who are more into discussing xTalk in a wider context may contradict me. IMHO this lack of a formal description makes it easy to extend the language, but it reduces ease-of-use, or at least ease-of-introduction, for people who have been brought up in more academic environments. I've got used to it, but I must say I did make a huge number of simple syntactic mistakes and mistaken semantic assumptions for the first few months of xTalk use. This was in fact in SuperCard, which AFAIR is in pretty much the same state as RR when it comes to the lack of a formal language description. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From graham.samuel at wanadoo.fr Thu Jun 10 06:20:26 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Thu, 10 Jun 2004 12:20:26 +0200 Subject: Alpha Channel? Message-ID: <6.1.0.6.2.20040610114612.01c97160@pop3.blueyonder.co.uk> >On Wed, 09 Jun 2004 17:35:46 -0700, Richard Gaskin > wrote: [...] > > Why on earth does RR do this? It drives my students crazy. > > Why do you have to lock the size of an image to keep it the size > > you set it? Is this a feature or a bug? > >I find it useful: as with web pages, the default is to resize the image >to its natural size. If you swap out the filename you still get a >properly-sized image. > >Thankfully we have a choice: if you never want it to change just set the >lockLoc once and forget it. It drives me crazy too because it's not clear how you turn off the 'revert to original' feature permanently, for example if you want to repurpose the image entirely and completely lose the original size. I mean, if I'd altered the shape of an image in a graphics package, I wouldn't expect the 'original size' to haunt me forever, would I? I don't see an original size as a 'natural' size; it's just what I started with, neither more nor less. As I see it, a resized image is a new image, and the idea that the system has a mysterious way of retaining its history is eccentric to say the least. What if I duplicated it seven times and make each of the dupes a different size, and then made each of the dupes part of a shape-changing animation, moving between the new size of the dupe and some other size dictated by the animation (this is an extension of a real case)? The way things are now, I'd have to use an external package to do all these transformations. I'd like it so if I wanted the history, I could save it myself - otherwise transformations should stay transformed. BTW I am not convinced that the lockLoc feature works completely in all situations - at least I've had some problems with editing groups (by script) which contain resized images. I admit that these were too obscure to chase down into proper Bugzilla reports. Just my 2 eurocents as ever Grahay --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From edmccabe at cox.net Thu Jun 10 08:53:16 2004 From: edmccabe at cox.net (Edward McCabe) Date: Thu, 10 Jun 2004 08:53:16 -0400 Subject: Subject: Re: Would like to convert some very useful HyperCard stacks Message-ID: > One of the professionals on > the list suggested a simple scheme where every > variable starts with "t". that sounds like tGaskin. uJacquie has recommmended compacting your HC stacks several times to flush the garbage out. Erik Hansen Actually it was tken tray! Ed From heather at runrev.com Thu Jun 10 09:17:44 2004 From: heather at runrev.com (Heather Nagey) Date: Thu, 10 Jun 2004 14:17:44 +0100 Subject: Need to highlight searching the list archives (was Documentation on expressions??) In-Reply-To: <20040610032712.1EC3C9301A5@mail.runrev.com> Message-ID: > I would like to suggest to support at runrev.com that they include a link to > these mechanisms of searching this list within each of the emails that is > sent to the group. The google link does already appear at the head of every digest. How many people feel that is not sufficient? Regards, Heather -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From FlexibleLearning at aol.com Thu Jun 10 09:27:13 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 10 Jun 2004 09:27:13 EDT Subject: The Scripter's Scrapbook Message-ID: <105.48b648ca.2df9bbb1@aol.com> Version 4 of The Scripter's Scrapbook is now in progress. Following feedback, it will sport a new interface, include direct link Internet searches and support enhance Drag & Drop for folder and document icons. - What else would you like implemented? - What would make it a 'Must have' for you? - What aspects would you change or improve? As there is no fee or registration for The Scripter's Scrapbook, we rely in turn on your own goodwill for feedback, comments and reviews. Please go to _http://www.FlexibleLearning.com/ssBkFeedback.htm_ (http://www.FlexibleLearning.com/ssBkFeedback.htm) It is a tick-box form so should be very quick to submit and no personal details are recorded except to give you the courtesy of a reply. Thank you all in advance! /H _________________________________________________ Hugh Senior The Flexible Learning Company Consultant Programming & Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: _mailto:h at flexibleLearning.com_ (mailto:admin at flexibleLearning.com) Web: _www.flexibleLearning.com_ (http://www.flexiblelearning.com/) From fdy at mcc.org Thu Jun 10 09:30:58 2004 From: fdy at mcc.org (Fred D Yocum) Date: Thu, 10 Jun 2004 09:30:58 -0400 Subject: Can RevRun do this? In-Reply-To: <40C77608.9080309@chipp.com> Message-ID: It looks like there is consensus that I can do what I need to do in Revolution. I just need to find the time to do it ! >Certainly it can! In fact, I've been planning on creating a templatized >"PrintGadget" which does just what you say and more (next free time I >have that is!) F D Yocum Graphic Designer Mennonite Central Committee From FlexibleLearning at aol.com Thu Jun 10 09:36:46 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 10 Jun 2004 09:36:46 EDT Subject: Alpha Channel? Message-ID: >On Wed, 09 Jun 2004 17:35:46 -0700, Richard Gaskin > wrote: [...] > > Why on earth does RR do this? It drives my students crazy. > > Why do you have to lock the size of an image to keep it the size > > you set it? Is this a feature or a bug? > >I find it useful: as with web pages, the default is to resize the image >to its natural size. If you swap out the filename you still get a >properly-sized image. This is 'normal' behaviour for me also, and follows the same principle as MSWord for example. Permanent cropping, rotating and resizing should be a separate 'editing' feature. Simply changing the display is, in my view, transitory only. 2p /H From malte.brill at t-online.de Thu Jun 10 09:44:40 2004 From: malte.brill at t-online.de (Malte Brill) Date: Thu, 10 Jun 2004 15:44:40 +0200 Subject: Online Highscore CGI In-Reply-To: <20040610132554.A069D930154@mail.runrev.com> Message-ID: Hi List, I need an online Highscore System for the new Mini Game I am creating. (I will put the non-protected gamestack on my HP when it is finished) The CGI needs to generate a Top Ten List on a Webpage that will automatically Update. The Browser should only display the score and the name, but also store (invisible) additional details of the user (Real name, email adress). Game users should be able to fill in a form in my Gamestack, this data should be posted to the CGI, compare if the Players points is in the Top ten, if so update the top ten list else display something like "Sorry, you?re not good enough." It should be also possible to display the top ten list in the browser when clicking on a link so I guess it?ll need 2 CGIs on for comparison, one for display... It is my belief that this a good job for a rev CGI and I have a way in mind to code it, but as I need it very fast, I ask for help here. I also can offer a (small) amount of money if someone is willing to help me with the creation. Best, Malte From geoff at advantae.com Thu Jun 10 09:49:59 2004 From: geoff at advantae.com (Geoff Caplan) Date: Thu, 10 Jun 2004 14:49:59 +0100 Subject: Documentation on expressions?? In-Reply-To: <6.1.0.6.2.20040610110306.01d65dc8@pop3.blueyonder.co.uk> References: <6.1.0.6.2.20040610110306.01d65dc8@pop3.blueyonder.co.uk> Message-ID: <353871552.20040610144959@variosoft.com> Hi folks, Graham Samuel wrote: GS> ... I wonder whether he is asking a question that's been in the GS> back of my mind since I first saw HyperCard - is there a formal GS> description of the language (in RR's case, Transcript) anywhere to GS> be found, so that we would know **exactly** what an expression is, GS> what a condition is, what a chunk is, etc. and could therefore GS> have the foundation of the ability to write correct code first GS> time through? Well said. Something readable though - not a formal grammar. Here's a good example of how it should be done: http://www.php.net/manual/en/langref.php Usable and with lots of examples. It's preceded by a simple tutorial, so newbies can get some context before reading it, and followed by the formal function dictionary. Making the manual editable by the community is a master-stroke: PHP was one of the first projects to do it, and the notes are often invaluable. I know from experience that the excellent manual is a major factor in the incredible success of PHP over the last few years. Hopefully, RunRev are listening. ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From rogerguay at centurytel.net Thu Jun 10 09:53:25 2004 From: rogerguay at centurytel.net (Roger Guay) Date: Thu, 10 Jun 2004 06:53:25 -0700 Subject: Grid and Grab . . . In-Reply-To: <20040609230525.75F6D930177@mail.runrev.com> References: <20040609230525.75F6D930177@mail.runrev.com> Message-ID: <8B080572-BAE5-11D8-B652-000393A1CAAA@centurytel.net> Thanks, Jan. I came up with a similar solution about 5 minutes after I posted my question (Don't you hate when that happens?). I kept the Grab command on mouseDown and wrote a script on mouseUp that does the kind of math you propose. Works OK but results in a slightly different user experience. Cheers, Roger > Hi Roger, > > As you know from trying, the 'grab' command doesn't > take the grid settings into account, so you could > either enter an enhancement request in Bugzilla ; or > you could roll your own grab command, based on the > following quick-and-dirty example : > -- > local sDragging > on mouseDown > put true into sDragging > end mouseDown > on mouseUp > put false into sDragging > end mouseUp > on mouseRelease > put false into sDragging > end mouseRelease > on mouseMove x,y > ## only react while we're dragging > if sDragging is not "true" then pass mouseMove > ## suppose we have a 10x10 grid, recalc x and y > put (x DIV 10) * 10 into tX > put (y DIV 10) * 10 into tY > ## update the location > set the location of me to tX,tY > end mouseMove From frank at backtalk.com Thu Jun 10 10:34:01 2004 From: frank at backtalk.com (Frank Leahy) Date: Thu, 10 Jun 2004 15:34:01 +0100 Subject: lockLoc [was Re: Alpha Channel?] In-Reply-To: <20040610132554.5CE42930151@mail.runrev.com> References: <20040610132554.5CE42930151@mail.runrev.com> Message-ID: <3763B30D-BAEB-11D8-971E-000A9580FCCE@backtalk.com> Graham, >>> Why on earth does RR do this? It drives my students crazy. >>> Why do you have to lock the size of an image to keep it the size >>> you set it? Is this a feature or a bug? >> Whenever you change an image (via fileName or import), the issue for RunRev is what to do about the image object's size (notice I said "image object" not "image"). Should it stay the height and width that it is currently on screen? Or should it be resized to the formatted height and width of the new image that it's going to display? lockLoc is the hint that tells RR what to do. Personally I never use lockLoc, always resizing the images I need on the fly, and in your case it sounds like you need more control, and so you might not want to set lockLoc. But imagine a stack of many cards, each with dozens of thumbnails, all pointing to different images on disk. Without lockLoc, a programmer would have to resize each image on every openCard rather than having them stay the size they were set at. > > It drives me crazy too because it's not clear how you turn off the > 'revert > to original' feature permanently, for example if you want to repurpose > the > image entirely and completely lose the original size. There are two types of image, ones you set via the fileName property, and ones you set via the import command. They are similar, but subtly different. For example, you can't use the clipping command on fileName images. But one way they're the same is that both types of images retain their original or "formatted" height and width when you resize them. When you set an image object's height and width, you're not resizing the original image (the one on disk), you're resizing the "RunRev image object" which happens to have a copy of your image's data in it. If you want that new image height and width to be permanent, you will need to rewrite the image data to disk, and the way to do that is via the export command. > I mean, if I'd > altered the shape of an image in a graphics package, I wouldn't expect > the > 'original size' to haunt me forever, would I? Of course you would. In Photoshop, until you hit Save, and save over the original file, you have access to the original image through undo, or the Revert to Saved menu item. Right? You'd be very very upset if Photoshop threw away your original data just because you resized the image. > I don't see an original size > as a 'natural' size; it's just what I started with, neither more nor > less. > As I see it, a resized image is a new image, and the idea that the > system > has a mysterious way of retaining its history is eccentric to say the > least. The original pixels are in the image object, and you can scale it up or down at any time. Would you really want RunRev to throw away the original image data because you scaled the image down to 100,100? What if you wanted to scale it up to 250,250, and then back down again, or wanted to animate it? Do you want to have to reload the image from disk for each size change? > What if I duplicated it seven times and make each of the dupes a > different size, and then made each of the dupes part of a > shape-changing > animation, moving between the new size of the dupe and some other size > dictated by the animation (this is an extension of a real case)? The > way > things are now, I'd have to use an external package to do all these > transformations. Each image object will have its own copy of the pixels and each image object can be resized to a different size without impacting the other objects. > > I'd like it so if I wanted the history, I could save it myself - > otherwise > transformations should stay transformed. They do stay transformed, until one of two things happens. One, if you change the image object via the fileName or import commands, or two, if you leave the card and return. When you return to a card, RR uses the lockLoc property as a hint about how to size the image object as it redraws the screen ("hmmm, do I use the image size, or do I use the image object size?"). > BTW I am not convinced that the > lockLoc feature works completely in all situations - at least I've had > some > problems with editing groups (by script) which contain resized images. > I > admit that these were too obscure to chase down into proper Bugzilla > reports. > Sorry, I can't help you with that as I don't use the feature for images. -- Frank From bobnelson at mac.com Thu Jun 10 10:57:23 2004 From: bobnelson at mac.com (Bob Nelson) Date: Thu, 10 Jun 2004 07:57:23 -0700 Subject: HOLY COW, BATMAN!!! Message-ID: A HUGE Thank You to Phil Davis and Richard Gaskin for your response to "Not Shy..." Richard - I took your code, pretty much un-altered, added a progress bar to the page, and executed the same job on the same 140k lines of text. 25 seconds. Total. Needless to say, I nearly fell out of my chair, onto the floor, in the throes of ecstasy. I think I'll be headed over to the Revolution site now and paying my money to become a Platinum supporter or something. I think this is going to work out well! Okay, so has anybody got any pointers for existing code someone has used to dispose of HTML from a web page? Thanks! Bob From RGould8 at aol.com Thu Jun 10 11:19:45 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu, 10 Jun 2004 11:19:45 EDT Subject: Can I save stack when called from stub application? Message-ID: <15.2b0b2d2d.2df9d611@aol.com> This is all fantastic info - - - now just so I understand, if I want the changes to get saved back to the server, I have to have Revolution FTP the file back up, as opposed to doing a set the filename of this stack to "http://myserver/path/scheduler.rev" In a message dated 6/9/04 10:26:59 PM, kray at sonsothunder.com writes: > In addition to Scott's suggestion, the other thing you can do is give it a > fileName. You see, when you load a stack into memory (either as a result of > getting a stack from the web, or by cloning a stack), it doesn't have an > actual filepath. In fact, if you amended your button to read: > > on mouseUp > ? answer the fileName of this stack > end mouseUP > > you'd note that you get nothing in your answer box. So to save the stack you > first need to set a file name for it, and THEN save it. Like: > > on mouseUp > ? set the fileName of this stack to "/Users/kenray/desktop/myStack.rev" > ? save this stack > end mouseUp > > HTH, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > From JaysLists at triad.rr.com Thu Jun 10 11:20:55 2004 From: JaysLists at triad.rr.com (Jay Madren) Date: Thu, 10 Jun 2004 11:20:55 -0400 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <6A7B8250-BA90-11D8-853C-0003937A97B8@genesearch.com.au> Message-ID: Sarah, Why do you need to use a custom property? Couldn't you just do it all in a local or global variable? I figure you have a reason(s), but I'm not experienced enough in RR to know the ramifications of variables versus custom properties. Thanks, Jay Madren -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Sarah Reichelt Sent: Wednesday, June 09, 2004 23:44 To: Geoff Caplan; How to use Revolution Subject: Re: Capabilities: RTF editing, Graphs, flat-file database >>> Another very popular way is to use a single data field with one line >>> per record, and each field in the record separated by some delimiter, >>> usually tab. The whole field can be loaded into memory allowing very >>> fast searching, sorting etc. > > Sarah, can you point me to the Rev functions you would use for this? > Sounds like you are saying that Rev has Awk-like capabilities. This > has the merit of simplicity. But with up to 60,000 records, I would > have to test the speed and memory issues. > Supposing your complete data set is stored in a field called "Data" (or a text file), when you start your app, set a custom property e.g. set the cMyDataSet of this stack to field "Data" Now your data is held in memory so it is faster to access. I am assuming that your data is in a sort of spreadsheet format with rows & columns e.g. firstname lastname phone email notes How you handle it now really depends on what manipulations you want to do. To sort: put the cMyDataSet of this stack into tempVar set the itemdelimiter to tab sort lines of tempVar by item 2 of each -- sorts by lastname set the cMyDataSet of this stack to tempVar To filter: put the cMyDataSet of this stack into tempVar filter tempVar with "*Smith*" -- reduces list to only lines containing Smith If you want to set & retrieve data: put "Jones" into item 2 of line 65 of tempVar put item 3 of line 9999 of the cMyDataSet of this stack into tPhone If you are doing of lot of line-based access, convert the data set to an array using split put the cMyDataSet of this stack into tempArray split tempArray using cr Then you can get tempArray[59999] which will be much faster than getting line 59999 of tempVar It is difficult to be more specific without knowing exactly what format your data is in and how you want to manipulate it, but hopefully this has given you some ideas to start with. Cheers, Sarah _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From gizmotron at earthlink.net Thu Jun 10 11:25:46 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 10 Jun 2004 08:25:46 -0700 Subject: HOLY COW, BATMAN!!! In-Reply-To: Message-ID: <71F4C0D8-BAF2-11D8-987C-000A95859272@earthlink.net> Another happy user goes batso! On Thursday, June 10, 2004, at 07:57 AM, Bob Nelson wrote: > Okay, so has anybody got any pointers for existing code someone has > used to > dispose of HTML from a web page? > > Thanks! > > Bob I always thought an executable website works best if it is set up like a java applet that crashes the browser... :-) That's always been my favorite. Welcome to the revolution. ..."the revolution will not be televised." Mark From geoff at advantae.com Thu Jun 10 11:32:15 2004 From: geoff at advantae.com (Geoff Caplan) Date: Thu, 10 Jun 2004 16:32:15 +0100 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <6A7B8250-BA90-11D8-853C-0003937A97B8@genesearch.com.au> References: <354838248.20040608094500@variosoft.com> <6A7B8250-BA90-11D8-853C-0003937A97B8@genesearch.com.au> Message-ID: <1904683009.20040610163215@variosoft.com> Sarah, Many thanks for the very detailed advice. Much appreciated. I will try out your ideas once I get up to speed with Transcript... ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From malte.brill at t-online.de Thu Jun 10 11:54:09 2004 From: malte.brill at t-online.de (Malte Brill) Date: Thu, 10 Jun 2004 17:54:09 +0200 Subject: Online Highscore CGI [command+z] In-Reply-To: <20040610132554.A069D930154@mail.runrev.com> Message-ID: Need to hit the undo button. I just found out that no custom CGIs are allowed on that server. Need to switch to PHP then or run the engine on another server... >It is my belief that this a good job for a rev CGI and I have a way in mind to >code it, but as I need it very fast, I ask for help here. I also can offer a >(small) amount of money if someone is willing to help me with the creation. Best, Malte From kray at sonsothunder.com Thu Jun 10 12:10:08 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 10 Jun 2004 11:10:08 -0500 Subject: Can I save stack when called from stub application? In-Reply-To: <15.2b0b2d2d.2df9d611@aol.com> Message-ID: <033001c44f05$6cb616c0$6601a8c0@precision340> > This is all fantastic info - - - now just so I understand, if > I want the > changes to get saved back to the server, I have to have > Revolution FTP the file > back up, as opposed to doing a > > set the filename of this stack to "http://myserver/path/scheduler.rev" Right. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From frank at backtalk.com Thu Jun 10 12:25:27 2004 From: frank at backtalk.com (Frank Leahy) Date: Thu, 10 Jun 2004 17:25:27 +0100 Subject: Documentation on expressions?? In-Reply-To: <20040610160017.33B2A930151@mail.runrev.com> References: <20040610160017.33B2A930151@mail.runrev.com> Message-ID: On Jun 10, 2004, at 5:00 PM, use-revolution-request at lists.runrev.com wrote: > Date: Thu, 10 Jun 2004 14:49:59 +0100 > From: Geoff Caplan > Subject: Re[2]: Documentation on expressions?? > To: How to use Revolution > Message-ID: <353871552.20040610144959 at variosoft.com> > Content-Type: text/plain; charset=us-ascii > > Hi folks, > > Graham Samuel wrote: > > GS> ... I wonder whether he is asking a question that's been in the > GS> back of my mind since I first saw HyperCard - is there a formal > GS> description of the language (in RR's case, Transcript) anywhere to > GS> be found, so that we would know **exactly** what an expression is, > GS> what a condition is, what a chunk is, etc. and could therefore > GS> have the foundation of the ability to write correct code first > GS> time through? > > Well said. Something readable though - not a formal grammar. Here's a > good example of how it should be done: > > http://www.php.net/manual/en/langref.php > > Usable and with lots of examples. It's preceded by a simple tutorial, > so newbies can get some context before reading it, and followed by the > formal function dictionary. > > Making the manual editable by the community is a master-stroke: PHP > was one of the first projects to do it, and the notes are often > invaluable. > > I know from experience that the excellent manual is a major factor in > the incredible success of PHP over the last few years. > > Hopefully, RunRev are listening. > I have suggested the same thing several times over the past year, using both the php and mysql online docs as examples, and there has been a deafening silence from the RR team. So no, don't look for user additions to the docs any time soon. (And don't be surprised if the usual parties pipe up that you can use Google to seach this list...which isn't the same thing at all). -- Frank From marty at vertex.ucls.uchicago.edu Thu Jun 10 12:26:56 2004 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Thu, 10 Jun 2004 11:26:56 -0500 (CDT) Subject: Alpha Channel? In-Reply-To: <20040610160015.A020F930179@mail.runrev.com> References: <20040610160015.A020F930179@mail.runrev.com> Message-ID: > [...] > > > Why on earth does RR do this? It drives my students crazy. > > > Why do you have to lock the size of an image to keep it the size > > > you set it? Is this a feature or a bug? > > > >I find it useful: as with web pages, the default is to resize the image > >to its natural size. If you swap out the filename you still get a > >properly-sized image. > > > > This is 'normal' behaviour for me also, and follows the same principle as > MSWord for example. Permanent cropping, rotating and resizing should be a > separate 'editing' feature. Simply changing the display is, in my view, > transitory only. Eh? When I insert an image into MS Word, crop it and/or resize it, and then quit or go to another document or something, when I come back the image is the same size as I left it. Only in RR have I seen images revert to the original size when you leave the document (or card) and then return to it. I'm still confused as to why this isn't the expected behavior. - marty From soapdog at mac.com Thu Jun 10 12:27:13 2004 From: soapdog at mac.com (Andre Garzia) Date: Thu, 10 Jun 2004 13:27:13 -0300 Subject: Tasking (Background tasks)? In-Reply-To: <20040609201652.6E3DFB732@xprdmailfe19.nwk.excite.com> References: <20040609201652.6E3DFB732@xprdmailfe19.nwk.excite.com> Message-ID: <07D2C88C-BAFB-11D8-B5BE-0003936D012E@mac.com> On Jun 9, 2004, at 5:16 PM, K wrote: > I have read the Messages Mechanics stack and have a few questions. > > I realize that it is the accepted method of taking in the RR > environment but I am wondering if there are not any simple cooperative > multi-tasking constructs. I am loading a significant amount of data > using a repeat loop I would like at the approiate time to yeild to any > other tasks. Can I accomplish this by using wait for messages? Has > someone already built cooperative tasking API or LIB? Is it even > possible. Since using a WAG to dealy a function is contrary to many > multi-tasking concepts. > > Kevin, I know it might be killing a fly with a tomahawk, but, you can create two standalone stacks, one will do the loading and preparation of the data, the other will serve as client, you can create your own protocol for communication, or use LibIPC or even use my revHTTPd framework. Like a thin client for your pleasure and a working horse behind... don't know what you're doing and this might be more work than waiting for the loop. If you're doing some scientific computing thingie or data mining stuff, this might be a good way to go, a network-savvy number crunching stack and a thin client... This are my two brazilian-cents, (they should ammount to 0,0053 euro-cents! :D) > Kevin > > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From troy at rpsystems.net Thu Jun 10 12:40:24 2004 From: troy at rpsystems.net (Troy Rollins) Date: Thu, 10 Jun 2004 12:40:24 -0400 Subject: Documentation on expressions?? In-Reply-To: References: <20040610160017.33B2A930151@mail.runrev.com> Message-ID: On Jun 10, 2004, at 12:25 PM, Frank Leahy wrote: > I have suggested the same thing several times over the past year, > using both the php and mysql online docs as examples, and there has > been a deafening silence from the RR team. So no, don't look for user > additions to the docs any time soon. (And don't be surprised if the > usual parties pipe up that you can use Google to seach this > list...which isn't the same thing at all). I'm happy to return to this list in time to tell you that you are completely incorrect. ;-) -- Troy RPSystems, Ltd. http://www.rpsystems.net From marty at vertex.ucls.uchicago.edu Thu Jun 10 12:43:49 2004 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Thu, 10 Jun 2004 11:43:49 -0500 (CDT) Subject: lockLoc [was Re: Alpha Channel?] In-Reply-To: <20040610160015.A020F930179@mail.runrev.com> References: <20040610160015.A020F930179@mail.runrev.com> Message-ID: > Frank Leahy writes: > > I'd like it so if I wanted the history, I could save it myself - > > otherwise > > transformations should stay transformed. > > They do stay transformed, until one of two things happens. One, if you > change the image object via the fileName or import commands, or two, if > you leave the card and return. When you return to a card, RR uses the > lockLoc property as a hint about how to size the image object as it > redraws the screen ("hmmm, do I use the image size, or do I use the > image object size?"). This is what seems counterintuitive to me. Why not have a "revert" command somewhere in the propery inspector so that you can get the original image back if you want. But RR shouldn't keep changing it back to the original size just 'cos I went to a different card and came back! Is there any other software that really works in this manner? Photoshop, for example, keeps track of the original dimensions so you can revert or step back in history. Web editing software, of course, doesn't touch the original image, but if you resize a picture, that resized image stays on your web page. Somebody mentioned MS Word, but it, too, behaves as I would expect. - marty -- Marty Billingsley (marty at ucls.uchicago.edu) The University of Chicago Laboratory Schools From userev at canelasoftware.com Thu Jun 10 12:56:44 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 10 Jun 2004 09:56:44 -0700 Subject: lockLoc [was Re: Alpha Channel?] In-Reply-To: References: <20040610160015.A020F930179@mail.runrev.com> Message-ID: <27444B0C-BAFF-11D8-91A2-000393C3F5BC@canelasoftware.com> On Jun 10, 2004, at 9:43 AM, Marty Billingsley wrote: > Is there any other software that really works in this manner? > Photoshop, for example, keeps track of the original dimensions > so you can revert or step back in history. Web editing software, > of course, doesn't touch the original image, but if you resize a > picture, that resized image stays on your web page. Somebody > mentioned MS Word, but it, too, behaves as I would expect. A long time ago MC used to handle images the way you wanted. When you sized the image down, it would lose the original data. Sizing the image back up would cause pixilation. I requested as probably many others did to have the data retained after resizing. This made making desktop publishing like apps easier to produce. The side effect of the feature request was that you needed to lockloc the image after it was sized down. Is only a single line of code. I think there are times when you would like to size an image and lose the original data for memory purposes. Suppose you have an image viewer that shows thumbnails. To implement that today, you would have to take a screenshot of the sized down image and toss the original from memory. If it really matters to someone, a quick jump to bugzilla for a feature request might be to have both sizing features as an option. While there, maybe all images that are imported should have their lockloc set to true automatically. This sounds like it would meet most users needs without breaking anyones code. Those that have their apps setting this property after importing could take it out for cleanliness. -- Best regards, Mark Talluto http://www.canelasoftware.com From jacque at hyperactivesw.com Thu Jun 10 13:40:36 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Jun 2004 12:40:36 -0500 Subject: Documentation on expressions?? In-Reply-To: <6.1.0.6.2.20040610110306.01d65dc8@pop3.blueyonder.co.uk> References: <6.1.0.6.2.20040610110306.01d65dc8@pop3.blueyonder.co.uk> Message-ID: <40C89D14.7000904@hyperactivesw.com> On 6/10/04 4:10 AM, Graham Samuel wrote: > I see several people are already trying to help Geoff, but I wonder > whether he is asking a question that's been in the back of my mind since > I first saw HyperCard - is there a formal description of the language > (in RR's case, Transcript) anywhere to be found, so that we would know > **exactly** what an expression is, what a condition is, what a chunk is, > etc. and could therefore have the foundation of the ability to write > correct code first time through? The standard documentation for this sort of thing is Danny Goodman's "HyperCard 2.2 Handbook". It is now out of print, but occasionally a copy shows up used on various web auctions or book sites. The book is focused toward those who are just beginning with the language and it thoroughly explains all the syntax and constructs. It also has many chapters related exclusively to HyperCard's IDE but the general ideas are readily transferable to other programs. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jun 10 13:56:53 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Jun 2004 12:56:53 -0500 Subject: Can RevRun do this? In-Reply-To: References: Message-ID: <40C8A0E5.1040104@hyperactivesw.com> On 6/10/04 8:30 AM, Fred D Yocum wrote: > It looks like there is consensus that I can do what I need to do in > Revolution. I just need to find the time to do it ! No problem. Launch Rev, create the following handler, and run it continuously in the background: on idle global mySecs add the seconds to mySecs end idle This will very rapidly increase the value of "mySecs" to an astronomical number whenever you aren't doing anything else. When you need more time, you can just borrow from that variable as much as you require. If my calculations are correct, you could accumulate quite a few extra days at a very rapid rate. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From FlexibleLearning at aol.com Thu Jun 10 14:29:31 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 10 Jun 2004 14:29:31 EDT Subject: The Scripter's Scrapbook, addendum Message-ID: <1f0.22d22ec8.2dfa028b@aol.com> Apologies if you could not access the page previously posted... This link is in the correct case, should your browser need it: _http://www.flexiblelearning.com/ssbkFeedback.htm_ (http://www.flexiblelearning.com/ssbkFeedback.htm) Version 4 of The Scripter's Scrapbook is now in progress. Following feedback, it will sport a new interface, include direct link Internet searches and support enhance Drag & Drop for folder and document icons. - What else would you like implemented? - What would make it a 'Must have' for you? - What aspects would you change or improve? As there is no fee or registration for The Scripter's Scrapbook, we rely in turn on your own goodwill for feedback, comments and reviews. It is a tick-box form so should be very quick to submit and no personal details are recorded except to give you the courtesy of a reply. Thank you all in advance! /H _________________________________________________ Hugh Senior The Flexible Learning Company Consultant Programming & Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: _mailto:h at flexibleLearning.com_ (mailto:admin at flexibleLearning.com) Web: _www.flexibleLearning.com_ (http://www.flexiblelearning.com/) From FlexibleLearning at aol.com Thu Jun 10 14:33:20 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 10 Jun 2004 14:33:20 EDT Subject: Grid and Grab . . . Message-ID: An alternative from The Scripter's Scrapbook... on mouseDown put "10" into tGridSize # Adjust as you wish repeat until the mouse is up if the shiftKey="down" then set the loc of the target to snapLoc(the mouseLoc,tGridSize) else set the loc of the target to the mouseLoc end repeat end mouseDown function snapLoc ml,n put round((item 1 of ml/n))*n into a put round((item 2 of ml/n))*n into b return a&","&b end snapLoc /H _________________________________________________ Hugh Senior The Flexible Learning Company Consultant Programming & Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: _mailto:h at flexibleLearning.com_ (mailto:admin at flexibleLearning.com) Web: _www.flexibleLearning.com_ (http://www.flexiblelearning.com/) From revolution at jaedworks.com Thu Jun 10 15:00:41 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Thu, 10 Jun 2004 12:00:41 -0700 Subject: Need to highlight searching the list archives (was Documentation on expressions??) In-Reply-To: References: Message-ID: At 2:17 PM +0100 6/10/2004, Heather Nagey wrote: > > I would like to suggest to support at runrev.com that they include a link to >> these mechanisms of searching this list within each of the emails that is >> sent to the group. > >The google link does already appear at the head of every digest. How many >people feel that is not sufficient? Some emailers don't display headers, so those people may not see it (or it may be there, but unavailable until you "Show All Headers" or some such, so they may not realize it exists). Would it be possible to put a link or Google-search box on the archives page, or the main mailing list page? That way you wouldn't have to clutter the footer with another line. -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Thu Jun 10 14:55:27 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Thu, 10 Jun 2004 11:55:27 -0700 Subject: HOLY COW, BATMAN!!! In-Reply-To: References: Message-ID: At 7:57 AM -0700 6/10/2004, Bob Nelson wrote: >Okay, so has anybody got any pointers for existing code someone has used to >dispose of HTML from a web page? Here's part of my reply to your Sunday message, which you may not have seen: At 11:05 AM -0700 6/10/2004, Jeanne A. E. DeVoto wrote: >By the way, it's simple to strip HTML using the HTMLText property: > > -- myData contains HTML: > set the HTMLText of field "Holder" to myData > put the text of field "Holder" into myData > -- myData now contains just the text -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From mwieder at ahsoftware.net Thu Jun 10 15:34:04 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 10 Jun 2004 12:34:04 -0700 Subject: Transcript language design. In-Reply-To: <5.1.0.14.0.20040610103726.023e9328@mail.tweedly.net> References: <5.1.0.14.0.20040610025120.023dc650@mail.tweedly.net> <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> <5.1.0.14.0.20040609233118.023549e0@pop3.btinternet.com> <5.1.0.14.0.20040610025120.023dc650@mail.tweedly.net> <5.1.0.14.0.20040610103726.023e9328@mail.tweedly.net> Message-ID: <348791010.20040610123404@ahsoftware.net> Alex- Thursday, June 10, 2004, 2:54:50 AM, you wrote: AT> We're mixing examples here Mark. My comments about language and operators AT> in particular string operators (from me) was about the URL "file:" & AT> myVar example, not the traditional assignment one. My bad. I caught that one after I had already sent out the email. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jun 10 15:41:04 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 10 Jun 2004 12:41:04 -0700 Subject: Can RevRun do this? In-Reply-To: References: Message-ID: <1879211395.20040610124104@ahsoftware.net> Fred- Thursday, June 10, 2004, 6:30:58 AM, you wrote: FDY> It looks like there is consensus that I can do what I need to do in FDY> Revolution. I just need to find the time to do it ! If you find a good source of free time please post the url to the list, as I could use some myself... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jun 10 15:44:55 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 10 Jun 2004 12:44:55 -0700 Subject: HOLY COW, BATMAN!!! In-Reply-To: References: Message-ID: <1679442497.20040610124455@ahsoftware.net> Bob- Thursday, June 10, 2004, 7:57:23 AM, you wrote: BN> Okay, so has anybody got any pointers for existing code someone has used to BN> dispose of HTML from a web page? There have been recent discussions of this, so check out the archives for the last month or so. Meanwhile, take a look at the documentation of htmlText. If I understand your question properly, that's the key to stripping non-text items from a web page. -- -Mark Wieder mwieder at ahsoftware.net From katir at hindu.org Thu Jun 10 16:06:55 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 10 Jun 2004 10:06:55 -1000 Subject: HOLY COW, BATMAN!!! In-Reply-To: References: Message-ID: No turning back now... ;-) just fyi, most of us rev users would consider 25 seconds to process 140 lines of text as very slow... Of course I never use progress bars. I've processed 2meg files of raw text mailing lists (loaded into a variable of course -- close to 20M lines) doing similar "clean ups" of empty lines and other garbage... in under 5 seconds. And, yes, several of us also fell out of our chairs the first time we saw this. I wonder if the replace (cr& cr) with cr would be even faster? I'm interested because I'm about to embark on a major text re-purposing job here... where I will be loaded a series of files one after another and then executing the code and writing out the data again to the same file (copies of originals) On Jun 10, 2004, at 4:57 AM, Bob Nelson wrote: > executed the same job on the same 140k lines of text. 25 > seconds. Total. Needless to say, I nearly fell out of my chair, onto > the > floor, in the throes of ecstasy. From hershbp at verizon.net Thu Jun 10 16:07:42 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Thu, 10 Jun 2004 16:07:42 -0400 Subject: last kw Message-ID: Hi all, I'm wordering why when I'm creating a group with , do "group" &myVar and setting its name using set the name of the last group to "abc" and then when I'm creating another group the same way right after it , it renames the first group with the second name meaning that both groups have the same name ? Thanks From troy at rpsystems.net Thu Jun 10 16:16:36 2004 From: troy at rpsystems.net (Troy Rollins) Date: Thu, 10 Jun 2004 16:16:36 -0400 Subject: HOLY COW, BATMAN!!! In-Reply-To: References: Message-ID: <13302A16-BB1B-11D8-8F65-000A95A09CF8@rpsystems.net> On Jun 10, 2004, at 4:06 PM, Sannyasin Sivakatirswami wrote: > just fyi, most of us rev users would consider 25 seconds > to process 140 lines of text as very slow... How about the 140,000 lines he *is* doing? I think that is still pretty good. -- Troy RPSystems, Ltd. http://www.rpsystems.net From MFitz53 at comcast.net Thu Jun 10 17:03:40 2004 From: MFitz53 at comcast.net (Mike) Date: Thu, 10 Jun 2004 17:03:40 -0400 Subject: Problem Message-ID: <40C8CCAC.90906@comcast.net> Not to wish any bad luck on anyone, but I'm hoping someone on this list has experienced this problem and can help. Having read here that one could possible clear up the vague error reports by reinstalling RR, I uninstalled it,defragged, and reinstalled the Studio Version of RR 2.2. I have the installer on another drive, so it wasn't downloaded and subject to a new unlock code. Now it will not accept my unlock code. I have done this before with no problem using the same installer I have on kept on another drive with the same code( but not since the code expired). Nothing has changed except the expiration of the unlock code( that I am aware of). From hershbp at verizon.net Thu Jun 10 17:28:15 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Thu, 10 Jun 2004 17:28:15 -0400 Subject: last kw In-Reply-To: Message-ID: <156D1F7D-BB25-11D8-9BEF-0030654C1E62@verizon.net> got it. On Thursday, June 10, 2004, at 04:07 PM, hershbp at verizon.net wrote: > Hi all, > I'm wordering why when I'm creating a group with , do "group" &myVar > and setting its name using set the name of the last group to "abc" and > then when I'm creating > another group the same way right after it , it renames the first group > with the second name meaning that both groups have the same name ? > Thanks > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Thu Jun 10 17:50:10 2004 From: b.xavier at internet.lu (MisterX) Date: Thu, 10 Jun 2004 23:50:10 +0200 Subject: HOLY COW, BATMAN!!! In-Reply-To: <13302A16-BB1B-11D8-8F65-000A95A09CF8@rpsystems.net> Message-ID: without wanting to plug in shamelessly... try the discrete browser... it cleans html from any source, strips empty lines, formats tables into tabstops strips unnecessary tags, images, and more... It's quite fast too without even trying! No progress bar required! http://monsieurx.com/modules.php?name=News&file=article&sid=142 and yes, I drive a batmobile and my gfriend is catwoman - no BS! ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Troy > Rollins > Sent: Thursday, June 10, 2004 22:17 > To: How to use Revolution > Subject: Re: HOLY COW, BATMAN!!! > > > > On Jun 10, 2004, at 4:06 PM, Sannyasin Sivakatirswami wrote: > > > just fyi, most of us rev users would consider 25 seconds > > to process 140 lines of text as very slow... > > How about the 140,000 lines he *is* doing? > > I think that is still pretty good. > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From bobnelson at mac.com Thu Jun 10 18:06:42 2004 From: bobnelson at mac.com (Bob Nelson) Date: Thu, 10 Jun 2004 15:06:42 -0700 Subject: Uhhhh... No? Yes? In-Reply-To: <20040610160017.33B2A930151@mail.runrev.com> Message-ID: I'm not sure what the answer to your retort should be. My problem is that there are some websites that spew forth data at an alarming rate that I need to pull the raw data back out -- and use it for other nefarious purposes. That said, having a way to clean the grabbed page and return it to something more useful (like a database) will make the information useful to me -- not composed in some fashion by a government web-site in a form they think should be digestable to the rest of "us." Java. Not. Bob > Another happy user goes batso! > > On Thursday, June 10, 2004, at 07:57 AM, Bob Nelson wrote: > >> Okay, so has anybody got any pointers for existing code someone has >> used to >> dispose of HTML from a web page? >> >> Thanks! >> >> Bob > > I always thought an executable website works best if it is set up like > a java applet that crashes the browser... :-) That's always been my > favorite. > > Welcome to the revolution. ..."the revolution will not be televised." > > Mark -- I'm so depressed. My doctor refused to write me a prescription for Viagra. He said it would be like putting a new flagpole on a condemned building. From bobnelson at mac.com Thu Jun 10 18:25:18 2004 From: bobnelson at mac.com (Bob Nelson) Date: Thu, 10 Jun 2004 15:25:18 -0700 Subject: Stupid question time (again) Message-ID: Okay, so I'm looking at buying in to "the Revolution." (Darn, they've got me doing it now...) If I want to develop but have it run on multiple platforms (Mac OS X and Win 2k or XP) but I'm only going to develop under OS X, do I want a single studio or a studio 2 or will Express meet my needs? (They need to do a little better job explaining the differences at the site -- hint, hint) and should I be searching for a promo code in some special place to save a few bucks, or should I just go for the Enterprise edition and quit whining... Heh, heh, heh... Bob From gizmotron at earthlink.net Thu Jun 10 18:54:19 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 10 Jun 2004 15:54:19 -0700 Subject: Problem In-Reply-To: <40C8CCAC.90906@comcast.net> Message-ID: <1B241D4E-BB31-11D8-A76D-000A95859272@earthlink.net> On Thursday, June 10, 2004, at 02:03 PM, Mike wrote: > Not to wish any bad luck on anyone, but I'm hoping someone on this > list has experienced this problem and can help. > Having read here that one could possible clear up the vague error > reports by reinstalling RR, I uninstalled it,defragged, and > reinstalled the Studio Version of RR 2.2. I have the installer on > another drive, so it wasn't downloaded and subject to a new unlock > code. Now it will not accept my unlock code. I'm willing to bet the Bat Cave that the access code has some groovy cryptic max-zoomed-dweeby trick to it that includes the date. Try turning back the date on your bat computer and then enter your old access key with the older version you saved of the installer. Now if Revolution is counting the seconds somewhere this might not work to well. It never occurred to me that this might be a problem. Mark From gizmotron at earthlink.net Thu Jun 10 18:57:56 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 10 Jun 2004 15:57:56 -0700 Subject: HOLY COW, BATMAN!!! In-Reply-To: Message-ID: <9D05A900-BB31-11D8-A76D-000A95859272@earthlink.net> On Thursday, June 10, 2004, at 02:50 PM, MisterX wrote: > It's quite fast too without even trying! No progress bar required! > > http://monsieurx.com/modules.php?name=News&file=article&sid=142 > > and yes, I drive a batmobile and my gfriend is catwoman - no BS! ;) > > cheers > Xavier Yeah, but I wanted a progress bar. I would love to see some example code of a progress bar downloading text, images, or other media from the internet. gone batso, mark From gizmotron at earthlink.net Thu Jun 10 19:04:10 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 10 Jun 2004 16:04:10 -0700 Subject: Stupid question time (again) In-Reply-To: Message-ID: <7B73F9D3-BB32-11D8-A76D-000A95859272@earthlink.net> On Thursday, June 10, 2004, at 03:25 PM, Bob Nelson wrote: > go for the Enterprise edition and quit whining... > > Heh, heh, heh... > > Bob Go for the Enterprise edition and really start whining... I found that developing the final version of a standalone on the native OS is best for creating standalone apps for any OS. just my 2-cents Mark From hershbp at verizon.net Thu Jun 10 19:11:51 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Thu, 10 Jun 2004 19:11:51 -0400 Subject: Stupid question time (again) In-Reply-To: Message-ID: <8E2D06EC-BB33-11D8-9BEF-0030654C1E62@verizon.net> On Thursday, June 10, 2004, at 06:25 PM, Bob Nelson wrote: > Okay, so I'm looking at buying in to "the Revolution." (Darn, they've > got > me doing it now...) > > If I want to develop but have it run on multiple platforms (Mac OS X > and Win > 2k or XP) but I'm only going to develop under OS X, do I want a single > studio or a studio 2 or will Express meet my needs? (They need to do a > little better job explaining the differences at the site -- hint, > hint) and > should I be searching for a promo code in some special place to save a > few > bucks, or should I just go for the Enterprise edition and quit > whining... Well, if prefer whining ,no problem...... But the best thing is the enterprise edition, to make sure on every platform itself its the way you want it to be e.g. a font change button relocate minors but ..... makes it more professional . > > Heh, heh, heh... > > Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Thu Jun 10 19:19:18 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 11 Jun 2004 09:19:18 +1000 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: References: Message-ID: <9914D322-BB34-11D8-853C-0003937A97B8@genesearch.com.au> Yes, you could certainly use a persistent variable, either global or script local. The advantage of a custom property is that it can be saved as part of the stack and it can be accessed by any object without declaration. It is really a matter of personal preference - I tend to use custom properties for important data and globals or script locals for anything that can be reset without any great disaster. This just keeps the different types of data clear in my mind. There is no right or wrong in this case, just various options :-) Cheers, Sarah On 11 Jun 2004, at 1:23 am, Jay Madren wrote: > Sarah, > > Why do you need to use a custom property? Couldn't you just do it all > in a > local or global variable? I figure you have a reason(s), but I'm not > experienced enough in RR to know the ramifications of variables versus > custom properties. > > Thanks, > Jay Madren > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Sarah > Reichelt > Sent: Wednesday, June 09, 2004 23:44 > To: Geoff Caplan; How to use Revolution > Subject: Re: Capabilities: RTF editing, Graphs, flat-file database > > >>>> Another very popular way is to use a single data field with one line >>>> per record, and each field in the record separated by some >>>> delimiter, >>>> usually tab. The whole field can be loaded into memory allowing very >>>> fast searching, sorting etc. >> >> Sarah, can you point me to the Rev functions you would use for this? >> Sounds like you are saying that Rev has Awk-like capabilities. This >> has the merit of simplicity. But with up to 60,000 records, I would >> have to test the speed and memory issues. >> > Supposing your complete data set is stored in a field called "Data" (or > a text file), when you start your app, set a custom property e.g. set > the cMyDataSet of this stack to field "Data" > Now your data is held in memory so it is faster to access. > > I am assuming that your data is in a sort of spreadsheet format with > rows & columns > e.g. firstname lastname phone email notes > > How you handle it now really depends on what manipulations you want to > do. > To sort: > put the cMyDataSet of this stack into tempVar > set the itemdelimiter to tab > sort lines of tempVar by item 2 of each -- sorts by lastname > set the cMyDataSet of this stack to tempVar > > To filter: > put the cMyDataSet of this stack into tempVar > filter tempVar with "*Smith*" -- reduces list to only lines containing > Smith > > If you want to set & retrieve data: > put "Jones" into item 2 of line 65 of tempVar > put item 3 of line 9999 of the cMyDataSet of this stack into tPhone > > If you are doing of lot of line-based access, convert the data set to > an array using split > put the cMyDataSet of this stack into tempArray > split tempArray using cr > > Then you can get tempArray[59999] which will be much faster than > getting line 59999 of tempVar > > It is difficult to be more specific without knowing exactly what format > your data is in and how you want to manipulate it, but hopefully this > has given you some ideas to start with. > > Cheers, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From gizmotron at earthlink.net Thu Jun 10 19:21:08 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 10 Jun 2004 16:21:08 -0700 Subject: Uhhhh... No? Yes? In-Reply-To: Message-ID: On Thursday, June 10, 2004, at 03:06 PM, Bob Nelson wrote: > I'm not sure what the answer to your retort should be. Your answer should be "shut up with the wise cracks you idiot." I was joking about disposing of HTML from a web page. Many here understood what you meant by your question. > My problem is that there are some websites that spew forth data at an > alarming rate that I need to pull the raw data back out -- and use it > for > other nefarious purposes. That said, having a way to clean the > grabbed page > and return it to something more useful (like a database) will make the > information useful to me -- not composed in some fashion by a > government > web-site in a form they think should be digestable to the rest of "us." > > Java. Not. > > Bob Java does a fine job of disposing of a website sometimes. You of course couldn't have meant disposing of the code that displays a webpage on that page's server and I knew that. So if you want to see what I've done about extracting code fragments from web pages then look for pull-parser and MTML in the archives of this list. I created some handlers that pull portions of text, tag sets, out of text documents. here: http://mindlube.com/cgi-bin/search-use-rev.cgi This is a great place to search the archives for topical information already discussed. Mark From gizmotron at earthlink.net Thu Jun 10 19:34:11 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 10 Jun 2004 16:34:11 -0700 Subject: Stupid question time (again) In-Reply-To: <7B73F9D3-BB32-11D8-A76D-000A95859272@earthlink.net> Message-ID: On Thursday, June 10, 2004, at 04:04 PM, Mark Brownell wrote: > On Thursday, June 10, 2004, at 03:25 PM, Bob Nelson wrote: > >> go for the Enterprise edition and quit whining... >> >> Heh, heh, heh... >> >> Bob > > Go for the Enterprise edition and really start whining... This means get the Enterprise edition because it is the best solution. "and really start whining..." means be happy, whine if you want too... have it all, have your cake and eat it too. I better come up with a joke handler. batso,mb From michaell at unimelb.edu.au Thu Jun 10 20:28:36 2004 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Fri, 11 Jun 2004 10:28:36 +1000 Subject: Alpha Channel? Message-ID: You CAN permanently re-size an image with only a little bit of indirection. Make the image the size you want, then make a new image and type these two lines in the message box: set the rect of image 2 to the rect of image 1 set the imageData of image 2 to the imageData of image 1 Now image 2 has its "natural" size set to its current size. Go to another card in the stack and return and you will find image 1 has reverted to its inital size but image 2 has stayed just how you want it. (It works because the imageData is the pixels as displayed, not the pixels at the original image size.) Hope that helps. Graham wrote: >It drives me crazy too because it's not clear how you turn off the 'revert >to original' feature permanently, for example if you want to repurpose the >image entirely and completely lose the original size. I mean, if I'd >altered the shape of an image in a graphics package, I wouldn't expect the >'original size' to haunt me forever, would I? I don't see an original size >as a 'natural' size; it's just what I started with, neither more nor less. -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From marty at vertex.ucls.uchicago.edu Thu Jun 10 20:28:39 2004 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Thu, 10 Jun 2004 19:28:39 -0500 (CDT) Subject: lockLoc [was Re: Alpha Channel?] In-Reply-To: <20040610220529.5873E9301CA@mail.runrev.com> References: <20040610220529.5873E9301CA@mail.runrev.com> Message-ID: Mark Talluto writes: > > On Jun 10, 2004, at 9:43 AM, Marty Billingsley wrote: > > > Is there any other software that really works in this manner? > > Photoshop, for example, keeps track of the original dimensions > > so you can revert or step back in history. Web editing software, > > of course, doesn't touch the original image, but if you resize a > > picture, that resized image stays on your web page. Somebody > > mentioned MS Word, but it, too, behaves as I would expect. > > A long time ago MC used to handle images the way you wanted. When you > sized the image down, it would lose the original data. Sizing the > image back up would cause pixilation. I requested as probably many > others did to have the data retained after resizing. This made making > desktop publishing like apps easier to produce. The side effect of the > feature request was that you needed to lockloc the image after it was > sized down. Is only a single line of code. Would it be too much to ask Rev to remember the original image date (i.e., all the pixels) *and* the resizing that I did? inDesign seems to do this, even if you don't keep the image file as an external reference. I don't know how Word handles it. Add to my user interface wish list for RR. :-) - marty -- Marty Billingsley (marty at ucls.uchicago.edu) The University of Chicago Laboratory Schools From revolution at knowledgeworks.plus.com Thu Jun 10 21:20:11 2004 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Fri, 11 Jun 2004 02:20:11 +0100 Subject: Displaying Foreign Web Pages Message-ID: (Apologies to those for whom non-European languages are not foreign!) I am preparing an application that will manipulate HTML text that is supplied in multiple languages. However, in trying to understand how this works in Rev, I'm kind of confused. First of all, if I have a web page written in e.g. a combination of English and an asian character set (such as Thai) and my browser (either Internet Explorer, Firefox or even the embedded browser inside Lotus Notes) displays the Thai characters just fine. I do have Thai language accessibility options installed on Windows XP (through Control Panel), so maybe this will not for those who do not do that. If I view the source of these web pages, the Thai is displayed in amongst the HTML, even in an application as simple as Notepad. However, what confuses me is why I cannot get Rev to display a page in Thai. Take http://www.google.co.th. Issuing the instruction answer URL "http://www.google.co.th" displays the page as styled text, but the Thai characters are replaced with inappropriate Roman characters. Furthermore, if I just put the URL into a field to see the HTML that makes up the page, these inappropriate Roman characters are there too in the HTML. But if I copy the HTML from Notepad, and paste it into a field in Rev, the Thai characters appear within the HTML just as they do in Notepad. I see from the list's archives that people have been using unicodeText and htmlText in various ways to manipulate non-Roman character sets, but I can't seem to get either to work even in this simple example. Here's what I did: I saved the Google page locally and tried to use the unicodeText/binfile combination with: set the unicodeText of field "field 1" to URL "binfile:c:\temp\google.htm" as per the Transcript dictionary entry on unicodeText. This loads the html from the local file, but the Thai characters have been subsituted for square blocks (Notepad can still display this local file with Thai characters intact). I tried to use htmlText to set the contents of a second field to the HTML (with Thai) that I successfully pasted into a Rev field, but that gave me a result similar to answer URL "http://www.google.co.th" I am sure that since there are several people who have written about these issues on the list before, we can at least nail a simple example like this, that others can use to build up when dealing with non-Roman character sets. The fundamental problem seems to be that Rev cannot read the Thai characters from a file or URL, but can display them when they are copied over from the clipboard. Regards, Bernard From troy at rpsystems.net Thu Jun 10 21:24:50 2004 From: troy at rpsystems.net (Troy Rollins) Date: Thu, 10 Jun 2004 21:24:50 -0400 Subject: Alpha Channel? In-Reply-To: References: Message-ID: <2288F62D-BB46-11D8-B4A8-000A95A09CF8@rpsystems.net> On Jun 10, 2004, at 8:28 PM, Michael J. Lew wrote: > You CAN permanently re-size an image with only a little bit of > indirection. > > Make the image the size you want, then make a new image and type these > two lines in the message box: > > set the rect of image 2 to the rect of image 1 > set the imageData of image 2 to the imageData of image 1 > > Now image 2 has its "natural" size set to its current size. Go to > another card in the stack and return and you will find image 1 has > reverted to its inital size but image 2 has stayed just how you want > it. > > (It works because the imageData is the pixels as displayed, not the > pixels at the original image size.) Timely info. Having just returned to working in Rev, this is one of the things I need to do in my current project. I didn't see it as a big problem, but expected to have to do a little experimentation. Now it's covered. Thanks. -- Troy RPSystems, Ltd. http://www.rpsystems.net From troy at rpsystems.net Thu Jun 10 21:31:18 2004 From: troy at rpsystems.net (Troy Rollins) Date: Thu, 10 Jun 2004 21:31:18 -0400 Subject: Displaying Foreign Web Pages In-Reply-To: References: Message-ID: <0959955F-BB47-11D8-B4A8-000A95A09CF8@rpsystems.net> On Jun 10, 2004, at 9:20 PM, revolution at knowledgeworks.plus.com wrote: > The fundamental problem seems to be that Rev cannot read > the Thai characters from a file or URL, but can display them when they > are > copied over from the clipboard. I have no idea if Thai is unicode formatted, but I assume you've tried setting the text field as "unicodetext", right? -- Troy RPSystems, Ltd. http://www.rpsystems.net From nnoydb at excite.com Thu Jun 10 22:07:24 2004 From: nnoydb at excite.com (K) Date: Thu, 10 Jun 2004 22:07:24 -0400 (EDT) Subject: Passing handles and information fork() Message-ID: <20040611020724.01A38B6D4@xprdmailfe14.nwk.excite.com> I have very liitle experience with RR and multi-processing. So, I would like to know if is possible (as with c++, python and perl) to pass socket descriptors to child processes? Is there a method to get the socket layer handle (this would allow a fork style operation)? Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From kray at sonsothunder.com Thu Jun 10 22:12:59 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 10 Jun 2004 21:12:59 -0500 Subject: Stupid question time (again) In-Reply-To: Message-ID: <03f701c44f59$a1835940$6601a8c0@precision340> Bob, Officially, the minimum you should work with is Studio, which (as the web page states): "permit running the IDE on a single platform for editing, but builds for every platform we support". (Cost: $299) Technically speaking, if you want to get the IDE on two platforms (say, Mac and WIndows), you could buy Studio for Mac and then buy an extra platform (Windows). This would give you the IDE on two platforms and deploy to all of them. (Cost: $299 + $199 = $498) However, as many have stated, you *really* get the best of all worlds with the Enterprise license - you get to run the IDE on all paltforms, get all the database support (including Oracle) AND you get to participate in the Pro discussion group and get access to previews of Rev versions before everyone else. If you can afford it, it is *definitely* the best choice. (Cost: $899). HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Bob Nelson > Sent: Thursday, June 10, 2004 5:25 PM > To: use-revolution at lists.runrev.com > Subject: Stupid question time (again) > > > Okay, so I'm looking at buying in to "the Revolution." > (Darn, they've got me doing it now...) > > If I want to develop but have it run on multiple platforms > (Mac OS X and Win 2k or XP) but I'm only going to develop > under OS X, do I want a single studio or a studio 2 or will > Express meet my needs? (They need to do a little better job > explaining the differences at the site -- hint, hint) and > should I be searching for a promo code in some special place > to save a few bucks, or should I just go for the Enterprise > edition and quit whining... > > Heh, heh, heh... > > Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Jun 10 22:17:32 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 10 Jun 2004 21:17:32 -0500 Subject: Alpha Channel? In-Reply-To: Message-ID: <03f801c44f5a$440e8630$6601a8c0@precision340> > Eh? When I insert an image into MS Word, crop it and/or > resize it, and then quit or go to another document or > something, when I come back the image is the same size as I > left it. Only in RR have I seen images revert to the > original size when you leave the document (or card) and then > return to it. Actually, Marty, the main difference is that Rev only "locks" the new size of the image when you specifically ask it to, whereas Word locks the new size of the image automatically. In both cases, the "original size" version is still available to get to, but Rev requires an extra step. So for example if Rev automatically set the lockLoc on the image after you resized it, you'd get the same behavior as in Word. > I'm still confused as to why this isn't the expected behavior. Personally, I think that the lockLoc property is doing double-duty when there should really be a different property altogether. If we has something like the "hScale" and "vScale" of an image, and have Rev not resize the image to its 100% size unless another graphic were inserted into the image (new 'filename'), and left the lockLoc alone so it could truly be used for locking the ability to resize or move the object, then we'd get closer to what *I* would expect as 'expected behavior'. Just my 2 cents, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From laguer at ucs.orst.edu Thu Jun 10 22:24:33 2004 From: laguer at ucs.orst.edu (Rich Lague) Date: Thu, 10 Jun 2004 19:24:33 -0700 Subject: retrieving data from a sub-stack? In-Reply-To: Message-ID: <79EA8A6C-BB4E-11D8-A8C7-000393BAAB8A@ucs.orst.edu> I'm trying to get information from one sub-stack from another. The script below is from the sub-stack "productEvals". I want it to retrieve data from either the stack "RFP Importer-rich" or "RFP Importer-clean". It should involve a lot of going back and forth between the "productEvals" stack and one of the "RFP Importer" stacks. I can get it to go to the "RFP Importer" stack but I don't think it is coming back to the "productEvals" stack. What is the best way to get this working? Thanks! Rich Lague ------------------------------------------------------------------------ ------------------------- answer "Which topic list did you use?" with "Rich's topics" or "My own topics" if it is "Rich's topics" then go invisible stack "RFP Importer-rich" else go invisible stack "RFP Importer-clean" end if repeat for the number of cards if field "topic" is empty then go next card else put field "topic" into tTopicsfld put field "Number" into tNumber put field "feature" into tFeature repeat for each line thisLine in tTopicsfld go card thisLine of stack "productEvals" put tNumber && tFeature & return after field "fromRFP" end repeat end if end repeat From rjb at rz.uni-potsdam.de Thu Jun 10 22:58:51 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri, 11 Jun 2004 04:58:51 +0200 Subject: retrieving data from a sub-stack? In-Reply-To: <79EA8A6C-BB4E-11D8-A8C7-000393BAAB8A@ucs.orst.edu> References: <79EA8A6C-BB4E-11D8-A8C7-000393BAAB8A@ucs.orst.edu> Message-ID: >I'm trying to get information from one sub-stack from another. The >script below is from the sub-stack "productEvals". I want it to >retrieve data from either the stack "RFP Importer-rich" or "RFP >Importer-clean". It should involve a lot of going back and forth >between the "productEvals" stack and one of the "RFP Importer" >stacks. I can get it to go to the "RFP Importer" stack but I don't >think it is coming back to the "productEvals" stack. What is the >best way to get this working? > >Thanks! > >Rich Lague > Rich, if you want to come back where you left, use push and pop. However, what you want to achieve can be done without explicitely going anywhere but using put fld "abc" of cd "xyz" of stack "otherstackname" into ... if you need to loop through all cards then use sth like that repeat with i=1 to the number of cards of stack "otherstackname" put fld "abc" of cd i of stack "otherstackname" into ... end repeat You get the idea I hope. Robert Brenstein From ambassador at fourthworld.com Fri Jun 11 00:34:37 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Jun 2004 21:34:37 -0700 Subject: HOLY COW, BATMAN!!! In-Reply-To: References: Message-ID: <40C9365D.2060405@fourthworld.com> Sannyasin Sivakatirswami wrote: > No turning back now... ;-) > > just fyi, most of us rev users would consider 25 seconds > to process 140 lines of text as very slow... > > Of course I never use progress bars. I've processed 2meg files of raw > text mailing lists > (loaded into a variable of course -- close to 20M lines) doing similar > "clean ups" > of empty lines and other garbage... in under 5 seconds. > > And, yes, several of us also fell out of our chairs the first time we > saw this. > > I wonder if the replace (cr& cr) with cr would be even faster? If all that's needed is to remove empty lines that should be another couple orders of magnitude faster.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Fri Jun 11 00:44:20 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Jun 2004 21:44:20 -0700 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: References: Message-ID: <40C938A4.5060401@fourthworld.com> Jay Madren wrote: > Why do you need to use a custom property? Couldn't you just do it all in a > local or global variable? I figure you have a reason(s), but I'm not > experienced enough in RR to know the ramifications of variables versus > custom properties. Sarah may have her own reasons, but I often use props over vars for persistence, and sometimes for binding data to the windows that use them. It's been a while since I've benchmarked it, but if I recall correctly I believe accessing a custom property is nearly as fast as a global, and like globals are several orders of magnitude faster than field accesses. Anyone care to run a set of benchmarks on the current engine to see how that holds up today? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Fri Jun 11 00:51:30 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Jun 2004 21:51:30 -0700 Subject: HOLY COW, BATMAN!!! In-Reply-To: References: Message-ID: <40C93A52.9070108@fourthworld.com> Bob Nelson wrote: > A HUGE Thank You to Phil Davis and Richard Gaskin for your response to "Not > Shy..." > > Richard - I took your code, pretty much un-altered, added a progress bar to > the page, and executed the same job on the same 140k lines of text. 25 > seconds. Total. Needless to say, I nearly fell out of my chair, onto the > floor, in the throes of ecstasy. > > I think I'll be headed over to the Revolution site now and paying my money > to become a Platinum supporter or something. I think this is going to work > out well! Glad that worked out. Tweak the increment used for the progress bar so it updates less frequently and you'll see it get even faster. :) > Okay, so has anybody got any pointers for existing code someone has used to > dispose of HTML from a web page? If all you want to do is strip HTML tags and get the text, you can use this: set the htmlText of fld 1 to tSomeHtml put the text of fld 1 into tSomePlainText Another speed note: if the field you use to convert the htmlText is on a card that isn't open (such as another card in the same stack or in a substack that's closed but that's part of your mainstack's file so it's in memory anyway) you'll find that getting and setting any text propery (text, htmlText, or rtfText) of the field is many times faster than doing the same action on a field on the current card. I asked Tuviah about this, and he was kind enough to explain that fields on open cards require a fair amount of overhead to set up, even when their hidden, but fields on unopened cards use a much simpler set of internal routines as the engine can know the field will not be interacted with. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Fri Jun 11 01:00:16 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Jun 2004 22:00:16 -0700 Subject: OT - OSX eye candy for Windows? In-Reply-To: <0716258A-BA94-11D8-9B85-000A95763ABC@macosx.com> References: <0716258A-BA94-11D8-9B85-000A95763ABC@macosx.com> Message-ID: <40C93C60.2000309@fourthworld.com> Barry Levine wrote: > One of my professors asked if there was a way he could make a Windows > app look like an OSX app. He was referring to the shape and size of the > app's title bar, the red/yellow/green widgets, and the shape and "glow" > of on-screen buttons. He'd even like "metal" if that can be done. > > He's not looking for the hacks that XP users have implemented to make > their PC look like OSX; rather, he'd like the app to give the OSX look > even if the user is running it on W2K or an un-hacked XP. > > Can this be done with Rev? Are there third-party items that could be > glommed into a Rev (or VB) project to accomplish this? > > If I can help him, it might mean a higher grade.... ;-) You could emulate much of it with windowShapes, images, and button icons, but IMNSHO doing so should result in a lower grade (or in the case of the professor, maybe a loss of tenure ). The look-and-feel of a given OS may not be preferred by those who use other systems, but for those who will actually be using the software consistency with the look and feel of everything else they use on that system can make a big difference in productivity. There may be a good reason for doing this as a special case, and please take the pedantic response here in the lighthearted manner it's intended. But the underlying message is meant seriously: Unless there's a strong reason to support such a radical departure from the Win HIG it may be a far greater service to the end-user to allow Rev to do the great job it does using native appearances for each platform. When in doubt, consider the corollary: How productive would Mac people be with software using the XP look and feel but running on OS X? :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From themacguy at macosx.com Fri Jun 11 01:06:49 2004 From: themacguy at macosx.com (Barry Levine) Date: Thu, 10 Jun 2004 23:06:49 -0600 Subject: Stupid question time (again) In-Reply-To: <20040611044305.DBC97930145@mail.runrev.com> References: <20040611044305.DBC97930145@mail.runrev.com> Message-ID: <254DDF78-BB65-11D8-90A1-000A95763ABC@macosx.com> Bob, As one who has been bitten a number of times from developing on OSX, compiling for Windows, and finding the result not working at all as expected, I -always- move my stacks and resources over to my PC and do any final tweaking for that platform -on- that platform. Too many things are different to expect "write once, deploy everywhere". Barry On Jun 10, 2004, at 10:43 PM, Bob wrote: > Date: Thu, 10 Jun 2004 15:25:18 -0700 > From: Bob Nelson > Subject: Stupid question time (again) > To: > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > Okay, so I'm looking at buying in to "the Revolution." (Darn, they've > got > me doing it now...) > > If I want to develop but have it run on multiple platforms (Mac OS X > and Win > 2k or XP) but I'm only going to develop under OS X, do I want a single > studio or a studio 2 or will Express meet my needs? (They need to do a > little better job explaining the differences at the site -- hint, > hint) and > should I be searching for a promo code in some special place to save a > few > bucks, or should I just go for the Enterprise edition and quit > whining... > > Heh, heh, heh... > > Bob > From troy at rpsystems.net Fri Jun 11 01:11:49 2004 From: troy at rpsystems.net (Troy Rollins) Date: Fri, 11 Jun 2004 01:11:49 -0400 Subject: OT - OSX eye candy for Windows? In-Reply-To: <40C93C60.2000309@fourthworld.com> References: <0716258A-BA94-11D8-9B85-000A95763ABC@macosx.com> <40C93C60.2000309@fourthworld.com> Message-ID: On Jun 11, 2004, at 1:00 AM, Richard Gaskin wrote: > When in doubt, consider the corollary: How productive would Mac > people be with software using the XP look and feel but running on OS > X? :) Yeesh. I'd hope it wasn't something I was expected to PAY for. ;-) -- Troy RPSystems, Ltd. http://www.rpsystems.net From bobnelson at mac.com Fri Jun 11 01:39:13 2004 From: bobnelson at mac.com (Bob Nelson) Date: Thu, 10 Jun 2004 22:39:13 -0700 Subject: Ugh. Bogged down... Message-ID: You're right regarding the 'no turning back' issue. Some of my employees were trying to take me off into Java-land, others insisted I needed to learn a "more powerful language" and suggested everything from C-sharp to D-flat. They were pretty funny to watch when I whipped out my old Mac and showed them the wonders of HyperCard... Now, I'm learning how to dive in a little deeper and doing only a "little" hair-pulling. By the way, I don't think I'll be going with Enterprise tonight... I will likely go with the first level of pro and build from there. I was trying to understand what you're saying, below, about replacing the (cr & cr) with cr, and don't see where you're referring to this in the original suggestion I'm working with. It is likely I missed something (important). It would be awesome to get times like 5 seconds, but I must admit that I'll be happy to just get it in the 'couple-of-minutes' range! One of the lines provided to me says: repeat for each line tLine in tData As I'm working with further 'massaging' of the grabbed text, I'm playing with some of this code and this one left me scratching my head (and there ain't a lot of hair up there!) -- what is the function of the (variable?) tLine in this text? I didn't see it previously declared in the script and wondered why this wouldn't simply be: repeat for each line in tData Instead. Again, I'm sure I missed something important, but I really AM paying attention. I also wanted to comment that one of the reasons I decided to go with Revolution instead of any of the other suggestions is the tone and helpfulness of the members of this list. I'm glad to be a member of a list where everyone seems to want to share ideas, rather than berate the newbies or 'one-up' the others on the list. Hopefully the developers remember those who bought in at the ground floor when they're rich and famous... (For those of you who've been around the Mac arena since 1983 (yes, I said "3"), think HyperCard, and FirstClass, etc.) Thanks for the support! Bob > Sannyasin Sivakatirswami wrote: > No turning back now... ;-) > > just fyi, most of us rev users would consider 25 seconds > to process 140 lines of text as very slow... > > Of course I never use progress bars. I've processed 2meg files of raw > text mailing lists > (loaded into a variable of course -- close to 20M lines) doing similar > "clean ups" > of empty lines and other garbage... in under 5 seconds. > > And, yes, several of us also fell out of our chairs the first time we > saw this. > > I wonder if the replace (cr& cr) with cr would be even faster? If all that's needed is to remove empty lines that should be another couple orders of magnitude faster.... -- Richard Gaskin Fourth World Media Corporation -- You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat. Albert Einstein. From briany at qldlearning.com Fri Jun 11 01:55:26 2004 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 11 Jun 2004 01:55:26 -0400 Subject: Ugh. Bogged down... In-Reply-To: Message-ID: > I was trying to understand what you're saying, below, about replacing > the > (cr & cr) with cr, and don't see where you're referring to this in the > original suggestion I'm working with. It is likely I missed something > (important). In the original question, IIRC you wanted to strip extra returns and leading spaces from lines of text, particularly HTML. The suggestion to use: replace (cr&cr) with cr in tData Is basically saying "whenever you find two consecutive returns, replace them with one". A few passes through and you should find that all of the extra returns are gone. So something like this might be worth a try: ## put the field data into a variable for fast access put fld "Imported_Raw" into tData ## keep replacing double return until there are none left repeat while (tData contains (cr&cr)) replace (cr&cr) with cr in tData end repeat ## keep replacing leading spaces until there are none left repeat while (tData contains (cr&space)) replace (cr&space) with cr in tData end repeat There are probably a lot of interesting ways to go about the task- you could also use the replaceText() function with a regular expression to fix the whole thing in one pass. But RegEx isn't always fun... > It would be awesome to get times like 5 seconds, but I must admit that > I'll > be happy to just get it in the 'couple-of-minutes' range! > > One of the lines provided to me says: > > repeat for each line tLine in tData > > As I'm working with further 'massaging' of the grabbed text, I'm > playing > with some of this code and this one left me scratching my head (and > there > ain't a lot of hair up there!) -- what is the function of the > (variable?) > tLine in this text? I didn't see it previously declared in the script > and > wondered why this wouldn't simply be: > > repeat for each line in tData > > Instead. Again, I'm sure I missed something important, but I really AM > paying attention. Think of the above syntax as a replacement for the slower (but still available) syntax: repeat with i=1 to (number of lines in tData) put line i of tData into tLine ... end repeat Instead of using a counter variable, and also gaining lots of speed, you can just write: repeat for each line tLine in tData ... end repeat The results will be exactly the same- except that the second will run much faster and syntax-wise, serves as a sort of shorthand for the former. > I also wanted to comment that one of the reasons I decided to go with > Revolution instead of any of the other suggestions is the tone and > helpfulness of the members of this list. I'm glad to be a member of a > list > where everyone seems to want to share ideas, rather than berate the > newbies > or 'one-up' the others on the list. Hopefully the developers remember > those > who bought in at the ground floor when they're rich and famous... (For > those of you who've been around the Mac arena since 1983 (yes, I said > "3"), > think HyperCard, and FirstClass, etc.) Amen! I think you'll find there's a real mix here: quite a few old Hypercard hats mixed in with a little of everything else. Personally, I can only trace my Hypercard roots back to about 1992, but in my defense, I was 3 years old for the majority of 1983... - Brian From janschenkel at yahoo.com Fri Jun 11 02:26:23 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 10 Jun 2004 23:26:23 -0700 (PDT) Subject: Ugh. Bogged down... In-Reply-To: Message-ID: <20040611062623.84882.qmail@web60505.mail.yahoo.com> --- Bob Nelson wrote: > You're right regarding the 'no turning back' issue. > Some of my employees > were trying to take me off into Java-land, others > insisted I needed to learn > a "more powerful language" and suggested everything > from C-sharp to D-flat. > They were pretty funny to watch when I whipped out > my old Mac and showed > them the wonders of HyperCard... > The closest thing to HyperCard on Windows I can think of and that is wide-spread, is Visual Basic -- which was prototyped in HyperCard -- go figure. One of the evening classes I'm taking is VB.NET, and I must say it has its share of quirks like any Microsoft product, but I saw many good things too. > [snip] > > One of the lines provided to me says: > > repeat for each line tLine in tData > > As I'm working with further 'massaging' of the > grabbed text, I'm playing > with some of this code and this one left me > scratching my head (and there > ain't a lot of hair up there!) -- what is the > function of the (variable?) > tLine in this text? I didn't see it previously > declared in the script and > wondered why this wouldn't simply be: > > repeat for each line in tData > > Instead. Again, I'm sure I missed something > important, but I really AM > paying attention. > What happens in a 'repeat for each line' loop is that the engine will know it is traversing the entire body of text, and throughout the repeat, it will place the next line into the variable 'tLine', while keeping track of where it's at, thus saving valuable time. Imagine processing 140K lines of text with the following code : -- repeat with i = 1 to the number of lines of tData put line i of tData into tLine ## do something with the data in tLine end repeat -- The engine will faithfully start from the top again and again when you ask it for line i of tData, thus going over lines it has already given you. Now compare that with the following code : -- repeat for each line tLine in tData ## do something with the data in tLine end repeat -- The engine knows where it was, and will just grab the next line of the 'tData' variable and stick it into the 'tLine' variable, instead of counting again from the top of the variable content. That's why this is potentially the most important construct added to the language. > I also wanted to comment that one of the reasons I > decided to go with > Revolution instead of any of the other suggestions > is the tone and > helpfulness of the members of this list. I'm glad > to be a member of a list > where everyone seems to want to share ideas, rather > than berate the newbies > or 'one-up' the others on the list. Hopefully the > developers remember those > who bought in at the ground floor when they're rich > and famous... (For > those of you who've been around the Mac arena since > 1983 (yes, I said "3"), > think HyperCard, and FirstClass, etc.) > > Thanks for the support! > > Bob > This list is indeed a great source of information, and the members are more than happy to share what they know with newcomers -- and I'm sure you'll be sharing your experiences with newcomers in the future as well. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From sims at ezpzapps.com Fri Jun 11 02:44:28 2004 From: sims at ezpzapps.com (sims) Date: Fri, 11 Jun 2004 08:44:28 +0200 Subject: Documentation on expressions?? In-Reply-To: <20040609201334.71235.qmail@web60509.mail.yahoo.com> References: <20040609201334.71235.qmail@web60509.mail.yahoo.com> Message-ID: >Hi Geoff, >The best news for the documentation is that you can >expect some serious changes for the best very soon, as >Runtime Revolution has made a commitment to improving >the documentation dramatically for the next version -- >so stay tuned ! Also consider: European Revolution Conference 14-15-16 November 2004 Malta The November 2004 EuroRevCon Features... * Kevin Miller, Rev CEO Keynote Sunday evening and daily discussions * Two full days of Rev presentations and discussions by expert Rev developers: Malte Brill Richard Gaskin Klaus Major Frederic Rinaldi Jan Schenkel * Special pricing on Dan Shafer's book Revolution: Software at the Speed of Thought * CDs loaded with Rev examples and tools offered to all attendees * Special Rev License pricing for attendees Revolution Express will be offered for just $99 (retail price $149) Revolution Studio will be offered for $299 (retail price $399) More information is available online at: http://techietours.com/Rev/ -- Tech Conferences http://TechieTours.com We make... iBirthday http://EZPZapps.com/iB SmartDog http://EZPZapps.com/SmartDog Kartolina http://EZPZapps.com/kartolina From kray at sonsothunder.com Fri Jun 11 02:30:58 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 11 Jun 2004 01:30:58 -0500 Subject: Ugh. Bogged down... In-Reply-To: Message-ID: <043a01c44f7d$ab4c09d0$6601a8c0@precision340> > One of the lines provided to me says: > > repeat for each line tLine in tData > > As I'm working with further 'massaging' of the grabbed text, > I'm playing with some of this code and this one left me > scratching my head (and there ain't a lot of hair up there!) > -- what is the function of the (variable?) tLine in this > text? I didn't see it previously declared in the script and > wondered why this wouldn't simply be: > > repeat for each line in tData > > Instead. Again, I'm sure I missed something important, but I > really AM paying attention. Hey, Bob... The reason is that there needs to be a variable which holds the line of data in tData. This is tLine. If you had: repeat for each line in tData what variable would hold the current line's worth of info? So this: repeat for each line tLine in tData causes tLine to be filled with the contents of the current line each time through the loop. The "repeat for each" construct is *incredibly fast*. There is only one caveat, though, that that is you can't do anything with tData while you're in the "repeat for each" loop. If you do, unexpected things will happen. However most of the time you don't need to do anything with tData, but just need to extract data from it to use elsewhere. For example, suppose you wanted to retrieve all the lines of tData that contains "hammer". This would be a quick way to do it: put "" into tHammerLines repeat for each line tLine in tData if tLine contains "hammer" then put tLine & cr after tHammerLines end if end repeat delete last char of tHammerLines -- removes extra CR There are a whole bunch of tips related to performance - I would recommend taking a look at my site: http://www.sonsothunder.com/devres/revolution/revolution.htm specifically those tips that deal with these kinds of performance issues ("Increasing Script Performance, Parts I-III"): http://www.sonsothunder.com/devres/revolution/revolution.htm?_scrp005 http://www.sonsothunder.com/devres/revolution/revolution.htm?_scrp006 http://www.sonsothunder.com/devres/revolution/revolution.htm?_scrp007 > I also wanted to comment that one of the reasons I decided to > go with Revolution instead of any of the other suggestions is > the tone and helpfulness of the members of this list. I'm > glad to be a member of a list where everyone seems to want to > share ideas, rather than berate the newbies or 'one-up' the > others on the list. Hopefully the developers remember those > who bought in at the ground floor when they're rich and > famous... (For those of you who've been around the Mac arena > since 1983 (yes, I said "3"), think HyperCard, and FirstClass, etc.) Been there! HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From themacguy at macosx.com Fri Jun 11 02:57:05 2004 From: themacguy at macosx.com (Barry Levine) Date: Fri, 11 Jun 2004 00:57:05 -0600 Subject: Printing issue - from Windows, anyway Message-ID: <8C99959C-BB74-11D8-ACDE-000A95763ABC@macosx.com> I have a stack that has some image and player objects, and some buttons. There are 20+ cards in the stack similarly populated. When I print the cards in the stack, I hide and show some objects just for the printing and then restore them back to the pre-printing state. My script is a loop in this pseudocode manner: repeat with i = 1 to the number of cards hide (thisStuff) show (thatStuff) print card hide (thatStuff) show (thisStuff) go next card end repeat What I've found happens (in Windows Rev, anyway) is that the printed cards fail to show "thatStuff" and "thisStuff" except on the first card. Additionally, after the printing is done, "thisStuff" fails to re-appear on the cards and "thatStuff" will not programmatically appear when called by a script. Furthermore, audio files referenced by a player object do not play when scripted to do so. Here is where is gets really hairy, however. If I insert "wait .5 seconds" -before- the "print card" command, everything seems to print properly. I am not using the "formatForPrinting" property (it's false) as that has bitten me badly in the recent past. I am wondering if there is some reason that I should loop through the cards three times; once to hide/show the objects, again to print, and a third time to restore the objects original visibility. I mean not just because it might work better but if there's a logical reason having something to do with a Rev requirement rather than simply another WinRev bug. I originally had done the three loops because the older version of Rev would crash if you attempted to print a card containing a visible player object. I had to take a shot of the object, position it properly, hide the player object (along with the other stuff), (repeat through all the cards), print the cards, and loop again to delete the image and make the player object visible again. BTW - No problem on OSX without the "wait" command. I hate Windows. *sigh* Barry From frank at backtalk.com Fri Jun 11 06:22:13 2004 From: frank at backtalk.com (Frank Leahy) Date: Fri, 11 Jun 2004 11:22:13 +0100 Subject: SHA-1 Secure Hash Algorithm in xTalk? Message-ID: <34E2CA20-BB91-11D8-971E-000A9580FCCE@backtalk.com> Does anyone have SHA-1 digest code written in xTalk by chance? (SHA-1 = Secure Hash Algorithm) Thanks, -- Frank From MFitz53 at comcast.net Fri Jun 11 07:21:52 2004 From: MFitz53 at comcast.net (Mike) Date: Fri, 11 Jun 2004 07:21:52 -0400 Subject: Problem In-Reply-To: <1B241D4E-BB31-11D8-A76D-000A95859272@earthlink.net> References: <1B241D4E-BB31-11D8-A76D-000A95859272@earthlink.net> Message-ID: <40C995D0.20402@comcast.net> Mark Brownell wrote: > > On Thursday, June 10, 2004, at 02:03 PM, Mike wrote: > >> I have the installer on another drive, so it wasn't downloaded and >> subject to a new unlock code. Now it will not accept my unlock code. > > > I'm willing to bet the Bat Cave that the access code has some groovy > cryptic max-zoomed-dweeby trick to it that includes the date. Try > turning back the date on your bat computer > Mark > Didn't work. I DO remember now that I did redownload RR(same version num) a few days before the code expired and saved it to hard drive. It seems to me that should not have caused a problem. I'm going to go cry on Heather's shoulder if it doesn't work after I reinstall again. I wondering now if I have shot my foot off.. From iansummerfield at icmlondon.co.uk Fri Jun 11 07:21:50 2004 From: iansummerfield at icmlondon.co.uk (Ian Summerfield) Date: Fri, 11 Jun 2004 12:21:50 +0100 Subject: "Fit Content" button in property palette Message-ID: <88D844DC-BB99-11D8-A16B-0003938D4A68@icmlondon.co.uk> On the property inspector palette their are buttons to make a field "fit content". This is exactly what I want to do when a user enters some text into a field. I can't find out how to do it though! How do I "borrow" the script behind those buttons on the property inspector? Or is it a property of a field to change? -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and may contain legally privileged information. It is intended solely for use of the individual(s) or entity to whom it is addressed. Should you receive this message in error, please notify the sender by replying to this mail or calling +44 20 7636 6565. If you are not the intended recipient, any disclosure, distribution, reproduction, printing or reliance on the contents of this information is strictly prohibited and may be illegal. Any views expressed by an individual within this EMail do not necessarily reflect the views of ICM. From janschenkel at yahoo.com Fri Jun 11 07:36:01 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 11 Jun 2004 04:36:01 -0700 (PDT) Subject: "Fit Content" button in property palette In-Reply-To: <88D844DC-BB99-11D8-A16B-0003938D4A68@icmlondon.co.uk> Message-ID: <20040611113602.52592.qmail@web60510.mail.yahoo.com> --- Ian Summerfield wrote: > On the property inspector palette their are buttons > to make a field > "fit content". This is exactly what I want to do > when a user enters > some text into a field. I can't find out how to do > it though! How do > I "borrow" the script behind those buttons on the > property inspector? > Or is it a property of a field to change? > Hi Ian, The "Fit content" button basically sets the width of the selected object to its formattedWidth (or the height to the formattedHeight). Here's how to resize a field width and height to fit the content : -- set the width of field "foobar" to \ the formattedWidth of field "foobar" set the height of field "foobar" to \ the formattedHeight of field "foobar" -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From revolution at knowledgeworks.plus.com Fri Jun 11 07:31:54 2004 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Fri, 11 Jun 2004 12:31:54 +0100 Subject: HOLY COW, BATMAN!!! Message-ID: Hi Troy, I thought this too, until I re-read Shari's email - he's not so impressed, because Shari is processing 20 _million_ lines in 5 seconds ;-) I have to say, I let out a little gasp when I realised that... Regards, Bernard Devlin Troy Rollins Sent by: use-revolution-bounces at lists.runrev.com 2004-06-10 21:16 Please respond to How to use Revolution To: How to use Revolution cc: Subject: Re: HOLY COW, BATMAN!!! On Jun 10, 2004, at 4:06 PM, Sannyasin Sivakatirswami wrote: > just fyi, most of us rev users would consider 25 seconds > to process 140 lines of text as very slow... How about the 140,000 lines he *is* doing? I think that is still pretty good. -- Troy From revolution at knowledgeworks.plus.com Fri Jun 11 07:41:24 2004 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Fri, 11 Jun 2004 12:41:24 +0100 Subject: Displaying Foreign Web Pages Message-ID: Hi Troy I did indeed try : set the unicodeText of field "field 1" to URL "binfile:c:\temp\google.htm" but all I get is little boxes instead of characters. Today I tried a different tack. Since pasting from the clipboard at least managed to get the non-Roman characters displayed inside Rev, I tried to use the clipboard as a container: put URL "http://www.google.co.th" into it set the clipBoardData["Unicode"] to it put the clipBoardData["Unicode"] into field "field 1" But the characters that are put into the field are just the same mix of Roman character gibberish instead of Thai. I had a look on a Win2K machine I have lying around, and that web page was displayed in Thai ok, and I could again copy the HTML source from Mozilla and paste it into a field in Rev, and the Thai characters again came over with the HTML. However, when I try to move the mixture of Roman and non-Roman characters within Rev, I am having the same problems as before. There seems to be no way that Rev can read a mixture of Roman and non-Roman characters on the same web page. The only way Rev seems to be able to handle non-Roman characters is if they are pasted in from another application. This surely can't be right. Or am I fundamentally mistaken about what it means for Rev to support Unicode? I'm really stumped by this. I hope the simple examples (in my initial email on this subject) could be tried by a few of those who are more attuned with Rev text-manipulation than me (especially since on Windows machines it does not even look like you need to have any additional language facilities installed in order to view the foreign characters on pages like www.google.co.th). In case others think this is a rather abstruse exercise - let me just point out that China and Japan offer huge markets for your applications, and if you design them so that the presentation is separate from the logic, being able to import a different language into the presentation brings these huge markets one step closer to you. Regards, Bernard Devlin Troy Rollins Sent by: use-revolution-bounces at lists.runrev.com 2004-06-11 02:31 Please respond to How to use Revolution To: How to use Revolution cc: Subject: Re: Displaying Foreign Web Pages On Jun 10, 2004, at 9:20 PM, revolution at knowledgeworks.plus.com wrote: > The fundamental problem seems to be that Rev cannot read > the Thai characters from a file or URL, but can display them when they > are > copied over from the clipboard. I have no idea if Thai is unicode formatted, but I assume you've tried setting the text field as "unicodetext", right? -- Troy From klaus at major-k.de Fri Jun 11 08:04:28 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 11 Jun 2004 14:04:28 +0200 Subject: News on Macnn In-Reply-To: References: Message-ID: <7D3FE424-BB9F-11D8-9729-000A27B49A96@major-k.de> Hi folks, i just (!) read this one on Macnn (http://www.macnn.com): ? Runtime Revolution 2.2 updates the development environment with a new standalone application builder, improvements to the database linked controls, additions to the Transcript programming language, enhanced performance and stability for the engine and development environment, and more. Pricing is $150 (Express), $300 (Studio), and $900 (Enterprise). [13MB] Did i miss something? Is Macnn late or what...? Very puzzled... Klaus Major klaus at major-k.de http://www.major-k.de From mark at maseurope.net Fri Jun 11 08:14:59 2004 From: mark at maseurope.net (Mark Smith) Date: Fri, 11 Jun 2004 13:14:59 +0100 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: <20040611044305.BA73593015C@mail.runrev.com> References: <20040611044305.BA73593015C@mail.runrev.com> Message-ID: I don't know if this is a decent test, but this is what I got: fld 1 contains 1000000 lines, each line consisting simply of "1". --fld access on mouseUp set cursor to watch put the ticks into stTime repeat for each line L in fld 1 put L into p end repeat put the ticks - stTime end mouseUp result - 77 ticks --custom prop access on mouseUp set cursor to watch set the pData of this cd to fld 1 put the ticks into stTime repeat for each line L in the pData of this cd put L into p end repeat put the ticks - stTime end mouseUp result - 45 ticks --var access on mouseUp set cursor to watch put fld 1 into vData put the ticks into stTime repeat for each line L in vData put L into p end repeat put the ticks - stTime end mouseUp result - 45 ticks Doesn't really look like orders of magnitude difference...is the test OK? Mark Smith On 11 Jun 2004, at 05:43, use-revolution-request at lists.runrev.com wrote: > It's been a while since I've benchmarked it, but if I recall correctly > I > believe accessing a custom property is nearly as fast as a global, and > like globals are several orders of magnitude faster than field > accesses. > > Anyone care to run a set of benchmarks on the current engine to see how > that holds up today? > > -- > Richard Gaskin > Fourth World Media Corporation From gizmotron at earthlink.net Fri Jun 11 09:30:00 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri, 11 Jun 2004 06:30:00 -0700 Subject: HOLY COW, BATMAN!!! In-Reply-To: <40C93A52.9070108@fourthworld.com> Message-ID: <70323628-BBAB-11D8-8AF7-000A95859272@earthlink.net> On Thursday, June 10, 2004, at 09:51 PM, Richard Gaskin wrote: > I asked Tuviah about this, and he was kind enough to explain that > fields on open cards require a fair amount of overhead to set up, even > when their hidden, but fields on unopened cards use a much simpler set > of internal routines as the engine can know the field will not be > interacted with. > > -- > Richard Gaskin That's nice to know. Thanks From ambassador at fourthworld.com Fri Jun 11 09:30:32 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Jun 2004 06:30:32 -0700 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: References: <20040611044305.BA73593015C@mail.runrev.com> Message-ID: <40C9B3F8.2080506@fourthworld.com> Mark Smith wrote: > On 11 Jun 2004, at 05:43, use-revolution-request at lists.runrev.com wrote: > >> It's been a while since I've benchmarked it, but if I recall >> correctly I >> believe accessing a custom property is nearly as fast as a global, >> and like globals are several orders of magnitude faster than field >> accesses. >> >> Anyone care to run a set of benchmarks on the current engine to see >> how that holds up today? > I don't know if this is a decent test, but this is what I got: > > fld 1 contains 1000000 lines, each line consisting simply of "1". > > --fld access > on mouseUp > set cursor to watch > put the ticks into stTime > repeat for each line L in fld 1 > put L into p > end repeat > put the ticks - stTime > end mouseUp > > result - 77 ticks > > --custom prop access > on mouseUp > set cursor to watch > set the pData of this cd to fld 1 > put the ticks into stTime > repeat for each line L in the pData of this cd > put L into p > end repeat > put the ticks - stTime > end mouseUp > > result - 45 ticks > > --var access > on mouseUp > set cursor to watch > put fld 1 into vData > put the ticks into stTime > repeat for each line L in vData > put L into p > end repeat > put the ticks - stTime > end mouseUp > > result - 45 ticks > > > Doesn't really look like orders of magnitude difference...is > the test OK? All three are using a variable in the loop, with the only change being where the variable was loaded from. If the loop itself is performed on the data where it's stored you should see a significant difference. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From marty at vertex.ucls.uchicago.edu Fri Jun 11 09:41:31 2004 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Fri, 11 Jun 2004 08:41:31 -0500 (CDT) Subject: Alpha Channel? In-Reply-To: <20040611044305.7E81E93014C@mail.runrev.com> References: <20040611044305.7E81E93014C@mail.runrev.com> Message-ID: "Ken Ray" writes: > I wrote: > > Eh? When I insert an image into MS Word, crop it and/or > > resize it, and then quit or go to another document or > > something, when I come back the image is the same size as I > > left it. Only in RR have I seen images revert to the > > original size when you leave the document (or card) and then > > return to it. > > Actually, Marty, the main difference is that Rev only "locks" the new size > of the image when you specifically ask it to, whereas Word locks the new > size of the image automatically. In both cases, the "original size" version > is still available to get to, but Rev requires an extra step. So for example > if Rev automatically set the lockLoc on the image after you resized it, > you'd get the same behavior as in Word. Not really: in Word you don't have to unlock an image to move it or resize it again. > > Personally, I think that the lockLoc property is doing double-duty when > there should really be a different property altogether. If we has something > like the "hScale" and "vScale" of an image, and have Rev not resize the > image to its 100% size unless another graphic were inserted into the image > (new 'filename'), and left the lockLoc alone so it could truly be used for > locking the ability to resize or move the object, then we'd get closer to > what *I* would expect as 'expected behavior'. Although I understand the current behavior, it is really awkward and drives my students nuts. Every time they want to move or resize an image they first have to unlock it, and then remember to lock it when they're done. These are 8th graders; the easier the interface the better. The current behavior makes one of my beginning assignments, a flip-card animation, really tedious to do. (I'm reluctant to give up the assignment, as it's how I introduce loops.) Now if there were a control key that you could hold down that would override the lock as you click and drag on an object or its handles, that would solve the problem. (RR, are you listening???) - marty -- Marty Billingsley (marty at ucls.uchicago.edu) The University of Chicago Laboratory Schools From FlexibleLearning at aol.com Fri Jun 11 09:53:54 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 11 Jun 2004 09:53:54 EDT Subject: Ugh. Bogged down... Message-ID: <67.2b60d184.2dfb1372@aol.com> >> Hopefully the developers remember those >> who bought in at the ground floor when they're rich and >> famous... (For those of you who've been around the Mac arena >> since 1983 (yes, I said "3"), think HyperCard, and FirstClass, etc.) > Been there! Sometimes I feel that I still am, Ken, except for the 'rich and famous' part. And at my age such success must now be in serious doubt! /H From FlexibleLearning at aol.com Fri Jun 11 09:56:40 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 11 Jun 2004 09:56:40 EDT Subject: SHA-1 Secure Hash Algorithm in xTalk? Message-ID: <1eb.22a9e585.2dfb1418@aol.com> > Does anyone have SHA-1 digest code written in xTalk by chance? > > (SHA-1 = Secure Hash Algorithm) Hey... Is pot legal now? Damn. Missed it. /H From graham.samuel at wanadoo.fr Fri Jun 11 10:01:09 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Fri, 11 Jun 2004 16:01:09 +0200 Subject: lockLoc [was Re: Alpha Channel?] Message-ID: <6.1.0.6.2.20040611154143.01d07a18@pop3.blueyonder.co.uk> On Thu, 10 Jun 2004 15:34:01 +0100, Frank Leahy wrote: [a long - but not too long! - and reasoned explanation of why RunRev remembers the original size of a graphic] Frank, thanks for all that. I'm a digest reader, so maybe this conversation has swept past this, but I think what your explanation shows me is that there are many completely different ways of looking at issues like this. I see now that my sole interest to do with images has always been to show them **at the screen resolution**, because the kind of stuff I've done up to now is basically viewed rather than kept for later printing etc. So the change of size of an image to me means just that, like it does in Photoshop: if you change the size of an image, by default you keep the original resolution and thus lose detail. In my context, this has never been a problem, all images having the screen resolution - but as you point out, it could well be very bad news in some other contexts. So I will live with the lockLoc way of doing things. A parallel case is perhaps shown by my interest in being able to print to the maximum available printable area on a page: this seems to me a must for any even vaguely print-oriented app, yet I was met with incomprehension and/or indifference from people on this list when I pointed out that RR doesn't have a way of getting at printer driver APIs in particular so as to see minimum margins. I've put this in Bugzilla as an enhancement request (#1619 - vote if you agree with me!). I was seeing it one way, and other people couldn't see what the fuss was about. I guess differences of view are a consequence of the extremely wide range of uses to which a tool like RunRev can be put. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From mike at themactech.com Fri Jun 11 11:51:05 2004 From: mike at themactech.com (Mike Bautsch) Date: Fri, 11 Jun 2004 11:51:05 -0400 Subject: USB input capture Message-ID: <000001c44fcb$e85a6490$1401a8c0@Maryanne> I need to find out if Revolution can capture USB device input. Specifically, I need to use a Logitech steering wheel and pedals with my app, but I only need to detect if the accelerator or brake pedal has been pushed. I am writing an app that will be used for Drivers Education to test accelerator to brake reaction time. I attempted to write my app in Real Basic, but unfortunately RB has a bug in it that bombs out any app trying to capture game device input under windows. Real Basic doesn't seem to be in any hurry to fix this problem so I am looking for a viable alternative. I took a brief look at Visual Basic, but if I use VB I'm stuck with a win only app. Please Help!! Thanks, Mike Bautsch From bornstein at designeq.com Fri Jun 11 12:01:14 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Fri, 11 Jun 2004 12:01:14 -0400 Subject: Alpha Channel? In-Reply-To: References: <20040611044305.7E81E93014C@mail.runrev.com> Message-ID: <90ACA7AC-BBC0-11D8-A9B4-000A95909E26@designeq.com> On Jun 11, 2004, at 9:41 AM, Marty Billingsley wrote: > The current behavior makes one of my beginning assignments, a > flip-card animation, really tedious to do. (I'm reluctant to > give up the assignment, as it's how I introduce loops.) > > Now if there were a control key that you could hold down that would > override the lock as you click and drag on an object or its handles, > that would solve the problem. (RR, are you listening???) How about putting a script like this in the stack script: on mousemove if word 1 of the target = "image" then if the mouse is up then set the lockloc of the target to true else set the lockloc of the target to false end if end if end mousemove Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From janschenkel at yahoo.com Fri Jun 11 12:07:31 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 11 Jun 2004 09:07:31 -0700 (PDT) Subject: USB input capture In-Reply-To: <000001c44fcb$e85a6490$1401a8c0@Maryanne> Message-ID: <20040611160731.95994.qmail@web60504.mail.yahoo.com> --- Mike Bautsch wrote: > I need to find out if Revolution can capture USB > device input. > Specifically, I need to use a Logitech steering > wheel and pedals with my > app, but I only need to detect if the accelerator or > brake pedal has > been pushed. I am writing an app that will be used > for Drivers Education > to test accelerator to brake reaction time. I > attempted to write my app > in Real Basic, but unfortunately RB has a bug in it > that bombs out any > app trying to capture game device input under > windows. Real Basic > doesn't seem to be in any hurry to fix this problem > so I am looking for > a viable alternative. I took a brief look at Visual > Basic, but if I use > VB I'm stuck with a win only app. > > Please Help!! > > Thanks, > > Mike Bautsch > Hi Mike, The good news is that Revolution lets you read from and write to USB devices, with code similar to the script below: -- on mouseUp ## open a connection to the device open driver tDeviceName for binary read ## read three unsigned 32-bit integers read from driver tDeviceName for 3 uint4 ## do some more reading ## ... ## close the connection to the device close driver tDeviceName end mouseUp -- The bad news is that I haven't used it before, but I'm sure there are others who would be happy to help you with additional questions -- just wanted to inform you that Revolution can do it. Best regards, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From geoff at advantae.com Fri Jun 11 12:23:59 2004 From: geoff at advantae.com (Geoff Caplan) Date: Fri, 11 Jun 2004 17:23:59 +0100 Subject: Encryption or SHA - URGENT PLEASE In-Reply-To: <1eb.22a9e585.2dfb1418@aol.com> References: <1eb.22a9e585.2dfb1418@aol.com> Message-ID: <1215229173.20040611172359@variosoft.com> Hi, By a strange twist of fate I am helping someone with a commercial Transcript project with a tight deadline on my first day as a Transcript hacker! We URGENTLY need a recognised 2 way encryption algorithm - has anyone done one please? Don't have time to do it from scratch. Failing that, the SHA asked for earlier today would do as our main need is to protect from tampering. There appears to be no encryption at all in Transcript, which makes it hard to send data over the net. This is a pretty big gap... especially for the corporates. As there is C code freely available for these algorithms there is surely no excuse for RunRev not sorting this... ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From janschenkel at yahoo.com Fri Jun 11 12:28:26 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 11 Jun 2004 09:28:26 -0700 (PDT) Subject: Encryption or SHA - URGENT PLEASE In-Reply-To: <1215229173.20040611172359@variosoft.com> Message-ID: <20040611162826.2027.qmail@web60504.mail.yahoo.com> --- Geoff Caplan wrote: > Hi, > > By a strange twist of fate I am helping someone with > a commercial > Transcript project with a tight deadline on my first > day as a > Transcript hacker! > > We URGENTLY need a recognised 2 way encryption > algorithm - has anyone > done one please? Don't have time to do it from > scratch. > > Failing that, the SHA asked for earlier today would > do as our main > need is to protect from tampering. > > There appears to be no encryption at all in > Transcript, which makes it > hard to send data over the net. This is a pretty big > gap... especially > for the corporates. As there is C code freely > available for these > algorithms there is surely no excuse for RunRev not > sorting this... > > ------------------ > Geoff Caplan > Hi Geoff, Have a look at a simple encryption algorithm as devised by Richard Gaskin, and published on the revJournal website : Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From gizmotron at earthlink.net Fri Jun 11 12:43:00 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri, 11 Jun 2004 09:43:00 -0700 Subject: Encryption or SHA - URGENT PLEASE In-Reply-To: <1215229173.20040611172359@variosoft.com> Message-ID: <664B4530-BBC6-11D8-9569-000A95859272@earthlink.net> On Friday, June 11, 2004, at 09:23 AM, Geoff Caplan wrote: > We URGENTLY need a recognised 2 way encryption algorithm - has anyone > done one please? Don't have time to do it from scratch. What do you mean by recognized 2 way encryption algorithm. I mean will you be encrypting with a Rev application but decrypting with a standard version of something like Blowfish within the openSSL libraries? I ask because if you are in the USA I can send to you a transcript based Blowfish_CBC version that I created. Let me know, Mark From wouter.abraham at pi.be Fri Jun 11 13:29:24 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 11 Jun 2004 19:29:24 +0200 Subject: SHA-1 Secure Hash Algorithm in xTalk? In-Reply-To: <20040611160025.E456F9301D7@mail.runrev.com> References: <20040611160025.E456F9301D7@mail.runrev.com> Message-ID: On 11 Jun 2004, at 18:00, use-revolution-request at lists.runrev.com wrote: > Message: 5 > Date: Fri, 11 Jun 2004 09:56:40 EDT > From: FlexibleLearning at aol.com > Subject: Re: SHA-1 Secure Hash Algorithm in xTalk? > To: use-revolution at lists.runrev.com > Message-ID: <1eb.22a9e585.2dfb1418 at aol.com> > Content-Type: text/plain; charset="US-ASCII" > > > Does anyone have SHA-1 digest code written in xTalk by chance? > > (SHA-1 = Secure Hash Algorithm) If MD5 fills the bill, have a look at the md5Digest function. Greetings, WA From nnoydb at excite.com Fri Jun 11 13:57:14 2004 From: nnoydb at excite.com (K) Date: Fri, 11 Jun 2004 13:57:14 -0400 (EDT) Subject: Encryption or SHA - URGENT PLEASE Message-ID: <20040611175714.7EAD1393F@xprdmailfe9.nwk.excite.com> I would be very interested in you blowfish encryption. Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Fri 06/11, Mark Brownell < gizmotron at earthlink.net > wrote: From: Mark Brownell [mailto: gizmotron at earthlink.net] To: geoff at advantae.com, use-revolution at lists.runrev.com Date: Fri, 11 Jun 2004 09:43:00 -0700 Subject: Re: Encryption or SHA - URGENT PLEASE
On Friday, June 11, 2004, at 09:23 AM, Geoff Caplan wrote:

> We URGENTLY need a recognised 2 way encryption algorithm - has anyone
> done one please? Don't have time to do it from scratch.

What do you mean by recognized 2 way encryption algorithm. I mean will
you be encrypting with a Rev application but decrypting with a standard
version of something like Blowfish within the openSSL libraries? I ask
because if you are in the USA I can send to you a transcript based
Blowfish_CBC version that I created.

Let me know,

Mark

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From lists at mangomultimedia.com Fri Jun 11 13:18:03 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 11 Jun 2004 11:18:03 -0600 Subject: Typing sets vscroll of field to 0 Message-ID: <4C363CD3-BBCB-11D8-A36F-000A956C462A@mangomultimedia.com> Howdy, I have a field which has a vertical scroll bar, the text is locked and it has focus. If the field is scrolled down and I start typing on the keybaord the field receives the keyDown event the field scrolls to the top (vscroll = 0). It appears that the field is behaving as if it were not locked and it is trying to enter text into the field where the cursor would be (line 1). I can get around this behavior by trapping the keyDown event and not passing it but it seems this shouldn't happen. Is this expected behavior or should I bugzilla it? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From rcozens at pon.net Fri Jun 11 14:19:20 2004 From: rcozens at pon.net (Rob Cozens) Date: Fri, 11 Jun 2004 11:19:20 -0700 Subject: Typing sets vscroll of field to 0 In-Reply-To: <4C363CD3-BBCB-11D8-A36F-000A956C462A@mangomultimedia.com> References: <4C363CD3-BBCB-11D8-A36F-000A956C462A@mangomultimedia.com> Message-ID: >I can get around this behavior by trapping the keyDown event and not >passing it but it seems this shouldn't happen. Is this expected >behavior or should I bugzilla it? Hi Trevor, I _think_ the underlying issue is that Rev's MC engine wants to center focused text in a scrolling field automatically. Someone else can probably provide more details; but I believe it's a known "feature". :{`) -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From nnoydb at excite.com Fri Jun 11 14:54:26 2004 From: nnoydb at excite.com (K) Date: Fri, 11 Jun 2004 14:54:26 -0400 (EDT) Subject: Syntax to get the keys of a array item Message-ID: <20040611185426.E57193954@xprdmailfe9.nwk.excite.com> I have a array the array has keys with have keys i.e. put "blah" into array["a"] put "b" into array["a","b"] put "c" into array["a","b","c"] How would I get the keys of the sub array "b"? -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From janschenkel at yahoo.com Fri Jun 11 15:08:47 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 11 Jun 2004 12:08:47 -0700 (PDT) Subject: Syntax to get the keys of a array item In-Reply-To: <20040611185426.E57193954@xprdmailfe9.nwk.excite.com> Message-ID: <20040611190847.44591.qmail@web60504.mail.yahoo.com> --- K wrote: > > > I have a array the array has keys with have keys > i.e. > > put "blah" into array["a"] > put "b" into array["a","b"] > put "c" into array["a","b","c"] > > How would I get the keys of the sub array "b"? > Hi Kevin, Try the following : -- put the keys of tArray into tKeys filter tKeys with "a,b,*" ## now tKeys only has keys left ## that start with a,b, repeat for each line tKey in tKeys ## do whatever you want to do with ## those keys in the array end repeat -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From nnoydb at excite.com Fri Jun 11 15:13:43 2004 From: nnoydb at excite.com (K) Date: Fri, 11 Jun 2004 15:13:43 -0400 (EDT) Subject: Syntax to get the keys of a array item Message-ID: <20040611191343.6F1E0394E@xprdmailfe9.nwk.excite.com> This is what I am doint actuall but for some reason the keys isn't reflecting the sub items. I probally have a larger bung somewhere thanks. -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Fri 06/11, Jan Schenkel < janschenkel at yahoo.com > wrote: From: Jan Schenkel [mailto: janschenkel at yahoo.com] To: use-revolution at lists.runrev.com Date: Fri, 11 Jun 2004 12:08:47 -0700 (PDT) Subject: Re: Syntax to get the keys of a array item --- K wrote:
>
>
> I have a array the array has keys with have keys
> i.e.
>
> put "blah" into array["a"]
> put "b" into array["a","b"]
> put "c" into array["a","b","c"]
>
> How would I get the keys of the sub array "b"?
>

Hi Kevin,

Try the following :
--
put the keys of tArray into tKeys
filter tKeys with "a,b,*"
## now tKeys only has keys left
## that start with a,b,
repeat for each line tKey in tKeys
## do whatever you want to do with
## those keys in the array
end repeat
--

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)




__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From gizmotron at earthlink.net Fri Jun 11 15:45:58 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri, 11 Jun 2004 12:45:58 -0700 Subject: Encryption or SHA - URGENT PLEASE In-Reply-To: <20040611175714.7EAD1393F@xprdmailfe9.nwk.excite.com> Message-ID: On Friday, June 11, 2004, at 10:57 AM, K wrote: > > I would be very interested in you blowfish encryption. > > Kevin Sorry Kevin, If you had a domain website that I could check of yours then I would know where you are. With an excite.com email address you could be anywhere. I have to make an effort not to export this outside the US and to anyone in the US that should not get it. Even though encryption exports have been eased a bit new restrictions since September 11th have made this even more controlled. My version goes all the way up to 448 bit level and can be way beyond what is allowed to be exported. Now all this is somewhat of a joke but I guess the law is there so that they can hang the bad guys with it so to speak. 64 bit is the allowable limit. Mark From revolution at jaedworks.com Fri Jun 11 15:47:24 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 11 Jun 2004 12:47:24 -0700 Subject: "Fit Content" button in property palette In-Reply-To: <88D844DC-BB99-11D8-A16B-0003938D4A68@icmlondon.co.uk> References: <88D844DC-BB99-11D8-A16B-0003938D4A68@icmlondon.co.uk> Message-ID: At 12:21 PM +0100 6/11/2004, Ian Summerfield wrote: >On the property inspector palette their are buttons to make a field >"fit content". This is exactly what I want to do when a user enters >some text into a field. I can't find out how to do it though! How >do I "borrow" the script behind those buttons on the property >inspector? Or is it a property of a field to change? In addition to Jan's tip, a handy thing to know is how to see any of the scripts in the Rev IDE: 1. In the Preferences, check the box for "Contextual menus work in Revolution windows". 2. Command-control-shift-click (or control-shift-right-click) the object you want to look at and choose "Edit Script" from the popup menu that shows up. There is usually some additional scripting to deal with updating the IDE, the property palettes, etc., so you may have to parse through the script a bit to find the part that's useful for your purpose. -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Fri Jun 11 15:48:52 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 11 Jun 2004 12:48:52 -0700 Subject: Alpha Channel? In-Reply-To: References: <20040611044305.7E81E93014C@mail.runrev.com> Message-ID: At 8:41 AM -0500 6/11/2004, Marty Billingsley wrote: >Although I understand the current behavior, it is really awkward >and drives my students nuts. Every time they want to move or >resize an image they first have to unlock it, and then remember to >lock it when they're done. These are 8th graders; the easier the >interface the better. You can use the arrow keys to move a selected object (and shift-arrow to move it 10 pixels at a time), even if its lockLoc is true. Does this help? -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Fri Jun 11 15:54:55 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 11 Jun 2004 12:54:55 -0700 Subject: News on Macnn In-Reply-To: <7D3FE424-BB9F-11D8-9729-000A27B49A96@major-k.de> References: <7D3FE424-BB9F-11D8-9729-000A27B49A96@major-k.de> Message-ID: At 2:04 PM +0200 6/11/2004, Klaus Major wrote: >i just (!) read this one on Macnn (http://www.macnn.com): >* Runtime Revolution 2.2 updates the development environment[..] > >Did i miss something? >Is Macnn late or what...? The press release in question was about the release of 2.2 for Linux and Unix - I suspect they left out that part, not realizing it was significant. -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From klaus at major-k.de Fri Jun 11 16:07:46 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 11 Jun 2004 22:07:46 +0200 Subject: News on Macnn In-Reply-To: References: <7D3FE424-BB9F-11D8-9729-000A27B49A96@major-k.de> Message-ID: <0174A520-BBE3-11D8-9729-000A27B49A96@major-k.de> Hi Jeanne, > At 2:04 PM +0200 6/11/2004, Klaus Major wrote: >> i just (!) read this one on Macnn (http://www.macnn.com): >> * Runtime Revolution 2.2 updates the development environment[..] >> >> Did i miss something? >> Is Macnn late or what...? > > The press release in question was about the release of 2.2 for Linux > and Unix - I suspect they left out that part, not realizing it was > significant. Aha, thank you for the info :-) > -- > jeanne a. e. devoto ~ jaed at jaedworks.com > http://www.jaedworks.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From malte.brill at t-online.de Fri Jun 11 16:23:09 2004 From: malte.brill at t-online.de (Malte Brill) Date: Fri, 11 Jun 2004 22:23:09 +0200 Subject: Encryption or SHA - URGENT PLEASE In-Reply-To: <20040611121416.0BED393018E@mail.runrev.com> Message-ID: Actually Geoff is helping me. :-) We need to communicate from within a stack with a PHP Script (I can?t use custom Rev CGI on the Server). I *hope* we have found the problem as in the stack data has accidentely been URL encoded twice instead of once. I should have seen that earlier. Best (and thanks) Malte From revolution at knowledgeworks.plus.com Fri Jun 11 17:26:34 2004 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Fri, 11 Jun 2004 22:26:34 +0100 Subject: Need to highlight searching the list archives (wasDocumentation on expressions??) Message-ID: Hi Heather >> The google link does already appear at the head of every digest. How many people feel that is not sufficient? << I wasn't aware that appeared on the header of the digest. But the problem seems to be that there are new users who are unaware that there is any way to search the list archive (presumably they don't get the digest). Maybe the suggestion about putting a link on the website is the best solution. Regards, Bernard Devlin From graham.samuel at wanadoo.fr Fri Jun 11 16:43:52 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Fri, 11 Jun 2004 22:43:52 +0200 Subject: Alpha Channel? Message-ID: <6.1.0.6.2.20040611224214.01ce7ec0@pop3.blueyonder.co.uk> On Fri, 11 Jun 2004 10:28:36 +1000, "Michael J. Lew" wrote: >You CAN permanently re-size an image with only a little bit of indirection. > >Make the image the size you want, then make a new image and type >these two lines in the message box: > >set the rect of image 2 to the rect of image 1 >set the imageData of image 2 to the imageData of image 1 > >Now image 2 has its "natural" size set to its current size. Go to >another card in the stack and return and you will find image 1 has >reverted to its inital size but image 2 has stayed just how you want >it. > >(It works because the imageData is the pixels as displayed, not the >pixels at the original image size.) > >Hope that helps. Sure does! This has gone straight into the scrapbook. Thanks very much Michael. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From revlist at cableone.net Fri Jun 11 17:40:02 2004 From: revlist at cableone.net (Chris Sheffield) Date: Fri, 11 Jun 2004 15:40:02 -0600 Subject: custom properties in stacks that aren't open Message-ID: <000f01c44ffc$a733a8b0$64fea8c0@chris1> What happens if I refer to a custom property that is in a stack that is not open? Does the stack open invisible and load into memory, or can you actually read a custom property from a stack without opening it? I've been playing with this a little, but I can't really tell what's happening. I tried getting data from a custom property in a stack file, which worked just fine. But then when I tried to open that stack file in the Rev IDE, I got the message saying a stack with the same name was already open and did I want to Save, Purge, or Cancel. But the stack did not appear in the openStacks. Can someone help? Thanks, Chris Sheffield Software Developer Read Naturally --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.703 / Virus Database: 459 - Release Date: 6/10/2004 From dsc at swcp.com Fri Jun 11 17:54:45 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 11 Jun 2004 15:54:45 -0600 Subject: Encryption or SHA - URGENT PLEASE In-Reply-To: <1215229173.20040611172359@variosoft.com> References: <1eb.22a9e585.2dfb1418@aol.com> <1215229173.20040611172359@variosoft.com> Message-ID: On Jun 11, 2004, at 10:23 AM, Geoff Caplan wrote: > We URGENTLY need a recognised 2 way encryption algorithm - has anyone > done one please? Don't have time to do it from scratch. On most platforms you can use the Transcript shell() function to get you access to command-line encryption utilities such as openSSL and gnupg. This may require the plaintext to be in a file, unfortunately. You can wipe a plaintext file with a utility (WipeErase, QuickWiper, flame, burn, wipe, etc.) that writes to every used sector several times, and in many applications, that is sufficient. It might be easier to use a system enhancement such as autoscrubber and that might be better for some needs--I haven't used one of these. If you need just a simple obfuscation, then you can try building something with the MD5 command (I have). There is some literature on building true encryption this way. If you do decide to build one from scratch, check on the legal status of the RC4 trademark and make an RC4 stream cipher. To use the openSSL command-line tool for simple encryption, see these: http://www.openssl.org/docs/apps/openssl.html http://www.openssl.org/docs/apps/enc.html For example, to use RC4 to decode a file and use stdout for the plaintext: openssl rc4-40 -in c.rc4 -K 1234567890 Dar Scott From ambassador at fourthworld.com Fri Jun 11 17:56:45 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Jun 2004 14:56:45 -0700 Subject: custom properties in stacks that aren't open In-Reply-To: <000f01c44ffc$a733a8b0$64fea8c0@chris1> References: <000f01c44ffc$a733a8b0$64fea8c0@chris1> Message-ID: <40CA2A9D.2000004@fourthworld.com> Chris Sheffield wrote: > What happens if I refer to a custom property that is in a stack that is not > open? Does the stack open invisible and load into memory, or can you > actually read a custom property from a stack without opening it? > > I've been playing with this a little, but I can't really tell what's > happening. I tried getting data from a custom property in a stack file, > which worked just fine. But then when I tried to open that stack file in > the Rev IDE, I got the message saying a stack with the same name was already > open and did I want to Save, Purge, or Cancel. But the stack did not appear > in the openStacks. > > Can someone help? You can read any property of any object in any stack file at any time. If the stack is not open, it will be loaded into memory in order to access the property, but will not be "opened" per se (will not receive "openstack", opencard", etc.) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From troy at rpsystems.net Fri Jun 11 18:01:32 2004 From: troy at rpsystems.net (Troy Rollins) Date: Fri, 11 Jun 2004 18:01:32 -0400 Subject: custom properties in stacks that aren't open In-Reply-To: <000f01c44ffc$a733a8b0$64fea8c0@chris1> References: <000f01c44ffc$a733a8b0$64fea8c0@chris1> Message-ID: On Jun 11, 2004, at 5:40 PM, Chris Sheffield wrote: > I've been playing with this a little, but I can't really tell what's > happening. I tried getting data from a custom property in a stack > file, > which worked just fine. But then when I tried to open that stack file > in > the Rev IDE, I got the message saying a stack with the same name was > already > open and did I want to Save, Purge, or Cancel. But the stack did not > appear > in the openStacks. > > Can someone help? Not sure. Try checking the stackFiles property rather than the openStacks. -- Troy RPSystems, Ltd. http://www.rpsystems.net From revlist at cableone.net Fri Jun 11 18:03:45 2004 From: revlist at cableone.net (Chris Sheffield) Date: Fri, 11 Jun 2004 16:03:45 -0600 Subject: custom properties in stacks that aren't open In-Reply-To: <40CA2A9D.2000004@fourthworld.com> Message-ID: <001001c44fff$f7bd2740$64fea8c0@chris1> Thanks, Richard. So if I have a stack that's 50 MB containing binary data in custom properties, will the whole stack get loaded into memory if I want read the data from just one of those properties? If that's the case, how do I close the stack to release that memory if it's not really "open"? Would I just issue a normal close stack command? Chris Sheffield Software Developer Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Friday, June 11, 2004 3:57 PM To: How to use Revolution Subject: Re: custom properties in stacks that aren't open Chris Sheffield wrote: > What happens if I refer to a custom property that is in a stack that is not > open? Does the stack open invisible and load into memory, or can you > actually read a custom property from a stack without opening it? > > I've been playing with this a little, but I can't really tell what's > happening. I tried getting data from a custom property in a stack file, > which worked just fine. But then when I tried to open that stack file in > the Rev IDE, I got the message saying a stack with the same name was already > open and did I want to Save, Purge, or Cancel. But the stack did not appear > in the openStacks. > > Can someone help? You can read any property of any object in any stack file at any time. If the stack is not open, it will be loaded into memory in order to access the property, but will not be "opened" per se (will not receive "openstack", opencard", etc.) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.703 / Virus Database: 459 - Release Date: 6/10/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.703 / Virus Database: 459 - Release Date: 6/10/2004 From dsc at swcp.com Fri Jun 11 18:15:06 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 11 Jun 2004 16:15:06 -0600 Subject: USB input capture In-Reply-To: <000001c44fcb$e85a6490$1401a8c0@Maryanne> References: <000001c44fcb$e85a6490$1401a8c0@Maryanne> Message-ID: On Jun 11, 2004, at 9:51 AM, Mike Bautsch wrote: > Specifically, I need to use a Logitech steering wheel and pedals with > my > app, but I only need to detect if the accelerator or brake pedal has > been pushed. Maybe on Windows you can use the Logitech Profiler to map these to key & mouse. But you seem to be a mac guy... Maybe there is some way to get to the HID interface with an external. Or there might be a utility to translate the OS X HID to mouse & key. Some USB devices also present a serial interface in the usb interface. That isn't working well yet on OS X. Just some wild guesses. Dar Scott From wouter.abraham at pi.be Fri Jun 11 18:34:06 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 12 Jun 2004 00:34:06 +0200 Subject: custom properties in stacks that aren't open Message-ID: <72A98BA8-BBF7-11D8-A983-003065CC999E@pi.be> Chris Sheffield wrote: > custom properties in stacks that aren't open > Chris Sheffield revlist at cableone.net > Fri Jun 11 17:03:45 EDT 2004 > > Thanks, Richard. > > So if I have a stack that's 50 MB containing binary data in custom > properties, will the whole stack get loaded into memory if I want read > the > data from just one of those properties? If that's the case, how do I > close > the stack to release that memory if it's not really "open"? Would I > just > issue a normal close stack command? > > Chris Sheffield > Software Developer > Read Naturally You can purge stacks from memory like this: on purgeStack x put the mainStack of x into tS put cr & the subStacks of x after tS repeat for each line l in tS close stack l end repeat delete stack x end purgeStack Greetings, WA From ambassador at fourthworld.com Fri Jun 11 18:44:57 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Jun 2004 15:44:57 -0700 Subject: custom properties in stacks that aren't open In-Reply-To: <001001c44fff$f7bd2740$64fea8c0@chris1> References: <001001c44fff$f7bd2740$64fea8c0@chris1> Message-ID: <40CA35E9.8010509@fourthworld.com> Chris Sheffield wrote: >>>What happens if I refer to a custom property that is in a stack >>>that is not open? >> >> You can read any property of any object in any stack file at >> any time. If the stack is not open, it will be loaded into >> memory in order to access the property, but will not be >> "opened" per se (will not receive "openstack", opencard", etc.) > > So if I have a stack that's 50 MB containing binary data in custom > properties, will the whole stack get loaded into memory if I want > read the data from just one of those properties? I believe that's the case. Hopefully Tuviah can jump in here to clarify. For this reason, when building large systems it may be useful to break data sets into multiple stack files. Or if there are relatively few records each containing a fairly large amount of data you may just find it simpler to use the stack property to hold just the path to an external file for the data itself. In fact, that even found its way into WebMerge: we encountered a few databases that fit that description (few records, large record sizes), and added a tag for doing what are basically a type of "include" which find a path in record data and copies the contents of that file where it would normally put the record data directly. > If that's the case, how do I close the stack to release that memory > if it's not really "open"? Would I just issue a normal close stack > command? A close command would only be needed if you had opened the stack, using either the open or go commands, or one of their equivalents that specify mode (modeless, modal, toplevel, palette). Rev has a built-in property for this: if you want to purge a stack from memory whenever you're done using it just set the stack's destroyStack property to true. In spite of the needlessly alarming name the property is not destructive at all. It's just destroying the memory-based copy of the stack, and does not affect the stack file. I like to think of that property as "purgeStack". This has an adverse affect on performance, however: the trade-off is the classic memory-vs-speed issue, played out here by needed to read the stack file from disk each time if the destroyStack is true. If you can spare the RAM you might enjoy the zippy performance of keeping it in RAM, which you can likely do with 50MBs on most XP and OS X systems without needing to dip into VM. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From geoff at advantae.com Fri Jun 11 19:02:42 2004 From: geoff at advantae.com (Geoff Caplan) Date: Sat, 12 Jun 2004 00:02:42 +0100 Subject: Encryption or SHA - URGENT PLEASE In-Reply-To: References: <1eb.22a9e585.2dfb1418@aol.com> <1215229173.20040611172359@variosoft.com> Message-ID: <238452884.20040612000242@variosoft.com> Dar, DS> On most platforms you can use the Transcript shell() function to get DS> you access to command-line encryption utilities such as openSSL and DS> gnupg. We don't have any control of the client side, so that approach seemed too risky. DS> If you need just a simple obfuscation, then you can try building DS> something with the MD5 command (I have). There is some literature on DS> building true encryption this way. I did cobble together some obfuscation: should do the job ok: we're just trying to prevent kids spamming high-scores for a promotional game that gives small prizes... But there is an issue with MD5 that I will raise in a new thread. ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From geoff at advantae.com Fri Jun 11 19:04:08 2004 From: geoff at advantae.com (Geoff Caplan) Date: Sat, 12 Jun 2004 00:04:08 +0100 Subject: Encryption or SHA - URGENT PLEASE In-Reply-To: References: <20040611121416.0BED393018E@mail.runrev.com> Message-ID: <707864713.20040612000408@variosoft.com> Malte, MB> Actually Geoff is helping me. :-) MB> We need to communicate from within a stack with a PHP Script (I can?t use MB> custom Rev CGI on the Server). MB> I *hope* we have found the problem as in the stack data has accidentely been MB> URL encoded twice instead of once. You hope in vain laddie: I squashed that one some time ago! I'll post the actual problem in another thread... ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From wouter.abraham at pi.be Fri Jun 11 19:18:42 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 12 Jun 2004 01:18:42 +0200 Subject: custom properties in stacks that aren't open Message-ID: > You can purge stacks from memory like this: > > on purgeStack x > put the mainStack of x into tS > put cr & the subStacks of x after tS > repeat for each line l in tS > close stack l > end repeat > delete stack x > end purgeStack > > Greetings, > WA Correction, copied the wrong handler, sorry on purge x put x into tS put cr & the subStacks of stack x after tS repeat for each line l in tS close stack l end repeat delete stack x end purge Greetings, WA From dsc at swcp.com Fri Jun 11 19:50:40 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 11 Jun 2004 17:50:40 -0600 Subject: Encryption or SHA - URGENT PLEASE In-Reply-To: <238452884.20040612000242@variosoft.com> References: <1eb.22a9e585.2dfb1418@aol.com> <1215229173.20040611172359@variosoft.com> <238452884.20040612000242@variosoft.com> Message-ID: <24D9D32C-BC02-11D8-ADEA-000A9567A3E6@swcp.com> On Jun 11, 2004, at 5:02 PM, Geoff Caplan wrote: > DS> If you need just a simple obfuscation, then you can try building > DS> something with the MD5 command (I have). There is some literature > on > DS> building true encryption this way. > > I did cobble together some obfuscation: should do the job ok: we're > just trying to prevent kids spamming high-scores for a promotional > game that gives small prizes... Note that Richard Gaskin's method using MD5 is a simple example and is vulnerable to situations with known plaintext and repeated portions of plaintext. Perhaps that is not a concern in your case. Dar Scott From chipp at chipp.com Fri Jun 11 22:59:13 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 11 Jun 2004 21:59:13 -0500 Subject: AltPlugin Toolbar Message-ID: <40CA7181.6060706@chipp.com> Everyone, It turns out a modification I made to revAltPlugin Toolbar a while ago made it incompatible with RR 2.1 and below. So, IOW it's only working with 2.2 (which I use exclusively anyway). The modification was using the: "filter without" command which I forgot was only introduced in V 2.2 Unless anyone asks otherwise, I'm going to continue to only support altPluginToolbar for 2.2 and greater. http://www.altuit.com/webs/altuit2/altPluginCover/about.htm There are older toolbar versions which work on older RR at: http://www.altuit.com/webs/altuit2/RunRevArchived/About.htm best, Chipp From revolution at jaedworks.com Fri Jun 11 15:56:55 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 11 Jun 2004 12:56:55 -0700 Subject: Problem In-Reply-To: <1B241D4E-BB31-11D8-A76D-000A95859272@earthlink.net> References: <1B241D4E-BB31-11D8-A76D-000A95859272@earthlink.net> Message-ID: At 3:54 PM -0700 6/10/2004, Mark Brownell wrote: >I'm willing to bet the Bat Cave that the access code has some groovy >cryptic max-zoomed-dweeby trick to it that includes the date. Try >turning back the date on your bat computer and then enter your old >access key with the older version you saved of the installer. Now if >Revolution is counting the seconds somewhere this might not work to >well. It never occurred to me that this might be a problem. Hmm, I don't think it should do that. (The unlock code for Studio is good for either a particular version(s), or for all versions released in a given year, so if it worked one time for 2.2, it should continue working for 2.2 no matter when you install it. In general the codes are keyed to specific version(s), not to date ranges.) -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From soapdog at mac.com Sat Jun 12 00:41:10 2004 From: soapdog at mac.com (Andre Garzia) Date: Sat, 12 Jun 2004 01:41:10 -0300 Subject: ANN: LibWrapper 0.1 In-Reply-To: References: <20040609102743.C74B19300DF@mail.runrev.com> Message-ID: Hi Folks, I am announcing libWrapper a simple and stupid idea on quick'n'dirty gui wrapper for command line tools. I'll explain the theory behind it, give some cool examples and tell the download url. Let's assume that a trivial command line tool is usually used by invoking it's executable file with parameters. What the library does is assemble this line for you, it does not execute the line, there's only one function, and this function will return a string with the line. You execute it on your own okay? It's all based on custom properties. First important custom property is cShellCommand, this you set on the card serving as wrapper. It's the executable file to be launched, like in the psWrapper is cShellCommand = /bin/ps. Now, let's understand about the innerworkings here (it's silly...). Function will loop thru all controls in the card, each control should resolve/evaluate to a parameter. The loop is based on the index, so first controls will be checked first, they are accessed by name, so no duplicate naming allowed. Controls with cIgnore set to true are skipped. Field controls: They will be skipped if there's no content in them. if they have a cParameter property, this parameter will be used, and a simple string replacing routine will swap %CONTENTS% placeholder with the actual field contents. Example the grep pipe wrapper in the ps Wrapper, it's a field, the last field, so it's the last to be checked, it's cParameter is [| grep "%CONTENTS%" ] without the brackets, this way it will be appended last, the field contents will be inserted in %CONTENTS% and we'll have a piping wrapper!!!! It's a ps wrapper that's able to pipe to grep without any code at all!!!! Buttons: buttons should set their cParamTrue and cParamFalse to the desired parameters. Checkbox and Radio buttons are evaluate based on their hilites, true look for cParamTrue, false look for cParamFalse. Get the picture? for example there's a check box in the ps wrapper called "Show all users?" cParamTrue = -a cParamFalse does not exist for we need no option not to show everyone. If button style is menu, then it will look for cParameter prop, and append it to the command line, use your own code to set the correct parameter when the user clicks the menu, look into the /bin/defaults wrapper for an example. Tips: always set the cIgnore of your "Run!" button... LibWrapper is: A mainstack with only one function called wrapIt. You invoke it with two parameters: stack and card. It returns the assembled string. Ex: get wrapIt("psWrapper",1) Two example substacks, one is a MacOS X Wrapper for the /bin/defaults utility! (beware not to write crap to your defaults!) and the other is a /bin/ps wrapper for unix-like systems. This code is free! I collect postcard if anyone care! :D You can fetch libwrapper.rev at http://public.soapdog.org or you can run it from http://www.soapdog.org/rev/libwrapper.rev There are some strange things in the loop, some parameters are evaluated twice... it's a bug with my code, a silly one, i'll fix it soon, but you can use it anyway! usually commandline tools to not argue with duplicate equal parameters.... If anyone patch, improves or create any wrapper, please send them to me!!! This email text is bigger than the code... he he he.... simple code, complex ideas! Andre Alves Garzia: "Wrap the Developer!" From geoff at advantae.com Sat Jun 12 04:21:32 2004 From: geoff at advantae.com (Geoff Caplan) Date: Sat, 12 Jun 2004 09:21:32 +0100 Subject: MD5 output (was Encryption) Message-ID: <20655142.20040612092132@variosoft.com> Hi folks, I have been attempting to create a checksum digest in Rev for posting to a PHP server and checking server-side. The problem I ran into was the output from MD5 on Rev is binary, while on PHP it is an ASCII string. So of course they don't match. Does anyone understand what's going on here - I thought MD5 was a standard? Is there any way to translate from the binary to the ASCII format? I must say that the PHP ASCII format is pretty useful. You can POST it over the net without base64 encoding, and use it directly to make unique filenames etc etc. ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From wouter.abraham at pi.be Sat Jun 12 06:51:54 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 12 Jun 2004 12:51:54 +0200 Subject: MD5 output (was Encryption) Message-ID: <84A4EFB4-BC5E-11D8-A983-003065CC999E@pi.be> > Geoff Caplan geoff at advantae.com > Sat Jun 12 10:21:32 EDT 2004 > > Hi folks, > > I have been attempting to create a checksum digest in Rev for posting > to a PHP server and checking server-side. The problem I ran into was > the output from MD5 on Rev is binary, while on PHP it is an ASCII > string. So of course they don't match. > > Does anyone understand what's going on here - I thought MD5 was a > standard? Is there any way to translate from the binary to the ASCII > format? Have a look at the binaryDecode function. > > I must say that the PHP ASCII format is pretty useful. You can POST it > over the net without base64 encoding, and use it directly to make > unique filenames etc etc. > > ------------------ > Geoff Caplan > Vario Software Ltd > (+44) 121-515 1154 Greetings, WA From wouter.abraham at pi.be Sat Jun 12 07:57:09 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 12 Jun 2004 13:57:09 +0200 Subject: MD5 output (was Encryption) Message-ID: > Geoff Caplan geoff at advantae.com > Sat Jun 12 10:21:32 EDT 2004 > > Hi folks, > > I have been attempting to create a checksum digest in Rev for posting > to a PHP server and checking server-side. The problem I ran into was > the output from MD5 on Rev is binary, while on PHP it is an ASCII > string. So of course they don't match. from http://be.php.net/md5 : string md5 ( string str [, bool raw_output]) Calculates the MD5 hash of str using the RSA Data Security, Inc. MD5 Message-Digest Algorithm, and returns that hash. The hash is a 32-character hexadecimal number. If the optional raw_output is set to TRUE, then the md5 digest is instead returned in raw binary format with a length of 16. Note: The optional raw_output parameter was added in PHP 5.0.0 and defaults to FALSE > Does anyone understand what's going on here - I thought MD5 was a > standard? Is there any way to translate from the binary to the ASCII > format? put md5hexDigest() into function md5hexDigest x get binaryDecode("H*", md5digest(x), tHexDigest) return tHexDigest end md5hexDigest Greetings, WA From MFitz53 at comcast.net Sat Jun 12 08:29:57 2004 From: MFitz53 at comcast.net (Mike) Date: Sat, 12 Jun 2004 08:29:57 -0400 Subject: Problem In-Reply-To: References: <1B241D4E-BB31-11D8-A76D-000A95859272@earthlink.net> Message-ID: <40CAF745.4000309@comcast.net> Problem fixed. Again, I did remember after he initial post that I had redownloaded the installer 5 days prior to the expiration date. The strange thing is that after RR checked my info and was given a code to compare with the one I had, it was slightly different than what I had been using in the past for 2.2. Maybe they were still working on the code generation before I downloaded the last installer. I was certainly happy with the helpful manner in which it was handled. Jeanne A. E. DeVoto wrote: > > Hmm, I don't think it should do that. (The unlock code for Studio is > good for either a particular version(s), or for all versions released > in a given year, so if it worked one time for 2.2, it should continue > working for 2.2 no matter when you install it. In general the codes > are keyed to specific version(s), not to date ranges.) From nnoydb at excite.com Sat Jun 12 08:33:33 2004 From: nnoydb at excite.com (K) Date: Sat, 12 Jun 2004 08:33:33 -0400 (EDT) Subject: value( "afunction", stack a ) Executing function not in message path. Message-ID: <20040612123333.C105FB71C@xprdmailfe19.nwk.excite.com> What context it the calling function in when called using value()? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From rjb at rz.uni-potsdam.de Sat Jun 12 08:41:23 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Sat, 12 Jun 2004 14:41:23 +0200 Subject: Capabilities: RTF editing, Graphs, flat-file database In-Reply-To: References: <20040611044305.BA73593015C@mail.runrev.com> Message-ID: >I don't know if this is a decent test, but this is what I got: Mark, your handlers do not seem to be getting what you want. You may try the ready to use testers at http://www.robelko.com/metacard/speedsters.html Robert Brenstein From gizmotron at earthlink.net Sat Jun 12 09:48:31 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat, 12 Jun 2004 06:48:31 -0700 Subject: Problem In-Reply-To: Message-ID: <30D7EAAB-BC77-11D8-A393-000A95859272@earthlink.net> On Friday, June 11, 2004, at 12:56 PM, Jeanne A. E. DeVoto wrote: > Hmm, I don't think it should do that. (The unlock code for Studio is > good for either a particular version(s), or for all versions released > in a given year, so if it worked one time for 2.2, it should continue > working for 2.2 no matter when you install it. In general the codes > are keyed to specific version(s), not to date ranges.) > -- > jeanne a. e. devoto Well it wasn't my bat cave anyway... So why would an access key stop working for a previous install that works before the expiration date but if reinstalled after that expiration date it doesn't? Mark From nnoydb at excite.com Sat Jun 12 11:33:58 2004 From: nnoydb at excite.com (K) Date: Sat, 12 Jun 2004 11:33:58 -0400 (EDT) Subject: value( "afunction", stack a ) Executing function not in message path. Message-ID: <20040612153358.4BE70BF85@xprdmailfe13.nwk.excite.com> It seems to function well for several invocations then suddenly the function cannot call handlers int it's own card. Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Sat 06/12, K < nnoydb at excite.com > wrote: From: K [mailto: nnoydb at excite.com] To: use-revolution at runrev.com Date: Sat, 12 Jun 2004 08:33:33 -0400 (EDT) Subject: value( "afunction", stack a ) Executing function not in message path.

What context it the calling function in when called using value()?

K

-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental.
Any resemblance between the above and my own views is non-deterministic.

The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
is left as an exercise for the second god coefficient.
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From nnoydb at excite.com Sat Jun 12 13:17:14 2004 From: nnoydb at excite.com (K) Date: Sat, 12 Jun 2004 13:17:14 -0400 (EDT) Subject: value invocation again. Message-ID: <20040612171714.54D213D00@xprdmailfe10.nwk.excite.com> I have created a set of generic tasking functions/handlers in order to facilitate this I am using the value() construct. I am experiencing several unusual phenomena listed below. 1. The function invoked invokes handlers inside it's own card these handlers alter HMI components. Normally I refer to these components like so "hide button "a"" but when the functions/handlers are invoked using value() I receive object unknown. I have added "of me" which seems to have corrected the problem. 2. After several thousand invocations the function cannot invoke handlers/functions in it's own card or suddenly built-in statements like "try" are no longer recognized. The error I receive is handler unknown or statement invalid. Understand I have logged the execution of the function and the supporting handlers have been invoked several thousand times by this point! I am not sure exactly what context the value() executes the function in. From my test the context is quite unclear. -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From nnoydb at excite.com Sat Jun 12 14:38:45 2004 From: nnoydb at excite.com (K) Date: Sat, 12 Jun 2004 14:38:45 -0400 (EDT) Subject: Calling a method [like a function pointer] Message-ID: <20040612183845.4F8AB109EB2@xprdmailfe1.nwk.excite.com> Okay I have tried value() after 1000 or so calls function suddenly get cannot evaluate methods and variables that it previously executed (as stated in my posting reguarding value()). Is there a way to invoke a function by name and retrieve it's return value other than value() since it has significant anomalies? This is simular to calling a function pointer in C++ or CallByName() in Visal Basic. -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From dsc at swcp.com Sat Jun 12 15:02:19 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 12 Jun 2004 13:02:19 -0600 Subject: value invocation again. In-Reply-To: <20040612171714.54D213D00@xprdmailfe10.nwk.excite.com> References: <20040612171714.54D213D00@xprdmailfe10.nwk.excite.com> Message-ID: <07317873-BCA3-11D8-BE25-000A9567A3E6@swcp.com> On Jun 12, 2004, at 11:17 AM, K wrote: > 2. After several thousand invocations the function cannot invoke > handlers/functions in it's own card or suddenly built-in statements > like "try" are no longer recognized. The error I receive is handler > unknown or statement invalid. Understand I have logged the execution > of the function and the supporting handlers have been invoked several > thousand times by this point! This is interesting. Do you have a simple example? Is this recursive? Is this in a send in time? Are you changing the active window during this? Dar Scott From ambassador at fourthworld.com Sat Jun 12 15:02:33 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 12 Jun 2004 12:02:33 -0700 Subject: Calling a method [like a function pointer] In-Reply-To: <20040612183845.4F8AB109EB2@xprdmailfe1.nwk.excite.com> References: <20040612183845.4F8AB109EB2@xprdmailfe1.nwk.excite.com> Message-ID: <40CB5349.6040803@fourthworld.com> K wrote: > Okay I have tried value() after 1000 or so calls function suddenly > get cannot evaluate methods and variables that it previously > executed (as stated in my posting reguarding value()). If they execute correctly once I would be interested in focusing on what's happening with the subsequent failed calls. WebMerge uses the value function extensively to call a number of other functions, so it seems it can be used reliably. To determine what's happening in your specific circumstance could you post the relevant code? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Sat Jun 12 15:10:52 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 12 Jun 2004 13:10:52 -0600 Subject: Calling a method [like a function pointer] In-Reply-To: <20040612183845.4F8AB109EB2@xprdmailfe1.nwk.excite.com> References: <20040612183845.4F8AB109EB2@xprdmailfe1.nwk.excite.com> Message-ID: <38FEF15B-BCA4-11D8-BE25-000A9567A3E6@swcp.com> On Jun 12, 2004, at 12:38 PM, K wrote: > Okay I have tried value() after 1000 or so calls function suddenly get > cannot evaluate methods and variables that it previously executed (as > stated in my posting reguarding value()). Is there a way to invoke a > function by name and retrieve it's return value other than value() > since it has significant anomalies? This is simular to calling a > function pointer in C++ or CallByName() in Visal Basic. No function pointer. However, there are other alternatives. The functions merge() & value() and commands 'do', 'call' & 'send' all evaluate and might be useful. There are ways to execute commands in the first and functions in latter. Besides using function names, you can also create expressions and evaluate those in the appropriate context. You can return values from a 'send' (not in time) by using return in the callee and looking at result() in the caller. Dar Scott From dsc at swcp.com Sat Jun 12 15:26:51 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 12 Jun 2004 13:26:51 -0600 Subject: MD5 output (was Encryption) In-Reply-To: References: Message-ID: <747F34D0-BCA6-11D8-BE25-000A9567A3E6@swcp.com> On Jun 12, 2004, at 5:57 AM, Wouter wrote: > put md5hexDigest() into > > function md5hexDigest x > get binaryDecode("H*", md5digest(x), tHexDigest) > return tHexDigest > end md5hexDigest This is a keeper! (In mine, I define it in terms of my hex() function, though.) BTW, digests are almost always described in terms of bytes (or bits) of output. Of course, how can such a sequence be best represented in text except by hex? (which might be encoded in different character sets different ways) In general, we often have the problem of understanding whether the literal text is intended or the meaning behind the text. In this case, it is the meaning as interpreted in the context of message digests. Dar Scott From revolution at jaedworks.com Sat Jun 12 16:42:13 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sat, 12 Jun 2004 13:42:13 -0700 Subject: Problem In-Reply-To: <30D7EAAB-BC77-11D8-A393-000A95859272@earthlink.net> References: <30D7EAAB-BC77-11D8-A393-000A95859272@earthlink.net> Message-ID: At 6:48 AM -0700 6/12/2004, Mark Brownell wrote: >Well it wasn't my bat cave anyway... So why would an access key stop >working for a previous install that works before the expiration date >but if reinstalled after that expiration date it doesn't? The only thing I can think of is if it was an evaluation key. Could this have been the case (maybe you had used an evaluation key at one time and typed in that one)? -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From MFitz53 at comcast.net Sat Jun 12 18:00:39 2004 From: MFitz53 at comcast.net (Mike) Date: Sat, 12 Jun 2004 18:00:39 -0400 Subject: Problem In-Reply-To: References: <30D7EAAB-BC77-11D8-A393-000A95859272@earthlink.net> Message-ID: <40CB7D07.1050401@comcast.net> Jeanne A. E. DeVoto wrote: > At 6:48 AM -0700 6/12/2004, Mark Brownell wrote: > > The only thing I can think of is if it was an evaluation key. Could > this have been the case (maybe you had used an evaluation key at one > time and typed in that one)? No, it was a working code from the beginning. I had purchased the SBE of 1.1.1 and upgraded through the chain to 2.2. This code was changed somewhere in the sequential upgrades to Studio about the time we were all whining about the splash screens on the builds. I used it on 2.2 when I first ran it and all was well. All is well now. They have fixed it and were it was a very pleasant experience for me, as I worried what my problem may sound like on their end. An interesting question that will never be answered, methinks. From gizmotron at earthlink.net Sat Jun 12 18:59:36 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat, 12 Jun 2004 15:59:36 -0700 Subject: Problem In-Reply-To: <40CB7D07.1050401@comcast.net> Message-ID: <2CEFE3FE-BCC4-11D8-B78A-000A95859272@earthlink.net> On Saturday, June 12, 2004, at 03:00 PM, Mike wrote: > An interesting question that will never be answered, methinks. Just like the origin of the Sphinx... batso From capellan2000 at yahoo.com Sat Jun 12 20:51:34 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 12 Jun 2004 17:51:34 -0700 (PDT) Subject: Help for porting code of other Programming languages to Transcript In-Reply-To: <20040612160007.027449300B0@mail.runrev.com> Message-ID: <20040613005134.17089.qmail@web40502.mail.yahoo.com> Hi Revolutionaries, Looking in the web, i've found this interesting article that compare hypertalk and pascal written by Paul Merrill: Did you know of similar documents comparing Transcript (or MetaTalk) and ActionScript, python Lingo, C, Lisp, Fortran, javascript, java, perl? My interest in these documents, if they exist, is to learn to port code from these languages to transcript. I understand that porting code it's not a trivial process. In fact, if you dont know well both languages, you could find quickly some apparently unsolvable problem... that need to be solved within the resources available in the language. Any pointers in this direction is welcome. Thanks in advance! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From revolution at jaedworks.com Sat Jun 12 23:24:45 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sat, 12 Jun 2004 20:24:45 -0700 Subject: Help for porting code of other Programming languages to Transcript In-Reply-To: <20040613005134.17089.qmail@web40502.mail.yahoo.com> References: <20040613005134.17089.qmail@web40502.mail.yahoo.com> Message-ID: At 5:51 PM -0700 6/12/2004, Alejandro Tejada wrote: >Looking in the web, i've found this interesting >article that compare hypertalk and pascal written >by Paul Merrill: > > > >Did you know of similar documents comparing >Transcript (or MetaTalk) and ActionScript, python >Lingo, C, Lisp, Fortran, javascript, java, perl? Here's one for HyperTalk and Javascript: -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From chipp at chipp.com Sun Jun 13 00:47:32 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 12 Jun 2004 23:47:32 -0500 Subject: Help for porting code of other Programming languages to Transcript In-Reply-To: References: <20040613005134.17089.qmail@web40502.mail.yahoo.com> Message-ID: <40CBDC64.6050805@chipp.com> Wow! Great find! This should be must reading for C programmers just starting to learn Transcript. -Chipp > > Here's one for HyperTalk and Javascript: > > From geoff at advantae.com Sun Jun 13 02:47:49 2004 From: geoff at advantae.com (Geoff Caplan) Date: Sun, 13 Jun 2004 07:47:49 +0100 Subject: Useful Transcript tutorial In-Reply-To: References: <20040613005134.17089.qmail@web40502.mail.yahoo.com> Message-ID: <12022723.20040613074749@variosoft.com> Hi folks, In addition to the Brigham Young article on Pascal/Hypertalk, they have put up a course on Transcript for non-programmers which I spotted a couple of days ago. Maybe I just missed it, but I didn't spot this link on the Transcript community sites. I am posting this just in case anyone isn't aware of it. http://chum.byu.edu:16080/classes/CHum281/ ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From malte.brill at t-online.de Sun Jun 13 10:59:09 2004 From: malte.brill at t-online.de (Malte Brill) Date: Sun, 13 Jun 2004 16:59:09 +0200 Subject: Online Highscore System - Many thanks to Geoff Caplan In-Reply-To: <20040612160007.58ADF9300B3@mail.runrev.com> Message-ID: Hi list! I just want to inform you that Geoff has managed to set up a working Online Highscore System for my Game. The Stack communicates with the PHP Scripts like a charm. Thank you so much Geoff! That really saves the project. Best, Malte PS: The Game Stack will follow ASAP. I have to finish everything until tommorow morning 6.00 CET So this will be a long night. From nnoydb at excite.com Sun Jun 13 12:57:12 2004 From: nnoydb at excite.com (K) Date: Sun, 13 Jun 2004 12:57:12 -0400 (EDT) Subject: Calling a method [like a function pointer] Message-ID: <20040613165712.4F052AFA8B@xprdmailfe5.nwk.excite.com> Interesting...... So, send (not in time) executes the handler immediately and awaits its completion returning the "return XXX" value in the result? WOW, I read the books and completely missed that if my understanding of what Scott Dar is saying. Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Sat 06/12, Dar Scott < dsc at swcp.com > wrote: From: Dar Scott [mailto: dsc at swcp.com] To: use-revolution at lists.runrev.com Date: Sat, 12 Jun 2004 13:10:52 -0600 Subject: Re: Calling a method [like a function pointer]
On Jun 12, 2004, at 12:38 PM, K wrote:

> Okay I have tried value() after 1000 or so calls function suddenly get
> cannot evaluate methods and variables that it previously executed (as
> stated in my posting reguarding value()). Is there a way to invoke a
> function by name and retrieve it's return value other than value()
> since it has significant anomalies? This is simular to calling a
> function pointer in C++ or CallByName() in Visal Basic.

No function pointer. However, there are other alternatives.

The functions merge() & value() and commands 'do', 'call' & 'send' all
evaluate and might be useful. There are ways to execute commands in
the first and functions in latter. Besides using function names, you
can also create expressions and evaluate those in the appropriate
context.

You can return values from a 'send' (not in time) by using return in
the callee and looking at result() in the caller.

Dar Scott

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From nnoydb at excite.com Sun Jun 13 13:00:36 2004 From: nnoydb at excite.com (K) Date: Sun, 13 Jun 2004 13:00:36 -0400 (EDT) Subject: Calling a method [like a function pointer] Message-ID: <20040613170036.64A38AFA97@xprdmailfe5.nwk.excite.com> I just realized something would a next repeat without a repeat work several thousand times then cause RR to do all kinds of anomalies? Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Sat 06/12, Richard Gaskin < ambassador at fourthworld.com > wrote: From: Richard Gaskin [mailto: ambassador at fourthworld.com] To: use-revolution at lists.runrev.com Date: Sat, 12 Jun 2004 12:02:33 -0700 Subject: Re: Calling a method [like a function pointer] K wrote:

> Okay I have tried value() after 1000 or so calls function suddenly
> get cannot evaluate methods and variables that it previously
> executed (as stated in my posting reguarding value()).

If they execute correctly once I would be interested in focusing on
what's happening with the subsequent failed calls. WebMerge uses the
value function extensively to call a number of other functions, so it
seems it can be used reliably.

To determine what's happening in your specific circumstance could you
post the relevant code?

--
Richard Gaskin
Fourth World Media Corporation
Developer of WebMerge: Publish any database on any Web site
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From kkaufman at snet.net Sun Jun 13 13:18:41 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun, 13 Jun 2004 13:18:41 -0400 Subject: Useful Transcript tutorial Message-ID: Thanks for pointing to the course; new users of Revolution (and those who, like me, could use a good refresher in quite a few areas) should find it to be a valuable resource. I hope it remains accessible for some time. -Kurt "In addition to the Brigham Young article on Pascal/Hypertalk, they have put up a course on Transcript for non-programmers ..." http://chum.byu.edu:16080/classes/CHum281/ From geoff at advantae.com Sun Jun 13 14:47:00 2004 From: geoff at advantae.com (Geoff Caplan) Date: Sun, 13 Jun 2004 19:47:00 +0100 Subject: Useful Transcript tutorial In-Reply-To: References: Message-ID: <755805253.20040613194700@variosoft.com> Hi, KK> I hope it remains accessible for some time. Perhaps someone with some clout in the community should drop them a note and ask them to keep it online. I notice that the course has finished now, so I guess there is a danger they will take it down. ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From dsc at swcp.com Sun Jun 13 15:30:27 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 13 Jun 2004 13:30:27 -0600 Subject: Calling a method [like a function pointer] In-Reply-To: <20040613165712.4F052AFA8B@xprdmailfe5.nwk.excite.com> References: <20040613165712.4F052AFA8B@xprdmailfe5.nwk.excite.com> Message-ID: <1FA6AA5D-BD70-11D8-A125-000A9567A3E6@swcp.com> On Jun 13, 2004, at 10:57 AM, K wrote: > So, send (not in time) executes the handler immediately and awaits its > completion returning the "return XXX" value in the result? WOW, I read > the books and completely missed that if my understanding of what Scott > Dar is saying. Yes. (assuming I understand your understanding) I would typically use getprop if I'm getting something related to the state of the target, but use send if initiating something but need a response. Dar Scott From dsc at swcp.com Sun Jun 13 15:35:02 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 13 Jun 2004 13:35:02 -0600 Subject: Calling a method [like a function pointer] In-Reply-To: <20040613170036.64A38AFA97@xprdmailfe5.nwk.excite.com> References: <20040613170036.64A38AFA97@xprdmailfe5.nwk.excite.com> Message-ID: On Jun 13, 2004, at 11:00 AM, K wrote: > I just realized something would a next repeat without a repeat work > several thousand times then cause RR to do all kinds of anomalies? Do you have a simple example? I'm not sure how this can happen except in in the returns in a deep recursion like this (untested): on manyNext n if n>0 then repeat 1 manyNext n-1 end repeat end if end manyNext Dar Scott From webmaster at dreamscapesoftware.com Sun Jun 13 16:13:05 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sun, 13 Jun 2004 22:13:05 +0200 Subject: PHP List and Split commands Message-ID: <001f01c45182$db6c6950$e942de0a@WorkPC> I'm looking for a command in Rev like the following PHP command... list( $tVar01, $tVar02, $tVar03)= split ("\|", $line); If this exists in Rev then it would make my life a whole lot easier. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From janschenkel at yahoo.com Sun Jun 13 16:54:20 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 13 Jun 2004 13:54:20 -0700 (PDT) Subject: PHP List and Split commands In-Reply-To: <001f01c45182$db6c6950$e942de0a@WorkPC> Message-ID: <20040613205420.60763.qmail@web60505.mail.yahoo.com> --- Derek Bump wrote: > I'm looking for a command in Rev like the following > PHP command... > list( $tVar01, $tVar02, $tVar03)= split ("\|", > $line); > > If this exists in Rev then it would make my life a > whole lot easier. > > > Derek Bump > Hi Derek, As far as I can see, there is no direct translation ; however, you could just as easily change the itemDelimiter and get item 1, 2 and 3 and store them in other variables. Not in one line of Transcript, of course... Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From webmaster at dreamscapesoftware.com Sun Jun 13 17:24:09 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sun, 13 Jun 2004 23:24:09 +0200 Subject: Declare a Variable from a Variable? Message-ID: <002e01c4518c$c6d14010$e942de0a@WorkPC> Can you declare a variable from a variable in Transcript? Like the following... put "randomVariableName" into newVariableToCreate create variable newVariableToCreate Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From janschenkel at yahoo.com Sun Jun 13 17:46:05 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 13 Jun 2004 14:46:05 -0700 (PDT) Subject: Declare a Variable from a Variable? In-Reply-To: <002e01c4518c$c6d14010$e942de0a@WorkPC> Message-ID: <20040613214606.68786.qmail@web60505.mail.yahoo.com> --- Derek Bump wrote: > Can you declare a variable from a variable in > Transcript? Like the > following... > > put "randomVariableName" into newVariableToCreate > create variable newVariableToCreate > > > Derek Bump > Hi Derek, You can use the "do" command to create a local variable : -- put "randomVariableName" into newVariableToCreate do ("local" && newVariableToCreate) do ("put 12345 into" && newVariableToCreate) -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From davis.phil at comcast.net Sun Jun 13 18:20:55 2004 From: davis.phil at comcast.net (Phil Davis) Date: Sun, 13 Jun 2004 15:20:55 -0700 Subject: PHP List and Split commands In-Reply-To: <001f01c45182$db6c6950$e942de0a@WorkPC> Message-ID: I'm no PHP expert, but it seems like you could do this: -- make line var into an numerically-keyed array split tLine with "|" -- make array elements available as simple vars put tLine[1] into tVar01 -- first key is 1, not 0 put tLine[2] into tVar02 put tLine[3] into tVar03 Or if each item in tList is multi-part (like "bird=hawk|name=George|wingspan=44"), you could do this: split tLine with "|" and "=" Doing this to the example above would give you an array that looks like this: tLine[bird] with a value of hawk tLine[name] with a value of George tLine[wingspan] with a value of 44 Food for thought... Phil Davis > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Derek Bump > Sent: Sunday, June 13, 2004 12:13 PM > To: How to use Revolution > Subject: PHP List and Split commands > > > I'm looking for a command in Rev like the following PHP command... > list( $tVar01, $tVar02, $tVar03)= split ("\|", $line); > > If this exists in Rev then it would make my life a whole lot easier. > > > Derek Bump > Dreamscape Software From ambassador at fourthworld.com Sun Jun 13 19:49:59 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 13 Jun 2004 16:49:59 -0700 Subject: Declare a Variable from a Variable? In-Reply-To: <002e01c4518c$c6d14010$e942de0a@WorkPC> References: <002e01c4518c$c6d14010$e942de0a@WorkPC> Message-ID: <40CCE827.3070305@fourthworld.com> Derek Bump wrote: > Can you declare a variable from a variable in Transcript? Like the > following... > > put "randomVariableName" into newVariableToCreate > create variable newVariableToCreate You may find it useful to use an array for that, with the key serving as the variable name: put tSomeData into tMyVarsA[newVariableToCreate] -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From kray at sonsothunder.com Sun Jun 13 20:04:36 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 13 Jun 2004 19:04:36 -0500 Subject: Declare a Variable from a Variable? In-Reply-To: <002e01c4518c$c6d14010$e942de0a@WorkPC> Message-ID: <021c01c451a3$31005140$6601a8c0@precision340> > Can you declare a variable from a variable in Transcript? > Like the following... > > put "randomVariableName" into newVariableToCreate > create variable newVariableToCreate Just curious... for what purpose? Unless you have explicitVariables turned on, you don't need to predeclare your variables before you use them. That said, if you *do* have explicitVariables turned on, you might be able to get away with this: put "randomVariableName" into newVariableToCreate do "local" && newVariableToCreate Although I haven't tried it... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From soapdog at mac.com Sun Jun 13 20:30:41 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 13 Jun 2004 21:30:41 -0300 Subject: is Rodney site down? Message-ID: <11416064-BD9A-11D8-AF87-0003936D012E@mac.com> Hi Folks, any one here noticed that Rodney's weblog is down? Trying to reach http://rodney.weblogs.com reaches another manilla site... strange... -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From hershbp at verizon.net Sun Jun 13 20:50:40 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Sun, 13 Jun 2004 20:50:40 -0400 Subject: backgroundPattern Message-ID: Hi , How can I know what id# background a certain icon or back groud is ? I'm trying to figure out the mac backgroundpattern is what # ? I did put the backgroundpattern of this stack in the message box it came up 210091. What I want , if the platfrom is "MacOS" then set the background to "the mac background" else to "nothing". if I put if the platform <> "MacOS" then set the background to none , then it is some kind of black background on the pc platform. Thanks From soapdog at mac.com Sun Jun 13 22:02:44 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 13 Jun 2004 23:02:44 -0300 Subject: ANN: updated CGI-Tool palette... Message-ID: Hi Folks, I am releasing a very improved version of my CGI-Tool stack. It's now a palette. You just drop it in your plugins folder, invoke it thru the development menu. Features: * Will upload and install (set perms and stuff) the MetaCard engine in a remote FTP account. * Will upload and install LibCGI in a remote FTP account. * Will upload and install CGI stacks you made. You can select a stack file to upload or, upload your front stack. * If user chooses, it will run the CGI file after upload. This way, from inside the IDE, you can make your CGI and press ONE button. CGI-Tool stack will upload the topStack, set it's permission, launch webbrowser pointing to it... It's very handy and take away those tedious debugging steps of CGI making (like, uploading, setting perms, launching browsers...) Free code! fetch "cgitool.rev" from http://public.soapdog.org or http://www.soapdog.org/rev/cgitool.rev Andre Alves Garzia: "Upload The Developer!!!" -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From bfr at nwlink.com Sun Jun 13 22:20:39 2004 From: bfr at nwlink.com (Bruce Robertson) Date: Sun, 13 Jun 2004 19:20:39 -0700 Subject: ANN: new version of CGI-Tool Stack In-Reply-To: <69945035-B291-11D8-AAC8-0003936D012E@mac.com> Message-ID: > Hi folks, > > After being in hospital for a while due to an evil mosquito bite, I am > back coding. First it's an annoucement of a new version of CGI-Tool > stack. This is a simple Helper stack made by Me, Andre Alves Garzia > (soapdog at mac.com), to help people setup MC Engine and LibCGI with > remote FTP access. So what happened to ServerWorks? Lat mention of it appear to be late April. From nnoydb at excite.com Sun Jun 13 23:02:18 2004 From: nnoydb at excite.com (K) Date: Sun, 13 Jun 2004 23:02:18 -0400 (EDT) Subject: Calling a method [like a function pointer] Message-ID: <20040614030218.2A387AFA86@xprdmailfe5.nwk.excite.com> I was sending in time to one of my theads that I build/tested using nothing but a repeat I forgot to replace one of the error repeat next to error return. After I removed the stray repet next the code started executing without error. Oddly the apply missed this and the erros where reported everywhere else except the module where the dangling repeat next was. Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Sun 06/13, Dar Scott < dsc at swcp.com > wrote: From: Dar Scott [mailto: dsc at swcp.com] To: use-revolution at lists.runrev.com Date: Sun, 13 Jun 2004 13:35:02 -0600 Subject: Re: Calling a method [like a function pointer]
On Jun 13, 2004, at 11:00 AM, K wrote:

> I just realized something would a next repeat without a repeat work
> several thousand times then cause RR to do all kinds of anomalies?

Do you have a simple example?

I'm not sure how this can happen except in in the returns in a deep
recursion like this (untested):

on manyNext n
if n>0 then
repeat 1
manyNext n-1
end repeat
end if
end manyNext

Dar Scott

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From soapdog at mac.com Mon Jun 14 00:07:26 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 14 Jun 2004 01:07:26 -0300 Subject: ANN: new version of CGI-Tool Stack In-Reply-To: References: Message-ID: <58A5873E-BDB8-11D8-AF87-0003936D012E@mac.com> On Jun 13, 2004, at 11:20 PM, Bruce Robertson wrote: > > So what happened to ServerWorks? Lat mention of it appear to be late > April. > Bruce, ServerWorkz, now known internally as libServerWorkz, is almost ready for it's world debut. I am developing on both sides, self-contained solution (based on revHTTPd thats the core of ServerWorkz platform) and on Apache deployment side using libCGI as backend. I am reaching my first complete milestone. As soon as the core funcs are working on both revHTTPd and libCGI we'll be able to deploy in both backend with one codebase. I plan to deliver to the community a complete solution allowing the developer to deliver for heavy traffic apache, and for self-contained-no-maintenance-needed solutions. Also take noticed that revHTTPd can be added to any stack thus making it HTTPd-savvy and serving as communication protocol... I am just packing it all up!!! I plan to demo everything at the Monterey Summit. My only trouble is to get everything running, renew my passport, renew my visa, collect money so that I can afford the plane! > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From shaosean at unitz.ca Mon Jun 14 00:24:55 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Mon, 14 Jun 2004 00:24:55 -0400 Subject: PHP List and Split commands In-Reply-To: References: <001f01c45182$db6c6950$e942de0a@WorkPC> Message-ID: > > I'm looking for a command in Rev like the following PHP command... > > list( $tVar01, $tVar02, $tVar03)= split ("\|", $line); there's a command in transcript that works similar to the PHP split command.. (i don't have anything with me at this computer to reference to, but i've been using it in the current project i'm working on).. i'll post the command later tonight, after work.. -Sean From troy at rpsystems.net Mon Jun 14 00:49:21 2004 From: troy at rpsystems.net (Troy Rollins) Date: Mon, 14 Jun 2004 00:49:21 -0400 Subject: PHP List and Split commands In-Reply-To: References: <001f01c45182$db6c6950$e942de0a@WorkPC> Message-ID: <3370356B-BDBE-11D8-AEA4-000A95A09CF8@rpsystems.net> On Jun 14, 2004, at 12:24 AM, shaosean at unitz.ca wrote: >>> I'm looking for a command in Rev like the following PHP command... >>> list( $tVar01, $tVar02, $tVar03)= split ("\|", $line); > > there's a command in transcript that works similar to the PHP split > command.. (i don't have anything with me at this computer to reference > to, but i've been using it in the current project i'm working on).. > i'll > post the command later tonight, after work.. Uh... wouldn't happen to be "split", would it? ;-) "Split" transforms a list into an array. Or does the PHP version do something different than that? -- Troy RPSystems, Ltd. http://www.rpsystems.net From runrev at rivertext.com Mon Jun 14 03:49:34 2004 From: runrev at rivertext.com (Brian Thomas) Date: Mon, 14 Jun 2004 00:49:34 -0700 Subject: I fix the Rev standalone settings stack In-Reply-To: <20040613160015.A0BA79300BE@mail.runrev.com> References: <20040613160015.A0BA79300BE@mail.runrev.com> Message-ID: I'm really grateful to the Rev team for all the work they did not Rev version 2.2 to help with my If Monks project. However, I do think that fixes like this should be available for downloading. First of all, the fixes below are so simple that I have no doubt that almost all of you have all already fixed your own copy of the Standalone Builder. And I don't keep up with this list. :: Perhaps this has already been fixed in the version that you can download now. However, there is no indication on the web site of any version beyond Rev. 2.2. There is no indication of any bug fixes available for Rev 2.2. Am I the only non-technical owner of Revolution? I'm an artist using Revolution to create a world. I barely know a global variable from a whole in the ground. I was able to fix the Standalone builder only because the solution was obvious after I compared the scripts for the buttons that worked to the scripts of the two buttons that didn't work I think fixes like this should be made available for folks like me to download. So I'm going to post these fixes as a way to make that point. :: 1. There are 2 "choose" btns on this page. The problem is with the "Choose" btn for Document icon - the lower one on the page. Without this line you get an error message that says that it cannot not "open the icon file". That appears to be because it cannot find the file. Note the 17th line of the script "choose" btn of group Windows of card Windows of stack revStandalone settings on mouseUp if the platform is "Win32" then put "Icon Files" & cr & "*.ico" into tFilter else put empty into tFilter answer file "Select a file:" with filter tFilter if it is empty then exit mouseUp put it into tFile try get revGetIcoFile(tFile) catch tError if word 1 of tError = "Standalone:" then answer error word 2 to -1 of tError else throw tError end if exit to top end try set the itemDel to "/" -- ******* add this line here !!!! put item 1 to -2 of the fileName of stack (the cRevTargetStack of this stack)&"/" into tMainStackPath put the number of chars of tMainStackPath into tChars if char 1 to tChars of tFile = tMainStackPath then delete char 1 to tChars of tFile put tFile into fld "documenticonFile" send closeField to fld "documenticonFile" end mouseUp :: 2. This button does not save the path to the file in the field next to the button. It disappears as soon as you leave the Mac OS (Pre-OS X) page. I haven't bothered to figure out if this is only a cosmetic issue or not. But it certainly is unnerving. Note the last line of the script "Choose" btn of group MacOS of card Mac OS" os stack revStandaloneSettings on mouseUp answer file "Select a file:" if it is empty then if fld "includeResources" is not empty then answer question "You did not select a file. Would you like to remove your previous choice?" with "No" or "Yes" if it is "yes" then put empty into fld "includeResources" exit mouseUp end if put it into tFilePath if getResources(tFilePath) is empty then answer error "No resources found in file." with "Cancel" exit mouseUp end if put it into tFile put item 1 to -2 of the fileName of stack (the cRevTargetStack of this stack) into tMainStackPath put the number of chars of tMainStackPath into tChars if char 1 to tChars of tFile = tMainStackPath then delete char 1 to tChars of tFile put tFile into fld "includeResources" send closeField to fld "includeResources" -- ******* add this line here !!!! end mouseUp -- Brian b_t at rivertext.com http://www.rivertext.com/ a worker's guide to western civilization http://www.rivertext.com/stuff one American city's dissent From geoff at advantae.com Mon Jun 14 04:46:25 2004 From: geoff at advantae.com (Geoff Caplan) Date: Mon, 14 Jun 2004 09:46:25 +0100 Subject: Rev won't launch Message-ID: <1329119628.20040614094625@variosoft.com> Hi folks, Put today aside to start learning Transcript, but have hit an immediate brick wall. I closed my version of Rev2.2, which had been working OK. Dropped the MetaCard Teaching Program - mtp.mc into the plugin directory and renamed it with the .rev extension. This is the procedure recommended by Sarah on RevJournal. Tried to re-launch Rev: it failed early in the launch sequence. No screen or error message was generated: it just dies silently. Removed the mtp plugin. No change. I am on Win2K. This is not confidence inspiring. Any suggestions as to how I can get operational again? ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From geoff at advantae.com Mon Jun 14 04:49:55 2004 From: geoff at advantae.com (Geoff Caplan) Date: Mon, 14 Jun 2004 09:49:55 +0100 Subject: MD5 output (was Encryption) In-Reply-To: References: Message-ID: <1329362897.20040614094955@variosoft.com> Hi folks Many thanks to all who replied. I'll be playing with your suggestions as soon as I can get Rev to work again (see other post)! ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From geoff at advantae.com Mon Jun 14 05:05:35 2004 From: geoff at advantae.com (Geoff Caplan) Date: Mon, 14 Jun 2004 10:05:35 +0100 Subject: Rev won't launch Message-ID: <1497656895.20040614100535@variosoft.com> Hi folks, Put today aside to start learning Transcript, but have hit an immediate brick wall. I closed my version of Rev2.2, which had been working OK. Dropped the MetaCard Teaching Program - mtp.mc into the plugin directory and renamed it with the .rev extension. This is the procedure recommended by Sarah on RevJournal. Tried to re-launch Rev: it failed early in the launch sequence. No screen or error message was generated: it just dies silently. Removed the mtp plugin. No change. I am on Win2K. This is not confidence inspiring :-( . Any suggestions as to how I can get operational again? [Sorry if this ends up as a double-posting: my first attempt to post did not appear to reach the list, for some reason...] ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From wbl at wilddsl.net Mon Jun 14 05:19:17 2004 From: wbl at wilddsl.net (Bruce Laidlaw) Date: Mon, 14 Jun 2004 19:19:17 +1000 Subject: is Rodney site down? In-Reply-To: <20040614074821.6D3329300B2@mail.runrev.com> References: <20040614074821.6D3329300B2@mail.runrev.com> Message-ID: <40CD6D95.8090209@wilddsl.net> Google has a cache of it up till May 24, 2004... Bruce Date: Sun, 13 Jun 2004 21:30:41 -0300 From: Andre Garzia References: <20040614074821.6D3329300B2@mail.runrev.com> <40CD6D95.8090209@wilddsl.net> Message-ID: <250DF3BE-BDED-11D8-B73C-003065F97100@oceanbrowser.com> Hi guys, This is as much of a surprise to me is it is to you. It seems that Dave Winer decided to pull the plug on the weblogs.com host which has has run free of charge for many years. I've requested a copy of the archive of the site, which should happen 1st next month, will find another home for it after that. There's a lesson here - host stuff on a domain you own, and keep a copy of your data just in case. I've not backed up my weblog site in ages, there didn't seem a need, but there will be at least partial copies of it available on the wayback machine and google cache I guess... Rodney On 14/06/2004, at 9:19 PM, Bruce Laidlaw wrote: > Google has a cache of it up till May 24, 2004... > Bruce > > Date: Sun, 13 Jun 2004 21:30:41 -0300 From: Andre Garzia > Subject: is Rodney site down? > Hi Folks, any one here noticed that Rodney's weblog is down? > Trying to reach http://rodney.weblogs.com reaches another manilla > site... strange... > -- Andre Alves Garzia ? > 2004 Soap Dog Studios - BRAZIL > http://studio.soapdog.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ http://oceanbrowser.com From klaus at major-k.de Mon Jun 14 06:41:05 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 14 Jun 2004 12:41:05 +0200 Subject: backgroundPattern In-Reply-To: References: Message-ID: <56AE099A-BDEF-11D8-8597-000A27B49A96@major-k.de> Hello hershbp at verizon.net, > Hi , > How can I know what id# background a certain icon or back groud is ? > I'm trying to figure out the mac backgroundpattern is what # ? > I did put the backgroundpattern of this stack in the message box it > came up 210091. > What I want , > if the platfrom is "MacOS" then set the background to "the mac > background" else to "nothing". > if I put > if the platform <> "MacOS" then set the background to none , then it > is some kind of black background on the pc platform. > Thanks If i understand you right you want to set the backgroundpattern to "the mac pattern" on startup on your standalone on the mac and NO pattern on other paltform(s)? As you already learned the "pattern" is simply an image (it is the image id that you provide with the "pattern" hanlder...) that is tiled... And even the "mac background" is in this case an image with the id 210091... HINT: There is no "background" keyword in RR in THIS context! You mean "backdrop" or "backgroundpattern" probably...? You can use "backpattern" instead of "backgroundpattern", less typing ;-) So what you might be looking for is this one: on preopenstack ## or whenever... ... if the platform = "MacOS" then set the backpattern of this stack to xyz ### the id of the image you want to have as a pattern... else ## windows or *nix set the backpattern of this stack to none ### will remove an eventually set pattern! end if ... end preopenstack The "else" case might not be necessary, but won't hurt ;-) Hope that helps... Regards Klaus Major klaus at major-k.de http://www.major-k.de From JimCarwardine at OwnYourFuture-net.com Mon Jun 14 08:11:55 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Mon, 14 Jun 2004 09:11:55 -0300 Subject: Rev Accounting App Message-ID: Does anyone know of a double entry accounting app available that?s been written in Rev? Jim -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From JimCarwardine at OwnYourFuture-net.com Mon Jun 14 08:07:59 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Mon, 14 Jun 2004 09:07:59 -0300 Subject: ANN Props N2O In-Reply-To: <20040609235602.82902.qmail@web61107.mail.yahoo.com> Message-ID: When I lived in Tulsa many years ago, I used to remind my colleagues that, to me, the Yanks were south... Jim on 6/9/04 8:56 PM, Erik Hansen wrote: > > --- Chipp Walters wrote: >> I appreciate your sincere desire to create a >> professional product. I'm >> sorry if I'm sounding too..er..'Canadian.' ;-) > > isn't the Canadian somewhere up north > in Oklahoma or thereabouts? > > ===== > erik at erikhansen.org http://www.erikhansen.org > > > > > __________________________________ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://messenger.yahoo.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From bleiler at buffalo.edu Mon Jun 14 11:12:14 2004 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Mon, 14 Jun 2004 11:12:14 -0400 Subject: Special characters in a button menu In-Reply-To: References: Message-ID: <3782C450-BE15-11D8-B978-000A959289AE@buffalo.edu> Using Rev version 2.6 under Win XP, I'm trying to use a "(" character in a button menu. According to the docs replacing "(" with "\(" should work. On Win XP the menu item is appearing with "\(" instead of the "(". Anyone know a workaround? Has this been reported as a bug? -- Tim Bleiler Instructional Designer, University at Buffalo From nnoydb at excite.com Mon Jun 14 11:13:34 2004 From: nnoydb at excite.com (K) Date: Mon, 14 Jun 2004 11:13:34 -0400 (EDT) Subject: HOWTO: Check if a particulare card/stack exists? Message-ID: <20040614151334.CB841395A@xprdmailfe9.nwk.excite.com> I was wondering how I can check of a specific card/stack exists (actually sub stack/card exists). Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From nnoydb at excite.com Mon Jun 14 11:16:35 2004 From: nnoydb at excite.com (K) Date: Mon, 14 Jun 2004 11:16:35 -0400 (EDT) Subject: Nevermind I am being a idiot sorry - HOWTO: Check if a particulare card/stack exists? Message-ID: <20040614151635.68F0E395C@xprdmailfe9.nwk.excite.com> -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Mon 06/14, K < nnoydb at excite.com > wrote: From: K [mailto: nnoydb at excite.com] To: use-revolution at runrev.com Date: Mon, 14 Jun 2004 11:13:34 -0400 (EDT) Subject: HOWTO: Check if a particulare card/stack exists?

I was wondering how I can check of a specific card/stack exists (actually sub stack/card exists).

Kevin


-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental.
Any resemblance between the above and my own views is non-deterministic.

The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
is left as an exercise for the second god coefficient.
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
_______________________________________________
use-revolution mailing list
use-revo lution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From klaus at major-k.de Mon Jun 14 11:27:14 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 14 Jun 2004 17:27:14 +0200 Subject: Nevermind I am being a idiot sorry - HOWTO: Check if a particulare card/stack exists? In-Reply-To: <20040614151635.68F0E395C@xprdmailfe9.nwk.excite.com> References: <20040614151635.68F0E395C@xprdmailfe9.nwk.excite.com> Message-ID: <4FD56F9D-BE17-11D8-8597-000A27B49A96@major-k.de> Hi K, do you mean: if there is a cd "name here" then... if there is a stack "name here" then... ??? Regards Klaus Major klaus at major-k.de http://www.major-k.de From nnoydb at excite.com Mon Jun 14 11:45:02 2004 From: nnoydb at excite.com (K) Date: Mon, 14 Jun 2004 11:45:02 -0400 (EDT) Subject: Stack locking in openStack how to I fix the code? Message-ID: <20040614154502.90DA53953@xprdmailfe9.nwk.excite.com> I modified my openStack and now the stack fails to open in RR can I modify is in some way So I cann actually fix it? Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From klaus at major-k.de Mon Jun 14 12:00:09 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 14 Jun 2004 18:00:09 +0200 Subject: Stack locking in openStack how to I fix the code? In-Reply-To: <20040614154502.90DA53953@xprdmailfe9.nwk.excite.com> References: <20040614154502.90DA53953@xprdmailfe9.nwk.excite.com> Message-ID: Hi Kevin, > I modified my openStack and now the stack fails to open in RR can I > modify is in some way So I cann actually fix it? No, now you are doomed until doomsday :-D Just kidding... Type this in the messagebox: lock messsages; go stack "your stack here" Hope that helps... > Kevin Regards Klaus Major klaus at major-k.de http://www.major-k.de From devin_asay at byu.edu Mon Jun 14 12:09:26 2004 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 14 Jun 2004 10:09:26 -0600 Subject: Useful Transcript tutorial In-Reply-To: <12022723.20040613074749@variosoft.com> References: <20040613005134.17089.qmail@web40502.mail.yahoo.com> <12022723.20040613074749@variosoft.com> Message-ID: <35359A52-BE1D-11D8-B946-000A95A6A138@byu.edu> Hello Revolutionaries, Thanks for the kind words. These are courses my colleagues and I put together for our Computers and the Humanities (CHum) program. We plan to teach them as long as demand holds steady, and we keep the web sites up year round. We teach the beginning course (281) each fall and winter term. In addition, we teach an advanced course each winter term. See http://chum.byu.edu/classes/CHum381 for the syllabus. While the sites are primarily for the use of our students, please feel free to visit them. You could even drop me a note if you find them useful, or even more importantly, if you come across outdated or inaccurate information (I put the first version of the course together back in the Rev 1.0 days, so there may be some updates that have slipped by us.) Regards, Devin On Jun 13, 2004, at 12:47 AM, Geoff Caplan wrote: > Hi folks, > > In addition to the Brigham Young article on Pascal/Hypertalk, they > have put up a course on Transcript for non-programmers which I spotted > a couple of days ago. Maybe I just missed it, but I didn't spot this > link on the Transcript community sites. I am posting this just in case > anyone isn't aware of it. > > http://chum.byu.edu:16080/classes/CHum281/ > > ------------------ > Geoff Caplan > Vario Software Ltd > (+44) 121-515 1154 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Devin Asay Humanities Technology and Research Support Center Brigham Young University From FlexibleLearning at aol.com Mon Jun 14 12:41:02 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon, 14 Jun 2004 12:41:02 EDT Subject: FAQchest down? Message-ID: Does anyone know if _www.faqchest.com_ (http://www.faqchest.com) is no longer available? I have been unable to access the site at all for several days. Perhaps the plug was pulled on this site also. /H From revlist at cableone.net Mon Jun 14 12:41:13 2004 From: revlist at cableone.net (Chris Sheffield) Date: Mon, 14 Jun 2004 10:41:13 -0600 Subject: handler not waiting when calling shell() under Win98 Message-ID: <000b01c4522e$6820f4a0$64fea8c0@chris1> Has anyone run into this problem? I have a Rev standalone that launches an external installer program using the shell() function. The docs specifically say that the current handler will pause until the shell returns its result, but this doesn't seem to be happening under Win98 or Me. Does anyone have any ideas? My standalone depends on this, and it works fine under Win 2000/XP. Seems to be a nasty bug. Is there some way I can get around it? Thanks, Chris Sheffield Software Developer Read Naturally --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.705 / Virus Database: 461 - Release Date: 6/12/2004 From RGould8 at aol.com Mon Jun 14 12:47:30 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Mon, 14 Jun 2004 12:47:30 EDT Subject: Rev 2.2 and Mac OS 10.1 Message-ID: <29.5a19caa1.2dff30a2@aol.com> Is there anything unusual about how Revolution 2.2 apps are built that would cause a standalone app to not launch in Mac OS 10.1, but launch in 10.1.5? I'm not familiar with the differences between those 2 OS's, but the guys in our testing group are saying that for some reason, our Revolution app doesn't even start in OS 10.1. To continue the test, we build a standalone stack with just 1 button on it, ran it on OS 1.1, and sure enough, it didn't even launch. I'm thinking that perhaps the test-lab didn't install OS 10.1 properly, but perhaps someone on this list knows of other issues. According to the Revolution web-site, standalone apps should work on "Mac OS X (any version)". I'm hoping that this is just a test-lab OS install problem and not a Rev problem. From dglaser at pacific.net Mon Jun 14 14:01:02 2004 From: dglaser at pacific.net (Dale Glaser) Date: Mon, 14 Jun 2004 11:01:02 -0700 Subject: Don't know how to deal with error messages when converting from HyperCard Message-ID: Hi, There are several expressions I use in my Hypercard stacks that cause errors when I open my stacks in Revolution: set the textStyle of line x of cd fld "topicList" to group if the marked of cd y is true then if the marked of cd y is true then add 1 to test put empty into the msg 4. I a aware that the word "group" above is taken by Revolutions, and has to do with grouping objects which make it act something like backgrounds in HyperCard. But the explanations I have read about rev groups vs. HC backgrounds don't help mey understand what I should DO with my background objects vs. card objects to make them work properly in Revolution. Thanks, Dale From kray at sonsothunder.com Mon Jun 14 13:39:13 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 14 Jun 2004 12:39:13 -0500 Subject: Special characters in a button menu In-Reply-To: <3782C450-BE15-11D8-B978-000A959289AE@buffalo.edu> Message-ID: <006e01c45236$893b6820$6601a8c0@precision340> This is just the way it works - the "escaping" of a "(" with "\(" is only for Macs, so you'll need to have some routine that changes the contents of the button based on the platform. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Timothy Bleiler > Sent: Monday, June 14, 2004 10:12 AM > To: How to use Revolution > Subject: Special characters in a button menu > > > Using Rev version 2.6 under Win XP, I'm trying to use a "(" character > in a button menu. According to the docs replacing "(" with > "\(" should > work. On Win XP the menu item is appearing with "\(" instead of the > "(". > > Anyone know a workaround? Has this been reported as a bug? > > -- Tim Bleiler > Instructional Designer, University at Buffalo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From James.Cass at sealedair.com Mon Jun 14 13:59:47 2004 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Mon, 14 Jun 2004 13:59:47 -0400 Subject: Rev 2.2 and Mac OS 10.1 In-Reply-To: <29.5a19caa1.2dff30a2@aol.com> Message-ID: I would not recommend anyone to still be in Mac OS 10.1.x. This was basically nothing more than the beta release for Mac OS X. Mac OS 10.1.x had lots of issues all on its own. At least use Jaguar (10.2.8). That's my 2 kopeks. -James RGould8 at aol.com Sent by: use-revolution-bounces at lists.runrev.com 06/14/04 12:47 PM Please respond to How to use Revolution To: use-revolution at lists.runrev.com cc: Subject: Rev 2.2 and Mac OS 10.1 Is there anything unusual about how Revolution 2.2 apps are built that would cause a standalone app to not launch in Mac OS 10.1, but launch in 10.1.5? I'm not familiar with the differences between those 2 OS's, but the guys in our testing group are saying that for some reason, our Revolution app doesn't even start in OS 10.1. To continue the test, we build a standalone stack with just 1 button on it, ran it on OS 1.1, and sure enough, it didn't even launch. I'm thinking that perhaps the test-lab didn't install OS 10.1 properly, but perhaps someone on this list knows of other issues. According to the Revolution web-site, standalone apps should work on "Mac OS X (any version)". I'm hoping that this is just a test-lab OS install problem and not a Rev problem. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From hershbp at verizon.net Mon Jun 14 14:13:39 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Mon, 14 Jun 2004 14:13:39 -0400 Subject: backgroundPattern In-Reply-To: <56AE099A-BDEF-11D8-8597-000A27B49A96@major-k.de> Message-ID: <8F99DBE8-BE2E-11D8-9319-0030654C1E62@verizon.net> Thanks, On Monday, June 14, 2004, at 06:41 AM, Klaus Major wrote: > Hello hershbp at verizon.net, > >> Hi , >> How can I know what id# background a certain icon or back groud is ? >> I'm trying to figure out the mac backgroundpattern is what # ? >> I did put the backgroundpattern of this stack in the message box it >> came up 210091. >> What I want , >> if the platfrom is "MacOS" then set the background to "the mac >> background" else to "nothing". >> if I put >> if the platform <> "MacOS" then set the background to none , then it >> is some kind of black background on the pc platform. >> Thanks > > If i understand you right you want to set the backgroundpattern to > "the mac pattern" on startup on your > standalone on the mac and NO pattern on other paltform(s)? Yes. > > As you already learned the "pattern" is simply an image (it is the > image id that you provide with the > "pattern" hanlder...) that is tiled... Yes. > > And even the "mac background" is in this case an image with the id > 210091... Yes. > > HINT: There is no "background" keyword in RR in THIS context! > You mean "backdrop" or "backgroundpattern" probably...? Sorry , I meant "backgroundpattern" > > You can use "backpattern" instead of "backgroundpattern", less typing > ;-) Good to know. > > So what you might be looking for is this one: > > on preopenstack ## or whenever... > ... > if the platform = "MacOS" then > set the backpattern of this stack to xyz > ### the id of the image you want to have as a pattern... Thats the question , what is this xyz ? I did 210091 this is what came up writing in the message box " put the backgroundpattern of this stack, and it didn't come out the "mac os" backgroundpattern and while pointing on the back ground image it shows 200270 with the same result. > > else > ## windows or *nix > set the backpattern of this stack to none I did "set to none , and it came out some black striped boxes. > ### will remove an eventually set pattern! > end if > ... > end preopenstack > > The "else" case might not be necessary, but won't hurt ;-) > > Hope that helps... > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From devin_asay at byu.edu Mon Jun 14 14:22:44 2004 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 14 Jun 2004 12:22:44 -0600 Subject: Don't know how to deal with error messages when converting from HyperCard In-Reply-To: References: Message-ID: Dale, The HCAddressing property must be set to true for Rev to understand cd fld and bg fld (and btn) refereneces. If you imported your stack directly by opening a HyperCard stack, Revolution would have set this property to true automatically. If you copied your HyperCard script into a a Rev script this property might still be false and would cause an error. The group textStyle is now known as "link" to avoid confusion with group objects. HTH Devin On Jun 14, 2004, at 12:01 PM, Dale Glaser wrote: > Hi, > > There are several expressions I use in my Hypercard stacks that cause > errors when I open my stacks in Revolution: > > set the textStyle of line x of cd fld "topicList" to group > > if the marked of cd y is true then > if the marked of cd y is true then add 1 to test > > put empty into the msg > > 4. I a aware that the word "group" above is taken by Revolutions, and > has to do with grouping objects which make it act something like > backgrounds in HyperCard. But the explanations I have read about rev > groups vs. HC backgrounds don't help mey understand what I should DO > with my background objects vs. card objects to make them work properly > in Revolution. > > Thanks, > > Dale > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Devin Asay Humanities Technology and Research Support Center Brigham Young University From RGould8 at aol.com Mon Jun 14 14:25:55 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Mon, 14 Jun 2004 14:25:55 EDT Subject: Rev 2.2 and Mac OS 10.1 Message-ID: Well, I believe you - - - now I just need to somehow convince my client that no one in their right mind would still be on 10.1. This is an ISP, so they want to reach as many people as possible. Is there an URL anywhere with stats that says, "Hey, no one is even using 10.1"? I knew that 10.0.0.4 was beta, but I thought that 10.1 was the release that was official - - - is this not the case? In a message dated 6/14/04 2:08:31 PM, James.Cass at sealedair.com writes: > I would not recommend anyone to still be in Mac OS 10.1.x. > This was basically nothing more than the beta release for Mac OS X. > Mac OS 10.1.x had lots of issues all on its own.? At least use Jaguar > (10.2.8). > That's my 2 kopeks. > > -James > > > > > > > RGould8 at aol.com > Sent by: use-revolution-bounces at lists.runrev.com > 06/14/04 12:47 PM > Please respond to How to use Revolution > > ? ? ? ? To:? ?? use-revolution at lists.runrev.com > ? ? ? ? cc: > ? ? ? ? Subject:? ? ? ? Rev 2.2 and Mac OS 10.1 > > > Is there anything unusual about how Revolution 2.2 apps are built that > would > cause a standalone app to not launch in Mac OS 10.1, but launch in 10.1.5? > I'm not familiar with the differences between those 2 OS's, but the guys > in our > testing group are saying that for some reason, our Revolution app doesn't > even start in OS 10.1.?? To continue the test, we build a standalone stack > with > just 1 button on it, ran it on OS 1.1, and sure enough, it didn't even > launch. > I'm thinking that perhaps the test-lab didn't install OS 10.1 properly, > but > perhaps someone on this list knows of other issues.?? According to the > Revolution web-site, standalone apps should work on "Mac OS X (any > version)".?? I'm > hoping that this is just a test-lab OS install problem and not a Rev > problem. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From revolution at jaedworks.com Mon Jun 14 14:38:05 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Mon, 14 Jun 2004 11:38:05 -0700 Subject: Don't know how to deal with error messages when converting from HyperCard In-Reply-To: References: Message-ID: At 11:01 AM -0700 6/14/2004, Dale Glaser wrote: >There are several expressions I use in my Hypercard stacks that >cause errors when I open my stacks in Revolution: > >set the textStyle of line x of cd fld "topicList" to group Transcript can be less forgiving about unquoted literals that HyperTalk. In this context, you need to quote the textStyle: set the textStyle of line x of cd fld "topicList" to "group" >if the marked of cd y is true then >if the marked of cd y is true then add 1 to test Revolution uses the "mark" property instead, so changing these to if the mark of cd y is true then will correct the problem. >put empty into the msg The synonyms for the message box aren't as plentiful in Rev as in HC. Taking away the word "the" will work, though: put empty into msg or just put empty >But the explanations I have read about rev groups vs. HC backgrounds >don't help mey understand what I should DO with my background >objects vs. card objects to make them work properly in Revolution. If you're converting a stack, you shouldn't need to do anything - the backgrounds of the HyperCard stack will be automatically converted to groups. Are there specific problems you're experiencing...? -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Mon Jun 14 14:41:46 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Mon, 14 Jun 2004 11:41:46 -0700 Subject: HOWTO: Check if a particulare card/stack exists? In-Reply-To: <20040614151334.CB841395A@xprdmailfe9.nwk.excite.com> References: <20040614151334.CB841395A@xprdmailfe9.nwk.excite.com> Message-ID: At 11:13 AM -0400 6/14/2004, K wrote: >I was wondering how I can check of a specific card/stack exists >(actually sub stack/card exists). Use the "there is a" operator: To check if a card exists: if there is a card "My Card" then... -- in the current stack if there is a card "My Card" of stack "My Stack" then... To check if a stack is loaded into memory: if there is a stack "My Stack" then... To check if a stack exists in a particular file (loaded into memory or not): if there is a stack "My Stack" of stack "/Disk/Folder/File.rev" then... To check if a stack is a substack of another stack that's in memory: if there is a stack "My Substack" of stack "My Main Stack" then... -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From troy at rpsystems.net Mon Jun 14 14:54:13 2004 From: troy at rpsystems.net (Troy Rollins) Date: Mon, 14 Jun 2004 14:54:13 -0400 Subject: Rev 2.2 and Mac OS 10.1 In-Reply-To: References: Message-ID: <3A6DF2BD-BE34-11D8-8D83-000A95A09CF8@rpsystems.net> On Jun 14, 2004, at 2:25 PM, RGould8 at aol.com wrote: > Is there an URL > anywhere with stats that says, "Hey, no one is even using 10.1"? > I knew that 10.0.0.4 was beta, but I thought that 10.1 was the release > that was official - - - is this not the case? 10.1.x was an official release, and people still use it. After all, to get to 10.2 was a full-priced "upgrade." In fact, a whole new copy of the OS. -- Troy RPSystems, Ltd. http://www.rpsystems.net From devin_asay at byu.edu Mon Jun 14 14:54:10 2004 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 14 Jun 2004 12:54:10 -0600 Subject: Rev 2.2 and Mac OS 10.1 In-Reply-To: References: Message-ID: <385D7082-BE34-11D8-B946-000A95A6A138@byu.edu> On Jun 14, 2004, at 12:25 PM, RGould8 at aol.com wrote: > Well, I believe you - - - now I just need to somehow convince my client > that no one in their right mind would still be on 10.1. This is an > ISP, so > they want to reach as many people as possible. Is there an URL > anywhere with stats that says, "Hey, no one is even using 10.1"? > I knew that 10.0.0.4 was beta, but I thought that 10.1 was the release > that was official - - - is this not the case? Anyone still on 10.1 should at least update to 10.1.4. It's free. Devin Asay Humanities Technology and Research Support Center Brigham Young University From revolution at knowledgeworks.plus.com Mon Jun 14 14:51:44 2004 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Mon, 14 Jun 2004 19:51:44 +0100 Subject: handler not waiting when calling shell() under Win98 Message-ID: Hi Chris, I'm not familiar with this area, but I just did a quick test and the difference is between the shell calling command.com (on win95,98,ME) and calling cmd.exe (NT,Win2K,XP). Have a look at the "shellCommand" property in Rev. Try setting this to command.com on XP (it has both command.com and cmd. exe as command processors), and you will see you get the same behaviour. I know that is not a fix, but it explains where the bug lies. I just had a quick search back through the archives and no-one seems to have found this discrepancy before. My guess is that Runrev tested on the real Win32 not on Dos7. But you are right - does seem like a bug to me too. There's nothing in bugzilla about it that I could find. If you are close to a deadline, all I can think is that at the start of your shell command you create some temporary file, and you make your script watch that file and wait for the file to disappear. At the end of your shell command, you delete the file. Hope that is of some help. Regards, Bernard Devlin >> Has anyone run into this problem? I have a Rev standalone that launches an external installer program using the shell() function. The docs specifically say that the current handler will pause until the shell returns its result, but this doesn't seem to be happening under Win98 or Me. Does anyone have any ideas? My standalone depends on this, and it works fine under Win 2000/XP. Seems to be a nasty bug. Is there some way I can get around it? << From James.Cass at sealedair.com Mon Jun 14 14:55:40 2004 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Mon, 14 Jun 2004 14:55:40 -0400 Subject: Rev 2.2 and Mac OS 10.1 Message-ID: > I knew that 10.0.0.4 was beta, but I thought that 10.1 was the release > that was official - - - is this not the case? I meant that somewhat tongue-in-cheek when I said 10.1 was beta. 10.1 was an "official release" by Apple, but most users agree it was far from a finished product. I can't point you to a specific website, but just from my experience in using Mac OS X since the public beta (now running Panther 10.3.4), I would not let 10.1.5 be the foundation of my ISP business if I had one. Mac OS X Tiger (10.4) will already make it's debut at the World Wide Developer's Conference June 28-July 2. An ISP should be looking at OSX server anyway. That's my 4 kopeks. - James |---------+---------------------------------------> | | RGould8 at aol.com | | | Sent by: | | | use-revolution-bounces at lists| | | .runrev.com | | | | | | | | | 06/14/04 02:25 PM | | | Please respond to How to use| | | Revolution | | | | |---------+---------------------------------------> >----------------------------------------------------------------------------------------------------| | | | To: use-revolution at lists.runrev.com | | cc: | | Subject: Re: Rev 2.2 and Mac OS 10.1 | >----------------------------------------------------------------------------------------------------| Well, I believe you - - - now I just need to somehow convince my client that no one in their right mind would still be on 10.1. This is an ISP, so they want to reach as many people as possible. Is there an URL anywhere with stats that says, "Hey, no one is even using 10.1"? I knew that 10.0.0.4 was beta, but I thought that 10.1 was the release that was official - - - is this not the case? In a message dated 6/14/04 2:08:31 PM, James.Cass at sealedair.com writes: > I would not recommend anyone to still be in Mac OS 10.1.x. > This was basically nothing more than the beta release for Mac OS X. > Mac OS 10.1.x had lots of issues all on its own.? At least use Jaguar > (10.2.8). > That's my 2 kopeks. > > -James > > > > > > > RGould8 at aol.com > Sent by: use-revolution-bounces at lists.runrev.com > 06/14/04 12:47 PM > Please respond to How to use Revolution > > ? ? ? ? To:? ?? use-revolution at lists.runrev.com > ? ? ? ? cc: > ? ? ? ? Subject:? ? ? ? Rev 2.2 and Mac OS 10.1 > > > Is there anything unusual about how Revolution 2.2 apps are built that > would > cause a standalone app to not launch in Mac OS 10.1, but launch in 10.1.5? > I'm not familiar with the differences between those 2 OS's, but the guys > in our > testing group are saying that for some reason, our Revolution app doesn't > even start in OS 10.1.?? To continue the test, we build a standalone stack > with > just 1 button on it, ran it on OS 1.1, and sure enough, it didn't even > launch. > I'm thinking that perhaps the test-lab didn't install OS 10.1 properly, > but > perhaps someone on this list knows of other issues.?? According to the > Revolution web-site, standalone apps should work on "Mac OS X (any > version)".?? I'm > hoping that this is just a test-lab OS install problem and not a Rev > problem. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From James.Cass at sealedair.com Mon Jun 14 15:02:37 2004 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Mon, 14 Jun 2004 15:02:37 -0400 Subject: Rev 2.2 and Mac OS 10.1 In-Reply-To: <385D7082-BE34-11D8-B946-000A95A6A138@byu.edu> Message-ID: > Anyone still on 10.1 should at least update to 10.1.4. It's free. Here's the link for the combo update to 10.1.5 (45.1MB download). http://www.apple.com/support/downloads/macosxcomboupdate_10_1_5.html Devin Asay Sent by: use-revolution-bounces at lists.runrev.com 06/14/04 02:54 PM Please respond to How to use Revolution To: How to use Revolution cc: Subject: Re: Rev 2.2 and Mac OS 10.1 On Jun 14, 2004, at 12:25 PM, RGould8 at aol.com wrote: > Well, I believe you - - - now I just need to somehow convince my client > that no one in their right mind would still be on 10.1. This is an > ISP, so > they want to reach as many people as possible. Is there an URL > anywhere with stats that says, "Hey, no one is even using 10.1"? > I knew that 10.0.0.4 was beta, but I thought that 10.1 was the release > that was official - - - is this not the case? Anyone still on 10.1 should at least update to 10.1.4. It's free. Devin Asay Humanities Technology and Research Support Center Brigham Young University _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From RGould8 at aol.com Mon Jun 14 15:36:05 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Mon, 14 Jun 2004 15:36:05 EDT Subject: Rev 2.2 and Mac OS 10.1 Message-ID: If I were to downgrade to Rev 1.1, would it work with OS 10.1? (I just need to keep all my bases covered in case my client absolutely cannot live without 10.1 support) At what point-release did Revolution stop supporting 10.1? In a message dated 6/14/04 3:11:53 PM, James.Cass at sealedair.com writes: > > Anyone still on 10.1 should at least update to 10.1.4. It's free. > > Here's the link for the combo update to 10.1.5? (45.1MB download). > http://www.apple.com/support/downloads/macosxcomboupdate_10_1_5.html > > > > > > > Devin Asay > Sent by: use-revolution-bounces at lists.runrev.com > 06/14/04 02:54 PM > Please respond to How to use Revolution > > ? ? ? ? To:? ?? How to use Revolution > ? ? ? ? cc: > ? ? ? ? Subject:? ? ? ? Re: Rev 2.2 and Mac OS 10.1 > > > > On Jun 14, 2004, at 12:25 PM, RGould8 at aol.com wrote: > > > Well, I believe you - - - now I just need to somehow convince my client > > that no one in their right mind would still be on 10.1.?? This is an > > ISP, so > > they want to reach as many people as possible.?? Is there an URL > > anywhere with stats that says, "Hey, no one is even using 10.1"? > > I knew that 10.0.0.4 was beta, but I thought that 10.1 was the release > > that was official - - - is this not the case? > > Anyone still on 10.1 should at least update to 10.1.4. It's free. > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From nnoydb at excite.com Mon Jun 14 15:45:28 2004 From: nnoydb at excite.com (K) Date: Mon, 14 Jun 2004 15:45:28 -0400 (EDT) Subject: HOWTO: Check if a particulare card/stack exists? Message-ID: <20040614194528.A8A8F3952@xprdmailfe9.nwk.excite.com> Thanks I am using exists() and I will look into there is. -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Mon 06/14, Jeanne A. E. DeVoto < revolution at jaedworks.com > wrote: From: Jeanne A. E. DeVoto [mailto: revolution at jaedworks.com] To: use-revolution at lists.runrev.com Date: Mon, 14 Jun 2004 11:41:46 -0700 Subject: Re: HOWTO: Check if a particulare card/stack exists? At 11:13 AM -0400 6/14/2004, K wrote:
>I was wondering how I can check of a specific card/stack exists
>(actually sub stack/card exists).

Use the "there is a" operator:

To check if a card exists:
if there is a card "My Card" then... -- in the current stack
if there is a card "My Card" of stack "My Stack" then...

To check if a stack is loaded into memory:
if there is a stack "My Stack" then...

To check if a stack exists in a particular file (loaded into memory or not):
if there is a stack "My Stack" of stack "/Disk/Folder/File.rev" then...

To check if a stack is a substack of another stack that's in memory:
if there is a stack "My Substack" of stack "My Main Stack" then...
--
jeanne a. e. devoto ~ jaed at jaedworks.com
http://www.jaedworks.com
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listin fo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From yvescoppe at skynet.be Mon Jun 14 16:45:07 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 14 Jun 2004 22:45:07 +0200 Subject: modal dialog on Mac OS X 10.3.4 Message-ID: Hi list REV 2.2 and MAc OS X 10.3.4 I have a script which calls a stack as sheet once in this "sheet" stack, I have a btn which calls another stack as modal but the script of this btn (in the sheet stack) goes on without waiting the click on the "OK" btn of the modal window So when I click the OK btn of the modal window, I cannot handle the content of the DialogData how can I force Rev engine to wait until the OK btn of the modal window is clicked Thank you for your help. Greetings. Yves COPPE yvescoppe at skynet.be From nnoydb at excite.com Mon Jun 14 16:45:56 2004 From: nnoydb at excite.com (K) Date: Mon, 14 Jun 2004 16:45:56 -0400 (EDT) Subject: Tabbed Button Message-ID: <20040614204556.BDD763954@xprdmailfe9.nwk.excite.com> I am using go to card "xxx" of stack "yyy" however card "yyy" corresponds to tab "yyy" and tab "yyy" is not highkighted. How would I alter the highlight of the tabbed button to be "yyy"? Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From bobnelson at mac.com Mon Jun 14 17:09:49 2004 From: bobnelson at mac.com (Bob Nelson) Date: Mon, 14 Jun 2004 14:09:49 -0700 Subject: Ouch! That's gonna leave a mark! Message-ID: Well, I've made substantial progress on my oil-for-food program - converting web pages to usable tab-delimited fields of information for importing into a database. However, I've encountered a (small) problem I haven't been able to overcome (yet). I end up with lines that have some sort of return character at the end of each line. I tried a simple scripting solution like: if the last char of line I of tData is cr then delete last char of line I of tData end if And even sampled for an lf or return, but I get nowhere... What IS that character at the end of each line and how can I kill it? At the end of each line the routine should be a tab, and a return. If I kill the returns, then I can solve me problem (okay, well I can solve THIS problem). Any suggestions of where I'm going wrong? Thanks, Bob From mwieder at ahsoftware.net Mon Jun 14 17:19:28 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 14 Jun 2004 14:19:28 -0700 Subject: handler not waiting when calling shell() under Win98 In-Reply-To: References: Message-ID: <8913006302.20040614141928@ahsoftware.net> Chris- I was just about to say the same thing. Win2k and XP are based on the NT platform, 98 and ME are not. I haven't had the occasion to do this in runrev, but I have under MSAccess. The code gets pretty ugly if you have to support both platforms - I can send the VBA code to handle it if you really need it. The problem isn't even so much using cmd.exe vs command.exe, but figuring out when the process has ended. WinNT handles this differently from previous OSs. Bernard's suggestion of creating a temporary file may well be the best solution for now. -- -Mark Wieder mwieder at ahsoftware.net From erikhans08 at yahoo.com Mon Jun 14 18:02:13 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Mon, 14 Jun 2004 15:02:13 -0700 (PDT) Subject: Useful Transcript tutorial In-Reply-To: Message-ID: <20040614220213.91709.qmail@web61104.mail.yahoo.com> --- Kurt Kaufman wrote: > Thanks for pointing to the course; new users > of Revolution (and those > who, like me, could use a good refresher in > quite a few areas) should > find it to be a valuable resource. I hope it > remains accessible for > some time. from what i have seen of BYU's involvement in all forms of dance, they are world class organizers. their adopting Revolution is a very good omen. Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From soapdog at mac.com Mon Jun 14 18:11:02 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 14 Jun 2004 19:11:02 -0300 Subject: handler not waiting when calling shell() under Win98 In-Reply-To: <000b01c4522e$6820f4a0$64fea8c0@chris1> References: <000b01c4522e$6820f4a0$64fea8c0@chris1> Message-ID: On Jun 14, 2004, at 1:41 PM, Chris Sheffield wrote: > Has anyone run into this problem? I have a Rev standalone that > launches an > external installer program using the shell() function. The docs > specifically say that the current handler will pause until the shell > returns > its result, but this doesn't seem to be happening under Win98 or Me. > Does > anyone have any ideas? My standalone depends on this, and it works > fine > under Win 2000/XP. Seems to be a nasty bug. Is there some way I can > get > around it? > Instead of making the program freeze till the instalation is completed, can't you wait a couple seconds and then check if it's ready? You can a recursive send in time to check if the instalation is done, this would work on all systems and IMHO would be a more elegant way to solve the problem. You could keep checking for the presence of some files, or reading the registry or win.ini (windows still uses this!?). If indeed this is a nasty bug, by using this method I presented here, you can deal with your problem and forget about the bug! Cheers Andre > Thanks, > > Chris Sheffield > Software Developer > Read Naturally > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From devin_asay at byu.edu Mon Jun 14 18:25:32 2004 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 14 Jun 2004 16:25:32 -0600 Subject: Useful Transcript tutorial In-Reply-To: <20040614220213.91709.qmail@web61104.mail.yahoo.com> References: <20040614220213.91709.qmail@web61104.mail.yahoo.com> Message-ID: The university is a ways short of adopting Rev campus-wide. But there are some advocates here who are strong proponents. It's sometimes an uphill battle in a world where most people think the web browser is the only way to access web content. But we have a solid beachhead. Devin On Jun 14, 2004, at 4:02 PM, Erik Hansen wrote: > --- Kurt Kaufman wrote: >> Thanks for pointing to the course; new users >> of Revolution (and those >> who, like me, could use a good refresher in >> quite a few areas) should >> find it to be a valuable resource. I hope it >> remains accessible for >> some time. > > from what i have seen of BYU's involvement > in all forms of dance, they are world class > organizers. their adopting Revolution > is a very good omen. > > Erik Hansen > > ===== > erik at erikhansen.org http://www.erikhansen.org > > > > > __________________________________ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://messenger.yahoo.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Devin Asay Humanities Technology and Research Support Center Brigham Young University From soapdog at mac.com Mon Jun 14 18:40:10 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 14 Jun 2004 19:40:10 -0300 Subject: Ouch! That's gonna leave a mark! In-Reply-To: References: Message-ID: Bob, you have different line endings depending on what system generated it. * Macs uses cr as line ending * Unix uses newline (linefeed I think) * Win uses both, one following the other. yes, something like this, or I am mixing who uses what.. but that don't matter. Check for line endings using numToChar func, check for cr, for lf, and for cr & lf. That should do the trick... Cheers Andre On Jun 14, 2004, at 6:09 PM, Bob Nelson wrote: > Well, I've made substantial progress on my oil-for-food program - > converting > web pages to usable tab-delimited fields of information for importing > into a > database. However, I've encountered a (small) problem I haven't been > able > to overcome (yet). > > I end up with lines that have some sort of return character at the end > of > each line. I tried a simple scripting solution like: > > if the last char of line I of tData is cr then > delete last char of line I of tData > end if > > And even sampled for an lf or return, but I get nowhere... > > What IS that character at the end of each line and how can I kill it? > At > the end of each line the routine should be a tab, and a return. If I > kill > the returns, then I can solve me problem (okay, well I can solve THIS > problem). > > Any suggestions of where I'm going wrong? > > Thanks, > > Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From chipp at chipp.com Mon Jun 14 18:44:23 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 14 Jun 2004 17:44:23 -0500 Subject: Ouch! That's gonna leave a mark! In-Reply-To: References: Message-ID: <40CE2A47.6070406@chipp.com> Hi Bob, try: replace numToChar(13) with "" in myTestTxt it should probably do the trick., Chipp Bob Nelson wrote: > Well, I've made substantial progress on my oil-for-food program - converting > web pages to usable tab-delimited fields of information for importing into a > database. However, I've encountered a (small) problem I haven't been able > to overcome (yet). > > I end up with lines that have some sort of return character at the end of > each line. I tried a simple scripting solution like: > > if the last char of line I of tData is cr then > delete last char of line I of tData > end if > > And even sampled for an lf or return, but I get nowhere... > > What IS that character at the end of each line and how can I kill it? At > the end of each line the routine should be a tab, and a return. If I kill > the returns, then I can solve me problem (okay, well I can solve THIS > problem). > > Any suggestions of where I'm going wrong? > > Thanks, > > Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Mon Jun 14 18:45:32 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 14 Jun 2004 17:45:32 -0500 Subject: Tabbed Button In-Reply-To: <20040614204556.BDD763954@xprdmailfe9.nwk.excite.com> References: <20040614204556.BDD763954@xprdmailfe9.nwk.excite.com> Message-ID: <40CE2A8C.4090301@chipp.com> set the menuHistory of the tab button... K wrote: > I am using go to card "xxx" of stack "yyy" however card "yyy" corresponds to tab "yyy" and tab "yyy" is not highkighted. How would I alter the highlight of the tabbed button to be "yyy"? > > > Kevin > > > > -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- > Disclaimer: > > Any resemblance between the above views and those of my > employer, my terminal, or the view out my window are purely > coincidental. > Any resemblance between the above and my own views is non-deterministic. > > The question of the existence of views in the absence of anyone to hold > them > is left as an exercise for the reader. The question of the existence of > the reader > is left as an exercise for the second god coefficient. > (A discussion of non-orthogonal, non-integral polytheism is beyond the > scope of this article.) > > > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From wouter.abraham at pi.be Mon Jun 14 19:07:18 2004 From: wouter.abraham at pi.be (Wouter) Date: Tue, 15 Jun 2004 01:07:18 +0200 Subject: modal dialog on Mac OS X 10.3.4 In-Reply-To: <20040614204345.992C79300B1@mail.runrev.com> References: <20040614204345.992C79300B1@mail.runrev.com> Message-ID: <95AA163E-BE57-11D8-A983-003065CC999E@pi.be> On 14 Jun 2004, at 22:43, Yves COPPE wrote: > Message: 20 > Date: Mon, 14 Jun 2004 22:45:07 +0200 > From: Yves COPPE > Subject: modal dialog on Mac OS X 10.3.4 > To: Use Rev > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Hi list > > REV 2.2 and MAc OS X 10.3.4 > same config > I have a script which calls a stack as sheet > once in this "sheet" stack, I have a btn which calls another stack as > modal > but the script of this btn (in the sheet stack) goes on without waiting > the click on the "OK" btn of the modal window > So when I click the OK btn of the modal window, I cannot handle the > content of the DialogData > how can I force Rev engine to wait until the OK btn of the modal window > is clicked > Made a teststack on the prescription you gave above. But it works as it should regarding modal dialogs. Are you sure you open it as a modal (mode 5) and not a modeless (mode 3) dialog? > Thank you for your help. > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > Greetings, WA From wouter.abraham at pi.be Mon Jun 14 19:16:29 2004 From: wouter.abraham at pi.be (Wouter) Date: Tue, 15 Jun 2004 01:16:29 +0200 Subject: Tabbed Button Message-ID: > From: K > > I am using go to card "xxx" of stack "yyy" however card "yyy" > corresponds to tab "yyy" > and tab "yyy" is not highkighted. How would I alter the highlight of > the tabbed > button to be "yyy"? > > > Kevin Group the tabbed button and set its background behavior to true (if card "yyy" is also in stack "yyy"). Greetings, WA From capellan2000 at yahoo.com Mon Jun 14 20:27:22 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 14 Jun 2004 17:27:22 -0700 (PDT) Subject: Help for porting code of other Programming languages to Transcript In-Reply-To: <20040613160015.A0BA79300BE@mail.runrev.com> Message-ID: <20040615002722.53656.qmail@web40506.mail.yahoo.com> on Sat, 12 Jun 2004 Jeanne A. E. DeVoto wrote: > Here's one for HyperTalk and Javascript: > Great resource! Thanks Jeanne! on Sun, 13 Jun 2004 Geoff Caplan wrote: > In addition to the Brigham Young article on > Pascal/Hypertalk, they > have put up a course on Transcript for > non-programmers which I spotted > a couple of days ago. Maybe I just missed it, but I > didn't spot this > link on the Transcript community sites. I am posting > this just in case > anyone isn't aware of it. > > http://chum.byu.edu:16080/classes/CHum281/ Very interesting link to this course! Thanks Geoff. It activate my firewall asking permissions to connect to port 16080. Why? Just wondering... How many university programs will want to teach programming RunRev courses? Looks like these are all the resources available until now. Are you aware if exist more comparisions between others pairs of languages, like Perl and PHP, etc? What are the best approaches that you have seen to teach a programming language? For me, MetaTalk programmer (MTP) is a nicely done hands-on introduction to MetaTalk. A funny example is "Pinky and the Brain learn C++" Do exist similar approaches available for other programming languages? Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From monte at sweattechnologies.com Mon Jun 14 19:26:27 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 15 Jun 2004 08:56:27 +0930 Subject: I fix the Rev standalone settings stack In-Reply-To: Message-ID: Hi Brian >I'm really grateful to the Rev team for all the work they did not Rev >version 2.2 to help with my If Monks project. However, I do think >that fixes like this should be available for downloading. Thanks for that. Yes these two things along with quite a number of others have been fixed for the 2.3 release. Unfortunately they weren't picked up during the test cycle of 2.2. Cheers Monte From bill at bluewatermaritime.com Mon Jun 14 21:57:53 2004 From: bill at bluewatermaritime.com (Bill) Date: Mon, 14 Jun 2004 21:57:53 -0400 Subject: Crashes and the blessing mystery of "groups" In-Reply-To: <20040610160017.33B2A930151@mail.runrev.com> Message-ID: This isn't something that can be bugzilla-ed as it can't be repeated exactly. It is a crash when inserting a new card that has something to do with the "group" property -- and coming from hypercard the "group" property and how you edit it, put objects in it and "use it" is one strange beast. (use it - the behave as background check box which when used on a button object makes clicking anywhere on the card click that button. But I just can't see how that can be useful as I would rather just put a script that catches mouseUps in the card and avoid the strange background "group" feature that button objects have.) I will be better able to document this crash (which caused me to lose 6 hours of programming which by the way, coming from HyperCard, is something that would never happen in HyperCard) when, if, I ever understand the "group" property. I suspect that I will understand the "group" property about when I understand how to bless a constructor (which is why I'm building my program in runrev (and using its excellent mysql access and fast manipulations of text in variables) and not perl or php. Please steer me to a simple explanation of groups! 1. How to add a button or a field to an existing group so that it behaves like a hypercard background. If you edit a script in the button that same edit will be in all the buttons on all the same cards in that stack. A field will share throughout all cards in the stack. 2. I see the three little icons -- group, edit group, select group -- and I have played with them to try to understand their functions (and I vote that there is only one button "group"). And then there is the usually grey "Place Group" which will let you place a group that you create (always with some kind of number instead of a name. If you try to change the number to a name it will appear to accept the change but still be a difficult to remember number and the named group becomes something else (maybe an OOP that I forgot to bless?) 3. Luckily it is late at night here in the rainforest so I will send this email rather than erase it as maybe someone else who lost six hours of work because of a crash and who also has no idea how to use "groups" will at least feel he has company. 4. I think the work-around is to always create stacks that only have one card. Bill From jacque at hyperactivesw.com Mon Jun 14 23:31:50 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Jun 2004 22:31:50 -0500 Subject: Crashes and the blessing mystery of "groups" In-Reply-To: References: Message-ID: <40CE6DA6.5020908@hyperactivesw.com> On 6/14/04 8:57 PM, Bill wrote: > I will be better able to document this crash (which caused me to lose 6 > hours of programming which by the way, coming from HyperCard, is something > that would never happen in HyperCard) when, if, I ever understand the > "group" property. I'm sorry you lost work. HyperCard's auto-saving behavior is hard to get un-used to and I think most of us HC converts have lost work at first. After a while you will remember to save periodically just as you do in other applications, but at first the similarities between Rev and HC make it hard to remember to do that. You can put this in the stack script of your stack to simulate HC's auto-save if you want: on closecard save this stack pass closecard end closcard This will save your work for you every time you change cards. I don't recommend using the script after you get used to saving your work manually, as it slows down operation somewhat, but for a while it may come in handy while you are learning. A very good explanation of how Revolution groups differ from HyperCard groups is located in the online Help documentation. From the Help menu, choose "Search documentation". Enter into the search box: "groups and backgrounds". The last hit in the short list that appears should answer a good many of your questions. Rev groups can behave either like HC backgrounds, or like card groups. Once you get the feel of how it works, you will like it. :) If you still have questions after reading the Help explanation, do write again and we'll jump in. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alw918 at earthlink.net Tue Jun 15 01:00:41 2004 From: alw918 at earthlink.net (Andrew) Date: Mon, 14 Jun 2004 22:00:41 -0700 Subject: converting from hypercard In-Reply-To: <20040614204345.417579300B2@mail.runrev.com> Message-ID: Hi, List. I'm converting a stack from Hypercard to Revolution, and I'm running into a myriad of problems. I followed the instructions on Revolution for importing; I made all the appropriate changes to my stack before importing it. Some of the problems I'm encountering are: 1 background scripts don't seem to work properly 2 strange graphics appear which look like bar codes at the top of the screen 3 buttons and their icons are transparent so you can see the image on the card through them. Any tips as to get rid of these problems? Thanks From yvescoppe at skynet.be Tue Jun 15 01:38:35 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 15 Jun 2004 07:38:35 +0200 Subject: modal dialog on Mac OS X 10.3.4 In-Reply-To: <95AA163E-BE57-11D8-A983-003065CC999E@pi.be> References: <20040614204345.992C79300B1@mail.runrev.com> <95AA163E-BE57-11D8-A983-003065CC999E@pi.be> Message-ID: <3EC2F645-BE8E-11D8-BEF4-003065E14B04@skynet.be> Le 15 juin 04, ? 01:07, Wouter a ?crit : >> REV 2.2 and MAc OS X 10.3.4 >> > > same config > >> I have a script which calls a stack as sheet >> once in this "sheet" stack, I have a btn which calls another stack as >> modal >> but the script of this btn (in the sheet stack) goes on without >> waiting >> the click on the "OK" btn of the modal window >> So when I click the OK btn of the modal window, I cannot handle the >> content of the DialogData >> how can I force Rev engine to wait until the OK btn of the modal >> window >> is clicked >> > > Made a teststack on the prescription you gave above. > But it works as it should regarding modal dialogs. > Are you sure you open it as a modal (mode 5) and not a modeless > (mode 3) dialog? > Yes, I'm sure go to cd "xxx" of stack "yyy" as modal Greetings. Yves COPPE yvescoppe at skynet.be From wouter.abraham at pi.be Tue Jun 15 05:09:33 2004 From: wouter.abraham at pi.be (Wouter) Date: Tue, 15 Jun 2004 11:09:33 +0200 Subject: modal dialog on Mac OS X 10.3.4 Message-ID: ? From: Yves COPPE ? Date: Mon, 14 Jun 2004 22:38:47 -0700 snip > Yes, I'm sure > > > go to cd "xxx" of stack "yyy" as modal > > > Greetings. > > > Yves COPPE I cant replicate the behavior you are describing except by adding stack mode changing code somewhere. But what I did mean was, check if the mode is changed (or not changed) somewhere by adding 1 line of code. > go to cd "xxx" of stack "yyy" as modal put the mode of stack "yyy" If everything runs normal it should report 0 after the closing of the modal stack. Else if it is not 5 then something is done to your modal stack in another spot. Greetings, WA From sarahr at genesearch.com.au Mon Jun 14 23:29:45 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 15 Jun 2004 13:29:45 +1000 Subject: Rev won't launch In-Reply-To: <1329119628.20040614094625@variosoft.com> References: <1329119628.20040614094625@variosoft.com> Message-ID: <3F8FDAFE-BE7C-11D8-853C-0003937A97B8@genesearch.com.au> Hi Geoff, This happens occasionally and the quickest & easiest way to fix it is to re-install Revolution. The way is has happened to me is with the Rev splash screen sticking at the point where it says "Loading plugins..." however the plugins are not to blame as removing them doesn't fix it. It is a problem in one of the the many IDE stacks and I don't know which one. BTW: while I recommended changing the mtp.mc stack's file extension to .rev, I don't remember suggesting that it be put in the plugin directory. It can be accessed just like any normal stack without having to be in the plugins folder. However there is no reason why putting it in the plugins folder should cause any problems, it is just unnecessary. Cheers, Sarah On 14 Jun 2004, at 6:49 pm, Geoff Caplan wrote: > Hi folks, > > Put today aside to start learning Transcript, but have hit an immediate > brick wall. > > I closed my version of Rev2.2, which had been working OK. > > Dropped the MetaCard Teaching Program - mtp.mc into the plugin > directory and renamed it with the .rev extension. This is the > procedure recommended by Sarah on RevJournal. > > Tried to re-launch Rev: it failed early in the launch sequence. No > screen or error message was generated: it just dies silently. > > Removed the mtp plugin. No change. > > I am on Win2K. > > This is not confidence inspiring. Any suggestions as to how I can get > operational again? From chipp at chipp.com Tue Jun 15 06:09:18 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 15 Jun 2004 05:09:18 -0500 Subject: new plugin Message-ID: <101F3293-BEB4-11D8-AA44-000A95F078B6@chipp.com> I rolled a simple MacOSX only plugin recently. It's called altFileMgr. I needed the ability to be able to see invisible files, and change (rename) the visibility of them as well. From the website: http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm altFileMgr Here's a nifty plugin for MacOSX users only. It will allow you to navigate to a folder, view the hidden files, change their visibility, and their name. Soon, I hope to add file permission settings along with some copy file/folder capabilities. Anyway, it's only been tested on MacOSX Panther... best, Chipp From yvescoppe at skynet.be Tue Jun 15 07:53:42 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 15 Jun 2004 13:53:42 +0200 Subject: modal dialog on Mac OS X 10.3.4 In-Reply-To: References: Message-ID: > I cant replicate the behavior you are describing except by adding > stack mode changing code somewhere. > But what I did mean was, check if the mode is changed (or not changed) > somewhere by adding 1 line of code. > >> go to cd "xxx" of stack "yyy" as modal > put the mode of stack "yyy" > > If everything runs normal it should report 0 after the closing of the > modal stack. > Else if it is not 5 then something is done to your modal stack in > another spot. > > I will try and let you know Greetings. Yves COPPE yvescoppe at skynet.be From klaus at major-k.de Tue Jun 15 08:31:01 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 15 Jun 2004 14:31:01 +0200 Subject: backgroundPattern In-Reply-To: <8F99DBE8-BE2E-11D8-9319-0030654C1E62@verizon.net> References: <8F99DBE8-BE2E-11D8-9319-0030654C1E62@verizon.net> Message-ID: Hello hershbp at verizon.net, >> ... >> So what you might be looking for is this one: >> >> on preopenstack ## or whenever... >> ... >> if the platform = "MacOS" then >> set the backpattern of this stack to xyz >> ### the id of the image you want to have as a pattern... > Thats the question , what is this xyz ? I did 210091 this is what came > up writing in the message box " put the backgroundpattern of this > stack, and it didn't come out the "mac os" backgroundpattern > and while pointing on the back ground image it shows 200270 with the > same result. ??? Sorry, don't get this one..? Did you copy that image to your stack or are you using the image from the RR imagelibrary? Copy the image to your stack and note the new id!!! Then try again with this new id of the image... >> else >> ## windows or *nix >> set the backpattern of this stack to none > I did "set to none , and it came out some black striped boxes. Hmmm, "set the backpattern... to none" definitvely removes any set backpattern... Regards Klaus Major klaus at major-k.de http://www.major-k.de From wouter.abraham at pi.be Tue Jun 15 09:19:24 2004 From: wouter.abraham at pi.be (Wouter) Date: Tue, 15 Jun 2004 15:19:24 +0200 Subject: jumping text insertion point in the script editor Message-ID: <9EFDD098-BECE-11D8-B737-003065CC999E@pi.be> Hi all, Rev 2.2 and Mac OS X 10.3.4. I encountered the following small problem: Enter a string of chars in a script editor and try to set the text insertion point after char 1, it jumps before char 1. If inserted after char 2 no problems. Trying to move the text insertion point from before char 1 by the arrowkeys does not work as it jumps back directly. Selecting char 1 is not possible. Can someone confirm this behavior? (Or is it only on my rig? :-) I checked the buglist, but other than a very long script editor bugs list, I couldn't find this mentioned. Greetings, WA From bill at bluewatermaritime.com Tue Jun 15 11:10:27 2004 From: bill at bluewatermaritime.com (Bill) Date: Tue, 15 Jun 2004 11:10:27 -0400 Subject: CAUSE OF CRASH - was not the group items at all In-Reply-To: <20040615115321.B6F219300B1@mail.runrev.com> Message-ID: I was able to duplicate the cause of the crash. I have a stack with cards that are the size of 8.5 by 11 pieces of paper because I use them to make forms for printing. My laptop monitor cannot hold the whole size of the page so information in a graphic and fields on that graphic go below the edge of the stack even though the stack does not go below that area. Everything works. It receives data and prints ok even though some of the fields and part of the graphic are past the bottom edge of the card. (I have to resize the card occasionally to work on the graphic and fields at the bottom but there is no way to add scroll bars to the stack as far as I can tell and the old hypercard system of scrolling to the bottom of off monitor stack windows doesn't work either and if I quit and re-start the stack it always resets to a size that fits in the monitor window.) Perhaps I should write a handler that makes the stack full size and repositions it whenever I need to see the fields and graphic that are off the bottom edge. Anyway -- the cause of crash -- There are 100 fields on the card and 20 of them are off the bottom edge. I choose select all, copy all, make a new card, go to that card and then everything freezes (there is no spinning beach ball and no indication that the program has not crashed). If you wait like 10 minutes the freeze goes away but then if you choose paste, nothing pastes. So I try copying just 10 of the fields, one of which is off the bottom edge. When I do this -- it takes a very long time to go to the next card and the paste works although the field that was off the edge of the card pastes into the middle of the card. On 6/15/04 7:53 AM, "use-revolution-request at lists.runrev.com" wrote: >> I will be better able to document this crash (which caused me to lose 6 >> hours of programming which by the way, coming from HyperCard, is something >> that would never happen in HyperCard) when, if, I ever understand the >> "group" property. From ambassador at fourthworld.com Tue Jun 15 11:30:07 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Jun 2004 08:30:07 -0700 Subject: CAUSE OF CRASH - was not the group items at all In-Reply-To: References: Message-ID: <40CF15FF.2000402@fourthworld.com> Bill wrote: > Anyway -- the cause of crash -- There are 100 fields on the card and 20 of > them are off the bottom edge. I choose select all, copy all, make a new > card, go to that card and then everything freezes (there is no spinning > beach ball and no indication that the program has not crashed). If you wait > like 10 minutes the freeze goes away but then if you choose paste, nothing > pastes. So I try copying just 10 of the fields, one of which is off the > bottom edge. When I do this -- it takes a very long time to go to the next > card and the paste works although the field that was off the edge of the > card pastes into the middle of the card. I wonder if there may be other factors at play giving rise to the crash. Copying objects is common enough that it would be odd (though not impossible) for the number of objects alone to be the factor. Also, the time reported for the smaller number of objects seems long, suggesting that it's possibly not a solution but simply evidencing the same issue only on a smaller scale. Also, have you considered using the "copy to " form? For example, you could write: copy fld 1 to stack "Printing Stack" ...and it copies the object without involving the Clipboard. Not only does it preserve the user's Clipboard but it would likely take less overhead and may give you an error-free solution (fingers crossed). -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From nnoydb at excite.com Tue Jun 15 12:08:50 2004 From: nnoydb at excite.com (K) Date: Tue, 15 Jun 2004 12:08:50 -0400 (EDT) Subject: revdb_init Message-ID: <20040615160850.8F8B5BF59@xprdmailfe13.nwk.excite.com> Does revdb library require some initialization when in a standalone? My applciation is executing witout error in the RAD but throws a exeception when attempting to open a database in a standalone. NOTE I have check the inclusion of the db lib in standalone builder. -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From yvescoppe at skynet.be Tue Jun 15 12:15:05 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 15 Jun 2004 18:15:05 +0200 Subject: modal dialog on Mac OS X 10.3.4 In-Reply-To: References: Message-ID: <2992B8E4-BEE7-11D8-AA75-003065E14B04@skynet.be> > I cant replicate the behavior you are describing except by adding > stack mode changing code somewhere. > But what I did mean was, check if the mode is changed (or not changed) > somewhere by adding 1 line of code. > >> go to cd "xxx" of stack "yyy" as modal > put the mode of stack "yyy" > > If everything runs normal it should report 0 after the closing of the > modal stack. > Else if it is not 5 then something is done to your modal stack in > another spot. > > It returns "0" but the script runs without waiting the close of stack "yyy" my script : set the dialogdata to empty set the label of stack "yyy" to "Editer" go to cd "edition" of stack "yyy" as modal put the dialogdata into tData put the mode of stack "dialogue et dates" set the dialogdata to empty the msg box shows "0" can you explain this ? Greetings. Yves COPPE yvescoppe at skynet.be From bornstein at designeq.com Tue Jun 15 12:31:20 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Tue, 15 Jun 2004 12:31:20 -0400 Subject: jumping text insertion point in the script editor In-Reply-To: <9EFDD098-BECE-11D8-B737-003065CC999E@pi.be> References: <9EFDD098-BECE-11D8-B737-003065CC999E@pi.be> Message-ID: <6ECD9B62-BEE9-11D8-95FF-000A95909E26@designeq.com> On Jun 15, 2004, at 9:19 AM, Wouter wrote: > Rev 2.2 and Mac OS X 10.3.4. Same setup. > Enter a string of chars in a script editor and try to set the text > insertion point after char 1, it jumps before char 1. If inserted > after char 2 no problems. Trying to move the text insertion point from > before char 1 by the arrowkeys does not work as it jumps back > directly. > Selecting char 1 is not possible. > Can someone confirm this behavior? (Or is it only on my rig? :-) I see the same behavior, but only on the first line of a handler that uses "on . IOW, if the first word of the handler is "on", I can't put the cursor after the "o". It jumps back to before the "o". It doesn't do this for any other line in the handler (not on the "end " line, nor on the first line of a function handler. BTW, this problem only occurs when colorization is on. Try turning off colorization, enter the script again, and see if it still happens. Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From lists at mangomultimedia.com Tue Jun 15 12:38:26 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 15 Jun 2004 10:38:26 -0600 Subject: revdb_init In-Reply-To: <20040615160850.8F8B5BF59@xprdmailfe13.nwk.excite.com> References: <20040615160850.8F8B5BF59@xprdmailfe13.nwk.excite.com> Message-ID: <6CFD6257-BEEA-11D8-A546-000A956C462A@mangomultimedia.com> On Jun 15, 2004, at 10:08 AM, K wrote: > Does revdb library require some initialization when in a standalone? > My applciation is executing witout error in the RAD but throws a > exeception when attempting to open a database in a standalone. How did you build your standalone? Is it one executable file or did you use the splash screen method where you have an executable that opens your program stack? If the former than make sure that you include the database support libraries when you build the executable. If the latter then you need to start using the stack that you built the executable with in your program stack since the externals functions are assigned to and available only within the splash screen stack. Here is an example- You have two stacks. Stack 1 is splash.rev which is used to build the executable. Stack 2 is program.rev which is your main program stack which has all of the database calls. When you build splash.rev as an executable Revolution will assign the externals it needs to connect and talk to the database to the splash.rev stack. Any calls to a database will work if called from splash.rev. When you executable calls something like go to stack "program.rev" and you try to make calls to the revdb_* in program.rev these calls will fail since the external functions/commands are not in the message path for this stack. To fix this you can do the following in program.rev - start using stack "splash.rev" which will make all of the external functions/commands available to splash.rev available to your program.rev stack as well. This should fix the problem. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From devin_asay at byu.edu Tue Jun 15 12:42:15 2004 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 15 Jun 2004 10:42:15 -0600 Subject: revdb_init In-Reply-To: <20040615160850.8F8B5BF59@xprdmailfe13.nwk.excite.com> References: <20040615160850.8F8B5BF59@xprdmailfe13.nwk.excite.com> Message-ID: On Jun 15, 2004, at 10:08 AM, K wrote: > > Does revdb library require some initialization when in a standalone? > My applciation is executing witout error in the RAD but throws a > exeception when attempting to open a database in a standalone. > > > > NOTE I have check the inclusion of the db lib in standalone builder. > There have been persistent problems with using the revdb library in standalones, especially when the project consists of two or more stacks. What specific error are you seeing? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From bornstein at designeq.com Tue Jun 15 12:56:47 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Tue, 15 Jun 2004 12:56:47 -0400 Subject: Group anomalies Message-ID: Using Rev 2.2 and Mac OS X 10.3.4. Create a stack. Make a field and a button. Group the field and button. Select the group. Drag the handles of the group and make it bigger in any direction. The group rectangle changes as you drag it, and the field and button are not affected. How turn on horizontal and vertical scrollbars on the group. Select the group. Drag from the top to extend the border. The group border raises AND the button and field go with it! Now drag the border down. Only the border moves, hiding the button and field. BTW, if you resize from the bottom, the objects are not affected. Call me crazy, but it seems to me it shouldn't work this way. This action only happens with vertical scrollbars on. Same thing happens if you resize the group in the horizontal direction. If you enlarge the group from the left, the object go with the resize. When you move the border back to the right, the objects are not affected. Again, this only occurs with horizontal scrollbars turned on. Can anyone else confirm this before I bugzilla it? Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From devin_asay at byu.edu Tue Jun 15 13:32:23 2004 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 15 Jun 2004 11:32:23 -0600 Subject: converting from hypercard In-Reply-To: References: Message-ID: On Jun 14, 2004, at 11:00 PM, Andrew wrote: > Hi, List. I'm converting a stack from Hypercard to Revolution, and > I'm running into a myriad of problems. I followed the instructions on > Revolution for importing; I made all the appropriate changes to my > stack before importing it. > Some of the problems I'm encountering are: > 1 background scripts don't seem to work properly Can you be more specific? Some examples? > 2 strange graphics appear which look like bar codes at the top of the > screen Are there graphics in your original HC stack that could be being converted in an unexpected way? For instance, I have sometimes noticed that the transparency in HC bitmapped graphics doesn't convert accurately. > 3 buttons and their icons are transparent so you can see the image on > the card through them. Did you try making the buttons opaque to prevent this? I gave up converting HC stacks directly long ago in favor of recreating the interface in Rev and copying over scripts, then modifying them to behave properly in Rev. While conversion works alright for simple stacks, for complex stacks you are usually better off porting them. I have found it takes surprisingly little time, especially once you become comfortable with the differences between HC and Rev. But whether you choose to convert or port your stack, Jacque Gay's article on Converting a HyperCard stack to Revolution at http://www.hyperactivesw.com/Resources.html is a must-read. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From wouter.abraham at pi.be Tue Jun 15 13:35:19 2004 From: wouter.abraham at pi.be (Wouter) Date: Tue, 15 Jun 2004 19:35:19 +0200 Subject: jumping text insertion point in the script editor Message-ID: <5F630A2C-BEF2-11D8-B737-003065CC999E@pi.be> From: Howard Bornstein Date: Tue, 15 Jun 2004 09:31:34 -0700 snip > > I see the same behavior, but only on the first line of a handler that > uses "on . IOW, if the first word of the handler is > "on", I can't put the cursor after the "o". It jumps back to before > the "o". It doesn't do this for any other line in the handler (not on > the "end " line, nor on the first line of a function > handler. > BTW, this problem only occurs when colorization is on. Try turning off > colorization, enter the script again, and see if it still happens. It happens even with colorization turned off. It is not a problematic bug (but a bug nevertheless and could be related to some of the other 67 script editor bugs). > Regards, > > > Howard Bornstein Greetings, WA From sarahr at genesearch.com.au Tue Jun 15 03:00:52 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 15 Jun 2004 17:00:52 +1000 Subject: Remote alerts Message-ID: I have an application that monitors multiple temperature sensors, setting off alarms if any of them go outside their required parameters. This is fine locally as I can have an audible and visual alarm, but now I'm working on what happens when something goes wrong in the middle of the night! There are various methods, both active and passive, that have occurred to me, but I was hoping that some of you could come up with more ideas or methods. Passive: web site, email (no problems here, just they reply on people checking) Active: SMS, telephone call, some other brilliant idea? Here is where my problems really begin. I haven't an idea how to do SMS (text messages) and while I know how to make a modem ring a phone number, how do I respond when the phone is answered? Is it possible to play a recorded sound, or use the speech commands to speak down the phone line? If it makes any difference, this will be running only on Macs with OS X. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From kee at kagi.com Tue Jun 15 15:05:32 2004 From: kee at kagi.com (kee nethery) Date: Tue, 15 Jun 2004 12:05:32 -0700 Subject: Remote alerts In-Reply-To: References: Message-ID: On Jun 15, 2004, at 12:00 AM, Sarah Reichelt wrote: > I have an application that monitors multiple temperature sensors, > setting off alarms if any of them go outside their required > parameters. This is fine locally as I can have an audible and visual > alarm, but now I'm working on what happens when something goes wrong > in the middle of the night! > > There are various methods, both active and passive, that have occurred > to me, but I was hoping that some of you could come up with more ideas > or methods. > > Passive: web site, email (no problems here, just they reply on people > checking) > Active: SMS, telephone call, some other brilliant idea? > > Here is where my problems really begin. I haven't an idea how to do > SMS (text messages) and while I know how to make a modem ring a phone > number, how do I respond when the phone is answered? Is it possible to > play a recorded sound, or use the speech commands to speak down the > phone line? SMS is easy. The SMS address also has an internet email address. For example 5105551212 at messaging.sprintpcs.com would deliver an email to a cell phone via SMS If you want to call and play a sound, I suggest you get something like Phlink. It will do exactly what you want on Mac OS X. You can have it call and do a text to speech message and wait for some touchtone response (or start calling other people). Kee Nethery > If it makes any difference, this will be running only on Macs with OS > X. > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From nnoydb at excite.com Tue Jun 15 15:35:17 2004 From: nnoydb at excite.com (K) Date: Tue, 15 Jun 2004 15:35:17 -0400 (EDT) Subject: revdb_init Message-ID: <20040615193517.3E724BFC2@xprdmailfe13.nwk.excite.com> This is the error reported in my exception dialog. Error 354,0,0 352,0,0 354,0,0 352,0,0 219,62,4,revdb_init 223,62,1 162,63,1,get revdb_init("general","91706") 219,78,9,revOpenDatabase 223,78,1 253,76,1 241,76,1,secfilingsOpen 353,0,0,stack "/Users/kevin/Desktop/DSMS/MacOSX/DSMS.app/Contents/MacOS/secfilings.rev" 219,923,16,secfilingsOpen 380,923,14 220,923,8 252,923,1 -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Tue 06/15, Devin Asay < devin_asay at byu.edu > wrote: From: Devin Asay [mailto: devin_asay at byu.edu] To: use-revolution at lists.runrev.com Date: Tue, 15 Jun 2004 10:42:15 -0600 Subject: Re: revdb_init
On Jun 15, 2004, at 10:08 AM, K wrote:
>
> Does revdb library require some initialization when in a standalone?
> My applciation is executing witout error in the RAD but throws a
> exeception when attempting to open a database in a standalone.
>
>
>
> NOTE I have check the inclusion of the db lib in standalone builder.
>
There have been persistent problems with using the revdb library in
standalones, especially when the project consists of two or more
stacks. What specific error are you seeing?

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From webmaster at dreamscapesoftware.com Tue Jun 15 16:07:56 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 15 Jun 2004 22:07:56 +0200 Subject: Remote alerts References: Message-ID: <011301c45314$762712a0$e41fde0a@WorkPC> > If you want to call and play a sound, I suggest you get something like > Phlink. It will do exactly what you want on Mac OS X. You can have it > call and do a text to speech message and wait for some touchtone > response (or start calling other people). This is something I've always wondered about. Both HyperCard and Rev have the ability to use a computer's modem to dial a phone number, but that's pretty much it after that. Yes, you can send AT and other commands to the modem, but why is there nothing for playing sounds or receiving touch tones? This seems like a good feature to have if it's possible. Combine that with the Image Capture and the Internet Library, and hey...a VideoPhone! Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From devin_asay at byu.edu Tue Jun 15 16:19:28 2004 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 15 Jun 2004 14:19:28 -0600 Subject: revdb_init In-Reply-To: <20040615193517.3E724BFC2@xprdmailfe13.nwk.excite.com> References: <20040615193517.3E724BFC2@xprdmailfe13.nwk.excite.com> Message-ID: <4DCA8C34-BF09-11D8-B946-000A95A6A138@byu.edu> I hope you saw Trevor's reply on this earlier. He summarized the problem nicely. I would defer to him on this one. Devin On Jun 15, 2004, at 1:35 PM, K wrote: > > This is the error reported in my exception dialog. > > Error > 354,0,0 > 352,0,0 > 354,0,0 > 352,0,0 > 219,62,4,revdb_init > 223,62,1 > 162,63,1,get revdb_init("general","91706") > 219,78,9,revOpenDatabase > 223,78,1 > 253,76,1 > 241,76,1,secfilingsOpen > 353,0,0,stack > "/Users/kevin/Desktop/DSMS/MacOSX/DSMS.app/Contents/MacOS/ > secfilings.rev" > 219,923,16,secfilingsOpen > 380,923,14 > 220,923,8 > 252,923,1 Devin Asay Humanities Technology and Research Support Center Brigham Young University From bleiler at buffalo.edu Tue Jun 15 16:28:19 2004 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Tue, 15 Jun 2004 16:28:19 -0400 Subject: Is it "wrong" to try and get or set the defaultstack inside a setProp or getProp? In-Reply-To: <101F3293-BEB4-11D8-AA44-000A95F078B6@chipp.com> References: <101F3293-BEB4-11D8-AA44-000A95F078B6@chipp.com> Message-ID: <8A64C796-BF0A-11D8-B978-000A959289AE@buffalo.edu> Just trying this out. I've run into problems setting or getting the default stack inside of setProp or getProp handlers. For example. If I call a getProp handler: Put the myProp of the control with the script Where: getProp myProp Put the defaultstack end myProp I get an empty value. Anyone know if this is normal? --Tim Bleiler Instructional Designer, University at Buffalo From chipp at chipp.com Tue Jun 15 16:40:36 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 15 Jun 2004 15:40:36 -0500 Subject: altFileMgr plugin Message-ID: <4189E1CD-BF0C-11D8-9A56-000A95F078B6@chipp.com> Howard Bornstein correctly pointed out I had posted the wrong plugin. Sorry. The new one's available at the same place (and has instructions on how to use it). Or, just choose "check for updates" from the altPluginToolbar. best, Chipp From geoff at advantae.com Tue Jun 15 17:44:46 2004 From: geoff at advantae.com (Geoff Caplan) Date: Tue, 15 Jun 2004 22:44:46 +0100 Subject: Rev won't launch In-Reply-To: <3F8FDAFE-BE7C-11D8-853C-0003937A97B8@genesearch.com.au> References: <1329119628.20040614094625@variosoft.com> <3F8FDAFE-BE7C-11D8-853C-0003937A97B8@genesearch.com.au> Message-ID: <1059854039.20040615224446@variosoft.com> Sarah, SR> This happens occasionally and the quickest & easiest way to fix it is SR> to re-install Revolution. That's what I'll do: no other option really. SR> BTW: while I recommended changing the mtp.mc stack's file extension to SR> .rev, I don't remember suggesting that it be put in the plugin SR> directory. I must have misread your instructions. Thanks for the pointer... ------------------ Geoff Caplan Vario Software Ltd (+44) 121-515 1154 From troy at rpsystems.net Tue Jun 15 17:51:49 2004 From: troy at rpsystems.net (Troy Rollins) Date: Tue, 15 Jun 2004 17:51:49 -0400 Subject: REALLY close stack Message-ID: <341FDC44-BF16-11D8-B3E9-000A95A09CF8@rpsystems.net> Greets, I have a stack which references a number of external stack files as resources. Only one of these resources can be "active" at a time. The user can create these resource stacks, and name them whatever they want... but they all have the same "internal" stack name. When my program starts, it looks through the resource directory, loads them one by one, extracts enough information to reload the file as the "main resource" when requested by selecting it from a list of available resources. The problem? You probably guessed it. Rev won't purge the first file, and always complains that there is already a stack open with that name. In my repeat loop which reads the files I "repeatedly" try to kill the darn thing, but they are very persistent. It looks something like this - _________________________________________________________ repeat for each line tFile in tFileList if there is a stack "Current Resource" then set the destroyStack of stack "Current Resource" to TRUE close stack "Current Resource" end if go invisible stack URL (the defaultFolder & "/" & tFile) if there is a field "NameField" of stack "Current Resource" then Put tFile & TAB & field "NameField" of stack "Current Resource" after field "Resource Select List" of card "Main Interface" of stack "The Program" end if set the destroyStack of stack "Current Player" to TRUE close stack "Current Player" end repeat ________________________________________________________ In other words, I try to kill the bugger twice, but no go. Is there a "best way" to use and kill a stack, so that another which has the same stack name can be used without error messages? Back workin' in Rev, but a bit rusty I guess. Thanks for any help. -- Troy RPSystems, Ltd. http://www.rpsystems.net From troy at rpsystems.net Tue Jun 15 17:55:10 2004 From: troy at rpsystems.net (Troy Rollins) Date: Tue, 15 Jun 2004 17:55:10 -0400 Subject: REALLY close stack In-Reply-To: <341FDC44-BF16-11D8-B3E9-000A95A09CF8@rpsystems.net> References: <341FDC44-BF16-11D8-B3E9-000A95A09CF8@rpsystems.net> Message-ID: Sorry, the code example looks more like this... _________________________________________________________ repeat for each line tFile in tFileList if there is a stack "Current Resource" then set the destroyStack of stack "Current Resource" to TRUE close stack "Current Resource" end if go invisible stack URL (the defaultFolder & "/" & tFile) if there is a field "NameField" of stack "Current Resource" then Put tFile & TAB & field "NameField" of stack "Current Resource" after field "Resource Select List" of card "Main Interface" of stack "The Program" end if set the destroyStack of stack "Current Resource" to TRUE close stack "Current Resource" end repeat ________________________________________________________ > -- Troy RPSystems, Ltd. http://www.rpsystems.net From lists at mangomultimedia.com Tue Jun 15 17:55:38 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 15 Jun 2004 15:55:38 -0600 Subject: REALLY close stack In-Reply-To: References: <341FDC44-BF16-11D8-B3E9-000A95A09CF8@rpsystems.net> Message-ID: On Jun 15, 2004, at 3:55 PM, Troy Rollins wrote: > Sorry, the code example looks more like this... > > _________________________________________________________ > repeat for each line tFile in tFileList > if there is a stack "Current Resource" then > set the destroyStack of stack "Current Resource" to TRUE > close stack "Current Resource" > end if > > go invisible stack URL (the defaultFolder & "/" & tFile) > if there is a field "NameField" of stack "Current Resource" then > > Put tFile & TAB & field "NameField" of stack "Current > Resource" after field "Resource Select List" of card "Main Interface" > of stack "The Program" > end if > > set the destroyStack of stack "Current Resource" to TRUE > close stack "Current Resource" > > end repeat Troy, Have you tried using delete stack "Current Resource"? Though setting destroyStack is supposed to work (I think) I use delete stack in my code that does something similar and it works fine. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From scott at tactilemedia.com Tue Jun 15 17:58:19 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 15 Jun 2004 14:58:19 -0700 Subject: REALLY close stack In-Reply-To: <341FDC44-BF16-11D8-B3E9-000A95A09CF8@rpsystems.net> Message-ID: Recently, "Troy Rollins" wrote: > I have a stack which references a number of external stack files as > resources. Only one of these resources can be "active" at a time. The > user can create these resource stacks, and name them whatever they > want... but they all have the same "internal" stack name. When my > program starts, it looks through the resource directory, loads them one > by one, extracts enough information to reload the file as the "main > resource" when requested by selecting it from a list of available > resources. > > The problem? You probably guessed it. Rev won't purge the first file, > and always complains that there is already a stack open with that name. > > In my repeat loop which reads the files I "repeatedly" try to kill the > darn thing, but they are very persistent. It looks something like this > - > _________________________________________________________ > repeat for each line tFile in tFileList > if there is a stack "Current Resource" then > set the destroyStack of stack "Current Resource" to TRUE > close stack "Current Resource" > end if > > go invisible stack URL (the defaultFolder & "/" & tFile) > if there is a field "NameField" of stack "Current Resource" then > > Put tFile & TAB & field "NameField" of stack "Current Resource" > after field "Resource Select List" of card "Main Interface" of stack > "The Program" > end if > > set the destroyStack of stack "Current Player" to TRUE > close stack "Current Player" > > end repeat > ________________________________________________________ > > In other words, I try to kill the bugger twice, but no go. Is there a > "best way" to use and kill a stack, so that another which has the same > stack name can be used without error messages? Is there a reason why you're not saving your stack files with their destroyStack property set to true? I work this way with all my own stacks (if I want a stack to stay in memory I hide it, and closing the stack should remove it). You might be able to remove the problem you encountered and eliminate portions of the above script by setting destroyStack to true. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From hershbp at verizon.net Tue Jun 15 18:05:14 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Tue, 15 Jun 2004 18:05:14 -0400 Subject: backgroundPattern In-Reply-To: Message-ID: <140B9D00-BF18-11D8-AA1A-0030654C1E62@verizon.net> On Tuesday, June 15, 2004, at 08:31 AM, Klaus Major wrote: > Hello hershbp at verizon.net, > >>> ... >>> So what you might be looking for is this one: >>> >>> on preopenstack ## or whenever... >>> ... >>> if the platform = "MacOS" then >>> set the backpattern of this stack to xyz >>> ### the id of the image you want to have as a pattern... >> Thats the question , what is this xyz ? I did 210091 this is what >> came up writing in the message box " put the backgroundpattern of >> this stack, and it didn't come out the "mac os" backgroundpattern >> and while pointing on the back ground image it shows 200270 with the >> same result. > > ??? Sorry, don't get this one..? > > Did you copy that image to your stack or are you using the image from > the RR imagelibrary? From the RR imagelibrary. > > Copy the image to your stack and note the new id!!! > Then try again with this new id of the image... > >>> else >>> ## windows or *nix >>> set the backpattern of this stack to none >> I did "set to none , and it came out some black striped boxes. > > Hmmm, "set the backpattern... to none" definitvely removes any set > backpattern... > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From engleerica at yahoo.com Tue Jun 15 18:28:14 2004 From: engleerica at yahoo.com (Eric Engle) Date: Tue, 15 Jun 2004 15:28:14 -0700 (PDT) Subject: Question: Academic Revolution? In-Reply-To: <20040615160057.6993E9300BA@mail.runrev.com> Message-ID: <20040615222814.35149.qmail@web60501.mail.yahoo.com> I've not been following revolution lately because I've been busy. However, I am going to be getting lab administrator priveleges. I want to convince them to install metacard as a tool for reading/writing web pages and applications. I want to do this to convince them that it would be worth getting a site license for revolution. However, for it to be convincing I must be able to demonstrate: ability of revolution to read a web page (easy) ability of revolution to write a web page (has anyone any stacks that do this?) ability of rev to run a cgi (I know this has been done by others) ability of a browser to be told to open stacks with rev shakobox So my questions is: are there any sites or stacks (other than one's I've written) to read web pages, to write stacks as web pages? How do I teach my browsers (safari, explorer, netscape) to open a stack with rev? I really thank you for any leads, tips or information. __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From hershbp at verizon.net Tue Jun 15 18:48:30 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Tue, 15 Jun 2004 18:48:30 -0400 Subject: novice questions Message-ID: <1F6C0F34-BF1E-11D8-AA1A-0030654C1E62@verizon.net> Hi all, What is the point of an varArray[] that a var won't do ? If I need more then 1 var use 2 var's or more wouldn't do it ? Or get item 1 of line 1 of myVar? Number 2 , if I use a varArray [] in a repeat e.g. repeat for each line myL in varArray[] --could I take info from which array I want do the lines work together ? if "A" then put line myL of varArray[1] else put line myL of varArray[2] end repeat--will it return item 2 of line 1 , if myL is the first line? And by the way is it possible to split a SQL into 2 var's ? meaning, put revDataFromQuery(,,db,"SELECET (a,b) FROM table_c") into myVar1,myVar2 ? or somthing like this ? I know I could do put a,b,c,d into myVar , is it possible the other way around instead of put a into b put c into d and so on? Thanks a mill. From jhurley at infostations.com Tue Jun 15 19:11:02 2004 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 15 Jun 2004 16:11:02 -0700 Subject: Rev won't launch In-Reply-To: <20040615220659.D22439300DA@mail.runrev.com> References: <20040615220659.D22439300DA@mail.runrev.com> Message-ID: > >Message: 15 >Date: Tue, 15 Jun 2004 22:44:46 +0100 >From: Geoff Caplan >Subject: Re[2]: Rev won't launch >To: use-revolution at lists.runrev.com >Message-ID: <1059854039.20040615224446 at variosoft.com> >Content-Type: text/plain; charset=us-ascii > >Sarah, > >SR> This happens occasionally and the quickest & easiest way to fix it is >SR> to re-install Revolution. > >That's what I'll do: no other option really. > >SR> BTW: while I recommended changing the mtp.mc stack's file extension to >SR> .rev, I don't remember suggesting that it be put in the plugin >SR> directory. > >I must have misread your instructions. Thanks for the pointer... > >------------------ >Geoff Caplan >Vario Software Ltd >(+44) 121-515 1154 > Geoff, If the launch hangs at the "Loading Plug-ins" stage you might suspect that it is that component which is at fault. But it turns out that it is the next component which causes the problem. Try replacing just the "Saves" folder inside the "Components" folder. This has happened to me on several occasions and this single change restores functionality. Jim From chipp at chipp.com Tue Jun 15 19:36:08 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 15 Jun 2004 18:36:08 -0500 Subject: REALLY close stack In-Reply-To: <341FDC44-BF16-11D8-B3E9-000A95A09CF8@rpsystems.net> References: <341FDC44-BF16-11D8-B3E9-000A95A09CF8@rpsystems.net> Message-ID: <40CF87E8.2020904@chipp.com> Hi Troy, I've successfully used the 'delete stack' command in the past. Maybe you should try it. best, Chipp From chipp at chipp.com Tue Jun 15 19:42:42 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 15 Jun 2004 18:42:42 -0500 Subject: Question: Academic Revolution? In-Reply-To: <20040615222814.35149.qmail@web60501.mail.yahoo.com> References: <20040615222814.35149.qmail@web60501.mail.yahoo.com> Message-ID: <40CF8972.8080508@chipp.com> Hi Eric, Eric Engle wrote: > ability of revolution to read a web page (easy) > ability of revolution to write a web page (has anyone any stacks that do this?) You might want to check out Richard Gaskin's WebMerge product at www.fourthworld.com Also, Hemingway builds websites and has a RR client front end. www.altuit.com > ability of rev to run a cgi (I know this has been done by others) > ability of a browser to be told to open stacks with rev On the PC, check out ButtonGadget, which successfully launches a RR standalone when you click on one of the ButtonGadget Buttonsets (ButtonGadget must be first installed, of course). These are all examples of what *can* be done with RR. Of course, it's up to developers to figure out how best to do it. A comprehensive explanation of all of this is beyond the scope of this email. But, you can imagine that RR can write HTML (as well as TXT and binary data), and one can set up a MIME type to launch a program from Internet Explorer as well (using the registry). best, Chipp From erikhans08 at yahoo.com Tue Jun 15 19:46:57 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Tue, 15 Jun 2004 16:46:57 -0700 (PDT) Subject: Ouch! That's gonna leave a mark! In-Reply-To: Message-ID: <20040615234657.61047.qmail@web61103.mail.yahoo.com> --- Andre Garzia wrote: > you have different line endings depending on > what system generated it. > * Macs uses cr as line ending > * Unix uses newline (linefeed I think) > * Win uses both, one following the other. > > yes, something like this, or I am mixing who > uses what.. but that don't > matter. Check for line endings using numToChar > func, check for cr, for lf, and for cr & lf. what about return. numToChar(32) is it? Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo From erikhans08 at yahoo.com Tue Jun 15 19:54:29 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Tue, 15 Jun 2004 16:54:29 -0700 (PDT) Subject: Ouch! That's gonna leave a mark! In-Reply-To: <40CE2A47.6070406@chipp.com> Message-ID: <20040615235429.15889.qmail@web61104.mail.yahoo.com> --- Chipp Walters wrote: > replace numToChar(13) with "" in myTestTxt > > it should probably do the trick., right, numToChar(13). forgive the dyslexia. doesn't "return" = "line feed" + "carriage return"? i always use "return" to strip trailing returns. works OK but is there a better way? Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail From johnrule at rcsprogramming.com Tue Jun 15 19:53:07 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Tue, 15 Jun 2004 16:53:07 -0700 Subject: REALLY close stack - no, really References: <20040615220659.D22439300DA@mail.runrev.com> Message-ID: <004d01c45333$e85468e0$8a01000a@minipcxp> Does this feature actually benefit anyone? In all of the years I have used MC or RR I have been fighting this 'Purge' annoyance (and I have lost some work because of it). I now just make sure that the 'Destroy' attributes are set (destroy window and destroy stack)...this works 'mostly', but not always. I wish it would just be taken out of the engine itself....when I close a window, I am closing it! If I want to keep it in memory, I will 'hide' it myself. JR > Date: Tue, 15 Jun 2004 17:51:49 -0400 > From: Troy Rollins > Subject: REALLY close stack > To: How to use Revolution > Message-ID: <341FDC44-BF16-11D8-B3E9-000A95A09CF8 at rpsystems.net> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Greets, > > I have a stack which references a number of external stack files as > resources. Only one of these resources can be "active" at a time. The > user can create these resource stacks, and name them whatever they > want... but they all have the same "internal" stack name. When my > program starts, it looks through the resource directory, loads them one > by one, extracts enough information to reload the file as the "main > resource" when requested by selecting it from a list of available > resources. > > The problem? You probably guessed it. Rev won't purge the first file, > and always complains that there is already a stack open with that name. > > In my repeat loop which reads the files I "repeatedly" try to kill the > darn thing, but they are very persistent. It looks something like this > - > _________________________________________________________ > repeat for each line tFile in tFileList > if there is a stack "Current Resource" then > set the destroyStack of stack "Current Resource" to TRUE > close stack "Current Resource" > end if > > go invisible stack URL (the defaultFolder & "/" & tFile) > if there is a field "NameField" of stack "Current Resource" then > > Put tFile & TAB & field "NameField" of stack "Current Resource" > after field "Resource Select List" of card "Main Interface" of stack > "The Program" > end if > > set the destroyStack of stack "Current Player" to TRUE > close stack "Current Player" > > end repeat > ________________________________________________________ > > In other words, I try to kill the bugger twice, but no go. Is there a > "best way" to use and kill a stack, so that another which has the same > stack name can be used without error messages? > > Back workin' in Rev, but a bit rusty I guess. Thanks for any help. > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > From mark at maseurope.net Tue Jun 15 20:01:05 2004 From: mark at maseurope.net (Mark Smith) Date: Wed, 16 Jun 2004 01:01:05 +0100 Subject: Remote alerts In-Reply-To: <20040615220659.AD9039300D8@mail.runrev.com> References: <20040615220659.AD9039300D8@mail.runrev.com> Message-ID: <432E6411-BF28-11D8-9371-000D93C19756@maseurope.net> In the UK we have sms2email.com and others. You can use a simple URL command to send sms, like this : put http://www.sms2email.com/sms/postmsg.php? to_num=pNumber&message=mText+ok&flash=0&username=uName&password=pWord into smsVar replace "pNumber" with yourPhoneNumber in smsVar replace "mText" with messageText in smsVar replace "uName" with yourUserName in smsVar replace "pWord" with yourPassword in smsVar get URL smsVar this will send the message and place some sort of "OK" or "not OK" message in the "it" variable, which you can handle as you wish. It costs about ?10 for 100 messages. There must be something similar in oz. Cheers, Mark On 15 Jun 2004, at 23:06, use-revolution-request at lists.runrev.com wrote: > Date: Tue, 15 Jun 2004 17:00:52 +1000 > From: Sarah Reichelt > Subject: Remote alerts > To: use-revolution at lists.runrev.com > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > I have an application that monitors multiple temperature sensors, > setting off alarms if any of them go outside their required parameters. > This is fine locally as I can have an audible and visual alarm, but now > I'm working on what happens when something goes wrong in the middle of > the night! > > There are various methods, both active and passive, that have occurred > to me, but I was hoping that some of you could come up with more ideas > or methods. > > Passive: web site, email (no problems here, just they reply on people > checking) > Active: SMS, telephone call, some other brilliant idea? > > Here is where my problems really begin. I haven't an idea how to do SMS > (text messages) and while I know how to make a modem ring a phone > number, how do I respond when the phone is answered? Is it possible to > play a recorded sound, or use the speech commands to speak down the > phone line? > > If it makes any difference, this will be running only on Macs with OS > X. > > Cheers, > Sarah From troy at rpsystems.net Tue Jun 15 20:10:45 2004 From: troy at rpsystems.net (Troy Rollins) Date: Tue, 15 Jun 2004 20:10:45 -0400 Subject: REALLY close stack In-Reply-To: References: Message-ID: <9D2FC264-BF29-11D8-B12B-000A95A09CF8@rpsystems.net> On Jun 15, 2004, at 5:58 PM, Scott Rossi wrote: > Is there a reason why you're not saving your stack files with their > destroyStack property set to true? I work this way with all my own > stacks > (if I want a stack to stay in memory I hide it, and closing the stack > should > remove it). You might be able to remove the problem you encountered and > eliminate portions of the above script by setting destroyStack to true. In fact I AM saving it with destroyStack to true. Sounds like the consensus is deleteStack may do what I want. I'll give it a try. Thanks all! -- Troy RPSystems, Ltd. http://www.rpsystems.net From troy at rpsystems.net Tue Jun 15 20:13:21 2004 From: troy at rpsystems.net (Troy Rollins) Date: Tue, 15 Jun 2004 20:13:21 -0400 Subject: REALLY close stack - no, really In-Reply-To: <004d01c45333$e85468e0$8a01000a@minipcxp> References: <20040615220659.D22439300DA@mail.runrev.com> <004d01c45333$e85468e0$8a01000a@minipcxp> Message-ID: On Jun 15, 2004, at 7:53 PM, John Rule wrote: > Does this feature actually benefit anyone? In all of the years I have > used > MC or RR I have been fighting this 'Purge' annoyance (and I have lost > some > work because of it). I now just make sure that the 'Destroy' > attributes are > set (destroy window and destroy stack)...this works 'mostly', but not > always. I wish it would just be taken out of the engine itself....when > I > close a window, I am closing it! If I want to keep it in memory, I will > 'hide' it myself. I have to agree with you there John. I constantly seem to be fighting ghost stacks. If I close a stack, I want it CLOSED. Gone. I'm about to try my same routine with "deleteStack"... that is another of those commands that sounds "alarming" though. -- Troy RPSystems, Ltd. http://www.rpsystems.net From kee at kagi.com Tue Jun 15 21:40:35 2004 From: kee at kagi.com (kee nethery) Date: Tue, 15 Jun 2004 18:40:35 -0700 Subject: Remote alerts In-Reply-To: <011301c45314$762712a0$e41fde0a@WorkPC> References: <011301c45314$762712a0$e41fde0a@WorkPC> Message-ID: <29B93A50-BF36-11D8-8ED6-000A959B2940@kagi.com> > > Yes, you can send AT and other commands to the modem, but why is there > nothing for playing sounds or receiving touch tones? This seems like > a good > feature to have if it's possible. On the Mac, they didn't connect the sound ports (in or out) to the modem port. Seems like an obvious thing to do but ... they never did it. So you can have the modem port be a modem port (or fax) but it doesn't deal with sound. The voice recognition folks at Apple have been pushing for that kind of internal connectivity for a long time and so far ... nada. kee nethery From troy at rpsystems.net Tue Jun 15 21:47:09 2004 From: troy at rpsystems.net (Troy Rollins) Date: Tue, 15 Jun 2004 21:47:09 -0400 Subject: REALLY close stack In-Reply-To: <40CF87E8.2020904@chipp.com> References: <341FDC44-BF16-11D8-B3E9-000A95A09CF8@rpsystems.net> <40CF87E8.2020904@chipp.com> Message-ID: <14498CD2-BF37-11D8-A313-000A95A09CF8@rpsystems.net> On Jun 15, 2004, at 7:36 PM, Chipp Walters wrote: > I've successfully used the 'delete stack' command in the past. Maybe > you should try it. Sure enough... if "Current PLayer" is among the lines of the openStacks then delete stack "Current Player" end if MUCH more reliable. Lesson learned. Like John mentioned, the suggested method of Close Stack, while having a destroy property of TRUE, is extremely unreliable... in fact, it generally doesn't work correctly, causes script errors in properly formatted scripts, and creates situations where only a restart of the IDE clears things up. Personally, I think it should be deprecated. There are other ways to close or hide the stack window while keeping the stack in memory if that is the desire result. -- Troy RPSystems, Ltd. http://www.rpsystems.net From nnoydb at excite.com Tue Jun 15 23:30:43 2004 From: nnoydb at excite.com (K) Date: Tue, 15 Jun 2004 23:30:43 -0400 (EDT) Subject: revdb_init Message-ID: <20040616033043.3B842B6EA@xprdmailfe17.nwk.excite.com> I placed a start using for the main stack in my sub stack that did not seem to work. Is there some way to start using/insert script the db library explicitly. Is there something I can do to declare the use of the db lib in my utilitiy stacks? Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Tue 06/15, Trevor DeVore < trevor at mangomultimedia.com > wrote: From: Trevor DeVore [mailto: trevor at mangomultimedia.com] To: nnoydb at excite.com Date: Tue, 15 Jun 2004 14:16:50 -0600 Subject: Re: revdb_init On Jun 15, 2004, at 1:30 PM, K wrote:

> The stack in question is a sub-stack does that make a difference?

Probably though I haven't tested this exact scenario. So the stack
calling the db calls is a substack of the stack used to create the
executable? I would try using "start using" with your main stack in
the main stack preopstack handler and see if that fixes it.

--
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com

_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From kray at sonsothunder.com Tue Jun 15 23:35:56 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 15 Jun 2004 22:35:56 -0500 Subject: REALLY close stack In-Reply-To: <14498CD2-BF37-11D8-A313-000A95A09CF8@rpsystems.net> Message-ID: <00c901c45353$0c115530$6601a8c0@precision340> Troy, make sure you Bugzilla this if you haven't already. It *should* be reliable, and since it isn't, it's a bug. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Troy Rollins > Sent: Tuesday, June 15, 2004 8:47 PM > To: chipp at chipp.com; How to use Revolution > Subject: Re: REALLY close stack > > > > On Jun 15, 2004, at 7:36 PM, Chipp Walters wrote: > > > I've successfully used the 'delete stack' command in the past. Maybe > > you should try it. > > Sure enough... > > if "Current PLayer" is among the lines of the openStacks then > delete stack "Current Player" > end if > > MUCH more reliable. Lesson learned. Like John mentioned, the > suggested > method of Close Stack, while having a destroy property of TRUE, is > extremely unreliable... in fact, it generally doesn't work correctly, > causes script errors in properly formatted scripts, and creates > situations where only a restart of the IDE clears things up. > Personally, I think it should be deprecated. There are other ways to > close or hide the stack window while keeping the stack in memory if > that is the desire result. > > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From troy at rpsystems.net Tue Jun 15 23:51:24 2004 From: troy at rpsystems.net (Troy Rollins) Date: Tue, 15 Jun 2004 23:51:24 -0400 Subject: REALLY close stack In-Reply-To: <00c901c45353$0c115530$6601a8c0@precision340> References: <00c901c45353$0c115530$6601a8c0@precision340> Message-ID: <6FDDCB0C-BF48-11D8-9F54-000A95A09CF8@rpsystems.net> On Jun 15, 2004, at 11:35 PM, Ken Ray wrote: > Troy, make sure you Bugzilla this if you haven't already. It *should* > be > reliable, and since it isn't, it's a bug. > Oh, I agree, Ken... but geez, I mean, this is a pretty common thing, no? I figured, and still figure, I MUST be doing something wrong. When I searched the archive, I saw that YOU had answered someone else on the topic, perhaps more than once, and the indication you gave was that it worked... as long as the stars were properly aligned, or something like that. ;-) I don't have a simple test case, if anyone wants to confirm, I'll be happy to log it. -- Troy RPSystems, Ltd. http://www.rpsystems.net From bobnelson at mac.com Wed Jun 16 00:02:16 2004 From: bobnelson at mac.com (Bob Nelson) Date: Tue, 15 Jun 2004 21:02:16 -0700 Subject: Less headache. Was OUCH! That's gonna leave a mark! Message-ID: Well, I found that if I simply told the routine to look for a return, all was well. I do find some weird behavior with Revolution 2.2 running under OS X 10.3 with all updates -- sometimes a script will become "corrupted" (my choice of words) and doesn't seem to recognize a piece of code. Sometimes a restart fixes things, other times I've had to copy all the code to a new button, which fixes the problem... Heck, it isn't a final product until release 3 or 4, right? Otherwise, you'll all be happy to know that I'm having a blast again, and I appreciate all the help. I'm sure I'll be whining about something again in the near future... Bob -- Don't worry about what people think, they don't do it very often. From troy at rpsystems.net Wed Jun 16 00:07:05 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 16 Jun 2004 00:07:05 -0400 Subject: Value of function from a group NOT in the message path Message-ID: I have a "getter" function in a group NOT in the message path, which seems to confound the compiler in actually finding it... looks something like this PUT value("myGetterFunction", group "Not in the message Path") into tResult I've tried variations... PUT value(myGetterFunction, group ID 1085) into tResult PUT value("myGetterFunction", group ID 1085) into tResult Is this not possible to do? It always put the string literal "myGetterFunction" into tResult, which is obviously pretty useless. How does one get a return from a function which is not in the message path? Thanks. -- Troy RPSystems, Ltd. http://www.rpsystems.net From lists at mangomultimedia.com Wed Jun 16 00:12:35 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 15 Jun 2004 22:12:35 -0600 Subject: revdb_init In-Reply-To: <20040616033043.3B842B6EA@xprdmailfe17.nwk.excite.com> References: <20040616033043.3B842B6EA@xprdmailfe17.nwk.excite.com> Message-ID: <65619E9E-BF4B-11D8-8E4A-000A956C462A@mangomultimedia.com> On Jun 15, 2004, at 9:30 PM, K wrote: > > I placed a start using for the main stack in my sub stack that did not > seem to work. Is there some way to start using/insert script the db > library explicitly. Is there something I can do to declare the use > of the db lib in my utilitiy stacks? I just tried setting up a simple example which I think is layed out like yours. I have a main stack with one substack. I use the revdb functions to connect to the database when the main stack opens. In the substack I make a call to revdb to fetch some data from a database and put it into a field. In the standalone settings screen I checked the "Database Support" checkbox and selected "Valentina" from the list. Is it possible you haven't included the database libraries when you built the standalone? If you have then you may need to provide a more detailed description of your setup in order to find out what is wrong. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From ambassador at fourthworld.com Wed Jun 16 00:23:58 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Jun 2004 21:23:58 -0700 Subject: REALLY close stack - no, really In-Reply-To: <004d01c45333$e85468e0$8a01000a@minipcxp> References: <20040615220659.D22439300DA@mail.runrev.com> <004d01c45333$e85468e0$8a01000a@minipcxp> Message-ID: <40CFCB5E.70807@fourthworld.com> John Rule wrote: > Does this feature actually benefit anyone? In all of the years I have used > MC or RR I have been fighting this 'Purge' annoyance (and I have lost some > work because of it). I now just make sure that the 'Destroy' attributes are > set (destroy window and destroy stack)...this works 'mostly', but not > always. I wish it would just be taken out of the engine itself....when I > close a window, I am closing it! If I want to keep it in memory, I will > 'hide' it myself. I agree that destroyStack should be on by default, but I very much appreciate that it gives us control over how we manage memory. Just today I was working on a system in which it's necessary to keep a database distributed among 36 stackfiles, but each one is relatively small so collectively they don't take up much RAM. Moreover, with the destroyStack set to true the lookups across multiple stack files slow to a crawl, but with it off those lookups are lightning fast but, unlike haaving them open and hidden, I never have to worry about messaging issues or special-casing them to exclude them from my Windows menu, etc. In contrast, I have another app I've been working on which support multiple documents, and for that one I have the destroyStack set to true to completely "put down" a document when it's closed, so it completely mirrors traditional application behaviors. When you cut your teeth on other systems without such options, yes, learning how to use destroyStack effectively takes about as long as the first time you learned about cantAbort or cantModify or any other useful stack property. Ah, but once you get the hang of it the world is your oyster. :) FWIW, while I've seen many questions on both of the Transcript lists about how to use destroyStack effectively, in practice I've found it to be very reliable. It's an old property that's been field-tested in hundreds of apps for about a decade, so if there were issues with its reliability they would likely have been more prevalent. I say this not to suggest that you're not seeing what you're seeing. On the contrary, my aim is simply to help get a better understanding of what you're seeing. It may be the case that a bug was introduced in more recent versions that has made destroyStack less reliable. It may also be that what you're seeing is a function of the IDE and not the engine. For the latter, you can use the Message Box to verify a property setting, or more conveniently you could double-check it with something like my 4W Props utility (available in RevNet). If indeed the property is set as the IDE shows but is not being honored by the engine, if you can toss together a simple example that demonstrates this anomaly and post it to Bugzilla it'll likely be fixed ASAP. The destroyStack property plays such a key role in so many system designs that it would be unlikely that such a bug would be tolerated for long if a good recipe is included with the bug report. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Wed Jun 16 00:29:30 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Jun 2004 23:29:30 -0500 Subject: REALLY close stack In-Reply-To: <14498CD2-BF37-11D8-A313-000A95A09CF8@rpsystems.net> References: <341FDC44-BF16-11D8-B3E9-000A95A09CF8@rpsystems.net> <40CF87E8.2020904@chipp.com> <14498CD2-BF37-11D8-A313-000A95A09CF8@rpsystems.net> Message-ID: <40CFCCAA.30403@hyperactivesw.com> On 6/15/04 8:47 PM, Troy Rollins wrote: > MUCH more reliable. Lesson learned. Like John mentioned, the suggested > method of Close Stack, while having a destroy property of TRUE, is > extremely unreliable... in fact, it generally doesn't work correctly, > causes script errors in properly formatted scripts, and creates > situations where only a restart of the IDE clears things up. Personally, > I think it should be deprecated. There are other ways to close or hide > the stack window while keeping the stack in memory if that is the desire > result. Just for the record, I routinely close stacks that have their destroystack set to true and have never had any problem with it. It may be that the stack must be saved with that property first, before it works reliably (which would be a bug.) I have my preferences set to always create new stacks with the property set, and I have never seen a problem. Note that you must be careful with "delete stack" and make sure you are only deleting mainstacks, which removes them from memory. If you use "delete stack" on a substack, the substack really will get permanently deleted from the stackfile and it will be gone forever. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From nnoydb at excite.com Wed Jun 16 00:32:25 2004 From: nnoydb at excite.com (K) Date: Wed, 16 Jun 2004 00:32:25 -0400 (EDT) Subject: revdb_init Message-ID: <20040616043225.D8A5AB6DD@xprdmailfe17.nwk.excite.com> Is there a way to aquire the program/startup stack name when a library stack receives savingStandalone? If so I can just have my library stacks set a property "RevolutionLibraryModule" with it's short name then clear it when I receive savedStandalone. So I can execute a start using when necessary. My configuration is as listed below. Standalone stack DSMS.rev Sub stack Reconciliation card Enities Secfilings database interface (a main stack) secfilngs.rev The secfilings stack is encountering the error. K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Wed 06/16, Trevor DeVore < lists at mangomultimedia.com > wrote: From: Trevor DeVore [mailto: lists at mangomultimedia.com] To: use-revolution at lists.runrev.com Date: Tue, 15 Jun 2004 22:12:35 -0600 Subject: Re: revdb_init
On Jun 15, 2004, at 9:30 PM, K wrote:

>
> I placed a start using for the main stack in my sub stack that did not
> seem to work. Is there some way to start using/insert script the db
> library explicitly. Is there something I can do to declare the use
> of the db lib in my utilitiy stacks?

I just tried setting up a simple example which I think is layed out
like yours. I have a main stack with one substack. I use the revdb
functions to connect to the database when the main stack opens. In the
substack I make a call to revdb to fetch some data from a database and
put it into a field.

In the standalone settings screen I checked the "Database Support"
checkbox and selected "Valentina" from the list. Is it possible you
haven't included the database libraries when you built the standalone?
If you have then you may need to provide a more detailed description of
your setup in order to find out what is wrong.


--
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From troy at rpsystems.net Wed Jun 16 00:42:04 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 16 Jun 2004 00:42:04 -0400 Subject: REALLY close stack In-Reply-To: <40CFCCAA.30403@hyperactivesw.com> References: <341FDC44-BF16-11D8-B3E9-000A95A09CF8@rpsystems.net> <40CF87E8.2020904@chipp.com> <14498CD2-BF37-11D8-A313-000A95A09CF8@rpsystems.net> <40CFCCAA.30403@hyperactivesw.com> Message-ID: <842E5F66-BF4F-11D8-971F-000A95A09CF8@rpsystems.net> On Jun 16, 2004, at 12:29 AM, J. Landman Gay wrote: > Just for the record, I routinely close stacks that have their > destroystack set to true and have never had any problem with it. It > may be that the stack must be saved with that property first, before > it works reliably (which would be a bug.) I have my preferences set to > always create new stacks with the property set, and I have never seen > a problem. > I've no doubt this is the case for you, but in various circumstances, which may only arise from a certain coding style, it is more than possible to code it "correctly", have all the properties set "correctly", double-check them, and then have it not work. In my case, I have external stack files, created by cloning an "internal" substack (which has destroyStack set to TRUE), before saving, I set destroyStack to TRUE in the clone. Later, I open it as a mainstack, and use it as a resource in my program. When I'm done with it, I again set destroyStack to true, and close it. But it doesn't go away... it hides in a corner, till it can jump out and break my scripts. > Note that you must be careful with "delete stack" and make sure you > are only deleting mainstacks, which removes them from memory. If you > use "delete stack" on a substack, the substack really will get > permanently deleted from the stackfile and it will be gone forever. Yes. That is indeed the fear. I think we should have a new option called killStack, which closes and purges regardless of properties etc., but doesn't do any deleting of anything. -- Troy RPSystems, Ltd. http://www.rpsystems.net From sarahr at genesearch.com.au Wed Jun 16 00:24:44 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 16 Jun 2004 14:24:44 +1000 Subject: Remote alerts In-Reply-To: References: Message-ID: <181DEB18-BF4D-11D8-853C-0003937A97B8@genesearch.com.au> > SMS is easy. The SMS address also has an internet email address. For > example > 5105551212 at messaging.sprintpcs.com > would deliver an email to a cell phone via SMS Thanks, I'll investigate that. I had found web interfaces, but an email one that I can do through Transcript is much easier. > > If you want to call and play a sound, I suggest you get something like > Phlink. It will do exactly what you want on Mac OS X. You can have it > call and do a text to speech message and wait for some touchtone > response (or start calling other people). This looks great! I'll have to see if I can get one and start testing it. With AppleScript/Transcript to control it, I'll never have to answer the phone again :-) Thanks everyone, Sarah From dsc at swcp.com Wed Jun 16 00:52:48 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 15 Jun 2004 22:52:48 -0600 Subject: Value of function from a group NOT in the message path In-Reply-To: References: Message-ID: <03ABEF70-BF51-11D8-A95B-000A9567A3E6@swcp.com> On Jun 15, 2004, at 10:07 PM, Troy Rollins wrote: > PUT value("myGetterFunction", group "Not in the message Path") into > tResult PUT value("myGetterFunction()", group "Not in the message Path") into tResult (You can also use send or make a getprop for a custom property of the group.) Dar Scott From troy at rpsystems.net Wed Jun 16 01:12:40 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 16 Jun 2004 01:12:40 -0400 Subject: Value of function from a group NOT in the message path In-Reply-To: <03ABEF70-BF51-11D8-A95B-000A9567A3E6@swcp.com> References: <03ABEF70-BF51-11D8-A95B-000A9567A3E6@swcp.com> Message-ID: On Jun 16, 2004, at 12:52 AM, Dar Scott wrote: > >> PUT value("myGetterFunction", group "Not in the message Path") into >> tResult > > PUT value("myGetterFunction()", group "Not in the message Path") into > tResult Thanks, I'll try that. Funny, for an "easy" syntax language, I sure get fouled up in it every time I've been away a while working with... well, all those dot-syntax languages. Anytime Transcript acts like one the "()" above, I slap my forehead, and go duh! But then, of course, the function name IS in quotes. How weird is that? ;-) -- Troy RPSystems, Ltd. http://www.rpsystems.net From bvlahos at mac.com Wed Jun 16 01:14:46 2004 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 15 Jun 2004 22:14:46 -0700 Subject: Remote alerts In-Reply-To: References: Message-ID: <154E2E8F-BF54-11D8-A4C0-0003936A2C42@mac.com> There is a freeware application called "qpage" which can send messages to a pager via a modem (such as the built-in modem) on Macs. Dartware has conveniently compiled the application and it can be downloaded from http://www.dartware.com/qpage/index.html It should be very easy to call from a Rev app. Bill Vlahos On Jun 15, 2004, at 12:00 AM, Sarah Reichelt wrote: > I have an application that monitors multiple temperature sensors, > setting off alarms if any of them go outside their required > parameters. This is fine locally as I can have an audible and visual > alarm, but now I'm working on what happens when something goes wrong > in the middle of the night! > > There are various methods, both active and passive, that have occurred > to me, but I was hoping that some of you could come up with more ideas > or methods. > > Passive: web site, email (no problems here, just they reply on people > checking) > Active: SMS, telephone call, some other brilliant idea? > > Here is where my problems really begin. I haven't an idea how to do > SMS (text messages) and while I know how to make a modem ring a phone > number, how do I respond when the phone is answered? Is it possible to > play a recorded sound, or use the speech commands to speak down the > phone line? > > If it makes any difference, this will be running only on Macs with OS > X. > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From troy at rpsystems.net Wed Jun 16 01:20:57 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 16 Jun 2004 01:20:57 -0400 Subject: Value of function from a group NOT in the message path In-Reply-To: <03ABEF70-BF51-11D8-A95B-000A9567A3E6@swcp.com> References: <03ABEF70-BF51-11D8-A95B-000A9567A3E6@swcp.com> Message-ID: On Jun 16, 2004, at 12:52 AM, Dar Scott wrote: > (You can also use send or make a getprop for a custom property of the > group.) I understand the getProp approach... and admit to not having considered it, but for the purpose of enlightenment, what is the send syntax when a return value is desired? Thanks for helping get me back up to speed. I'm greatly enjoying the environment as I always did. I'm hoping to stay this time... if this product works out. -- Troy RPSystems, Ltd. http://www.rpsystems.net From dvk at dvkconsult.com.au Wed Jun 16 01:32:57 2004 From: dvk at dvkconsult.com.au (David Vaughan) Date: Wed, 16 Jun 2004 15:32:57 +1000 Subject: REALLY close stack In-Reply-To: <20040616042807.E42A19300F6@mail.runrev.com> References: <20040616042807.E42A19300F6@mail.runrev.com> Message-ID: <9FFC2562-BF56-11D8-8BF9-000A95729266@dvkconsult.com.au> On 16/06/2004, at 14:28, Troy Rollins wrote: > > I don't have a simple test case, if anyone wants to confirm, I'll be > happy to log it. and Richard Gaskin wrote: > ... if you can toss together a simple example that demonstrates this > anomaly and post it to Bugzilla it'll likely be fixed ASAP. Wish I could. I see the same symptoms as Troy but tossing together a simple example that demonstrates this anomaly is not so easy. Background: I usually run my personal-use stacks under the IDE. I have an application comprising a master stack with just four buttons and three significant sub-stacks and a few dialogs. Three of the buttons on the master open/close (toggle) the three components and the fourth button saves everything. The component buttons also save their substacks before closing them. Destroystack is true on everything, and is my default. There are four copies, differently named, of this application, holding data for different people. I open one, update it and close it after saving. Do the same for others, or not. Often (i.e. I can not make it happen just by opening one of the stacks, modifying it and closing it; I just tried) when I quit Rev, then it will pop up every substack window and the master stack asking if I want to save it and all its brethren; all of them, each time. I guarantee that there is no forgetfulness here, and that I have saved each stack individually and with the master save button before closing. I have a clue that what might stop this from happening is using "File...Save" from menus rather than using the Save button. However, why should that be? I fear this is just not sufficient information for Bugzilla. Any comments or additional information? regards David From johnrule at rcsprogramming.com Wed Jun 16 01:53:36 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Tue, 15 Jun 2004 22:53:36 -0700 Subject: REALLY close stack - no, really References: <20040616042815.2A23F9300F9@mail.runrev.com> Message-ID: <003b01c45366$45636d10$6801000a@minipcxp> I suppose I am referring more to the 'Purge' dialog that comes up at unexpected times. In Revolution, this almost always resulted in a crash, and losing what I was working on (no matter what I pressed). In MC, it at least let you 'really' cancel most of the time. As far as I can tell this is related to having two main stacks with the same name in memory (or, one in memory, and you are trying to load another with the same name). This happens (in my case) because I like to save revisions of my work, so I save a stack with a revision name, and that does not reflect the actual window name...there is now a conflict when I try to load two revisions (for cutting and pasting, comparison, etc.). I have modified the MC IDE enough to change the actual name of my window when I save (mainstack), and there is only the occasional problem when I circumvent my own protection ;-) If I need to keep stacks (or information) in memory, I prefer to do it myself. Maybe an option to turn this checking off? Why doesn't the engine check the window ID anyway rather than the name? Why shouldn't I be able to have two main windows with the same name? Is this off topic? JR > Date: Tue, 15 Jun 2004 21:23:58 -0700 > From: Richard Gaskin > Subject: Re: REALLY close stack - no, really > To: How to use Revolution > Message-ID: <40CFCB5E.70807 at fourthworld.com> > Content-Type: text/plain; charset=us-ascii; format=flowed > > John Rule wrote: > > > Does this feature actually benefit anyone? In all of the years I have used > > MC or RR I have been fighting this 'Purge' annoyance (and I have lost some > > work because of it). I now just make sure that the 'Destroy' attributes are > > set (destroy window and destroy stack)...this works 'mostly', but not > > always. I wish it would just be taken out of the engine itself....when I > > close a window, I am closing it! If I want to keep it in memory, I will > > 'hide' it myself. > > I agree that destroyStack should be on by default, but I very much > appreciate that it gives us control over how we manage memory. > > Just today I was working on a system in which it's necessary to keep a > database distributed among 36 stackfiles, but each one is relatively > small so collectively they don't take up much RAM. Moreover, with the > destroyStack set to true the lookups across multiple stack files slow to > a crawl, but with it off those lookups are lightning fast but, unlike > haaving them open and hidden, I never have to worry about messaging > issues or special-casing them to exclude them from my Windows menu, etc. > > In contrast, I have another app I've been working on which support > multiple documents, and for that one I have the destroyStack set to true > to completely "put down" a document when it's closed, so it completely > mirrors traditional application behaviors. > > When you cut your teeth on other systems without such options, yes, > learning how to use destroyStack effectively takes about as long as the > first time you learned about cantAbort or cantModify or any other useful > stack property. > > Ah, but once you get the hang of it the world is your oyster. :) > > FWIW, while I've seen many questions on both of the Transcript lists > about how to use destroyStack effectively, in practice I've found it to > be very reliable. It's an old property that's been field-tested in > hundreds of apps for about a decade, so if there were issues with its > reliability they would likely have been more prevalent. > > I say this not to suggest that you're not seeing what you're seeing. On > the contrary, my aim is simply to help get a better understanding of > what you're seeing. > > It may be the case that a bug was introduced in more recent versions > that has made destroyStack less reliable. It may also be that what > you're seeing is a function of the IDE and not the engine. > > For the latter, you can use the Message Box to verify a property > setting, or more conveniently you could double-check it with something > like my 4W Props utility (available in RevNet). > > If indeed the property is set as the IDE shows but is not being honored > by the engine, if you can toss together a simple example that > demonstrates this anomaly and post it to Bugzilla it'll likely be fixed > ASAP. The destroyStack property plays such a key role in so many system > designs that it would be unlikely that such a bug would be tolerated for > long if a good recipe is included with the bug report. > > -- > Richard Gaskin > Fourth World Media Corporation From runrev at rivertext.com Wed Jun 16 03:03:14 2004 From: runrev at rivertext.com (Brian Thomas) Date: Wed, 16 Jun 2004 00:03:14 -0700 Subject: Rev 2.2 and Mac OS 10.1 In-Reply-To: <20040614204345.650CD9300B3@mail.runrev.com> References: <20040614204345.650CD9300B3@mail.runrev.com> Message-ID: > > >Is there anything unusual about how Revolution 2.2 apps are built that would >cause a standalone app to not launch in Mac OS 10.1, but launch in 10.1.5? >I'm not familiar with the differences between those 2 OS's, but the >guys in our >testing group are saying that for some reason, our Revolution app doesn't >even start in OS 10.1. To continue the test, we build a standalone >stack with >just 1 button on it, ran it on OS 1.1, and sure enough, it didn't >even launch. > I'm thinking that perhaps the test-lab didn't install OS 10.1 properly, but >perhaps someone on this list knows of other issues. According to the >Revolution web-site, standalone apps should work on "Mac OS X (any >version)". I'm >hoping that this is just a test-lab OS install problem and not a Rev problem. I have a Beige G3 - 266 mgz that I bought the first week it was available. I have not been able to get it past 10.1 -- none of the free upgrades have worked. And I've reformatted the drive and given it multiple tries. Mac OS 10.1 works with Rev 2.03. 2.1.1 & 2.1.2 -- all available on the FTP site. I was told by Tuviah Snyder that Rev 2.2 would support Mac OS 10.1, but that it would be the last version of Rev to support it. However, I just hooked up the old Beige G3 and, you are correct it will not launch. -- Brian b_t at rivertext.com http://www.rivertext.com/ a worker's guide to western civilization http://www.rivertext.com/stuff one American city's dissent From rjb at rz.uni-potsdam.de Wed Jun 16 03:18:38 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed, 16 Jun 2004 09:18:38 +0200 Subject: Remote alerts In-Reply-To: <181DEB18-BF4D-11D8-853C-0003937A97B8@genesearch.com.au> References: <181DEB18-BF4D-11D8-853C-0003937A97B8@genesearch.com.au> Message-ID: >>SMS is easy. The SMS address also has an internet email address. For example >>5105551212 at messaging.sprintpcs.com >>would deliver an email to a cell phone via SMS > >Thanks, I'll investigate that. I had found web interfaces, but an >email one that I can do through Transcript is much easier. Check the costs. Some companies will charge for receiving emails (unlike for normal sms). Robert From sims at ezpzapps.com Wed Jun 16 04:07:54 2004 From: sims at ezpzapps.com (sims) Date: Wed, 16 Jun 2004 10:07:54 +0200 Subject: Remote alerts In-Reply-To: References: <181DEB18-BF4D-11D8-853C-0003937A97B8@genesearch.com.au> Message-ID: Also have a look at... icq email to sms service: http://web.icq.com/help/quickhelp/1,,111,00.html List of countries/networks that are supposed to be available: http://www.icq.com/sms/eg_networks.html atb sims European Rev Conference 14-15-16 November 2004 http://techietours.com/Rev/ -- Tech Conferences http://TechieTours.com We make... iBirthday http://EZPZapps.com/iB SmartDog http://EZPZapps.com/SmartDog Kartolina http://EZPZapps.com/kartolina From klaus at major-k.de Wed Jun 16 04:56:38 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 16 Jun 2004 10:56:38 +0200 Subject: backgroundPattern In-Reply-To: <140B9D00-BF18-11D8-AA1A-0030654C1E62@verizon.net> References: <140B9D00-BF18-11D8-AA1A-0030654C1E62@verizon.net> Message-ID: <1431F85B-BF73-11D8-87E6-000A27B49A96@major-k.de> Hi hershbp at verizon.net, (do you have a shorter name i could use? ;-) >>> ...So what you might be looking for is this one: >>>> on preopenstack ## or whenever... >>>> ... >>>> if the platform = "MacOS" then >>>> set the backpattern of this stack to xyz >>>> ### the id of the image you want to have as a pattern... >>> Thats the question , what is this xyz ? I did 210091 this is what >>> came up writing in the message >>> box " put the backgroundpattern of this stack, and it didn't come >>> out the "mac os" backgroundpattern >>> and while pointing on the back ground image it shows 200270 with >>> the same result. >> ??? Sorry, don't get this one..? >> Did you copy that image to your stack or are you using the image from >> the RR imagelibrary? > From the RR imagelibrary. image id 210091 = "the mac background" image id 200270 = "the little triangel pointing to the right"!!!??? in the RR image library... Sorry i still don't get the point here...? What exactly does happen or does not happen? Regards Klaus Major klaus at major-k.de http://www.major-k.de From dcragg at lacscentre.co.uk Wed Jun 16 05:04:33 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 16 Jun 2004 10:04:33 +0100 Subject: REALLY close stack In-Reply-To: References: <341FDC44-BF16-11D8-B3E9-000A95A09CF8@rpsystems.net> Message-ID: At 5:55 pm -0400 15/6/04, Troy Rollins wrote: >Sorry, the code example looks more like this... > >_________________________________________________________ > repeat for each line tFile in tFileList > if there is a stack "Current Resource" then > set the destroyStack of stack "Current Resource" to TRUE > close stack "Current Resource" > end if > > go invisible stack URL (the defaultFolder & "/" & tFile) > if there is a field "NameField" of stack "Current Resource" then > > Put tFile & TAB & field "NameField" of stack "Current >Resource" after field "Resource Select List" of card "Main >Interface" of stack "The Program" > end if > > set the destroyStack of stack "Current Resource" to TRUE > close stack "Current Resource" > > end repeat >________________________________________________________ I remember a problem somewhat similar from way back (in a previous engine). I concluded (but can't confirm) that the problem occurred because the removal of the stack from memory took place after the handler finished running. So deleting stacks in a repeat loop may not produce the desired effect. The solution was to use "send ... in

This month many etc etc.

Now I am wondering if the use of comments to mark up web pages blocks that might be parsed, replaced dynamicaly later (= use of offset functions in Revolution) is now better replaced with custom XML mark up (=use Revolution's xml library to parse and manipulate web page content on the fly or for global changes) e.g.
block of buttons here..
of course, where classes are unique ID's one could parse the xhtml, css mark up itself, but this is often not the case, and one i want to delimit entire sections that are not
's as such. In insights from actual experience appreciated. Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From kurtkaufman at hotmail.com Mon Jun 28 17:40:43 2004 From: kurtkaufman at hotmail.com (Kurt Kaufman) Date: Mon, 28 Jun 2004 21:40:43 +0000 Subject: Another Revolution Success Story Message-ID: A physician in our area had a need for an application which could easily import patient data from a text file (multiple rows of comma-delineated data). It was a simple task, using Revolution, to open the file and read the data to a field. Subsequently a "model" card was cloned and the appropriate data sent to various fields on each card. Over a thousand records were created this way in a few minutes.The only stumbling block involved my forgetting that a standalone cannot modify itself. No matter though; I merely created an invisible "starter app" that immediately opened a data stack in the data folder. The application works "as advertised". The doctor was impressed that it was possible to do this in a few hours! -KK _________________________________________________________________ Watch the online reality show Mixed Messages with a friend and enter to win a trip to NY http://www.msnmessenger-download.click-url.com/go/onm00200497ave/direct/01/ From warren at howsoft.com Mon Jun 28 17:43:32 2004 From: warren at howsoft.com (Bob Warren) Date: Mon, 28 Jun 2004 18:43:32 -0300 Subject: Vector graphics anyone? Message-ID: <001c01c45d59$5189bbb0$0201a8c0@john> Probably, most of you don't make a lot of use of drawing facilities in your programming, since what you get is jagged lines that are not pleasing to the eye. The new SVG (Scalable Vector Graphics) solves this problem, and I have written a short article showing you how to make vector designs in a Revolution stack. The said article can be found at http://www.howsoft.com/runrev/svg.htm From troy at rpsystems.net Mon Jun 28 17:56:07 2004 From: troy at rpsystems.net (Troy Rollins) Date: Mon, 28 Jun 2004 17:56:07 -0400 Subject: Delete URL... and the result In-Reply-To: References: <6494BC62-C6D0-11D8-9D65-000A95A09CF8@rpsystems.net> Message-ID: On Jun 28, 2004, at 5:12 PM, Dave Cragg wrote: >> In my case, the result is not empty. It contains something like >> "error 200 Okay." But the delete works. > > This sounds like a libUrl bug. > > I take it you're using delete with http urls. You're probably the > first person to do this as few http servers support the DELETE > command. As a result, this feature hasn't been tested thoroughly. No, FTP actually. > In that case, you should probably store the result in a variable > immediately after the delete statement. (Looking again, "contains" > will probably change the result value.) I'll try this. "Contains" will change the value? Yet following it with an "answer the result" will... what... put it back? Because it displays in the answer. -- Troy RPSystems, Ltd. http://www.rpsystems.net From troy at rpsystems.net Mon Jun 28 18:02:58 2004 From: troy at rpsystems.net (Troy Rollins) Date: Mon, 28 Jun 2004 18:02:58 -0400 Subject: Another Revolution Success Story In-Reply-To: References: Message-ID: On Jun 28, 2004, at 5:40 PM, Kurt Kaufman wrote: > A physician in our area had a need for an application which could > easily import patient data from a text file (multiple rows of > comma-delineated data). It was a simple task, using Revolution, to > open the file and read the data to a field. Subsequently a "model" > card was cloned and the appropriate data sent to various fields on > each card. Over a thousand records were created this way in a few > minutes.The only stumbling block involved my forgetting that a > standalone cannot modify itself. No matter though; I merely created > an invisible "starter app" that immediately opened a data stack in the > data folder. > The application works "as advertised". > The doctor was impressed that it was possible to do this in a few > hours! String handling apps DO seem to be Rev's forte. -- Troy RPSystems, Ltd. http://www.rpsystems.net From userev at canelasoftware.com Mon Jun 28 18:48:39 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 28 Jun 2004 15:48:39 -0700 Subject: OT - Congrats to Karl Becker Message-ID: <4C45E103-C955-11D8-A857-000393C3F5BC@canelasoftware.com> Karl's Golf game and company name show up in one of the OS 10.4 demo movies. You can see it near the end of this movie: Kind of cool when you company will be seen by millions. -- Best regards, Mark Talluto http://www.canelasoftware.com From monte at sweattechnologies.com Mon Jun 28 20:18:39 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 29 Jun 2004 09:48:39 +0930 Subject: Paths to inside bundles [was Re: A clue for using Valentina by XCMD] In-Reply-To: <40E0771E.5050804@chipp.com> Message-ID: >> When I make the standalone, Rev puts the VXCMD_Macho_HC into the bundle >> and sets 'the externals' of the standalone. If I tell the standalone to >> put the externals in fld 2 >> I see >> >>> ./VXCMD_Macho_MC Untitled 2.app/Contents/MacOS/externals/revdb.bundle >> >> >> This isn't where Rev puts the Xcmd. The path to the Xcmd in the >bundle is >> >> ./Contents/MacOS/externals/database_drivers/VXCMD_macho/Contents// >> MacOS/VXCMD_macho >> You will need tadd the name of the bundle before this path. As in: Untitled 2.app/Contents/MacOS/externals/database_drivers/VXCMD_macho Note that if you use the rev database API then you don't need to do anything. It's only when you want to directly use the Valentina external that you need this. If you don't use any of the rev database API you may want to not include the database externals at all and just copy the Valentina bundle into your application and set the externals. Cheers Monte From Revinfo1155 at aol.com Mon Jun 28 20:59:36 2004 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Mon, 28 Jun 2004 20:59:36 EDT Subject: Another Revolution Success Story Message-ID: <103.4948119c.2e1218f8@aol.com> Can you share the scripts you used to do this project? jack From mpetrides at earthlink.net Mon Jun 28 21:07:09 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Mon, 28 Jun 2004 21:07:09 -0400 Subject: Another Revolution Success Story In-Reply-To: <103.4948119c.2e1218f8@aol.com> References: <103.4948119c.2e1218f8@aol.com> Message-ID: I was hoping the same thing, but wasn't bold enough to ask--until someone else did. Please do consider sharing them with us. M On Jun 28, 2004, at 8:59 PM, Revinfo1155 at aol.com wrote: > Can you share the scripts you used to do this project? > > jack > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From briany at qldlearning.com Mon Jun 28 21:35:05 2004 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 28 Jun 2004 21:35:05 -0400 Subject: Another Revolution Success Story In-Reply-To: Message-ID: <8C06FE4E-C96C-11D8-9089-000393AA08D2@qldlearning.com> >> A physician in our area had a need for an application which could >> easily import patient data from a text file (multiple rows of >> comma-delineated data). It was a simple task, using Revolution, to >> open the file and read the data to a field. Subsequently a "model" >> card was cloned and the appropriate data sent to various fields on >> each card. Over a thousand records were created this way in a few >> minutes.The only stumbling block involved my forgetting that a >> standalone cannot modify itself. No matter though; I merely created >> an invisible "starter app" that immediately opened a data stack in >> the data folder. >> The application works "as advertised". >> The doctor was impressed that it was possible to do this in a few >> hours! > > String handling apps DO seem to be Rev's forte. Speaking which, thought I'd share this one as another positive piece: for my current project I needed to do a large data conversion over the weekend. SQL database to new, upgrade, totally incompatible new database. About 50,000 records over 20 tables, some 50+ foreign key constraints translated to about 50 new tables. Using off-the-top of my head scripts in a Rev stack riddled with fields full of conversion tables, it was real dirty, but it worked- and the entire system was converted and proofed in a weekend by 2 people. And the rules were icky, along the lines of: "Maintain the order of records in the old system which alphabetized things in the software, but makes no record of it in the database" "Delete records that contain the word XXX, and oh, there are probably a few typos" "Change the 3-level structure to N-levels, where anything with the words XXX or YYY means that it belongs under the previous record containing ZZZ... and by previous we mean the aforementioned 'order'". Etc- new fields, new relationships, new constants, re-created keys, yeck, yeck, yeck... I NEVER would have been able to do it in any other language that I know of - kudos! - Brian From alex at tweedly.net Mon Jun 28 21:50:31 2004 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 29 Jun 2004 02:50:31 +0100 Subject: Another Revolution Success Story In-Reply-To: References: Message-ID: <5.1.0.14.0.20040629024336.02735e88@mail.tweedly.net> At 18:02 28/06/2004 -0400, Troy Rollins wrote: >On Jun 28, 2004, at 5:40 PM, Kurt Kaufman wrote: > >>A physician in our area had a need for an application which could easily >>import patient data from a text file (multiple rows of comma-delineated >>data). It was a simple task, using Revolution, to open the file and read >>the data to a field. Subsequently a "model" card was cloned and the >>appropriate data sent to various fields on each card. Over a thousand >>records were created this way in a few minutes.The only stumbling block >>involved my forgetting that a standalone cannot modify itself. No matter >>though; I merely created an invisible "starter app" that immediately >>opened a data stack in the data folder. >>The application works "as advertised". >>The doctor was impressed that it was possible to do this in a few hours! > >String handling apps DO seem to be Rev's forte. yes, string handling is pretty good - but I'm surprised that Rev has no built-in support for CSV files. They are a pretty common interchange format, but handling the variations commonly found makes it non-trivial to do this properly - quoted fields, delimiter in quoted fields, escaped or doubled quotes within a field, etc. Has anyone written and contributed a library to avoid others having to "roll-your-own" ? (*) - I should probably say "appears to have no built-in support" - there may be something that I just can't find in the docs. -- Alex. -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.707 / Virus Database: 463 - Release Date: 15/06/2004 From sarahr at genesearch.com.au Mon Jun 28 22:15:15 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 29 Jun 2004 12:15:15 +1000 Subject: classic application not reading file... In-Reply-To: <817D78D9-C912-11D8-9346-0003936D012E@mac.com> References: <817D78D9-C912-11D8-9346-0003936D012E@mac.com> Message-ID: <28AF9B16-C972-11D8-AB75-0003937A97B8@genesearch.com.au> Are you testing from Classic in OS X or have you booted into OS 9? I have found some problems reading files while running in Classic. It all seems to work fine when really in OS 9 but I don't know why. Cheers, Sarah On 29 Jun 2004, at 12:51 am, Andre Garzia wrote: > Hi Folks, > > I am a little lost trying to read a text file in classic enviroment. > First I set the default folder to the stack folder, then I use a > simple: > > put pArray into URL tPath > > where pArray is a combined array and tPath is in the format > "file:myApp prefs". This works fine, it writes the file ok, and the > content is right. > the trouble is trying to read the file. I use: > > get URL "file:myApp prefs" > > This works fine in MacOS X 10.3.4... no problem, it saves the file > inside the bundle and load from there without any problem. Then I > build the software to Mac Classic, it saves the file okay, but when I > try to read the file it returns empty!!! the file is there, the > content is right and it works on 10.3.4. I'll glue the routines below. > I'll be very happy if anyone can spot this one out. I have a nice > blogger client here, the xml-rpc routines working, the xml parsing > working, and bugs on the silly preference system, man, so many places > to be in trouble... > > also take notice that if the loadPrefs function cannot find the file > it will return empty after showing "no content"... thats not the case, > it's returning empty content but the file is there. It's like reading > an empty file. This code works fine in 10.3.4 > > my poor man's preference file system: snip From bvlahos at mac.com Mon Jun 28 22:23:04 2004 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 28 Jun 2004 19:23:04 -0700 Subject: Use Director Xtra as driver? In-Reply-To: <40DD6ED4.2030401@gaeabooks.com> References: <40DD6ED4.2030401@gaeabooks.com> Message-ID: <4007CDC4-C973-11D8-AE25-0003936A2C42@mac.com> What a fun project and interesting game. OS X ships with a C compiler (GCC) so it should not be a problem to compile the C code (assuming that is what they provide). If it is, then you could compile it and make it an external which can be used with Rev. There are others on this mailing list who have a lot of experience with externals (I don't) and I know that at least some of them are at WWDC (in San Francisco) this week. If you can get the drivers as an external (compiled for Mac and for Windows) then Rev should work with them nicely. I don't know anything about Director's Xtra files but would doubt that you could use it. There are others on this list with experience with Director too. Rev should be a very good environment for you to do this in assuming you can get the USB device working. Unfortunately, few people have reported success in talking to USB devices other than using them for serial connections. Supposedly Rev can talk to USB devices so maybe someone can make this work. Good luck. Bill Vlahos On Jun 26, 2004, at 5:40 AM, Elizabeth Dalton wrote: > I haven't seen the SDK directly, as that involves signing a licensing > agreement and I'm trying to figure out if there would be any point > before I go there. I assume the SDK is written in C. It's been a long > time since I've written any C, and I don't think I even have a C > compiler on my OSX system (unless you count perlcc, which I don't). I > may be able to find someone to write a driver using the SDK, but in > the meantime, I noticed that the SDK also includes a Macromedia > Director Xtra to access the device. Is there any chance I could use > that instead? Does anyone have any experience controlling or using an > Xtra from RR? I'm guessing I might need a shim, at the least.... From sarahr at genesearch.com.au Mon Jun 28 22:42:15 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 29 Jun 2004 12:42:15 +1000 Subject: [ANN] XML demo 1 update Message-ID: Hi everyone, I have just uploaded an update to part 1 of my XML demo: It fixes a bug in the construction kit and includes a few enhancements, so I recommend that anyone who downloaded version 1.0 trash it and get the new one (version 1.1). Thanks to Jan Schenkel for his advice and comments. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From troy at rpsystems.net Mon Jun 28 23:02:08 2004 From: troy at rpsystems.net (Troy Rollins) Date: Mon, 28 Jun 2004 23:02:08 -0400 Subject: Use Director Xtra as driver? In-Reply-To: <4007CDC4-C973-11D8-AE25-0003936A2C42@mac.com> References: <40DD6ED4.2030401@gaeabooks.com> <4007CDC4-C973-11D8-AE25-0003936A2C42@mac.com> Message-ID: On Jun 28, 2004, at 10:23 PM, Bill Vlahos wrote: > I don't know anything about Director's Xtra files but would doubt that > you could use it. There are others on this list with experience with > Director too. You will have a lot more luck compiling the C code for Rev than ever getting the Director xtra to work in Rev. Macromedia's XDK is pretty specific to Director and is not generic. I've never heard of this being done for anything with any xtra. Obviously, there is a better place to use Director xtras than Revolution. Three guesses. -- Troy RPSystems, Ltd. http://www.rpsystems.net From briany at qldlearning.com Mon Jun 28 23:01:58 2004 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 28 Jun 2004 23:01:58 -0400 Subject: Another Revolution Success Story In-Reply-To: <5.1.0.14.0.20040629024336.02735e88@mail.tweedly.net> Message-ID: > yes, string handling is pretty good - but I'm surprised that Rev has > no built-in support for CSV files. They are a pretty common > interchange format, but handling the variations commonly found makes > it non-trivial to do this properly - quoted fields, delimiter in > quoted fields, escaped or doubled quotes within a field, etc. > > Has anyone written and contributed a library to avoid others having to > "roll-your-own" ? FWIW, almost all tools that produce CSV files can also do tab delimited, which is much easier to deal with. Heck, why anyone does anything other than picking a row and column delimiter and replacing them with escape codes if necessary in the actual data is beyond me. Perhaps there's a good CSV-to-tab-delimited converter out there =). Given tab-delimited data it's real easy to do lots of things: set the itemDelimiter to tab repeat for each line l in someData put item 1 of l into field1 put item 2 of l into field2 replace "\r" with return into field2 replace "\t" with tab in field2 ... end repeat ... put line 42 of someData into record42 ... sort lines of someData by item 3 of each ... split someData using return and tab put someData[115] into recordID115 etc... - Brian From b.xavier at internet.lu Tue Jun 29 00:11:19 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 29 Jun 2004 06:11:19 +0200 Subject: Another Revolution Success Story In-Reply-To: <5.1.0.14.0.20040629024336.02735e88@mail.tweedly.net> Message-ID: I wrote one to import an excel made csv. There was no published format that I could find though... It is a "bit" unfinished (about 5% missing) in the translation matrix... I'll polish it today and try to fix the errors, try to find the source of the data to put in the proper credits. The database contains a few thousands NT events errors and codes reference. cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Alex > Tweedly > Sent: Tuesday, June 29, 2004 03:51 > To: use-revolution at lists.runrev.com > Subject: Re: Another Revolution Success Story > > > At 18:02 28/06/2004 -0400, Troy Rollins wrote: > > > >On Jun 28, 2004, at 5:40 PM, Kurt Kaufman wrote: > > > >>A physician in our area had a need for an application which > could easily > >>import patient data from a text file (multiple rows of comma-delineated > >>data). It was a simple task, using Revolution, to open the > file and read > >>the data to a field. Subsequently a "model" card was cloned and the > >>appropriate data sent to various fields on each card. Over a thousand > >>records were created this way in a few minutes.The only stumbling block > >>involved my forgetting that a standalone cannot modify itself. > No matter > >>though; I merely created an invisible "starter app" that immediately > >>opened a data stack in the data folder. > >>The application works "as advertised". > >>The doctor was impressed that it was possible to do this in a few hours! > > > >String handling apps DO seem to be Rev's forte. > > yes, string handling is pretty good - but I'm surprised that Rev has no > built-in support for CSV files. They are a pretty common interchange > format, but handling the variations commonly found makes it > non-trivial to > do this properly - quoted fields, delimiter in quoted fields, escaped or > doubled quotes within a field, etc. > > Has anyone written and contributed a library to avoid others having to > "roll-your-own" ? > > (*) - I should probably say "appears to have no built-in support" - there > may be something that I just can't find in the docs. > > > -- Alex. > From revdan at danshafer.com Tue Jun 29 00:29:00 2004 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 28 Jun 2004 21:29:00 -0700 Subject: Dan's Book In-Reply-To: References: Message-ID: If you ordered the book on *my* Web site, then there is some serious confusion here. The printed copy is available only through RunRev Press at their site. From my site, you can link to a place to order the eBooks and community membership, in which case no mail is involved. I have no record of any order from you, so I'm guessing you ordered the printed book from RunRev alright. Hopefully they can resolve this missing order for you in short order. Dan On Jun 28, 2004, at 9:57 AM, Bill wrote: > > > > On 6/28/04 12:00 PM, "use-revolution-request at lists.runrev.com" > wrote: > >> Dan's book >> on the 17th and again > > > I ordered Dan's book on his web site more than a month ago and still > haven't > received it. Next I got to go through and see if I can find all the > order > information and re-send it all and try to get the book. I guess > ordering > books on Amazon.com with all their automatic order tracing, reporting, > and > fast service has spoiled me. > > Perhaps Dan's book was sent by some method other than the U.S. Mail I > requested. I paid the full price too and not one of the cool offers... > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Tue Jun 29 01:02:05 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 29 Jun 2004 07:02:05 +0200 Subject: Vector graphics anyone? In-Reply-To: <001c01c45d59$5189bbb0$0201a8c0@john> Message-ID: There is a simpler way to smooth out these curves. without need for plug ins and thus Mac linux friendly too. Its also lighter than doing it via graphics imported from eps or image editors. In the typical case of a circle, draw a circle over or under (ink scrAND or nor NotSrcXor setting change required if over the other graphic but preferable under). Add a 1 to 2 bit line-size increase for the jag remover object, you may also want to increase it's rect a pixel or 2... Divide or multiply the color value such that it is half the saturation or luminosity of the object you want to blend in. Dont forget to center the objects. To make it even smoother, you can do this with 3 or 4 objects in a background blendling color gradient. If there are images or graphics behind these objects, you may have to play with the inks a bit more... The SVG method is definitely a bit less involved but it may have future incompatibilities which this method probably will not have. However this method may be a bit heavier stack size wise and refresh wize too if you do vector animation... Enjoy Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Bob Warren > Sent: Monday, June 28, 2004 23:44 > To: use-revolution at lists.runrev.com > Subject: Vector graphics anyone? > > > Probably, most of you don't make a lot of use of drawing > facilities in your > programming, since what you get is jagged lines that are not > pleasing to the > eye. The new SVG (Scalable Vector Graphics) solves this problem, > and I have > written a short article showing you how to make vector designs in a > Revolution stack. The said article can be found at > http://www.howsoft.com/runrev/svg.htm > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From yogananth39 at yahoo.com Tue Jun 29 02:23:21 2004 From: yogananth39 at yahoo.com (yogananth anand) Date: Mon, 28 Jun 2004 23:23:21 -0700 (PDT) Subject: query Message-ID: <20040629062321.65764.qmail@web50104.mail.yahoo.com> I am new user to revolution .The task given to me is to display a webpage(.htm) inside the application.Is there any suitable control available.I am using a field control it is displaying with the tags but only the text to be displayed to me and not the tags. Thanks in advance, yogananth.j __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail From monte at sweattechnologies.com Tue Jun 29 02:29:04 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 29 Jun 2004 15:59:04 +0930 Subject: query In-Reply-To: <20040629062321.65764.qmail@web50104.mail.yahoo.com> Message-ID: Try setting the htmlText of the field rather than just putting the web page into the field. If that doesn't give you everything you require and Windows only support is OK then try altBrowser. Chipp will probably chime in here with the url ;-) Cheers Monte > >I am new user to revolution .The task given to me is >to display a webpage(.htm) inside the application.Is >there any suitable control available.I am using a >field control it is displaying with the tags but only >the text to be displayed to me and not the tags. > > Thanks in advance, > yogananth.j > > > >__________________________________ >Do you Yahoo!? >Read only the mail you want - Yahoo! Mail SpamGuard. >http://promotions.yahoo.com/new_mail >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Tue Jun 29 02:49:14 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 29 Jun 2004 08:49:14 +0200 Subject: query In-Reply-To: <20040629062321.65764.qmail@web50104.mail.yahoo.com> Message-ID: Hi and welcome to the revolution There's three ways I know of: - the simplest: get url "http://www.url.com" put it into fld 1 or set the htmltext of fld 1 to it (if there are images in the picture, you must wait until the htmlpage is fully loaded.) - the nicest (probably) Try the AltBrowser plug in - but its not free - the one that doesn't that does the most and which is free... My own discrete browser... completely written in transcript! http://monsieurx.com/modules.php?name=News&file=article&sid=142 > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of yogananth > anand > Sent: Tuesday, June 29, 2004 08:23 > To: use-revolution at lists.runrev.com > Subject: query > > > I am new user to revolution .The task given to me is > to display a webpage(.htm) inside the application.Is > there any suitable control available.I am using a > field control it is displaying with the tags but only > the text to be displayed to me and not the tags. > > Thanks in advance, > yogananth.j > > > > __________________________________ > Do you Yahoo!? > Read only the mail you want - Yahoo! Mail SpamGuard. > http://promotions.yahoo.com/new_mail > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From yogananth39 at yahoo.com Tue Jun 29 03:02:27 2004 From: yogananth39 at yahoo.com (yogananth anand) Date: Tue, 29 Jun 2004 00:02:27 -0700 (PDT) Subject: query :how to display a html file using revolution Message-ID: <20040629070227.63605.qmail@web50106.mail.yahoo.com> I am new user to revolution .The task given to me is to display a webpage(.htm) inside the application.Is there any suitable control available.I am using a field control it is displaying with the tags but only the text to be displayed to me and not the tags. Thanks in advance, yogananth.j __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail From b.xavier at internet.lu Tue Jun 29 03:54:18 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 29 Jun 2004 09:54:18 +0200 Subject: query :how to display a html file using revolution In-Reply-To: <20040629070227.63605.qmail@web50106.mail.yahoo.com> Message-ID: try this get url it set the htmltext of fld hiddenfield to it put fld hiddenfield into fld displayfield Again, the DiscreteBrowser has these features. The source code is open so you can check out how it is done. the relevant features that may interest you in it are: - Standard HTML to RunRev's limited HTML conversion - HTML to text conversion - HTML source display (including custom code coloring) - Search (web or displayed field). - Indexation of words - Links, media, download filtering - HTML tables to RunRev field table conversion I have updated these features in a newer version but due to some serious blocking IDE problems I am not releasing any more updates until those get fixed. Sorry, I dont mean to say RR is bad at all but I dont want to release crashing stacks. My current version crashes RR when simply resizing the stack... ;( cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of yogananth > anand > Sent: Tuesday, June 29, 2004 09:02 > To: use-revolution at lists.runrev.com > Subject: query :how to display a html file using revolution > > > I am new user to revolution .The task given to me is > to display a webpage(.htm) inside the application.Is > there any suitable control available.I am using a > field control it is displaying with the tags but only > the text to be displayed to me and not the tags. > > Thanks in advance, > yogananth.j > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From maxence.bernard at ensi-bourges.fr Tue Jun 29 06:00:03 2004 From: maxence.bernard at ensi-bourges.fr (maxence.bernard at ensi-bourges.fr) Date: Tue, 29 Jun 2004 10:00:03 -0000 (UTC) Subject: Problem with "read from socket" In-Reply-To: References: <3148.213.102.213.107.1088451534.squirrel@ldap.ensi-bourges.fr><51D693 7E-C92D-11D8-AC93-000A9567A3E6@swcp.com><3434.213.102.213.107.10884542 73.squirrel@ldap.ensi-bourges.fr> Message-ID: <1208.62.147.92.43.1088503203.squirrel@ldap.ensi-bourges.fr> >>> Your script is waiting for two bytes. >> >> So, is there a way to stop this waiting, otherwise my application >> doesn't >> continue. How could I interrupt the "read from socket" instruction with >> the socketTimeout message ? > > First, I need to say that I rarely use socket I/O without "with > message", so I may be off here. > > One way is to switch to the "with message" style, which can be wordy > and breaks up your logic and thus can be awkward. Even so, I recommend > this. > > The other method is to use "until empty" which will give you whatever > is in the buffer and will return immediately. I mentioned that in mail > I just sent. > > (One might guess it will return empty every time since it will match > empty at the start of the buffer, but that is not the case. One might > guess that it will wait until the other end closes since empty is said > to be equivalent to eof, but that is not the case either.) I cannot change my algorithm to put "with message" and even "until empty", because I will lose data. Actually, with the instructions : on socketTimeout answer "hello" end socketTimeout function fn ... read from socket socket1 for 2 ... end fn The socketTimeout message never executes, because the message box never appears. So the problem is not that the program waits for the 2 bytes. In fact, the program seems to stop, and the strange thing is that it always restart when I move the mouse on the card. Is that a bug? How could I solve this ? Maxence BERNARD From dcragg at lacscentre.co.uk Tue Jun 29 04:16:03 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 29 Jun 2004 09:16:03 +0100 Subject: Delete URL... and the result In-Reply-To: References: <6494BC62-C6D0-11D8-9D65-000A95A09CF8@rpsystems.net> Message-ID: At 5:56 pm -0400 28/6/04, Troy Rollins wrote: >On Jun 28, 2004, at 5:12 PM, Dave Cragg wrote: > >>> In my case, the result is not empty. It contains something like >>> "error 200 Okay." But the delete works. >> >> This sounds like a libUrl bug. >> >> I take it you're using delete with http urls. You're probably the >>first person to do this as few http servers support the DELETE >>command. As a result, this feature hasn't been tested thoroughly. > >No, FTP actually. Oops! That's a different matter. After issuing a delete command to the ftp server, libUrl is expecting a 250 response, not 200. That's why it is being reported as an error. Either the server is being eccentric or liburl is getting confused. It might be useful if you could post a log of the activity. (libUrlSetLogField) >"Contains" will change the value? I was wrong. "contains" doesn't change the value of the result. Cheers Dave From jan.decroos at groepvanroey.be Tue Jun 29 04:17:30 2004 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Tue, 29 Jun 2004 10:17:30 +0200 Subject: classic application not reading file... In-Reply-To: <20040628160018.8CCEA930134@mail.runrev.com> References: <20040628160018.8CCEA930134@mail.runrev.com> Message-ID: Andre, couldn't it be a solved bug ? see: http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi?id=1468 ( and http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi?id=379 ) Regards, Jan > >Hi Folks, > >I am a little lost trying to read a text file in classic enviroment. >First I set the default folder to the stack folder, then I use a >simple: > >put pArray into URL tPath > >where pArray is a combined array and tPath is in the format "file:myApp >prefs". This works fine, it writes the file ok, and the content is >right. >the trouble is trying to read the file. I use: > >get URL "file:myApp prefs" > >This works fine in MacOS X 10.3.4... no problem, it saves the file >inside the bundle and load from there without any problem. Then I build >the software to Mac Classic, it saves the file okay, but when I try to >read the file it returns empty!!! the file is there, the content is >right and it works on 10.3.4. I'll glue the routines below. I'll be >very happy if anyone can spot this one out. I have a nice blogger >client here, the xml-rpc routines working, the xml parsing working, and >bugs on the silly preference system, man, so many places to be in >trouble... > >also take notice that if the loadPrefs function cannot find the file it >will return empty after showing "no content"... thats not the case, >it's returning empty content but the file is there. It's like reading >an empty file. This code works fine in 10.3.4 > >my poor man's preference file system: > >on defaultToStackFolder > set the itemDelimiter to "/" > get item 1 to -2 of the effective filename of this stack > set the defaultFolder to it >end defaultToStackFolder > >function savePrefs pFile, pArray > -- Save a pref file as a combined array. > > defaultToStackFolder > combine pArray by "=" and "&" > put "file:" & pFile into tPath > put pArray into URL tPath > answer "Saving prefs" &&tPath -- debug helper >end savePrefs > >function loadPrefs pFile > -- Load a prefs file as a combined array > > defaultToStackFolder > answer "Loading Prefs" && pFile -- debug helper > if there is a file pFile then > put "file:" & pFile into tURL > put URL tURL into tContent > answer tContent > return tContent > > else > answer "no content!" > return empty > end if >end loadPrefs > > > > >-- >Andre Alves Garzia ? 2004 >Soap Dog Studios - BRAZIL >http://studio.soapdog.org > From bob at armbase.com Tue Jun 29 05:17:44 2004 From: bob at armbase.com (Bob Hartley) Date: Tue, 29 Jun 2004 10:17:44 +0100 Subject: adding button with function to exe. In-Reply-To: References: <6.0.3.0.0.20040628094131.026f2870@udcf.gla.ac.uk> Message-ID: <6.0.3.0.0.20040629094247.02680238@mail.armbase.com> At 21:01 28/06/2004, you wrote: >At 9:52 AM +0100 6/28/2004, Bob Hartley wrote: >>So I want to create a .exe file that has a toolbar with a "T" box. This >>inserts text boxes into a blank background that can be resized and >>another that inserts a button (with a drop down list of predefined >>commands) and another that will insert a label. > >Yes, you can do this from your .exe. Hi Jeanne Thanks for that. I now know that I can proceed with this in revolution. >The caveat is that the lab book itself will need to be saved in a separate >data file, rather than compiled into the .exe (because executable apps >can't save changes to themselves). I know I am being a bit thick here but I hope I have this correct. Would I create an exe that had a blank canvas (see top image in http://www.gla.ac.uk/~rh82p/ide.jpg) with buttons to create fields. This could not alter the "IDE.exe" but could save the added fields like a template file. Then the user could enter data into the template file and save the data as a text fiel or xml etc etc etc. Am I correct? Thanks for the help, not used runrev for a long time., Bob >-- >jeanne a. e. devoto ~ jaed at jaedworks.com >http://www.jaedworks.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Tue Jun 29 05:20:26 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 29 Jun 2004 02:20:26 -0700 (PDT) Subject: How to use database-linked controls In-Reply-To: Message-ID: <20040629092026.97287.qmail@web60504.mail.yahoo.com> --- Bill wrote: > Jan: > > On 6/24/04 7:36 PM, > "use-revolution-request at lists.runrev.com" > wrote: > > > You can only pick a format when the "Update after > > editing" button is checked. > > Just noticed that answer. What I was trying to say > is that the format radio > buttons are mysteriously disabled after you check > the "Update after editing" > button and then go back later to look at it and see > that all the radio > buttons are gray including a little gray period in > the center of the chosen > one. Maybe that is supposed to be like that for some > reason - perhaps to let > you know that your update doesn't have a chance of > working (I'm trying to be > funny but here in the rainforest chalet where I am > working there is a swarm > of little green bugs that don't bite but are > everywhere)? > > Bill > Hi Bill, That looks like a palette refresh error ; ticking the box on and off again will allow you to change the format again ; please bugzilla this and I'll fix it for the next version of Revolution. Thanks for the report, Jan Schenkel ~ __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From imcknight2 at breathe.com Tue Jun 29 05:24:14 2004 From: imcknight2 at breathe.com (imcknight2 at breathe.com) Date: Tue, 29 Jun 2004 10:24:14 +0100 Subject: How to identify hilited lines in a list field In-Reply-To: <5.2.0.9.0.20040626214202.00b45680@pophost1.breathe.com> References: <5.2.0.9.0.20040626214202.00b45680@pophost1.breathe.com> Message-ID: Ian McKnight writes: > Hi > > I have a list of names in a field which has the Auto-hilite, List > behaviour, Multi-line, contiguous and click to toggle all set to true. > Setting traversalOn doesn't seem to make a difference. > Sorry folks I don't know how this happened but this was a thread I started a few days ago and to which I got a reply. I don't know how it has reappeared. MisterX thanks for your solution, mine is along similar lines. Regards Ian McKnight From janschenkel at yahoo.com Tue Jun 29 06:57:03 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 29 Jun 2004 03:57:03 -0700 (PDT) Subject: How to use database-linked controls In-Reply-To: Message-ID: <20040629105703.32536.qmail@web60510.mail.yahoo.com> --- Bill wrote: > I am using MySQL. Heh, that's what I use for testing and updating the codebase -- I'll try and simulate the error in the next couple of days. > But if we cannot pass a user defined variable to the > database query builder then it makes the > database-linked controls kind of weak. I hope that you > complete that user interface soon. > It isn't straightforward to implement a clear interface for this : should it be global variables ? should it be a call to a function in the stack script ? should it be the content of a custom property ? For now the easiest way to achieve dynamic queries is to save a template query somewhere, and fill in the dynamic parts, then update the SQL of the query using the undocumented command "'revSetSQLOfQuery ,". An example : -- on mouseUp put "123456" into tCustomerID # or some field data put "SELECT * FROM orders WHERE customerid='" & \ tCustomerID & "'" into tSQLStatement revSetSQLOfQuery "orders",tSQLStatement end mouseUp -- > Perhaps I can use the database-liked controls in > combination by viewing > subsets of records with only one or two of the > fields and then going to that > record for the whole card and its set of fields -- > which means I still have > to get the update function working. > You can use the same query for a table to show a list of records, and individual fields to display details -- though you'll have to turn on the Record set caching option. As for the update problem, I'm sure we'll find it :) > The other problem is that moving through records > only works for one table > and that fields which are populated by records > linked by primary keys to > other tables have to be updated by a separate call > (calls). I guess I'm not > having very much luck with writing queries in the > builder that use left > joins -- are there some example MySQL access stacks > using query builder that > I can look at? > Not an example stack per se, but with the above tip regarding revSetSQLOfQuery, you should get master detail forms working until the necessary code has been written to allow dynamic queries through point-and-click. > I would be happy to send you my example stack and a > nice database it > accesses if you need something more to test. > If I can't find it in a reasonable amount of time, I'll be sure to contact you for those ; but I think I have enough information for now -- thanks for the offer. Jan Schenkel ~ __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail From heather at runrev.com Tue Jun 29 07:07:57 2004 From: heather at runrev.com (Heather Nagey) Date: Tue, 29 Jun 2004 12:07:57 +0100 Subject: Dan's Book In-Reply-To: <20040629044733.833119300C0@mail.runrev.com> Message-ID: >> I ordered Dan's book on his web site more than a month ago and still >> haven't >> received it. Next I got to go through and see if I can find all the >> order >> information and re-send it all and try to get the book. And of course to resolve this issue you need to email support so that we can trace what has gone wrong and deal with it... Regards, Heather -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From nrkweto03 at hotmail.com Tue Jun 29 08:32:52 2004 From: nrkweto03 at hotmail.com (kweto) Date: Tue, 29 Jun 2004 21:32:52 +0900 Subject: scripted animation advice References: <20040629044733.833119300C0@mail.runrev.com> Message-ID: Hello All, Is there a mathematical way of generating a spinner effect (i.e., to re-create something like the spinner in the game of Twister or for a lucky wheel)? I recall way back when that someone had very creatively used MC's arcAngle property on a circle image-object to create the illusion of a timer. Perhaps there's a similar way of creating the illusion of a spinner on RunRev? The reason I'm after this is to allow students in my language classes to "spin the wheel" (rather than throw a dice, for example) in order to, for example, move around a game board. Plus, I have no idea how to go about this mathematically... Thank you. Cheers, Nicolas Cueto From sims at ezpzapps.com Tue Jun 29 08:52:58 2004 From: sims at ezpzapps.com (sims) Date: Tue, 29 Jun 2004 14:52:58 +0200 Subject: scripted animation advice In-Reply-To: References: <20040629044733.833119300C0@mail.runrev.com> Message-ID: >Hello All, > >Is there a mathematical way of generating a spinner effect (i.e., to >re-create something like the spinner in the game of Twister or for a lucky >wheel)? Could you use an animated GIF and step through it using random numbers? hth sims EuroRevCon - November 2004 Sign up now! http://TechieTours.com/Rev From maxence.bernard at ensi-bourges.fr Tue Jun 29 12:02:18 2004 From: maxence.bernard at ensi-bourges.fr (maxence.bernard at ensi-bourges.fr) Date: Tue, 29 Jun 2004 16:02:18 -0000 (UTC) Subject: Problem with "read from socket" In-Reply-To: References: <3148.213.102.213.107.1088451534.squirrel@ldap.ensi-bourges.fr><51D693 7E-C92D-11D8-AC93-000A9567A3E6@swcp.com><3434.213.102.213.107.10884542 73.squirrel@ldap.ensi-bourges.fr> Message-ID: <2505.62.147.92.188.1088524938.squirrel@ldap.ensi-bourges.fr> I have found where is the problem : I have a read instruction which blocks : "read from socket socket1 until empty" You said that it didn't block, but for me, it always is waiting, and the program continues when I move the mouse or click on the stack. A bug ? Maxence BERNARD From troy at rpsystems.net Tue Jun 29 10:59:42 2004 From: troy at rpsystems.net (Troy Rollins) Date: Tue, 29 Jun 2004 10:59:42 -0400 Subject: Delete URL... and the result In-Reply-To: References: <6494BC62-C6D0-11D8-9D65-000A95A09CF8@rpsystems.net> Message-ID: On Jun 29, 2004, at 4:16 AM, Dave Cragg wrote: >> >> No, FTP actually. > > Oops! That's a different matter. > > After issuing a delete command to the ftp server, libUrl is expecting > a 250 response, not 200. That's why it is being reported as an error. > Either the server is being eccentric or liburl is getting confused. It > might be useful if you could post a log of the activity. > (libUrlSetLogField) Yes, I'm using the logField function. And yes, the server is an eccentric server... it isn't even a computer per se. ;-) The odd part is, I'm testing the result for what is there (the "200 Okay"), so obviously something more is going on in LibURL. Somehow it shows up in "answer" but not when testing the value? -- Troy RPSystems, Ltd. http://www.rpsystems.net From wouter.abraham at pi.be Tue Jun 29 11:04:09 2004 From: wouter.abraham at pi.be (Wouter) Date: Tue, 29 Jun 2004 17:04:09 +0200 Subject: unique id numbers Message-ID: <92BF5FE0-C9DD-11D8-9981-003065CC999E@pi.be> Hi all, Normally in stacks id numbers are unique. In stack "revPropertyPalette 1" I found 6 instances of id 0 in my copy of rev. This makes the unique id numbers not so unique. Can one or several controls in different groups with an id of 0 cause trouble? Can someone confirm the following?: group id 0 of group id 44264 of card id 44066 of stack "revPropertyPalette 1" - group id 0 button id 0 of group id 43590 of card id 43591 of stack "revPropertyPalette 1" - button "threeD" field id 0 of group id 43590 of card id 43591 of stack "revPropertyPalette 1" - field "revLabel borderWidth" graphic id 0 of group id 43533 of card id 43544 of stack "revPropertyPalette 1" - graphic "New Graphic 1" image id 0 of group id 45042 of card id 45504 of stack "revPropertyPalette 1" - image "Cover" scrollbar id 0 of group id 43590 of card id 43591 of stack "revPropertyPalette 1" - scrollbar "borderwidth control" TIA Greetings, WA From dsc at swcp.com Tue Jun 29 11:40:12 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 29 Jun 2004 09:40:12 -0600 Subject: Problem with "read from socket" In-Reply-To: <1208.62.147.92.43.1088503203.squirrel@ldap.ensi-bourges.fr> References: <3148.213.102.213.107.1088451534.squirrel@ldap.ensi-bourges.fr><51D693 7E-C92D-11D8-AC93-000A9567A3E6@swcp.com><3434.213.102.213.107.10884542 73.squirrel@ldap.ensi-bourges.fr> <1208.62.147.92.43.1088503203.squirrel@ldap.ensi-bourges.fr> Message-ID: <9C1BCE86-C9E2-11D8-B711-000A9567A3E6@swcp.com> On Jun 29, 2004, at 4:00 AM, maxence.bernard at ensi-bourges.fr wrote: > I cannot change my algorithm to put "with message" and even "until > empty", > because I will lose data. I don't see how either method will lose data. In both cases you need to continue until you get both bytes. Dar Scott From dsc at swcp.com Tue Jun 29 11:48:05 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 29 Jun 2004 09:48:05 -0600 Subject: Problem with "read from socket" In-Reply-To: <2505.62.147.92.188.1088524938.squirrel@ldap.ensi-bourges.fr> References: <3148.213.102.213.107.1088451534.squirrel@ldap.ensi-bourges.fr><51D693 7E-C92D-11D8-AC93-000A9567A3E6@swcp.com><3434.213.102.213.107.10884542 73.squirrel@ldap.ensi-bourges.fr> <2505.62.147.92.188.1088524938.squirrel@ldap.ensi-bourges.fr> Message-ID: On Jun 29, 2004, at 10:02 AM, maxence.bernard at ensi-bourges.fr wrote: > I have found where is the problem : I have a read instruction which > blocks : > > "read from socket socket1 until empty" > > You said that it didn't block, but for me, it always is waiting, and > the > program continues when I move the mouse or click on the stack. A bug ? Maybe. I have been using OS X and Windows. I just checked this on OS X with Rev 2.2. I have a vague memory of "read from socket socket1" working, but when I tried it, it did not work. Maybe that got changed. Throughout Revolution there is confusion concerning these: read until eof character read until end of stream/file/channel read until the buffer is empty read until the buffer is not empty and then get all of the buffer, too I think most of the folks who do a lot of sockets scripting use 'with message', so those might be more robust and you may have to do that. The compiler allows 'until empty' to be optional in that case. Try both if need be. Also, add an entry in bugzilla. Mention that somebody said it works on OS X with Revolution 2.2. Dar Scott From b.xavier at internet.lu Tue Jun 29 12:04:48 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 29 Jun 2004 18:04:48 +0200 Subject: unique id numbers In-Reply-To: <92BF5FE0-C9DD-11D8-9981-003065CC999E@pi.be> Message-ID: Abraham, Confirmed. Very strange indeed! altID is 0 long id is 0 Now I have to reconfigure all my styles savings for PropsN2O... Aaaaaaaaaaaaaaaaaaaaaaaaaaaaargh..... How did you find this one out? > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Wouter > Sent: Tuesday, June 29, 2004 17:04 > To: use-revolution at lists.runrev.com > Subject: unique id numbers > > > Hi all, > > Normally in stacks id numbers are unique. > In stack "revPropertyPalette 1" I found 6 instances of id 0 in my copy > of rev. > This makes the unique id numbers not so unique. > Can one or several controls in different groups with an id of 0 cause > trouble? > > Can someone confirm the following?: > > group id 0 of group id 44264 of card id 44066 of stack > "revPropertyPalette 1" - group id 0 > button id 0 of group id 43590 of card id 43591 of stack > "revPropertyPalette 1" - button "threeD" > field id 0 of group id 43590 of card id 43591 of stack > "revPropertyPalette 1" - field "revLabel borderWidth" > graphic id 0 of group id 43533 of card id 43544 of stack > "revPropertyPalette 1" - graphic "New Graphic 1" > image id 0 of group id 45042 of card id 45504 of stack > "revPropertyPalette 1" - image "Cover" > scrollbar id 0 of group id 43590 of card id 43591 of stack > "revPropertyPalette 1" - scrollbar "borderwidth control" > > TIA > Greetings, > WA > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From hershbp at verizon.net Tue Jun 29 12:08:10 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Tue, 29 Jun 2004 12:08:10 -0400 Subject: How to use database-linked controls In-Reply-To: <20040629105703.32536.qmail@web60510.mail.yahoo.com> Message-ID: <844251D0-C9E6-11D8-8D40-0030654C1E62@verizon.net> Hi Jan, what exactly does "revSetSQLOfQuery" function, ? Thanks. On Tuesday, June 29, 2004, at 06:57 AM, Jan Schenkel wrote: > --- Bill wrote: >> I am using MySQL. > > Heh, that's what I use for testing and updating the > codebase -- I'll try and simulate the error in the > next couple of days. > >> But if we cannot pass a user defined variable to the >> database query builder then it makes the >> database-linked controls kind of weak. I hope that > you >> complete that user interface soon. >> > > It isn't straightforward to implement a clear > interface for this : should it be global variables ? > should it be a call to a function in the stack script > ? should it be the content of a custom property ? > > For now the easiest way to achieve dynamic queries is > to save a template query somewhere, and fill in the > dynamic parts, then update the SQL of the query using > the undocumented command "'revSetSQLOfQuery the query>,". > An example : > -- > on mouseUp > put "123456" into tCustomerID # or some field data > put "SELECT * FROM orders WHERE customerid='" & \ > tCustomerID & "'" into tSQLStatement > revSetSQLOfQuery "orders",tSQLStatement > end mouseUp > -- > >> Perhaps I can use the database-liked controls in >> combination by viewing >> subsets of records with only one or two of the >> fields and then going to that >> record for the whole card and its set of fields -- >> which means I still have >> to get the update function working. >> > > You can use the same query for a table to show a list > of records, and individual fields to display details > -- though you'll have to turn on the Record set > caching option. > As for the update problem, I'm sure we'll find it :) > >> The other problem is that moving through records >> only works for one table >> and that fields which are populated by records >> linked by primary keys to >> other tables have to be updated by a separate call >> (calls). I guess I'm not >> having very much luck with writing queries in the >> builder that use left >> joins -- are there some example MySQL access stacks >> using query builder that >> I can look at? >> > > Not an example stack per se, but with the above tip > regarding revSetSQLOfQuery, you should get master > detail forms working until the necessary code has been > written to allow dynamic queries through > point-and-click. > >> I would be happy to send you my example stack and a >> nice database it >> accesses if you need something more to test. >> > > If I can't find it in a reasonable amount of time, > I'll be sure to contact you for those ; but I think I > have enough information for now -- thanks for the > offer. > > Jan Schenkel ~ > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - You care about security. So do we. > http://promotions.yahoo.com/new_mail > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From troy at rpsystems.net Tue Jun 29 12:19:18 2004 From: troy at rpsystems.net (Troy Rollins) Date: Tue, 29 Jun 2004 12:19:18 -0400 Subject: Problem with "read from socket" In-Reply-To: References: <3148.213.102.213.107.1088451534.squirrel@ldap.ensi-bourges.fr><51D693 7E-C92D-11D8-AC93-000A9567A3E6@swcp.com><3434.213.102.213.107.10884542 73.squirrel@ldap.ensi-bourges.fr> <2505.62.147.92.188.1088524938.squirrel@ldap.ensi-bourges.fr> Message-ID: <12A201E6-C9E8-11D8-9561-000A95A09CF8@rpsystems.net> On Jun 29, 2004, at 11:48 AM, Dar Scott wrote: > I think most of the folks who do a lot of sockets scripting use 'with > message', so those might be more robust and you may have to do that. > The compiler allows 'until empty' to be optional in that case. Try > both if need be. In my case, I use "for one line" and "with message". -- Troy RPSystems, Ltd. http://www.rpsystems.net From wouter.abraham at pi.be Tue Jun 29 12:25:09 2004 From: wouter.abraham at pi.be (Wouter) Date: Tue, 29 Jun 2004 18:25:09 +0200 Subject: unique id numbers In-Reply-To: <20040629155024.163EE930105@mail.runrev.com> References: <20040629155024.163EE930105@mail.runrev.com> Message-ID: On 29 Jun 2004, at 17:50, use-revolution-request at lists.runrev.com wrote: > Message: 21 > Date: Tue, 29 Jun 2004 18:04:48 +0200 > From: "MisterX" > Subject: RE: unique id numbers > To: "How to use Revolution" > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > Abraham, > > Confirmed. Very strange indeed! > altID is 0 > long id is 0 > > Now I have to reconfigure all my styles savings for PropsN2O... > Aaaaaaaaaaaaaaaaaaaaaaaaaaaaargh..... > > How did you find this one out? > While testing a tool of mine. I needed large stacks with much controls. "revPropertyPalette 1" is one of them. I am so sorry Xav ;^) Greetings, WA From b.xavier at internet.lu Tue Jun 29 14:00:35 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 29 Jun 2004 20:00:35 +0200 Subject: unique id numbers In-Reply-To: Message-ID: 337 controls with ID 0 in the stack! > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Wouter > Sent: Tuesday, June 29, 2004 18:25 > To: use-revolution at lists.runrev.com > Subject: Re: unique id numbers > > > > On 29 Jun 2004, at 17:50, use-revolution-request at lists.runrev.com wrote: > > > Message: 21 > > Date: Tue, 29 Jun 2004 18:04:48 +0200 > > From: "MisterX" > > Subject: RE: unique id numbers > > To: "How to use Revolution" > > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > > > Abraham, > > > > Confirmed. Very strange indeed! > > altID is 0 > > long id is 0 > > > > Now I have to reconfigure all my styles savings for PropsN2O... > > Aaaaaaaaaaaaaaaaaaaaaaaaaaaaargh..... > > > > How did you find this one out? > > > > While testing a tool of mine. > I needed large stacks with much controls. > "revPropertyPalette 1" is one of them. > I am so sorry Xav ;^) > > Greetings, > WA > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Tue Jun 29 15:02:42 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 29 Jun 2004 12:02:42 -0700 (PDT) Subject: How to use database-linked controls In-Reply-To: <844251D0-C9E6-11D8-8D40-0030654C1E62@verizon.net> Message-ID: <20040629190242.78572.qmail@web60509.mail.yahoo.com> --- hershbp at verizon.net wrote: > Hi Jan, what exactly does "revSetSQLOfQuery" > function, ? > Thanks. That command permanently changes the SQL statement of an automated database query, executes this query and refreshes the fields linked to it. It is currently the only way to achieve dynamic queries in the automated database query architecture. It doesn't serve a function if you use the revdb calls directly. Hope this clarified it, Jan Schenkel ~ __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From gregory.lypny at videotron.ca Tue Jun 29 15:02:52 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 29 Jun 2004 15:02:52 -0400 Subject: Determining if an array is empty Message-ID: Hello everyone, Suppose I have an array named thisArray and I want to know if it is empty, that is, whether it has any elements. I find that "if thisArray is empty" returns true even if it is not but "if keys(thisArray) is empty" gives me the right answer Am I correct in using the latter? Greg From janschenkel at yahoo.com Tue Jun 29 15:10:10 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 29 Jun 2004 12:10:10 -0700 (PDT) Subject: Determining if an array is empty In-Reply-To: Message-ID: <20040629191010.73639.qmail@web60503.mail.yahoo.com> --- Gregory Lypny wrote: > Hello everyone, > > Suppose I have an array named thisArray and I want > to know if it is > empty, that is, whether it has any elements. I find > that > > "if thisArray is empty" returns true even if it is > not > > but > > "if keys(thisArray) is empty" gives me the right > answer > > Am I correct in using the latter? > > Greg > Hi Greg, You are correct ; it's one of the peculiarities of Revolution arrays that you need to check the keys of the array to determine if an array has any elements. It is incidentally also the only way to check if a variable is an array or not : if the keys is empty, it's not an array. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail From jimc at ace-pb.com Tue Jun 29 16:21:40 2004 From: jimc at ace-pb.com (Jim) Date: Tue, 29 Jun 2004 15:21:40 -0500 Subject: Another Revolution Success Story In-Reply-To: References: <5.1.0.14.0.20040629024336.02735e88@mail.tweedly.net> Message-ID: On Jun 28, 2004, at 10:01 PM, Brian Yennie wrote: > Perhaps there's a good CSV-to-tab-delimited converter out there =). replace comma with tab in tData :-) (Can you replace comma with tab in url "file://path/to/file.csv" ??) Jim. From b.xavier at internet.lu Tue Jun 29 16:42:26 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 29 Jun 2004 22:42:26 +0200 Subject: Another Revolution Success Story - yet another release! In-Reply-To: Message-ID: Hi everyone, Here you are, a pretty compliant CSV importer for RunRev... Imports Excel CSV (with returns and quotes in the MS Xcel fields and all kinds of craps including filtering out linefeeds and the like that usualy slip in the process! Just took a while to clean that up! I didn't bother with the export function but I can be bribed... http://monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=55 Hope you like it! Just 12 KBs... A couple updates expected over this week just in case you are patient. But dont hold your breath, it was just a finishing touch to an old stack. Dont bother with bugs or features, Im not interested. If you want to fix them and share them, I'll post them with credits. This is Open source, and freeware... But I'll take any bribes, beer or wine bottles (cases, boxes, and barrils too ;) cheers Xavier From lbrehmer at rof.net Tue Jun 29 16:31:49 2004 From: lbrehmer at rof.net (Lars Brehmer) Date: Tue, 29 Jun 2004 23:31:49 +0300 Subject: Card id and button problem Message-ID: <58E7F43E-CA0B-11D8-B400-000A9566DE9E@rof.net> Hi All! I've been searching searching the archives for hours, but since I don't really know what I'm doing, I guess I don't know what to search for! Here's the problem/question: I have a stack with a substack drawer. When a new card is created in the main stack, there is a button on it that creates a new card in the substack, unlocks its text fields and opens it in the drawer. The button in the main stack that created the new card in the substack is then hidden behind another new button that should later open the drawer to that same card. Once the fields on the drawer card are filled in, there is a button on it that locks the fields and saves the drawer stack. The problem is that I need that save button also to put the short card id of the drawer card into the script of the main stack button that will re-open it. This is what I can't figure out. It looks like this: the button that creates the new card in the drawer stack looks like this open stack "buttons" -- this is a substack that contains the buttons I use copy btn id xxxx to stack "MainStack" -- this is now in front of (and thus hides) the "new card" button close stack "buttons" open stack "Y" -- this is the drawer stack create card repeat with i = 1 to 33 set the lockText of field ("Field" & i) to false end repeat close stack "Y" drawer stack "Y" at bottom aligned to center -- this reopens the "Y" stack in the drawer The new drawer card is now open and the fields can be filled in. The save button on this card is: repeat with i = 1 to 33 set the lockText of field ("Field" & i) to true end repeat save stack "Y" close stack "Y" So far it all works. The button on the main stack card that should lead back to this drawer card is: drawer stack "Y" at bottom aligned to center go card id zzzz of stack "Y" Is it possible to take the short id of the new drawer card and put it in place of the zzzz in the button script on that specific card in the main stack? This is what I don't know how to do. Suggestions? Thanks, Lars From b.xavier at internet.lu Tue Jun 29 16:52:18 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 29 Jun 2004 22:52:18 +0200 Subject: Another Revolution Success Story In-Reply-To: Message-ID: It works for really overly simple csv files... But it's too simple alas... Check out my code in the posted stack... Enjoy the script it takes to understand MS CSVs... Surely I didn't exhaust all cases... Xa > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Jim > Sent: Tuesday, June 29, 2004 22:22 > To: How to use Revolution > Subject: Re: Another Revolution Success Story > > > On Jun 28, 2004, at 10:01 PM, Brian Yennie wrote: > > > Perhaps there's a good CSV-to-tab-delimited converter out there =). > > replace comma with tab in tData :-) > > (Can you replace comma with tab in url "file://path/to/file.csv" ??) > > Jim. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dcragg at lacscentre.co.uk Tue Jun 29 16:41:39 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 29 Jun 2004 21:41:39 +0100 Subject: Another Revolution Success Story In-Reply-To: References: <5.1.0.14.0.20040629024336.02735e88@mail.tweedly.net> Message-ID: At 3:21 pm -0500 29/6/04, Jim wrote: >On Jun 28, 2004, at 10:01 PM, Brian Yennie wrote: > >> Perhaps there's a good CSV-to-tab-delimited converter out there =). > >replace comma with tab in tData :-) If only it were that easy. But commas may occur within a field, in which case, the field is usually quoted. I remember Richard Gaskin brought up the same problem some months/years ago, but I don't recall a solution being published. Dave From chipp at chipp.com Tue Jun 29 16:43:36 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 29 Jun 2004 15:43:36 -0500 Subject: Just testing -- go about you business... Message-ID: <40E1D478.4020304@chipp.com> talk amongst yourselves, Chipp From gregory.lypny at videotron.ca Tue Jun 29 17:06:02 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 29 Jun 2004 17:06:02 -0400 Subject: Saving data in RTF in OS X Message-ID: <20FF1EDC-CA10-11D8-86B9-000D9350C9C2@videotron.ca> Hello everyone, I use put url ("file:" & filepath & ".txt") to save stack data to tab-delimited text files, which are then opened by TextEdit. However, when I do the same thing but append ".rtf", TextEdit cannot open the file. Is there some way that I can save as rtf? Greg From janschenkel at yahoo.com Tue Jun 29 17:21:40 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 29 Jun 2004 14:21:40 -0700 (PDT) Subject: Saving data in RTF in OS X In-Reply-To: <20FF1EDC-CA10-11D8-86B9-000D9350C9C2@videotron.ca> Message-ID: <20040629212140.60476.qmail@web60506.mail.yahoo.com> --- Gregory Lypny wrote: > Hello everyone, > > I use put url ("file:" & filepath & ".txt") to save > stack data to > tab-delimited text files, which are then opened by > TextEdit. However, > when I do the same thing but append ".rtf", TextEdit > cannot open the > file. Is there some way that I can save as rtf? > > Greg > Hi Greg, If you want to export the contents of a field to an RTF-file, try the following : -- put the rtfText of field "foobar" into \ url ("file:" & filepath & ".rtf") -- Of course you can only export the rtf that fields support ; if you need access to more rtf-features (such as tables) you can make a template rtf file in Word, fill it up with the actual data and save that to a file like you were attempting. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From RGould8 at aol.com Tue Jun 29 17:38:38 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Tue, 29 Jun 2004 17:38:38 EDT Subject: Where to download older versions of Rev? Message-ID: <88.df10ed7.2e133b5e@aol.com> Can someone point me to an URL where I can download older versions of Revolution? The FTP server seems to only go back to Rev 2.0. I want to download the version of Rev that can create standalones that work on Mac OS 10.1.0. Not sure whether I'd actually resort to back-tracking to that version, but I'd like to do an experiment. From psahores at easynet.fr Tue Jun 29 09:51:58 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Tue, 29 Jun 2004 15:51:58 +0200 Subject: Another Revolution Success Story In-Reply-To: References: Message-ID: <7D26DA54-C9D3-11D8-8E91-000A95C61E96@easynet.fr> Oh l? l?, comme on dit chez nous... What's an usefull stuff, Xavier. Can spend time in test and debug, if that can help ;) Le 29 juin 04, ? 06:11, MisterX a ?crit : > I wrote one to import an excel made csv. > There was no published format that I could find though... > > It is a "bit" unfinished (about 5% missing) in the > translation matrix... > > I'll polish it today and try to fix the errors, try to > find the source of the data to put in the proper credits. > The database contains a few thousands NT events errors and > codes reference. > > cheers > Xavier > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Alex >> Tweedly >> Sent: Tuesday, June 29, 2004 03:51 >> To: use-revolution at lists.runrev.com >> Subject: Re: Another Revolution Success Story >> >> >> At 18:02 28/06/2004 -0400, Troy Rollins wrote: >> >> >>> On Jun 28, 2004, at 5:40 PM, Kurt Kaufman wrote: >>> >>>> A physician in our area had a need for an application which >> could easily >>>> import patient data from a text file (multiple rows of >>>> comma-delineated >>>> data). It was a simple task, using Revolution, to open the >> file and read >>>> the data to a field. Subsequently a "model" card was cloned and the >>>> appropriate data sent to various fields on each card. Over a >>>> thousand >>>> records were created this way in a few minutes.The only stumbling >>>> block >>>> involved my forgetting that a standalone cannot modify itself. >> No matter >>>> though; I merely created an invisible "starter app" that immediately >>>> opened a data stack in the data folder. >>>> The application works "as advertised". >>>> The doctor was impressed that it was possible to do this in a few >>>> hours! >>> >>> String handling apps DO seem to be Rev's forte. >> >> yes, string handling is pretty good - but I'm surprised that Rev has >> no >> built-in support for CSV files. They are a pretty common interchange >> format, but handling the variations commonly found makes it >> non-trivial to >> do this properly - quoted fields, delimiter in quoted fields, escaped >> or >> doubled quotes within a field, etc. >> >> Has anyone written and contributed a library to avoid others having to >> "roll-your-own" ? >> >> (*) - I should probably say "appears to have no built-in support" - >> there >> may be something that I just can't find in the docs. >> >> >> -- Alex. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From sarahr at genesearch.com.au Tue Jun 29 19:32:49 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 30 Jun 2004 09:32:49 +1000 Subject: Card id and button problem In-Reply-To: <58E7F43E-CA0B-11D8-B400-000A9566DE9E@rof.net> References: <58E7F43E-CA0B-11D8-B400-000A9566DE9E@rof.net> Message-ID: When you create the new button, store it's ID. Then when you create the new card, get it's ID or set it's name. Then set a custom property of the new button to that card ID or name. In the button script, have a line that retrieves that custom property and uses it as the destination. something like this (adding lines to your script): > open stack "buttons" -- this is a substack that contains the > buttons I use > copy btn id xxxx to stack "MainStack" -- this is now in front of > (and thus hides) the "new card" button put the ID of the last button into newButtonID > close stack "buttons" > open stack "Y" -- this is the drawer stack > create card put it into newCardID set the cDestinationCard of btn ID newButtonID of stack "MainStack" to newCardID Then in the script of the "Open" button: put the cDestinationCard of me into tCardID > drawer stack "Y" at bottom aligned to center go to card ID tCardID of stack "Y" This is all untested, but the idea should be enough to get you started. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 30 Jun 2004, at 6:32 am, Lars Brehmer wrote: > Hi All! > > I've been searching searching the archives for hours, but since I > don't really know what I'm doing, I guess I don't know what to search > for! Here's the problem/question: > > I have a stack with a substack drawer. When a new card is created in > the main stack, there is a button on it that creates a new card in the > substack, unlocks its text fields and opens it in the drawer. The > button in the main stack that created the new card in the substack is > then hidden behind another new button that should later open the > drawer to that same card. Once the fields on the drawer card are > filled in, there is a button on it that locks the fields and saves the > drawer stack. The problem is that I need that save button also to put > the short card id of the drawer card into the script of the main stack > button that will re-open it. This is what I can't figure out. It > looks like this: > > the button that creates the new card in the drawer stack looks like > this > > open stack "buttons" -- this is a substack that contains the > buttons I use > copy btn id xxxx to stack "MainStack" -- this is now in front of > (and thus hides) the "new card" button > close stack "buttons" > open stack "Y" -- this is the drawer stack > create card > repeat with i = 1 to 33 > set the lockText of field ("Field" & i) to false > end repeat > close stack "Y" > drawer stack "Y" at bottom aligned to center -- this reopens the "Y" > stack in the drawer > > > The new drawer card is now open and the fields can be filled in. The > save button on this card is: > > repeat with i = 1 to 33 > set the lockText of field ("Field" & i) to true > end repeat > save stack "Y" > close stack "Y" > > So far it all works. The button on the main stack card that should > lead back to this drawer card is: > > drawer stack "Y" at bottom aligned to center > go card id zzzz of stack "Y" > > Is it possible to take the short id of the new drawer card and put it > in place of the zzzz in the button script on that specific card in the > main stack? This is what I don't know how to do. > > Suggestions? > > Thanks, > > > Lars From rcozens at pon.net Tue Jun 29 19:35:35 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 29 Jun 2004 16:35:35 -0700 Subject: Card id and button problem In-Reply-To: <58E7F43E-CA0B-11D8-B400-000A9566DE9E@rof.net> References: <58E7F43E-CA0B-11D8-B400-000A9566DE9E@rof.net> Message-ID: Hi Lars, >the button that creates the new card in the drawer stack looks like this > > open stack "buttons" -- this is a substack that contains the >buttons I use > copy btn id xxxx to stack "MainStack" -- this is now in front of >(and thus hides) the "new card" button According to the Rev Dictionary (Copy), "if stack is specified, the copied object must be a card" so you need to "copy button id xxxx to card [cardReference] of stack "Main Stack" followed by "put it into newButtonId" -- it contains new button id > close stack "buttons" > open stack "Y" -- this is the drawer stack > create card now, set the drawerCardId of button id newButtonId of card [cardReference] of stack "Main Stack" to it -- it contains new card id >[snip] >So far it all works. The button on the main stack card that should >lead back to this drawer card is: > > drawer stack "Y" at bottom aligned to center > go card id zzzz of stack "Y" > >Is it possible to take the short id of the new drawer card and put >it in place of the zzzz in the button script on that specific card >in the main stack? This is what I don't know how to do. replace go card id zzzz of stack "Y" with go to card id (the drawerCardId of me) of stack "Y" in the script of button id xxxx of stack "Buttons" >Suggestions? This logic does not require any change to the script of the new button. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From alex at tweedly.net Tue Jun 29 20:00:51 2004 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 30 Jun 2004 01:00:51 +0100 Subject: Another Revolution Success Story - yet another release! In-Reply-To: References: Message-ID: <5.1.0.14.0.20040630004912.02765ec8@mail.tweedly.net> At 22:42 29/06/2004 +0200, MisterX wrote: >Hi everyone, > >Here you are, a pretty compliant CSV importer for RunRev... Sorry, it's not quite that simple :-) I see two problems 1. You have a small bug, in that you only replace commas within a quoted field in the first occurrence on each line. The section -- convert csv escaped chars needs to be a loop, not an if condition 2. Excel default is to use doubled-quotes (duplicated-quotes) to represent a quote within a quoted field, not an escaped-quote. (I left in the fixing-up of escaped quotes, which is probably incorrect). Here's a diff to change that .... though since I'm not experienced with Transcript, you can probably re-write it better than this. -- Alex. >62,63c62,65 >< if quote is in thisline then >< put offset(quote, thisline) into a >--- > > put 1 into start > > repeat forever > > put offset(quote, thisline, start) into a > > if a == 0 then exit repeat > >65c67,70 >< if b > a then >--- > > if b == a+1 then > > put "\quotex" into char a to a+1 of thisline > > else > > if b == 0 then exit repeat > >67a73 > > put b+6 into start - to account for substitution just made -- Alex. -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.707 / Virus Database: 463 - Release Date: 15/06/2004 From soapdog at mac.com Tue Jun 29 21:42:59 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 29 Jun 2004 22:42:59 -0300 Subject: classic application not reading file... In-Reply-To: References: <20040628160018.8CCEA930134@mail.runrev.com> Message-ID: Jan, thanks for your feedback, I'll reboot in 9.2.2 and check my standalone!!! :D Cheers andre On Jun 29, 2004, at 5:17 AM, Jan Decroos wrote: > Andre, > > couldn't it be a solved bug ? > > see: > http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi? > id=1468 > > ( > and > http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi? > id=379 > ) > > Regards, > Jan > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From soapdog at mac.com Tue Jun 29 21:51:10 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 29 Jun 2004 22:51:10 -0300 Subject: can I download a new 2.2 ppc engine?! Message-ID: Hi Folks, Trying to solve my problem with reading empty files in classic mode (http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi? id=1468) I saw on bugzilla (thanks to Jan) that Tuviah solved the problem and posted a fixed engine. I just don't know how to get this engine and how to install it, can someone help me here? Cheers Andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From mwieder at ahsoftware.net Tue Jun 29 22:26:13 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 29 Jun 2004 19:26:13 -0700 Subject: Just testing -- go about you business... In-Reply-To: <40E1D478.4020304@chipp.com> References: <40E1D478.4020304@chipp.com> Message-ID: <7632833071.20040629192613@ahsoftware.net> Chipp- > talk amongst yourselves, I've been talking *to* myself all day. Does that count? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Jun 29 22:31:33 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 29 Jun 2004 19:31:33 -0700 Subject: Another Revolution Success Story In-Reply-To: References: Message-ID: <5133152941.20040629193133@ahsoftware.net> MisterX- Tuesday, June 29, 2004, 1:52:18 PM, you wrote: M> It works for really overly simple csv files... I really wish the csv format had never been invented. Separating fields with tabs works much better, and separating them with non-printing characters is better yet. I'm getting tired of running into data fields containing things like "John Brown, Jr.", "123 Fourth St, Room 5" and "The Corporation, Inc". -- -Mark Wieder mwieder at ahsoftware.net From troy at rpsystems.net Tue Jun 29 22:41:03 2004 From: troy at rpsystems.net (Troy Rollins) Date: Tue, 29 Jun 2004 22:41:03 -0400 Subject: Another Revolution Success Story In-Reply-To: <5133152941.20040629193133@ahsoftware.net> References: <5133152941.20040629193133@ahsoftware.net> Message-ID: On Jun 29, 2004, at 10:31 PM, Mark Wieder wrote: > I really wish the csv format had never been invented. Separating > fields with tabs works much better, and separating them with > non-printing characters is better yet. This is why regex exists. Parsing of csv is probably best done with a matchText routine. -- Troy RPSystems, Ltd. http://www.rpsystems.net From troy at rpsystems.net Tue Jun 29 23:08:26 2004 From: troy at rpsystems.net (Troy Rollins) Date: Tue, 29 Jun 2004 23:08:26 -0400 Subject: Disabling popup menu items Message-ID: It seems that option menus behave differently between OSX and Windows. Leading a line with "(" on OSX disables the line for the menu, yet on Windows it just leads the line with it. If you have an option menu on Windows, do you generally disable the item programmatically? e.g. disable menuItem 3 of button "myOptionMenu" Rather than with some leading character? -- Troy RPSystems, Ltd. http://www.rpsystems.net From monte at sweattechnologies.com Tue Jun 29 23:17:28 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 30 Jun 2004 12:47:28 +0930 Subject: Disabling popup menu items In-Reply-To: Message-ID: >It seems that option menus behave differently between OSX and Windows. >Leading a line with "(" on OSX disables the line for the menu, yet on >Windows it just leads the line with it. > >If you have an option menu on Windows, do you generally disable the >item programmatically? e.g. > >disable menuItem 3 of button "myOptionMenu" > >Rather than with some leading character? I believe there is no support for disabling menuItems in option and combo box menus on Windows (I think this is only on MacOS). It's either a HIG or API issue. Whichever it is it's the same reason there's no support for submenus on these buton styles on non-MacOS systems. Is it possible to just set the text of the button to valid options. This seems simpler for the user too. I've seen users spend considerable time trying to work out why something is disabled when it was completely logical from an application design perspective. Cheers Monte From rodney at infiny.co.nz Tue Jun 29 23:16:28 2004 From: rodney at infiny.co.nz (rodney tamblyn) Date: Wed, 30 Jun 2004 15:16:28 +1200 Subject: Rev Instant Messenger client Message-ID: Does anyone have a Revolution instant messenger client library - for any of the major IM types - MSN, ICQ, AIM, Yahoo etc ? ~ Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.buzzword.com/ http://oceanbrowser.com From troy at rpsystems.net Tue Jun 29 23:23:27 2004 From: troy at rpsystems.net (Troy Rollins) Date: Tue, 29 Jun 2004 23:23:27 -0400 Subject: Disabling popup menu items In-Reply-To: References: Message-ID: On Jun 29, 2004, at 11:17 PM, Monte Goulding wrote: > >> It seems that option menus behave differently between OSX and Windows. >> Leading a line with "(" on OSX disables the line for the menu, yet on >> Windows it just leads the line with it. >> >> If you have an option menu on Windows, do you generally disable the >> item programmatically? e.g. >> >> disable menuItem 3 of button "myOptionMenu" >> >> Rather than with some leading character? > > I believe there is no support for disabling menuItems in option and > combo > box menus on Windows (I think this is only on MacOS). It's either a > HIG or > API issue. Whichever it is it's the same reason there's no support for > submenus on these buton styles on non-MacOS systems. > > Is it possible to just set the text of the button to valid options. > This > seems simpler for the user too. I've seen users spend considerable time > trying to work out why something is disabled when it was completely > logical > from an application design perspective. > I see. Well. That's a shame. How about divider lines? Same deal? -- Troy RPSystems, Ltd. http://www.rpsystems.net From monte at sweattechnologies.com Tue Jun 29 23:29:20 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 30 Jun 2004 12:59:20 +0930 Subject: Disabling popup menu items In-Reply-To: Message-ID: >> >>> It seems that option menus behave differently between OSX and Windows. >>> Leading a line with "(" on OSX disables the line for the menu, yet on >>> Windows it just leads the line with it. >>> >>> If you have an option menu on Windows, do you generally disable the >>> item programmatically? e.g. >>> >>> disable menuItem 3 of button "myOptionMenu" >>> >>> Rather than with some leading character? >> >> I believe there is no support for disabling menuItems in option and >> combo >> box menus on Windows (I think this is only on MacOS). It's either a >> HIG or >> API issue. Whichever it is it's the same reason there's no support for >> submenus on these buton styles on non-MacOS systems. >> >> Is it possible to just set the text of the button to valid options. >> This >> seems simpler for the user too. I've seen users spend considerable time >> trying to work out why something is disabled when it was completely >> logical >> from an application design perspective. >> > >I see. > >Well. That's a shame. > >How about divider lines? Same deal? Yes.. you just see the dash and it's selectable. From troy at rpsystems.net Tue Jun 29 23:35:00 2004 From: troy at rpsystems.net (Troy Rollins) Date: Tue, 29 Jun 2004 23:35:00 -0400 Subject: Disabling popup menu items In-Reply-To: References: Message-ID: <771A2DBA-CA46-11D8-86A2-000A95A09CF8@rpsystems.net> On Jun 29, 2004, at 11:29 PM, Monte Goulding wrote: >> >> How about divider lines? Same deal? > > Yes.. you just see the dash and it's selectable. How delightfully primitive. ;-) -- Troy RPSystems, Ltd. http://www.rpsystems.net From soapdog at mac.com Tue Jun 29 23:51:24 2004 From: soapdog at mac.com (Andre Garzia) Date: Wed, 30 Jun 2004 00:51:24 -0300 Subject: Rev Instant Messenger client In-Reply-To: References: Message-ID: On Jun 30, 2004, at 12:16 AM, rodney tamblyn wrote: > Does anyone have a Revolution instant messenger client library - for > any of the major IM types - MSN, ICQ, AIM, Yahoo etc ? > > ~ Rodney Rodney, I don't have one but I've implemented a simple client for a custom app I am developing... it's simple, server is a DB, client flush data to central DB and client will look for data every couple seconds, so, I've got almost instant messenger features. I'll release this code soon. If you're looking for REAL instant messaging protocol, I urge your to look into Jabber protocol, it's widespread, it's XML based and (I might be wrong) it's HTTP based, so we could easily port the protocol for Rev use, we already have plenty of HTTP and XML code/knowledge base to get us started! If you decided to port jabber to Rev (and it is XML and HTTP based, I don't know if they changed that), then I could help you. Cheers Andre PS: I am always looking for ocean browser, and I have some great news on CGI for both your libCGI and my serverworkz lib... > > -- > Rodney Tamblyn > 44 Melville Street > Dunedin > New Zealand > +64 3 4778606 > http://rodney.buzzword.com/ > http://oceanbrowser.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From kray at sonsothunder.com Wed Jun 30 00:00:12 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 29 Jun 2004 23:00:12 -0500 Subject: Disabling popup menu items In-Reply-To: <771A2DBA-CA46-11D8-86A2-000A95A09CF8@rpsystems.net> Message-ID: <063001c45e56$c18b0b50$6601a8c0@precision340> Actually I've taken to providing a blank line (no dash) for Windows to act as a separator and although it looks a bit odd at first, you get used to it rather quickly. So my code just traps for a blank line selection and doesn't change the menuHistory of the button (i.e. nothing happens). I would hope that RunRev would do something similar as it is odd to select a dash and have it show up in the option menu (how confusing for new users!). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Troy Rollins > Sent: Tuesday, June 29, 2004 10:35 PM > To: How to use Revolution > Subject: Re: Disabling popup menu items > > > > On Jun 29, 2004, at 11:29 PM, Monte Goulding wrote: > > >> > >> How about divider lines? Same deal? > > > > Yes.. you just see the dash and it's selectable. > > How delightfully primitive. > > ;-) > > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Wed Jun 30 00:19:18 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 30 Jun 2004 06:19:18 +0200 Subject: Another Revolution Success Story In-Reply-To: Message-ID: on a 7000 records basis that would be even slower... send me a script change, I'll consider the improvement... > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Troy > Rollins > Sent: Wednesday, June 30, 2004 04:41 > To: How to use Revolution > Subject: Re: Another Revolution Success Story > > > > On Jun 29, 2004, at 10:31 PM, Mark Wieder wrote: > > > I really wish the csv format had never been invented. Separating > > fields with tabs works much better, and separating them with > > non-printing characters is better yet. > > This is why regex exists. Parsing of csv is probably best done with a > matchText routine. > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From monte at sweattechnologies.com Wed Jun 30 00:23:20 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 30 Jun 2004 13:53:20 +0930 Subject: Disabling popup menu items In-Reply-To: <063001c45e56$c18b0b50$6601a8c0@precision340> Message-ID: >Actually I've taken to providing a blank line (no dash) for Windows to act >as a separator and although it looks a bit odd at first, you get used to it >rather quickly. So my code just traps for a blank line selection >and doesn't >change the menuHistory of the button (i.e. nothing happens). I would hope >that RunRev would do something similar as it is odd to select a dash and >have it show up in the option menu (how confusing for new users!). In what cases is it necessary to have a separator in an option button? Perhaps on this one the Windows HIG has it right? Cheers Monte From monte at sweattechnologies.com Wed Jun 30 00:27:41 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 30 Jun 2004 13:57:41 +0930 Subject: Rev Instant Messenger client In-Reply-To: Message-ID: >> Does anyone have a Revolution instant messenger client library - for >> any of the major IM types - MSN, ICQ, AIM, Yahoo etc ? >> >> ~ Rodney > >Rodney, > >I don't have one but I've implemented a simple client for a custom app >I am developing... it's simple, server is a DB, client flush data to >central DB and client will look for data every couple seconds, so, I've >got almost instant messenger features. I'll release this code soon. David Bovil has a client for Jabber which I believe he has been planning to release for a while. Maybe he'll chime in here? > >If you're looking for REAL instant messaging protocol, I urge your to >look into Jabber protocol, it's widespread, it's XML based and (I might >be wrong) it's HTTP based, so we could easily port the protocol for Rev >use, we already have plenty of HTTP and XML code/knowledge base to get >us started! > >If you decided to port jabber to Rev (and it is XML and HTTP based, I >don't know if they changed that), then I could help you. I've looked into Jabber (XMPP) and started writing a libXMLPP but haven't had a project that required it's completion. It's quite feasable to develop a Rev client. It's not HTTP based. The basics are you open a TCP connection to the server and then there are two xml streams sent over the connection. One from client to server and one from server to client. It sort of looks like a discussion in XML. Cheers Monte From troy at rpsystems.net Wed Jun 30 00:43:02 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 30 Jun 2004 00:43:02 -0400 Subject: Disabling popup menu items In-Reply-To: References: Message-ID: On Jun 30, 2004, at 12:23 AM, Monte Goulding wrote: > > In what cases is it necessary to have a separator in an option button? Like to keep some distance between "Archive File" and "Delete File" as an example. The option buttons in my app set segments of the GUI into various "modes." The modes can be pretty different, but have "groups of similarity." Dividing the button's menu up to represent these groups makes the menu system much more intuitive. > Perhaps on this one the Windows HIG has it right? LOL. Good one. -- Troy RPSystems, Ltd. http://www.rpsystems.net From revolution at jaedworks.com Tue Jun 29 07:21:48 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 29 Jun 2004 04:21:48 -0700 Subject: How to use database-linked controls In-Reply-To: <20040629105703.32536.qmail@web60510.mail.yahoo.com> References: <20040629105703.32536.qmail@web60510.mail.yahoo.com> Message-ID: At 3:57 AM -0700 6/29/2004, Jan Schenkel wrote: > > But if we cannot pass a user defined variable to the >> database query builder then it makes the >> database-linked controls kind of weak. I hope that >you >> complete that user interface soon. >> > >It isn't straightforward to implement a clear >interface for this : should it be global variables ? >should it be a call to a function in the stack script >? should it be the content of a custom property ? I'd suggest it would be more useful (possibly a little harder to do) to allow any valid Transcript expression in a query, perhaps surrounded by characters that don't normally show up in a SQL query (could "[" and "]" be used for this?). The database query manager would substitute the value for the expression before passing the query to the db library, whenever the query's used. -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From kray at sonsothunder.com Wed Jun 30 00:46:43 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 29 Jun 2004 23:46:43 -0500 Subject: Disabling popup menu items In-Reply-To: Message-ID: <071d01c45e5d$4127bfb0$6601a8c0@precision340> > In what cases is it necessary to have a separator in an > option button? Perhaps on this one the Windows HIG has it right? When you want to separate groups of options? ;-) For example, in an app I'm building for a client, there are two different kinds of departments - commercial and non-commercial. The user must select a department to assign to a specific record. This is implemented in an option menu with the commercial departments separated from the non-commercial departments in the option menu by a separator. Any other implementation would have taken a lot more space or required the user to take more actions. And, no, I don't think the Windows HIG has it right. (In case you couldn't tell.) :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Jun 30 00:50:32 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 29 Jun 2004 23:50:32 -0500 Subject: query :how to display a html file using revolution In-Reply-To: <20040629070227.63605.qmail@web50106.mail.yahoo.com> Message-ID: <075401c45e5d$c97dc990$6601a8c0@precision340> If you're only doing Windows, you can check out the altBrowser control at www.altuit.com/webs/altuit2/RunRev/altBrowser.htm. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > yogananth anand > Sent: Tuesday, June 29, 2004 2:02 AM > To: use-revolution at lists.runrev.com > Subject: query :how to display a html file using revolution > > > I am new user to revolution .The task given to me is > to display a webpage(.htm) inside the application.Is > there any suitable control available.I am using a > field control it is displaying with the tags but only > the text to be displayed to me and not the tags. > > Thanks in advance, > yogananth.j > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Wed Jun 30 03:01:39 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 30 Jun 2004 09:01:39 +0200 Subject: Another Revolution Success Story In-Reply-To: <5133152941.20040629193133@ahsoftware.net> Message-ID: You mean my importer didn't work? Send me a small sample of a non working csv to my email (not the list) and I'll see if it can be fixed. Let me also know which record is wrong. I can't promess I'll get to it today... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Mark Wieder > Sent: Wednesday, June 30, 2004 04:32 > To: How to use Revolution > Subject: Re: Another Revolution Success Story > > > MisterX- > > Tuesday, June 29, 2004, 1:52:18 PM, you wrote: > > M> It works for really overly simple csv files... > > I really wish the csv format had never been invented. Separating > fields with tabs works much better, and separating them with > non-printing characters is better yet. > > I'm getting tired of running into data fields containing things like > "John Brown, Jr.", "123 Fourth St, Room 5" and "The Corporation, Inc". > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From malte.brill at t-online.de Wed Jun 30 04:17:28 2004 From: malte.brill at t-online.de (Malte Brill) Date: Wed, 30 Jun 2004 10:17:28 +0200 Subject: scripted animation advice In-Reply-To: <20040630014143.D00549300A6@mail.runrev.com> Message-ID: Hi Nicolas, I?ve set up a small test stack: Call this first from somewhere you need it: on init put 8 into elements repeat with i=1 to elements create grc ("part"&i) set the style of grc ("part"&i) to oval set the height of grc ("part"&i) to 100 set the width of grc ("part"&i) to 100 set the loc of grc ("part"&i) to the loc of this card set the arcangle of grc ("part"&i) to 360/elements put 360/elements*i-1 into thestartAngle set the startangle of grc ("part"&i) to theStartangle end repeat end init button: global flag on mouseUp if flag is empty then put -1 into flag put flag*-1 into flag spinTheWheel end mouseUp on spinTheWheel repeat with i=1 to 8 put the startangle of grc ("part"&i) into newangle put newangle-5 into newangle if newangle<1 then put newangle+360 into newangle set the startangle of grc ("part"&i) to newangle end repeat if flag=1 then send spinTheWheel to me in 20 milliseconds end spinTheWheel Hope that helps, Malte From malte.brill at t-online.de Wed Jun 30 05:52:50 2004 From: malte.brill at t-online.de (Malte Brill) Date: Wed, 30 Jun 2004 11:52:50 +0200 Subject: scripted animation advice In-Reply-To: <20040630014143.D00549300A6@mail.runrev.com> Message-ID: I?ve improved the stack a bit: Create a stack with a button called "startWheel" You initialise it from the messagebox: send init to btn "startWheel" if you don?t like the colors you can send changecolor to btn "startWheel" a few times or set the colors individually. If you klick the button the spinning will decrease speed and put which part is on top, the backColor of that part. Here is the script: on mouseUp set the flag of me to the flag of me*-1 spinTheWheel set the speed of me to 60+random(35) decreasespeed end mouseUp on spinTheWheel lock screen repeat with i=1 to the elements of me put the startangle of grc ("part"&i) into newangle put newangle-the speed of me into newangle if newangle<1 then put newangle+360 into newangle set the startangle of grc ("part"&i) to newangle end repeat unlock screen if the flag of me=1 then send spinTheWheel to me in 20 milliseconds end spinTheWheel on decreaseSpeed set the speed of me to the speed of me-1 if the speed of me<=0 then set the flag of me to -1 whichPart end if if the flag of me=1 then send decreaseSpeed to me in 100 milliseconds end decreaseSpeed on whichpart repeat with i=1 to the elements of me if the startangle of grc ("part"&i)>360/the elements of me and the \\ startangle of grc ("part"&i)<(360/the elements of me)*2 then --mind linebreak put i, the backcolor of grc ("part"&i) exit repeat end if end repeat end whichpart on init set the elements of me to 8 set the speed of me to 60 set the flag of me to -1 repeat with i=1 to the elements of btn "startWheel" create grc ("part"&i) set the style of grc ("part"&i) to oval set the height of grc ("part"&i) to 100 set the width of grc ("part"&i) to 100 set the loc of grc ("part"&i) to the loc of this card set the arcangle of grc ("part"&i) to 360/the elements \\ of btn "startWheel" --mind linebreak put 360/the elements of btn "startWheel"*(i-1) into thestartAngle set the startangle of grc ("part"&i) to theStartangle set the backcolor of grc ("part"&i) to any line of the colornames end repeat end init on changeColor repeat with i=1 to the elements of me set the backcolor of grc ("part"&i) to any line of the colornames end repeat end changeColor Best, Malte From sims at ezpzapps.com Wed Jun 30 06:09:21 2004 From: sims at ezpzapps.com (sims) Date: Wed, 30 Jun 2004 12:09:21 +0200 Subject: Special pricing for ERC & TidBITS events! Message-ID: European Rev Conference News **To take advantage of the following special, email sims at TechieTours.com** Space is limited! Book now! Runrev application software conference and five days with Adam and Tonya Engst of TidBITS! Techie heaven on the gorgeous island of Gozo in the middle of the Mediterranean. Gozo is filled with photographic opportunities and overflowing with fascinating history. The oldest standing architecture on Earth, the temples of Ggantija in Gozo, were more than one thousand years old when the Pyramids were being built. These temples were already ancient when Stonehenge was being planned. Legend says that Gozo is Homer's Ogygia, the island home of the nymph Calypso with whom Odysseus fell in love. The movie Troy used Gozo for many scenes, the ships seen in the movie cross the same Gozo channel that you will cross if you take advantage of my offer. Adam and Tonya Engst of TidBITS will be giving morning workshops on OS X, iPhoto, and all sorts of techie topics and Techie Tours will be arranging outings to stunning locations every afternoon where you can swim, put your digital camera to use, or simply relax and enjoy! http://techietours.com/TidBITS/ The EuroRevCon will feature an outstanding group of Rev professionals who will add to your Rev skills. Rev's CEO, Kevin Miller, will be available for discussions and serious ear bending ;-) The November 2004 EuroRevCon Features... * Kevin Miller, Rev CEO Keynote Sunday evening and daily discussions * Two full days of Rev presentations and discussions by expert Rev developers: Malte Brill Richard Gaskin Klaus Major Frederic Rinaldi Jan Schenkel * Special pricing on Dan Shafer's book Revolution: Software at the Speed of Thought * CDs loaded with Rev examples and tools offered to all attendees * Special Rev License pricing for attendees Revolution Express will be offered for just $99 (retail price $149) Revolution Studio will be offered for $299 (retail price $399) http://techietours.com/Rev/ Techie Tours is offering one hundred dollars off the normal price for anyone who attends both events but you must register soon! This will be a once in a lifetime techie opportunity, folks. Brilliant presenters, stunning location in the Med, gorgeous weather, WiFi at the hotels, meeting friends you only know through emails, photographic opportunities you have to see to believe, and a great time for all. To take advantage of the $100.00 off special, email sims at TechieTours.com Don't be left out - space is limited! sims From francois.cuneo at cuk.ch Wed Jun 30 06:40:00 2004 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Wed, 30 Jun 2004 12:40:00 +0200 Subject: ScrollbarLineDec's Speed in a little arrow In-Reply-To: Message-ID: Hello! I have this code's kind in a little arrow: on scrollbarLineDec global compteurserie put the thumbposition of me into i put i into into fld "Serie" end scrollbarLineDec But the speed is too high. If I put "wait for 100" inside, it has no effect. Has somebody an idea? Amicalement Fran?ois -------------------------------------------------------------------------- Fran?ois Cuneo Au Champ du Pr? 1353 Bofflens e-mail: mailto:francois.cuneo at cuk.ch Web Cuk New Technologies, programmes ?ducatifs pour Mac: http://www.cuk.ch Web CUK, humeurs et tests sur le mac: http://www.cuk.ch/articles T?l: ++41 (024) 441.17.81 Fax: ++41 (024) 441.17.05 From malte.brill at t-online.de Wed Jun 30 07:15:35 2004 From: malte.brill at t-online.de (Malte Brill) Date: Wed, 30 Jun 2004 13:15:35 +0200 Subject: ScrollbarLineDec's Speed in a little arrow In-Reply-To: <20040630095306.9D9C7930069@mail.runrev.com> Message-ID: Hi, try this (I used scrollbardrag, but it also should work with scrollBarLineDec): global oldseconds on scrollbarDrag put the thumbpos of me into oldThumb put the milliseconds-oldseconds if the milliseconds-oldseconds<190 then --change the 190 to a value that is good for you set the thumbpos of me to oldthumb exit scrollbarDrag end if put the thumbposition of me into fld "serie" put the milliseconds into oldseconds end scrollbarDrag Best, Malte From francois.cuneo at cuk.ch Wed Jun 30 08:00:07 2004 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Wed, 30 Jun 2004 14:00:07 +0200 Subject: ScrollbarLineDec's Speed in a little arrow In-Reply-To: Message-ID: Thank you mat but it doesn't work?:-( Le 30.6.2004 13:15, Malte Brill ? malte.brill at t-online.de a ?crit: > put the thumbpos of me into oldThumb > put the milliseconds-oldseconds > if the milliseconds-oldseconds<190 then > --change the 190 to a value that is good for you > set the thumbpos of me to oldthumb > exit scrollbarDrag > end if > put the thumbposition of me into fld "serie" > put the milliseconds into oldseconds Amicalement Fran?ois -------------------------------------------------------------------------- Fran?ois Cuneo Au Champ du Pr? 1353 Bofflens e-mail: mailto:francois.cuneo at cuk.ch Web Cuk New Technologies, programmes ?ducatifs pour Mac: http://www.cuk.ch Web CUK, humeurs et tests sur le mac: http://www.cuk.ch/articles T?l: ++41 (024) 441.17.81 Fax: ++41 (024) 441.17.05 From wouter.abraham at pi.be Wed Jun 30 09:01:16 2004 From: wouter.abraham at pi.be (Wouter) Date: Wed, 30 Jun 2004 15:01:16 +0200 Subject: unique id numbers In-Reply-To: <20040630014143.D00549300A6@mail.runrev.com> References: <20040630014143.D00549300A6@mail.runrev.com> Message-ID: <929453E8-CA95-11D8-9981-003065CC999E@pi.be> A follow up for those who are interested. Some controls can have 2 unique id if "0" is also considered an unique id. Returning an on a was only encountered in stack "revPropertyPalette 1" but.... try this in whatever stack: put the long id of control id 0 or put the long id of btn id 0 (if the card contains a button of course) etc.. For a test on stack "revPropertyPalette 1": put the long id of button "ItemText" of group "MenuSaveOptions" of group "Save options" of card "revdatabaselinkedmenu" of stack "revPropertyPalette 1" if the result is: button id 0 of group id 0 of group id 46116 of card id 46117 of stack "revPropertyPalette 1" then go card id 46117 of stack "revPropertyPalette 1" and try again: put the long id of button "ItemText" of group "MenuSaveOptions" of group "Save options" of card "revdatabaselinkedmenu" of stack "revPropertyPalette 1" the result is: button id 46258 of group id 46257 of group id 46116 of card id 46117 of stack "revPropertyPalette 1" then try : put the long name of button id 0 of group id 46257 of group id 46116 of card id 46117 of stack "revPropertyPalette 1" and put the long name of button id 0 of group id 0 of group id 46116 of card id 46117 of stack "revPropertyPalette 1" only put the long name of button id 46257 of group id 0 of group id 46116 of card id 46117 of stack "revPropertyPalette 1" will give an error Whenever an is encountered a workaround is needed. Greetings, WA From malte.brill at t-online.de Wed Jun 30 08:59:58 2004 From: malte.brill at t-online.de (Malte Brill) Date: Wed, 30 Jun 2004 14:59:58 +0200 Subject: ScrollbarLineDec's Speed in a little arrow In-Reply-To: <20040630095306.9D9C7930069@mail.runrev.com> Message-ID: Hi Francois, the script works here on 9 and X. If you see big jumps in the field maybe the lineInc of the scrollbar is not set to 1? (on arrow click in Inspector) set the lineInc of sb "yourArrows" to 1. If the script throws an error maybe the global oldseconds has not been declared. Could you tell what exactly goes wrong? Best, Malte From yvescoppe at skynet.be Wed Jun 30 09:46:40 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 30 Jun 2004 15:46:40 +0200 Subject: scripted animation advice In-Reply-To: References: Message-ID: Le 30 juin 04, ? 11:52, Malte Brill a ?crit : > I?ve improved the stack a bit: > > Create a stack with a button called "startWheel" > > You initialise it from the messagebox: > > send init to btn "startWheel" > > if you don?t like the colors you can > > send changecolor to btn "startWheel" > > a few times or set the colors individually. > If you klick the button the spinning will decrease speed and put which > part > is on top, the backColor of that part. > > > Here is the script: > > > on mouseUp > set the flag of me to the flag of me*-1 > spinTheWheel > set the speed of me to 60+random(35) > decreasespeed > end mouseUp > > on spinTheWheel > lock screen > repeat with i=1 to the elements of me > put the startangle of grc ("part"&i) into newangle > put newangle-the speed of me into newangle > if newangle<1 then put newangle+360 into newangle > set the startangle of grc ("part"&i) to newangle > end repeat > unlock screen > if the flag of me=1 then send spinTheWheel to me in 20 milliseconds > end spinTheWheel > > on decreaseSpeed > set the speed of me to the speed of me-1 > if the speed of me<=0 then > set the flag of me to -1 > whichPart > end if > if the flag of me=1 then send decreaseSpeed to me in 100 milliseconds > end decreaseSpeed > > on whichpart > repeat with i=1 to the elements of me > if the startangle of grc ("part"&i)>360/the elements of me and the > \\ > startangle of grc ("part"&i)<(360/the elements of me)*2 then > --mind linebreak > put i, the backcolor of grc ("part"&i) > exit repeat > end if > end repeat > end whichpart > > on init > set the elements of me to 8 > set the speed of me to 60 > set the flag of me to -1 > repeat with i=1 to the elements of btn "startWheel" > create grc ("part"&i) > set the style of grc ("part"&i) to oval > set the height of grc ("part"&i) to 100 > set the width of grc ("part"&i) to 100 > set the loc of grc ("part"&i) to the loc of this card > set the arcangle of grc ("part"&i) to 360/the elements \\ > of btn "startWheel" > --mind linebreak > put 360/the elements of btn "startWheel"*(i-1) into thestartAngle > set the startangle of grc ("part"&i) to theStartangle > set the backcolor of grc ("part"&i) to any line of the colornames > end repeat > end init > > on changeColor > repeat with i=1 to the elements of me > set the backcolor of grc ("part"&i) to any line of the colornames > end repeat > end changeColor > > Hi, I've changed the script of my stack as you write here above BUT 1) now I have a nice COLORED wheel when I code "init" (ii have a btn "startwheel") 2) when I click on my btn "spinning wheel", the wheel STAYS whithout spinning? what am I missing ? Greetings. Yves COPPE yvescoppe at skynet.be From yvescoppe at skynet.be Wed Jun 30 09:54:49 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 30 Jun 2004 15:54:49 +0200 Subject: scripted animation advice In-Reply-To: References: Message-ID: <0DAE881B-CA9D-11D8-A48C-003065E14B04@skynet.be> > Hi, > > I've changed the script of my stack as you write here above BUT > > 1) now I have a nice COLORED wheel when I code "init" (ii have a btn > "startwheel") > 2) when I click on my btn "spinning wheel", the wheel STAYS whithout > spinning? > > what am I missing ? > > Hi, SORRY I did a mistake when I copied the new script in my btn "startWheel" I've made the correction. now it's OK Greetings. Yves COPPE yvescoppe at skynet.be From b.xavier at internet.lu Wed Jun 30 10:11:44 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 30 Jun 2004 16:11:44 +0200 Subject: unique id numbers In-Reply-To: <929453E8-CA95-11D8-9981-003065CC999E@pi.be> Message-ID: Abraham, Here is a script that tells you the names and ids of all controls in the rev prop palette. So it is not impossible access them as you concluded... Possibly accessing controls via the ID 0 owner may be the problem that creates confusion. And going to the card seems to deliver the hidden ID. Note that to further create confusion and issues, this script will report that there are duplicate objects with id 0 with duplicate names in the same cards in the same groups! If only RR would shed some light on this now... on mouseup put fld "stackName" into thisstack if there is not a stack thisstack then answer "choose an existing stack please!" select text of fld "Stackname" end if put the short name of this stack into olddefstack set the defaultstack to thisstack lock messages lock screen put the number of cards in stack thisstack into cdcnt put 0 into badids repeat with c = 1 to cdcnt set the cursor to busy put the short name of cd c into thiscard put the number of controls in cd c into cntlcnt repeat with t = 1 to cntlcnt put the short id of control t of cd c into cID put the short name of control t of cd c into cname put the short owner of control t of cd c into cowner put thiscard & tab & cowner & tab & cname & tab & cID & cr after nulist if cid is 0 then add 1 to badids end repeat end repeat set the defaultstack to olddefstack put nulist into fld "list" get FindTabStops("list") set the tabstops of fld "List" to it set the tabstops of fld "Listtitle" to it put badids end mouseup > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Wouter > Sent: Wednesday, June 30, 2004 15:01 > To: use-revolution at lists.runrev.com > Subject: Re: unique id numbers > > > A follow up for those who are interested. > > Some controls can have 2 unique id if "0" is also considered an unique > id. > > Returning an on a z> was only encountered in stack "revPropertyPalette 1" but.... > try this in whatever stack: > > put the long id of control id 0 > or > put the long id of btn id 0 (if the > card contains a button of course) > etc.. > > > For a test on stack "revPropertyPalette 1": > > put the long id of button "ItemText" of group "MenuSaveOptions" > of group "Save options" of card "revdatabaselinkedmenu" of stack > "revPropertyPalette 1" > > if the result is: > button id 0 of group id 0 of group id 46116 of card id 46117 of > stack "revPropertyPalette 1" > then > go card id 46117 of stack "revPropertyPalette 1" > and try again: > put the long id of button "ItemText" of group "MenuSaveOptions" > of group "Save options" of card "revdatabaselinkedmenu" of stack > "revPropertyPalette 1" > > the result is: > button id 46258 of group id 46257 of group id 46116 of card id > 46117 of stack "revPropertyPalette 1" > > then try : > put the long name of button id 0 of group id 46257 of group id > 46116 of card id 46117 of stack "revPropertyPalette 1" > and > put the long name of button id 0 of group id 0 of group id 46116 > of card id 46117 of stack "revPropertyPalette 1" > > only > put the long name of button id 46257 of group id 0 of group id > 46116 of card id 46117 of stack "revPropertyPalette 1" > will give an error > > > Whenever an is encountered a workaround is needed. > > Greetings, > WA > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From lbrehmer at rof.net Wed Jun 30 09:58:59 2004 From: lbrehmer at rof.net (Lars Brehmer) Date: Wed, 30 Jun 2004 16:58:59 +0300 Subject: card id and button problem In-Reply-To: <20040630014143.2625393005F@mail.runrev.com> References: <20040630014143.2625393005F@mail.runrev.com> Message-ID: Thanks Sarah and Rob! I tried to use Rob's suggestion, and it ALMOST worked - Being code illiterate, I don't pretend to understand the solution, so I just applied it word for word, most likely not recognizing something I needed to substitute for - try not to laugh TOO hard:-) >> the button that creates the new card in the drawer stack looks like >> this >> >> open stack "buttons" -- this is a substack that contains the >> buttons I use >> copy btn id xxxx to stack "MainStack" -- this is now in front of >> (and thus hides) the "new card" button > > According to the Rev Dictionary (Copy), "if stack is specified, the > copied object must be a card" > > so you need to > > "copy button id xxxx to card [cardReference] of stack "Main Stack" > > followed by > > "put it into newButtonId" -- it contains new button id > >> close stack "buttons" >> open stack "Y" -- this is the drawer stack >> create card > > now, > > set the drawerCardId of button id newButtonId of card > [cardReference] of stack "Main Stack" to it -- it contains new card id I put this all into the button script, word for word, and got this: (for [cardReference] i just used "recent card" which did indeed put the button in the right place on the right card) open stack "buttons" copy btn id 1003 to recent card of stack "MainStack" put it into newButtonId close stack "buttons" open stack "Y" create card set the drawerCardId of button id newButtonId of recent card of stack "MainStack" to it repeat with i = 1 to 33 set the lockText of field ("Field" & i) to false end repeat close stack "Y" drawer stack "Y" at bottom aligned to center Then I made the changes you gave below to the script of button to be copied to the MainStack, again, word for word: drawer stack "Y" at bottom aligned to center go to card id (the drawerCardId of me) of stack "Y" When I made the new card in the mainStack and hit the button to create the new card in the drawer stack, I got an error message which I ignored (since I couldn't understand it). The substack was indeed opened to a new card, but the error was in the "set the drawerCardId...." line, so the fields weren't unlocked, the stack wasn't closed and reopend as a drawer. When I unlocked the fields and filled them in and closed the stack and hit the new button in the mainstack, it actually worked - the correct new card opened in a drawer. But as soon as I opened the drawer to a different card from a different card in the mainstack and went back to the new card, the button opened the drawer, but not to the correct card anymore. (the older cards all work because when I made them I entered the card id of the drawer card into the button script on the mainstack card by hand - just what I'm trying to do away with here). This is the error Type Chunk: no such object Object: n Line: set the drawerCardId of button id newButtonId of recent card of stack "MainStack" to it Hint: button id 1153 of card id 1152 of stack "/Users/larsbrehmer/Desktop/uusEesti/uusEesti2.rev" I assume laughable, but is it fixable? > >> [snip] > >> So far it all works. The button on the main stack card that should >> lead back to this drawer card is: >> >> drawer stack "Y" at bottom aligned to center >> go card id zzzz of stack "Y" >> >> Is it possible to take the short id of the new drawer card and put >> it in place of the zzzz in the button script on that specific card >> in the main stack? This is what I don't know how to do. > > replace > > go card id zzzz of stack "Y" > > with > > go to card id (the drawerCardId of me) of stack "Y" > > in the script of button id xxxx of stack "Buttons" Thanks again! Lars From francois.cuneo at cuk.ch Wed Jun 30 10:28:22 2004 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Wed, 30 Jun 2004 16:28:22 +0200 Subject: ScrollbarLineDec's Speed in a little arrow In-Reply-To: Message-ID: Hey Malte! The jumps are irregular! Here is the matter? And the lineinc is to 1! Le 30.6.2004 14:59, Malte Brill ? malte.brill at t-online.de a ?crit: > Hi Francois, > > the script works here on 9 and X. > > If you see big jumps in the field maybe the lineInc of the scrollbar is not > set to 1? (on arrow click in Inspector) > > set the lineInc of sb "yourArrows" to 1. > > If the script throws an error maybe the global oldseconds has not been > declared. > > Could you tell what exactly goes wrong? > > Best, > > Malte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Amicalement Fran?ois -------------------------------------------------------------------------- Fran?ois Cuneo Au Champ du Pr? 1353 Bofflens e-mail: mailto:francois.cuneo at cuk.ch Web Cuk New Technologies, programmes ?ducatifs pour Mac: http://www.cuk.ch Web CUK, humeurs et tests sur le mac: http://www.cuk.ch/articles T?l: ++41 (024) 441.17.81 Fax: ++41 (024) 441.17.05 From wouter.abraham at pi.be Wed Jun 30 10:39:59 2004 From: wouter.abraham at pi.be (Wouter) Date: Wed, 30 Jun 2004 16:39:59 +0200 Subject: unique id numbers Message-ID: <5CB1F39E-CAA3-11D8-9981-003065CC999E@pi.be> > ? From: MisterX > ? Date: Wed, 30 Jun 2004 06:58:55 -0700 > > Abraham, > > Here is a script that tells you the names and ids of all controls in > the > rev prop palette. So it is not impossible access them as you > concluded... That is not what I concluded. I only wondered that when calling for a long id without "going" to the cd, it returned an id 0 Up to now I only encountered this behavior with the revPropertyPalette. > > Possibly accessing controls via the ID 0 owner may be the problem that > creates confusion. And going to the card seems to deliver the hidden > ID. Yep indeed. That would be the workaround. But it shouldn't return an id 0 in the first place. > > Note that to further create confusion and issues, this script will > report > that there are duplicate objects with id 0 with duplicate names in the > same > cards in the same groups! > > If only RR would shed some light on this now... Because this is only happening in the revPropertyPalette (up to now), is there something wrong with this stack? Or in the engine? Or both? Then should this be bugzilla'ed or just neglected? :-) Greetings, WA From b.xavier at internet.lu Wed Jun 30 11:02:38 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 30 Jun 2004 17:02:38 +0200 Subject: unique id numbers In-Reply-To: <5CB1F39E-CAA3-11D8-9981-003065CC999E@pi.be> Message-ID: > > If only RR would shed some light on this now... > > Because this is only happening in the revPropertyPalette (up to now), > is there something wrong with this stack? > Or in the engine? Or both? Then should this be bugzilla'ed or just > neglected? :-) maybe the revpalette is considered as a template where IDs are zero! This could explain some "interference" PropsN2O is having... I may be playing with fire... ;) From malte.brill at t-online.de Wed Jun 30 10:55:40 2004 From: malte.brill at t-online.de (Malte Brill) Date: Wed, 30 Jun 2004 16:55:40 +0200 Subject: ScrollbarLineDec's Speed in a little arrow In-Reply-To: <20040630095306.9D9C7930069@mail.runrev.com> Message-ID: Hey Francois, have you tried with a newly created sb? then it works here, but strange enough if I set the thumbSize of the sb it breaks everything. Heres how I could fix it on my machine: Messagebox: set the thumbsize of sb "littleArrows" to 20, but then it doesnt count to the endvalue. It stops 20 earlier. If you set the thumbSize to 1 it doesn?t work at all. Do you see the same effect? Malte From klaus at major-k.de Wed Jun 30 11:10:17 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 30 Jun 2004 17:10:17 +0200 Subject: card id and button problem In-Reply-To: References: <20040630014143.2625393005F@mail.runrev.com> Message-ID: <987CD494-CAA7-11D8-B183-000A27B49A96@major-k.de> Hi Lars, > ... > open stack "Y" > create card > set the drawerCardId of button id newButtonId of recent card of > stack "MainStack" to it !!!! see below > ... > Then I made the changes you gave below to the script of button to be > copied to the MainStack, again, word for word: > > drawer stack "Y" at bottom aligned to center > go to card id (the drawerCardId of me) of stack "Y" > ... > on the mainstack card by hand - just what I'm trying to do away with > here). This is the error > > Type Chunk: no such object > Object: n > Line: set the drawerCardId of button id newButtonId of recent > card of stack "MainStack" to it > Hint: button id 1153 of card id 1152 of stack > "/Users/larsbrehmer/Desktop/uusEesti/uusEesti2.rev" > > I assume laughable, but is it fixable? First no, last yes :-) This is the content of IT in the example above: card id 1004 of stack "Stack 1088607791" ## or something like that... So you will have to script: > drawer stack "Y" at bottom aligned to center go to card id (WORD 3 of the drawerCardId of me) of stack "Y" Tested and works :-) Best form germany Klaus Major klaus at major-k.de http://www.major-k.de From FlexibleLearning at aol.com Wed Jun 30 11:51:28 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 30 Jun 2004 11:51:28 EDT Subject: Disabling popup menu items Message-ID: <1e6.23fd8ff0.2e143b80@aol.com> I have taken to using mouseDown and properties to dynamically set the menu with or with dividers etc depending on platform: e.g. if isMac() then set the text of me to the MacMenu of me, else set the text of me to the WinMenu of me. Or initialising the menus at startup. But you get the idea. 2p /H > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Troy Rollins > Sent: Tuesday, June 29, 2004 10:35 PM > To: How to use Revolution > Subject: Re: Disabling popup menu items > > > > On Jun 29, 2004, at 11:29 PM, Monte Goulding wrote: > > >> > >> How about divider lines? Same deal? > > > > Yes.. you just see the dash and it's selectable. > > How delightfully primitive. > > ;-) > > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net From rcozens at pon.net Wed Jun 30 11:50:57 2004 From: rcozens at pon.net (Rob Cozens) Date: Wed, 30 Jun 2004 08:50:57 -0700 Subject: card id and button problem In-Reply-To: References: <20040630014143.2625393005F@mail.runrev.com> Message-ID: >I tried to use Rob's suggestion, and it ALMOST worked - Being code >illiterate, I don't pretend to understand the solution, so I just >applied it word for word, most likely not recognizing something I >needed to substitute for Lars, Sorry, when posting handler statements I use "[" & "]" to enclose words that must be replaced by an actual argument...a la Rev Dictionary. Unfortunately the same symbols are used in actual Transcript to denote an array element. The solution I attempted to outline is: 1. Store the id of the new button in a local variable when it is created 2. Set a custom property of the new button to the id of the new card in the drawer stack when the card is created 3. Reference the custom property to identify which drawer card to go to when the button receives mouseUp. The reason this solution avoids changing the button script is because a Revolution standalone cannot modify any stack script that exceeds scriptLimits() lines (see Rev Dictionary). The issue I had with copy btn id xxxx to stack "MainStack" is Rev Dictionary (Copy) essentially says a control can only be copied to a group or a card--not to a stack. So "copy button id xxxx to card [cardReference] of stack "Main Stack" was born. cardReference could be the name, number, or id of the card in "Main Stack" where the new button is created. > copy btn id 1003 to recent card of stack "MainStack" I haven't had occasion to use "recent", but the syntax does not include stack designation. In other words, recent card is the last card visited in the runtime session, regardless of stack: it's part of the runtime tables, not a stack-specific property. So if you can: copy button id xxxx to card 1 of stack "Main Stack" or copy button id xxxx to card id 1234 of stack "Main Stack or copy button id xxxx to card "Drawer Buttons" of stack "Main Stack , I think that will solve the problem. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Wed Jun 30 11:56:08 2004 From: rcozens at pon.net (Rob Cozens) Date: Wed, 30 Jun 2004 08:56:08 -0700 Subject: card id and button problem In-Reply-To: <987CD494-CAA7-11D8-B183-000A27B49A96@major-k.de> References: <20040630014143.2625393005F@mail.runrev.com> <987CD494-CAA7-11D8-B183-000A27B49A96@major-k.de> Message-ID: >This is the content of IT in the example above: > >card id 1004 of stack "Stack 1088607791" ## or something like that... Glad you caught that, Klaus. I considered the possibility, but didn't mention or test it. How about the contents of IT after copy button "xxxx"...? -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From klaus at major-k.de Wed Jun 30 12:09:03 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 30 Jun 2004 18:09:03 +0200 Subject: card id and button problem In-Reply-To: References: <20040630014143.2625393005F@mail.runrev.com> <987CD494-CAA7-11D8-B183-000A27B49A96@major-k.de> Message-ID: Hi Rob, >> This is the content of IT in the example above: >> >> card id 1004 of stack "Stack 1088607791" ## or something like that... > > Glad you caught that, Klaus. :-) > I considered the possibility, but didn't mention or test it. > How about the contents of IT after copy button "xxxx"...? You get something like this: button id 1006 of card id 1002 of stack "Stack 1088611618" which is the id of the RESULTING button... > Rob Cozens > CCW, Serendipity Software Company Best from germany Klaus Major klaus at major-k.de http://www.major-k.de From troy at rpsystems.net Wed Jun 30 12:13:55 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 30 Jun 2004 12:13:55 -0400 Subject: Disabling popup menu items In-Reply-To: <1e6.23fd8ff0.2e143b80@aol.com> References: <1e6.23fd8ff0.2e143b80@aol.com> Message-ID: <7C3CBFD2-CAB0-11D8-9325-000A95A09CF8@rpsystems.net> On Jun 30, 2004, at 11:51 AM, FlexibleLearning at aol.com wrote: > I have taken to using mouseDown and properties to dynamically set the > menu > with or with dividers etc depending on platform: e.g. if isMac() then > set the > text of me to the MacMenu of me, else set the text of me to the > WinMenu of me. > Or initialising the menus at startup. But you get the idea. Yes, I see what you're getting at. That's not too bad. I guess I just haven't been a real Windows user since Win98, and since Director apps don't use OS native controls, those always look the same on both platforms. -- Troy RPSystems, Ltd. http://www.rpsystems.net From mwieder at ahsoftware.net Wed Jun 30 12:16:15 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 30 Jun 2004 09:16:15 -0700 Subject: Another Revolution Success Story In-Reply-To: References: Message-ID: <391232692.20040630091615@ahsoftware.net> MisterX- Wednesday, June 30, 2004, 12:01:39 AM, you wrote: M> You mean my importer didn't work? No, I was just ranting in general. No worries. I'll go back to talking among myself now. -- -Mark Wieder mwieder at ahsoftware.net From rcozens at pon.net Wed Jun 30 12:32:06 2004 From: rcozens at pon.net (Rob Cozens) Date: Wed, 30 Jun 2004 09:32:06 -0700 Subject: card id and button problem Message-ID: >This is the content of IT in the example above: > >card id 1004 of stack "Stack 1088607791" ## or something like that... Since the subject has come up... 1. If I recall correctly, HyperTalk would return just the id digits for "the id of ..." for some controls and [controlName] id [id digits] of ...] for others. There were ids, long ids, & short ids, and the differentiation was not uniform among all controls. 2. Rev Dictionary says "The create card command places the ID property of the newly created card in the it variable." That is not true: if I type "put the id of this card", I get the id digits only. At the very least, the Dictionary should read "The create card command places the long ID property of..." -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Wed Jun 30 12:36:21 2004 From: rcozens at pon.net (Rob Cozens) Date: Wed, 30 Jun 2004 09:36:21 -0700 Subject: card id and button problem In-Reply-To: References: <20040630014143.2625393005F@mail.runrev.com> <987CD494-CAA7-11D8-B183-000A27B49A96@major-k.de> Message-ID: >>I considered the possibility, but didn't mention or test it. >>How about the contents of IT after copy button "xxxx"...? > >You get something like this: > >button id 1006 of card id 1002 of stack "Stack 1088611618" > >which is the id of the RESULTING button... No, it's the LONG id of the resulting button. :{`) So my issue with Rev Dictionary & the create command applies to the copy command as well. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From mwieder at ahsoftware.net Wed Jun 30 12:55:00 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 30 Jun 2004 09:55:00 -0700 Subject: The Properties Property Message-ID: <1173556934.20040630095500@ahsoftware.net> All- I am *so* glad we don't have Microsoft writing our documentation. This is from the Access 2000 help file: Properties Property You can use the Properties property to return a reference to a control's Properties collection object. Note In Microsoft Access 2000, the Properties property has been replaced by the Properties property (Properties Collection) and the Properties property (AccessObjectProperties Collection). The Properties property is included in this version of Microsoft Access only for compatibility with previous versions. -- -Mark Wieder mwieder at ahsoftware.net Note: Microsoft Access is a registered trademark or something of the Evil Empire of Redmond. All rights revered. From scott at tactilemedia.com Wed Jun 30 13:19:27 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 30 Jun 2004 10:19:27 -0700 Subject: The Properties Property In-Reply-To: <1173556934.20040630095500@ahsoftware.net> Message-ID: Recently, "Mark Wieder" wrote: > I am *so* glad we don't have Microsoft writing our documentation. This > is from the Access 2000 help file: > > Properties Property > You can use the Properties property to return a reference to a control's > Properties collection object. > Note In Microsoft Access 2000, the Properties property has been replaced > by the Properties property (Properties Collection) and the Properties > property (AccessObjectProperties Collection). The Properties property is > included in this version of Microsoft Access only for compatibility with > previous versions. No doubt the lawyers will remind us that the above Properties Property reference is the property of Microsoft Corporation. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From rcozens at pon.net Wed Jun 30 13:27:42 2004 From: rcozens at pon.net (Rob Cozens) Date: Wed, 30 Jun 2004 10:27:42 -0700 Subject: The Properties Property In-Reply-To: References: Message-ID: > > I am *so* glad we don't have Microsoft writing our documentation. This >> is from the Access 2000 help file: >> >> Properties Property >> You can use the Properties property to return a reference to a control's >> Properties collection object. >> Note In Microsoft Access 2000, the Properties property has been replaced >> by the Properties property (Properties Collection) and the Properties >> property (AccessObjectProperties Collection). The Properties property is >> included in this version of Microsoft Access only for compatibility with >> previous versions. > >No doubt the lawyers will remind us that the above Properties Property >reference is the property of Microsoft Corporation. Kudos, Scott: LOL -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From klaus at major-k.de Wed Jun 30 13:30:02 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 30 Jun 2004 19:30:02 +0200 Subject: card id and button problem In-Reply-To: References: <20040630014143.2625393005F@mail.runrev.com> <987CD494-CAA7-11D8-B183-000A27B49A96@major-k.de> Message-ID: <1E93B039-CABB-11D8-B183-000A27B49A96@major-k.de> Hi Rob, >>> I considered the possibility, but didn't mention or test it. >>> How about the contents of IT after copy button "xxxx"...? >> >> You get something like this: >> button id 1006 of card id 1002 of stack "Stack 1088611618" >> which is the id of the RESULTING button... > > No, it's the LONG id of the resulting button. :{`) It is, indeed :-) > So my issue with Rev Dictionary & the create command applies to the > copy command as well. Yo! > Rob Cozens > CCW, Serendipity Software Company Regards Klaus Major klaus at major-k.de http://www.major-k.de From kray at sonsothunder.com Wed Jun 30 13:30:39 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 30 Jun 2004 12:30:39 -0500 Subject: The Properties Property In-Reply-To: <1173556934.20040630095500@ahsoftware.net> Message-ID: <00d601c45ec7$f97984d0$6601a8c0@precision340> Sounds like that came from the Department of Redundancy Department. ;-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Mark Wieder > Sent: Wednesday, June 30, 2004 11:55 AM > To: How to use Revolution > Subject: The Properties Property > > > All- > > I am *so* glad we don't have Microsoft writing our > documentation. This is from the Access 2000 help file: > > Properties Property > You can use the Properties property to return a reference to > a control's Properties collection object. > Note In Microsoft Access 2000, the Properties property has > been replaced > by the Properties property (Properties Collection) and the > Properties property (AccessObjectProperties Collection). The > Properties property is included in this version of Microsoft > Access only for compatibility with previous versions. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > Note: Microsoft Access is a registered trademark or something > of the Evil Empire of Redmond. All rights revered. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From beat.c at hetnet.nl Sun Jun 27 14:09:49 2004 From: beat.c at hetnet.nl (Beat Cornaz) Date: Sun, 27 Jun 2004 20:09:49 +0200 Subject: Documentation & Books Message-ID: Hi group, I've been working with Revolution now for a little while and I'm struck by the lack of documentation, or better the lack of good documentation. The supplied docs with revolution , I think are totally inadequate. With a search I either get no results or much too many. I've heard that Dan Shaeffer has a book out. Is it good and well organized. I come from Hypercard and the Hypercard reference manual is excellent and things are easy to find. is there some other books or docs available on Revolution. I found a pdf, but I think it just the Rev docs in pdf form. greetings, Beat. -- From troy at rpsystems.net Wed Jun 30 13:52:35 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 30 Jun 2004 13:52:35 -0400 Subject: VideoGrabber Message-ID: <44BE703F-CABE-11D8-9325-000A95A09CF8@rpsystems.net> Can anyone confirm that videoGrabber works under Windows XP in "VFW" mode? I'm not having any problems in OSX and "QT" mode, but under Windows I get an attractive black box centered in the screen. -- Troy RPSystems, Ltd. http://www.rpsystems.net From klaus at major-k.de Wed Jun 30 13:51:56 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 30 Jun 2004 19:51:56 +0200 Subject: NSProgressIndicator OS X In-Reply-To: References: Message-ID: <2DC05CFA-CABE-11D8-B183-000A27B49A96@major-k.de> Hi friends, does someone eventually have an animated gif (or a series of single images) of a NSProgressIndicator, the rotating gearwheel, that you see sometimes on OS X? Or is it eventually somewhere in a package in the system/library as gif/tiff/png file? If yes, where? Thanks a lot in advance... Regards Klaus Major klaus at major-k.de http://www.major-k.de From jacque at hyperactivesw.com Wed Jun 30 13:52:50 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 30 Jun 2004 12:52:50 -0500 Subject: Documentation & Books In-Reply-To: References: Message-ID: <40E2FDF2.2030801@hyperactivesw.com> On 6/27/04 1:09 PM, Beat Cornaz wrote: > Hi group, > > I've been working with Revolution now for a little while and I'm struck > by the lack of documentation, or better the lack of good documentation. > The supplied docs with revolution , I think are totally inadequate. With > a search I either get no results or much too many. I've heard that Dan > Shaeffer has a book out. Is it good and well organized. I come from > Hypercard and the Hypercard reference manual is excellent and things are > easy to find. is there some other books or docs available on Revolution. > I found a pdf, but I think it just the Rev docs in pdf form. > > greetings, Beat. The documentation itself is some of the best in the business, but as you point out, finding what you need is sometimes difficult because of the sheer volume of content. The docs are being reworked for the next version of Rev. The content, which is excellent, will remain largely the same except for bug fixes, but the organization and searching capabilites will change. You may want to wait until Rev 2.3 is released and see what you think. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From troy at rpsystems.net Wed Jun 30 13:58:40 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 30 Jun 2004 13:58:40 -0400 Subject: Documentation & Books In-Reply-To: <40E2FDF2.2030801@hyperactivesw.com> References: <40E2FDF2.2030801@hyperactivesw.com> Message-ID: <1E7F9D26-CABF-11D8-9325-000A95A09CF8@rpsystems.net> On Jun 30, 2004, at 1:52 PM, J. Landman Gay wrote: > The documentation itself is some of the best in the business, but as > you point out, finding what you need is sometimes difficult because of > the sheer volume of content. The docs are being reworked for the next > version of Rev. The content, which is excellent, will remain largely > the same except for bug fixes, but the organization and searching > capabilites will change. You may want to wait until Rev 2.3 is > released and see what you think. I have to agree. Considering the sheer volume (required), Rev's docs are commendable. -- Troy RPSystems, Ltd. http://www.rpsystems.net From thierry.arbellot at wanadoo.fr Wed Jun 30 14:00:24 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Wed, 30 Jun 2004 20:00:24 +0200 Subject: VideoGrabber In-Reply-To: <44BE703F-CABE-11D8-9325-000A95A09CF8@rpsystems.net> Message-ID: <5C91EE56-CABF-11D8-A6A5-000A27E40768@wanadoo.fr> Don't know for XP, but tested with 2000 and VFW mode, it's ok. Thierry. On Wednesday, Jun 30, 2004, at 19:52 Europe/Paris, Troy Rollins wrote: > Can anyone confirm that videoGrabber works under Windows XP in "VFW" > mode? > > I'm not having any problems in OSX and "QT" mode, but under Windows I > get an attractive black box centered in the screen. > > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bob at armbase.com Wed Jun 30 14:47:53 2004 From: bob at armbase.com (Bob Hartley) Date: Wed, 30 Jun 2004 19:47:53 +0100 Subject: populating stack with field Message-ID: <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> Hi All. I am almost a complete newbie and only made one app for my lab with a lot of help from Sarah. I am back in runrev to make a labbook and I'm making a testapp to try the concept. So please excuse the stupidity. I only need to get me head around one thing then I'm off and running. I hope you can help. I have a main stack "mainstack" with buttons on it, one called "Addtextfield" . I have 2 other stacks 1)"Textfield" with a card on it called "TextfieldCard" and a field in this called "InsertTextfield" 2)"BlankStack" with a card called "BlankCard with nothing on it. I want the button "Addtextfield" on the "mainstack" to duplicate the field "InsertTextfield" and place the copy on on the card "BlankCard" on stack "BlankStack" I am using the script on mouseUp add field "InsertTextfield" to BlankCard end mouseUp This seems too simple and indeed it does not work. Am I missing something simple or is it a lot more difficult than this. I also have vol1 of dan's book but cant see something on first look. All the best Bob From troy at rpsystems.net Wed Jun 30 14:08:11 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 30 Jun 2004 14:08:11 -0400 Subject: VideoGrabber In-Reply-To: <5C91EE56-CABF-11D8-A6A5-000A27E40768@wanadoo.fr> References: <5C91EE56-CABF-11D8-A6A5-000A27E40768@wanadoo.fr> Message-ID: <7282D80E-CAC0-11D8-9325-000A95A09CF8@rpsystems.net> On Jun 30, 2004, at 2:00 PM, Thierry Arbellot wrote: > Don't know for XP, but tested with 2000 and VFW mode, it's ok. Thanks. I'll keep hacking at it then. -- Troy RPSystems, Ltd. http://www.rpsystems.net From klaus at major-k.de Wed Jun 30 15:07:47 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 30 Jun 2004 21:07:47 +0200 Subject: populating stack with field In-Reply-To: <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> References: <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> Message-ID: Hi Bob, > Hi All. > > I am almost a complete newbie and only made one app for my lab with a > lot of help from Sarah. I am back in runrev to make a labbook and I'm > making a testapp to try the concept. So please excuse the stupidity. > > I only need to get me head around one thing then I'm off and running. > I hope you can help. > > I have a main stack "mainstack" with buttons on it, one called > "Addtextfield" . I have 2 other stacks > 1)"Textfield" with a card on it called "TextfieldCard" and a field in > this called "InsertTextfield" > 2)"BlankStack" with a card called "BlankCard with nothing on it. > > I want the button "Addtextfield" on the "mainstack" to duplicate the > field "InsertTextfield" and place the copy on on the card "BlankCard" > on stack "BlankStack" > > I am using the script > > on mouseUp > add field "InsertTextfield" to BlankCard > end mouseUp > > > This seems too simple and indeed it does not work. Am I missing > something simple or is it a lot more difficult than this. I also have > vol1 of dan's book but cant see something on first look. ... copy field "InsertTextfield" of cd "TextfieldCard" of stack "Textfield" to cd 1 of stack "BlankStack" ... You can copy/cut any object from/to any card from/to any stack anytime, you will only have to provide the "long" identifier of the object: "xyz" of cd "abc" of stack "yadda" Hope that helps... > All the best > Bob Regards Klaus Major klaus at major-k.de http://www.major-k.de From jacque at hyperactivesw.com Wed Jun 30 15:12:10 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 30 Jun 2004 14:12:10 -0500 Subject: populating stack with field In-Reply-To: <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> References: <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> Message-ID: <40E3108A.4070801@hyperactivesw.com> On 6/30/04 1:47 PM, Bob Hartley wrote: > Hi All. > > I am almost a complete newbie and only made one app for my lab with a > lot of help from Sarah. I am back in runrev to make a labbook and I'm > making a testapp to try the concept. So please excuse the stupidity. No question is stupid, and no apology is needed. We all had to start somewhere, and you've come to the right place. Welcome to the Revolution! > > I only need to get me head around one thing then I'm off and running. I > hope you can help. > > I have a main stack "mainstack" with buttons on it, one called > "Addtextfield" . I have 2 other stacks > 1)"Textfield" with a card on it called "TextfieldCard" and a field in > this called "InsertTextfield" > 2)"BlankStack" with a card called "BlankCard with nothing on it. > > I want the button "Addtextfield" on the "mainstack" to duplicate the > field "InsertTextfield" and place the copy on on the card "BlankCard" on > stack "BlankStack" > > I am using the script > > on mouseUp > add field "InsertTextfield" to BlankCard > end mouseUp > > > This seems too simple and indeed it does not work. Am I missing > something simple or is it a lot more difficult than this. It is as simple as this, but you need to use a different command. The "add" command is only for doing arithmetic when you need to add numbers together. What you want is the "copy" command (take a look in the Transcript dictionary for more info on "copy".) The engine assumes that commands act on the current stack unless you specify differently. Because you want to copy between two different stacks, you'll have to specify what those stacks are. The full command would be (watch out for line wrap here): copy field "InsertTextfield" of stack "Textfield" to card 1 of stack "BlankStack" Don't be shy about asking anything else you need to know. That's what the list is for. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From troy at rpsystems.net Wed Jun 30 15:41:42 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 30 Jun 2004 15:41:42 -0400 Subject: VideoGrabber In-Reply-To: <7282D80E-CAC0-11D8-9325-000A95A09CF8@rpsystems.net> References: <5C91EE56-CABF-11D8-A6A5-000A27E40768@wanadoo.fr> <7282D80E-CAC0-11D8-9325-000A95A09CF8@rpsystems.net> Message-ID: <83351B46-CACD-11D8-9325-000A95A09CF8@rpsystems.net> On Jun 30, 2004, at 2:08 PM, Troy Rollins wrote: > >> Don't know for XP, but tested with 2000 and VFW mode, it's ok. > > Thanks. I'll keep hacking at it then. Well, I've hacked a while. My app errors whether in VFW or QT modes when videograbber is used, as does, it turns out, the sample videograbber stack. The device providing the video works fine in other (non Rev) video applications on the same machine. -- Troy RPSystems, Ltd. http://www.rpsystems.net From troy at rpsystems.net Wed Jun 30 16:55:22 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 30 Jun 2004 16:55:22 -0400 Subject: VideoGrabber In-Reply-To: <83351B46-CACD-11D8-9325-000A95A09CF8@rpsystems.net> References: <5C91EE56-CABF-11D8-A6A5-000A27E40768@wanadoo.fr> <7282D80E-CAC0-11D8-9325-000A95A09CF8@rpsystems.net> <83351B46-CACD-11D8-9325-000A95A09CF8@rpsystems.net> Message-ID: On Jun 30, 2004, at 3:41 PM, Troy Rollins wrote: >> > > Well, I've hacked a while. My app errors whether in VFW or QT modes > when videograbber is used, as does, it turns out, the sample > videograbber stack. > > The device providing the video works fine in other (non Rev) video > applications on the same machine. I should add that I'm not even capturing video, only previewing it. Video card issue? How can I tell? And if that is the case, why might it work fine outside of Rev, but fails in Rev apps (as well as the IDE.)? XP Home. 1394/Firewire in. -- Troy RPSystems, Ltd. http://www.rpsystems.net From gizmotron at earthlink.net Wed Jun 30 16:56:06 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 30 Jun 2004 13:56:06 -0700 Subject: Documentation & Books In-Reply-To: <40E2FDF2.2030801@hyperactivesw.com> Message-ID: On Wednesday, June 30, 2004, at 10:52 AM, J. Landman Gay wrote: > You may want to wait until Rev 2.3 is released and see what you think. When will that be? Bob Dorkelfin From bob at armbase.com Wed Jun 30 17:00:01 2004 From: bob at armbase.com (Bob Hartley) Date: Wed, 30 Jun 2004 22:00:01 +0100 Subject: populating stack with field In-Reply-To: <40E3108A.4070801@hyperactivesw.com> References: <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> Message-ID: <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> At 14:12 30/06/2004 -0500, you wrote: >copy field "InsertTextfield" of stack "Textfield" to card 1 of stack >"BlankStack" > >Don't be shy about asking anything else you need to know. That's what the >list is for. Jacqueline, thank you very much for that, And you too Klaus. It works perfectly. Now I can go and populate the destination stack with objects like checkboxes etc. I could do with a couple of pointers in the next direction. I dont expect a code snippet, since I find it better to learn by browsing but I could do with a little prodding in the right direction. When I add textboxes, for example, using the button, they are all on top of each other and not moveable or resizeable, Is there a command that will allow them to be moved and or resized after insertion? Naturally I could do this in the IDE but i would like the recipient to be able to do this. A rough jpg of what i require is http://www.gla.ac.uk/~rh82p/ide.jpg All the best Bob; Sunny Scotland >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From gizmotron at earthlink.net Wed Jun 30 17:11:55 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 30 Jun 2004 14:11:55 -0700 Subject: populating stack with field In-Reply-To: <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> Message-ID: <1D6156EB-CADA-11D8-A245-000A95859272@earthlink.net> On Wednesday, June 30, 2004, at 02:00 PM, Bob Hartley wrote: > I could do with a couple of pointers in the next direction. I dont > expect a code snippet, since I find it better to learn by browsing but > I could do with a little prodding in the right direction. When I add > textboxes, for example, using the button, they are all on top of each > other and not moveable or resizeable, Is there a command that will > allow them to be moved and or resized after insertion? > > Naturally I could do this in the IDE but i would like the recipient to > be able to do this. Have a look at: set the location of to point see -- loc see -- point see -- field set the rectangle of field "yourText" to 20,20,45,200 see -- rectangle When you're in the docs check out the stuff in See Also. Mark From mpetrides at earthlink.net Wed Jun 30 17:11:03 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Wed, 30 Jun 2004 17:11:03 -0400 Subject: populating stack with field In-Reply-To: <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> References: <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> Message-ID: >>>i would like the recipient to be able to do this. You could have the user enter a location as vertical and horizontal coordinates and then set the loc of btn x to v,h repeat with j = 1 to the number of buttons Ask "Desired vertical" put it into v Ask "Desired horizontal" put it into h set the loc of btn j to v, h end repeat I just tried this as part of an openCard handler and it works fine. M On Jun 30, 2004, at 5:00 PM, Bob Hartley wrote: > At 14:12 30/06/2004 -0500, you wrote: > >> copy field "InsertTextfield" of stack "Textfield" to card 1 of stack >> "BlankStack" >> >> Don't be shy about asking anything else you need to know. That's what >> the list is for. > > > Jacqueline, thank you very much for that, And you too Klaus. > > It works perfectly. > > Now I can go and populate the destination stack with objects like > checkboxes etc. > > I could do with a couple of pointers in the next direction. I dont > expect a code snippet, since I find it better to learn by browsing but > I could do with a little prodding in the right direction. When I add > textboxes, for example, using the button, they are all on top of each > other and not moveable or resizeable, Is there a command that will > allow them to be moved and or resized after insertion? > > Naturally I could do this in the IDE but i would like the recipient to > be able to do this. > > A rough jpg of what i require is http://www.gla.ac.uk/~rh82p/ide.jpg > > > > All the best > Bob; Sunny Scotland > > >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mpetrides at earthlink.net Wed Jun 30 17:24:55 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Wed, 30 Jun 2004 17:24:55 -0400 Subject: Set focusable property via script? In-Reply-To: References: <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> Message-ID: I have a stack with a very large number of cards. Now that I am done entering text into the fields on these cards, I want to be sure that each field is locked and that it is not focusable. Is there a way to set these properties from script? I'd hate to have to check each and every one manually. And, yes, I did look in the dox, even searched but I don't see a property called focusable, nor one called locked. Thanks. M From mwieder at ahsoftware.net Wed Jun 30 17:38:45 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 30 Jun 2004 14:38:45 -0700 Subject: populating stack with field In-Reply-To: <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> References: <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> Message-ID: <6220582245.20040630143845@ahsoftware.net> Bob- ...trying to head this one off before you hit it... Note that you're modifying the stack on the fly here by allowing the user to change things. If you want the changes to stick and not disappear the next time the user launches the app you'll have to do things a bit differently (this will work differently in a standalone from the way it works in the IDE). Check out the list archives for some suggestions here along the lines of saving preferences or creating separate substack files. -- -Mark Wieder mwieder at ahsoftware.net From bob at armbase.com Wed Jun 30 17:47:18 2004 From: bob at armbase.com (Bob Hartley) Date: Wed, 30 Jun 2004 22:47:18 +0100 Subject: populating stack with field In-Reply-To: References: <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> Message-ID: <5.2.1.1.0.20040630224520.00a807d0@mail.armbase.com> At 17:11 30/06/2004 -0400, you wrote: > >>>i would like the recipient to be able to do this. > >You could have the user enter a location as vertical and horizontal >coordinates and then set the loc of btn x to v,h > >repeat with j = 1 to the number of buttons > Ask "Desired vertical" > put it into v > > Ask "Desired horizontal" > put it into h > > set the loc of btn j to v, h >end repeat Can this be done via drag-position and corner-drag-size? IE My button inserts a textbox and they can resize it. I'll get to grips with it all soon. All the best Bob From bob at armbase.com Wed Jun 30 17:56:02 2004 From: bob at armbase.com (Bob Hartley) Date: Wed, 30 Jun 2004 22:56:02 +0100 Subject: populating stack with field In-Reply-To: <6220582245.20040630143845@ahsoftware.net> References: <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> Message-ID: <5.2.1.1.0.20040630225022.00a825d8@mail.armbase.com> At 14:38 30/06/2004 -0700, you wrote: >Bob- > >...trying to head this one off before you hit it... Hi Mark I thought I may run into a problem like that after compilling the .exe. There is no hurry for this so I'll delve into it. :-) >Note that you're modifying the stack on the fly here by allowing the >user to change things. If you want the changes to stick and not >disappear the next time the user launches the app you'll have to do >things a bit differently (this will work differently in a standalone >from the way it works in the IDE). Check out the list archives for >some suggestions here along the lines of saving preferences or >creating separate substack files. Yes essentially I want to create a database style IDE with limited controls, compile as a .exe and allow the recipient to create some simple flatfile apps for cataloguing their ressearch. Thanks again for the tip. I'll do that tomorrow. Sun going down here at 11pm so I better go to bed. Cheers Bob; Scotland, 40 miles from runrev HQ :-) >-- >-Mark Wieder > mwieder at ahsoftware.net > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Wed Jun 30 18:00:06 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 30 Jun 2004 17:00:06 -0500 Subject: populating stack with field In-Reply-To: <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> References: <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> Message-ID: <40E337E6.1020702@hyperactivesw.com> On 6/30/04 4:00 PM, Bob Hartley wrote: > Is there a command that will allow > them to be moved and or resized after insertion? For moving the object, check out the "grab" command. It does what I think you want. Resizing will have to be more specifically scripted; you will want to set either the height and width of the object, or else set its rect (which will also set its location at the same time, incidentally.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mpetrides at earthlink.net Wed Jun 30 18:02:38 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Wed, 30 Jun 2004 18:02:38 -0400 Subject: Set focusable property via script? - Answer In-Reply-To: References: <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> Message-ID: <33133E1E-CAE1-11D8-92CA-000A959D005E@earthlink.net> After sending this query, I noticed that if I dwell for any length of time with my mouse over button that sets the desired property in the Object Inspector, a toolTip came up with the name of the property. Thus I found that traversalOn makes an object focusable if it is true and lockText makes an object's text locked if true. So simply putting a temporary button on card 1 of the stack, containing the following script allowed me to lock text in all fields and make the fields not focusable: on mouseUp repeat with j = 1 to the number of cards go card j repeat with x = 1 to the number of fields set the traversalOn of field x to false --make field not focusable end repeat end repeat end mouseUp repeat with j = 1 to the number of cards go card j repeat with x = 1 to the number of fields set the traversalOn of field x to false end repeat end repeat M On Jun 30, 2004, at 5:24 PM, Marian Petrides wrote: > I have a stack with a very large number of cards. Now that I am done > entering text into the fields on these cards, I want to be sure that > each field is locked and that it is not focusable. > > Is there a way to set these properties from script? I'd hate to have > to check each and every one manually. > > And, yes, I did look in the dox, even searched but I don't see a > property called focusable, nor one called locked. > > Thanks. > > M > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Cubist at aol.com Wed Jun 30 18:09:35 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Wed, 30 Jun 2004 18:09:35 EDT Subject: populating stack with field Message-ID: <1e3.2422599b.2e14941f@aol.com> sez bob at armbase.com: >I could do with a couple of pointers in the next direction. I dont expect >a code snippet, since I find it better to learn by browsing but I could do >with a little prodding in the right direction. When I add textboxes, for >example, using the button, they are all on top of each other and not >moveable or resizeable, Is there a command that will allow them to be moved >and or resized after insertion? *E*V*E*R*Y*T*H*I*N*G* can be moved and/or resized at *A*N*Y* time. Relocating fields (or whatever else) can be done with this command: set the location of field "Fred" to 25,100 Naturally, you'll want to replace " field 'Fred' " with the specific object you *want* to relocate, and you'll also want to replace "25,100" with the actual location you want to move whatever-it-is to. The neat bit is, you can put stuff into variables and do things like "set the location of ThisItem to NewLocation" ! As for resizing, that, too, is fairly simple: set the rectangle of field "Fred" to 10,20,30,40 Or, if you prefer, "set the rectangle of ThisItem to ThisRectangle" will also work, provided that ThisItem and ThisRectangle are variables that contain the right sort of data. Hope this helps... From jacque at hyperactivesw.com Wed Jun 30 18:10:45 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 30 Jun 2004 17:10:45 -0500 Subject: Documentation & Books In-Reply-To: References: Message-ID: <40E33A65.9040300@hyperactivesw.com> On 6/30/04 3:56 PM, Mark Brownell wrote: > > On Wednesday, June 30, 2004, at 10:52 AM, J. Landman Gay wrote: > >> You may want to wait until Rev 2.3 is released and see what you think. > > > When will that be? > > Bob Dorkelfin Mmmrff. That would be telling. ;) But if you promise to keep it a secret: Real Soon Now. Right after all the bug-smashing is over. Say, aren't you the same Dorkelfin who was an extra in that Nemo movie? Fine job, that. Can I have your autograph? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jun 30 18:15:18 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 30 Jun 2004 17:15:18 -0500 Subject: Set focusable property via script? In-Reply-To: References: <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> Message-ID: <40E33B76.1000902@hyperactivesw.com> On 6/30/04 4:24 PM, Marian Petrides wrote: > I have a stack with a very large number of cards. Now that I am done > entering text into the fields on these cards, I want to be sure that > each field is locked and that it is not focusable. > > Is there a way to set these properties from script? I'd hate to have to > check each and every one manually. > > And, yes, I did look in the dox, even searched but I don't see a > property called focusable, nor one called locked. You need "locktext" and "traversalOn". I suspect you have your Rev preferences set to show descriptions of the properties in the Inspector rather than the Transcript terms. You can change that in Prefs -- in which case the checkboxes will tell you the actual terms to use -- or else you can look at the tooltip that appears over each checkbox, which will also tell you the name of the term. If you have prefs set to show the Transcript words, then the tooltip shows the description, and vice versa. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mpetrides at earthlink.net Wed Jun 30 18:22:43 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Wed, 30 Jun 2004 18:22:43 -0400 Subject: Set focusable property via script? In-Reply-To: <40E33B76.1000902@hyperactivesw.com> References: <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630193257.00a7c810@mail.armbase.com> <5.2.1.1.0.20040630214917.00afeeb8@mail.armbase.com> <40E33B76.1000902@hyperactivesw.com> Message-ID: <017355AC-CAE4-11D8-92CA-000A959D005E@earthlink.net> Thanks for the clarification, Jacque. As you can see from the email I sent while you were sending this, I did actually tumble to the Transcript terms using toolTips in the Object Inspector, but I didn't realize there was an alternative display. Thanks for clueing (sp?) me in. M On Jun 30, 2004, at 6:15 PM, J. Landman Gay wrote: > I suspect you have your Rev preferences set to show descriptions of > the properties in the Inspector rather than the Transcript terms. You > can change that in Prefs -- in which case the checkboxes will tell you > the actual terms to use -- or else you can look at the tooltip that > appears over each checkbox, which will also tell you the name of the > term. If you have prefs set to show the Transcript words, then the > tooltip shows the description, and vice versa. From gizmotron at earthlink.net Wed Jun 30 18:43:22 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 30 Jun 2004 15:43:22 -0700 Subject: Documentation & Books In-Reply-To: <40E33A65.9040300@hyperactivesw.com> Message-ID: On Wednesday, June 30, 2004, at 03:10 PM, J. Landman Gay wrote: > On 6/30/04 3:56 PM, Mark Brownell wrote: > >> On Wednesday, June 30, 2004, at 10:52 AM, J. Landman Gay wrote: >>> You may want to wait until Rev 2.3 is released and see what you >>> think. >> When will that be? >> Bob Dorkelfin > > Mmmrff. That would be telling. ;) But if you promise to keep it a > secret: Real Soon Now. Right after all the bug-smashing is over. I thought so, or I guessed this was so,... or I hope so. I've been dorking around with the alpha 2.5 that might have been morphed into 2.3a1,2,&3 for a long time now. I've been waiting so long for this. > Say, aren't you the same Dorkelfin who was an extra in that Nemo > movie? Fine job, that. Can I have your autograph? > > -- > Jacqueline Landman Gay nope, I wasn't that fin, but this might sound fishy... put myAutoGraph into thisEmailResponse for thisReason I was blown to bits in Lethal Weapon III down in St Petersburg, Florida back in 93 I think it was. They even paid me $50 and fed me for that much fun. Mark From thierry.arbellot at wanadoo.fr Wed Jun 30 18:44:50 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Thu, 1 Jul 2004 00:44:50 +0200 Subject: VideoGrabber In-Reply-To: Message-ID: <188441DA-CAE7-11D8-A6A5-000A27E40768@wanadoo.fr> Rev only supports VFW video capture, not WDM capture devices, part of DirectX/DirectShow. So, if you use DV Camcorder connected to firewire, it should not work with Rev. Thierry. On Wednesday, Jun 30, 2004, at 22:55 Europe/Paris, Troy Rollins wrote: > > On Jun 30, 2004, at 3:41 PM, Troy Rollins wrote: >>> >> >> Well, I've hacked a while. My app errors whether in VFW or QT modes >> when videograbber is used, as does, it turns out, the sample >> videograbber stack. >> >> The device providing the video works fine in other (non Rev) video >> applications on the same machine. > > I should add that I'm not even capturing video, only previewing it. > Video card issue? How can I tell? And if that is the case, why might > it work fine outside of Rev, but fails in Rev apps (as well as the > IDE.)? > > XP Home. 1394/Firewire in. > > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From xico at tecnomundo.com.br Wed Jun 30 19:05:17 2004 From: xico at tecnomundo.com.br (Francisco Pires) Date: Wed, 30 Jun 2004 20:05:17 -0300 Subject: Newbie: database tutorial Message-ID: Hi I'm new using Revolution, but I used Real Basic. I'm looking for a step-by-step tutorial to create a database app. Thanks. From troy at rpsystems.net Wed Jun 30 19:27:29 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 30 Jun 2004 19:27:29 -0400 Subject: VideoGrabber In-Reply-To: <188441DA-CAE7-11D8-A6A5-000A27E40768@wanadoo.fr> References: <188441DA-CAE7-11D8-A6A5-000A27E40768@wanadoo.fr> Message-ID: <0E07D0F1-CAED-11D8-BD9C-000A95A09CF8@rpsystems.net> On Jun 30, 2004, at 6:44 PM, Thierry Arbellot wrote: > So, if you use DV Camcorder connected to firewire, it should not work > with Rev. Well, THAT su... er... is less than optimal. It isn't a camcorder, but it is firewire. What class of device works best then? And, this is also the case with the "QT" method? -- Troy RPSystems, Ltd. http://www.rpsystems.net From patrend at bigpond.com Wed Jun 30 19:34:21 2004 From: patrend at bigpond.com (Pat Trendler) Date: Thu, 1 Jul 2004 09:34:21 +1000 Subject: Set focusable property via script? Message-ID: <005701c45efa$ccd89f00$b000a8c0@mshome.net> "locktext" and "traversalOn" still allows cut and clear (if you have menu scripts for these of course, which you may have for other fields). I select "Disabled" as well in the properties if I don't want the fields altered at all or text copied. If I want to allow copy from the field I set "locktext" and "traversalOn" and catch cut and clear in the scripts. Pat patrend at bigpond.com From chipp at chipp.com Wed Jun 30 21:55:26 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 30 Jun 2004 20:55:26 -0500 Subject: altBrowser for Mac In-Reply-To: <075401c45e5d$c97dc990$6601a8c0@precision340> References: <075401c45e5d$c97dc990$6601a8c0@precision340> Message-ID: <40E36F0E.506@chipp.com> Well, Chris decided to jump in the MacOSX development environment (pls don't tell anyone or else he loses his card carrying Linux privledges) and has crafted a first version of altBrowser for MacOSX. It's not yet completed, but it is working (or so he tells me...I'm at WWDC right now). So a quick question for those interested. We're pretty sure we're not going to support the Mac before OSX. Is that a deal killer for those of you interested? Also, Chris wants to create a Linux altBrowser as well. Lastly, we've just completed Mac and PC zip externals for compressing/decompressing to zip files / folders. We'll be hoping soon to have something up for those interested. best, Chipp btw, funny thing. Richard Gaskin and I are here at WWDC representing RR. Richard saw the new dashboard presentation and decided that instead of waiting until 2005, he'd whip up a version inside RR here at the show. He just about completed it before time ran out..today. I really feel for Konfabulator-- Apple's done their best to screw them, and funny thing is how a lot of developers here think "Hey, it's good to have competition!" Richard also previewed his Devolutions package which he threatens to release almost as often as we do the Mac version of altBrowser. It's really cool. I'm trying to persuade him to release the beta at the Rev Masters Summit mid-July. Perhaps a few emails to ambassador at fourthworld.com would help get the message across:-) From troy at rpsystems.net Wed Jun 30 21:56:07 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 30 Jun 2004 21:56:07 -0400 Subject: altBrowser for Mac In-Reply-To: <40E36F0E.506@chipp.com> References: <075401c45e5d$c97dc990$6601a8c0@precision340> <40E36F0E.506@chipp.com> Message-ID: On Jun 30, 2004, at 9:55 PM, Chipp Walters wrote: > So a quick question for those interested. We're pretty sure we're not > going to support the Mac before OSX. Is that a deal killer for those > of you interested? Not for me! OSX sounds great. -- Troy RPSystems, Ltd. http://www.rpsystems.net From briany at qldlearning.com Wed Jun 30 21:55:47 2004 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 30 Jun 2004 21:55:47 -0400 Subject: altBrowser for Mac In-Reply-To: <40E36F0E.506@chipp.com> Message-ID: > Well, > > Chris decided to jump in the MacOSX development environment (pls don't > tell anyone or else he loses his card carrying Linux privledges) and > has crafted a first version of altBrowser for MacOSX. It's not yet > completed, but it is working (or so he tells me...I'm at WWDC right > now). > > So a quick question for those interested. We're pretty sure we're not > going to support the Mac before OSX. Is that a deal killer for those > of you interested? For an embedded browser, requiring OS X seems pretty reasonable. Consider that Safari doesn't run under OS 9, Internet Explorer is discontinued, and Mozilla isn't a great option there either- and I've never even seen an embedded browser control anywhere on OS 9 (although it may exist). I'm guessing Chris would spend at least 3 times the effort supporting OS 9 than any of Windows, OS X or Linux... Of course that's easy for me to say, since I haven't run OS 9 in a couple of years... - Brian From troy at rpsystems.net Wed Jun 30 22:00:49 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 30 Jun 2004 22:00:49 -0400 Subject: VideoGrabber In-Reply-To: <0E07D0F1-CAED-11D8-BD9C-000A95A09CF8@rpsystems.net> References: <188441DA-CAE7-11D8-A6A5-000A27E40768@wanadoo.fr> <0E07D0F1-CAED-11D8-BD9C-000A95A09CF8@rpsystems.net> Message-ID: <7931BE48-CB02-11D8-BD9C-000A95A09CF8@rpsystems.net> On Jun 30, 2004, at 7:27 PM, Troy Rollins wrote: > It isn't a camcorder, but it is firewire. > > What class of device works best then? > > And, this is also the case with the "QT" method? > Sorry to dwell, but this is a final, and crucial function of my software. Is there a known-to-work analog to digital converter that is compatible with VideoGrabber on Windows XP? USB or Firewire? The one I have a "Dazzle Hollywood Edge" does not seem compatible in either "VFW" or "QT" modes. I need to be able to take composite or S-Video and convert it to a videoGrabber compatible format. If I can find one that works, I can recommend that one. I currently don't have anything proving it works at all under Windows XP. OSX works with everything... of course. -- Troy RPSystems, Ltd. http://www.rpsystems.net From sarahr at genesearch.com.au Wed Jun 30 22:02:03 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 1 Jul 2004 12:02:03 +1000 Subject: altBrowser for Mac In-Reply-To: <40E36F0E.506@chipp.com> References: <075401c45e5d$c97dc990$6601a8c0@precision340> <40E36F0E.506@chipp.com> Message-ID: > btw, funny thing. Richard Gaskin and I are here at WWDC representing > RR. Richard saw the new dashboard presentation and decided that > instead of waiting until 2005, he'd whip up a version inside RR here > at the show. He just about completed it before time ran out..today. Wow - I can't wait to see that! > > I really feel for Konfabulator-- Apple's done their best to screw > them, and funny thing is how a lot of developers here think "Hey, it's > good to have competition!" Check out this article for an interesting view point on all this: http://daringfireball.net/2004/06/dashboard_vs_konfabulator Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From JaysLists at triad.rr.com Wed Jun 30 22:07:59 2004 From: JaysLists at triad.rr.com (Jay Madren) Date: Wed, 30 Jun 2004 22:07:59 -0400 Subject: How to use database-linked controls In-Reply-To: <20040628093457.39505.qmail@web60501.mail.yahoo.com> Message-ID: On June 28, 2004 Jan Schenkel wrote: But don't rely on these too much, as the main reason these calls are going to remain undocumented for now, is that we're contemplating a complete rewrite of the system, which is bound to break stacks that rely on (a subset of) these undocumented calls. ------------------------------------------------------ Jan, Will bug #511 be addressed in this rewrite, or anytime soon if a rewrite is not forthcoming? Jay Madren From revdan at danshafer.com Wed Jun 30 22:20:56 2004 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 30 Jun 2004 19:20:56 -0700 Subject: altBrowser for Mac In-Reply-To: <40E36F0E.506@chipp.com> References: <075401c45e5d$c97dc990$6601a8c0@precision340> <40E36F0E.506@chipp.com> Message-ID: <48B27D6F-CB05-11D8-ACB2-000A95AE42E6@danshafer.com> OS X alone is just fantastic. I'm waiting here by my emailbox with my hands open ready to receive it. Woohoo!!! Dan On Jun 30, 2004, at 6:55 PM, Chipp Walters wrote: > Well, > > Chris decided to jump in the MacOSX development environment (pls don't > tell anyone or else he loses his card carrying Linux privledges) and > has crafted a first version of altBrowser for MacOSX. It's not yet > completed, but it is working (or so he tells me...I'm at WWDC right > now). > > So a quick question for those interested. We're pretty sure we're not > going to support the Mac before OSX. Is that a deal killer for those > of you interested? > > Also, Chris wants to create a Linux altBrowser as well. > > Lastly, we've just completed Mac and PC zip externals for > compressing/decompressing to zip files / folders. We'll be hoping soon > to have something up for those interested. > > best, > > Chipp > > btw, funny thing. Richard Gaskin and I are here at WWDC representing > RR. Richard saw the new dashboard presentation and decided that > instead of waiting until 2005, he'd whip up a version inside RR here > at the show. He just about completed it before time ran out..today. > > I really feel for Konfabulator-- Apple's done their best to screw > them, and funny thing is how a lot of developers here think "Hey, it's > good to have competition!" Richard also previewed his Devolutions > package which he threatens to release almost as often as we do the Mac > version of altBrowser. It's really cool. I'm trying to persuade him to > release the beta at the Rev Masters Summit mid-July. Perhaps a few > emails to ambassador at fourthworld.com would help get the message > across:-) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From hershbp at verizon.net Wed Jun 30 22:27:33 2004 From: hershbp at verizon.net (hershbp at verizon.net) Date: Wed, 30 Jun 2004 22:27:33 -0400 Subject: altBrowser for Mac In-Reply-To: <48B27D6F-CB05-11D8-ACB2-000A95AE42E6@danshafer.com> Message-ID: <35C04450-CB06-11D8-8D40-0030654C1E62@verizon.net> On Wednesday, June 30, 2004, at 10:20 PM, Dan Shafer wrote: > OS X alone is just fantastic. I'm waiting here by my emailbox with my > hands open ready to receive it. make sure you lean on something you shouldn't get tired . > > Woohoo!!! > > Dan > > On Jun 30, 2004, at 6:55 PM, Chipp Walters wrote: > >> Well, >> >> Chris decided to jump in the MacOSX development environment (pls >> don't tell anyone or else he loses his card carrying Linux >> privledges) and has crafted a first version of altBrowser for MacOSX. >> It's not yet completed, but it is working (or so he tells me...I'm at >> WWDC right now). >> >> So a quick question for those interested. We're pretty sure we're not >> going to support the Mac before OSX. Is that a deal killer for those >> of you interested? >> >> Also, Chris wants to create a Linux altBrowser as well. >> >> Lastly, we've just completed Mac and PC zip externals for >> compressing/decompressing to zip files / folders. We'll be hoping >> soon to have something up for those interested. >> >> best, >> >> Chipp >> >> btw, funny thing. Richard Gaskin and I are here at WWDC representing >> RR. Richard saw the new dashboard presentation and decided that >> instead of waiting until 2005, he'd whip up a version inside RR here >> at the show. He just about completed it before time ran out..today. >> >> I really feel for Konfabulator-- Apple's done their best to screw >> them, and funny thing is how a lot of developers here think "Hey, >> it's good to have competition!" Richard also previewed his >> Devolutions package which he threatens to release almost as often as >> we do the Mac version of altBrowser. It's really cool. I'm trying to >> persuade him to release the beta at the Rev Masters Summit mid-July. >> Perhaps a few emails to ambassador at fourthworld.com would help get the >> message across:-) >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From RGould8 at aol.com Wed Jun 30 22:33:39 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed, 30 Jun 2004 22:33:39 EDT Subject: altBrowser for Mac Message-ID: <15d.38db8b99.2e14d203@aol.com> Mac OS X is fine by me. I can't wait to see it! I'll buy it in a heartbeat. In a message dated 6/30/04 10:21:29 PM, revdan at danshafer.com writes: > OS X alone is just fantastic. I'm waiting here by my emailbox with my > hands open ready to receive it. > > Woohoo!!! > > Dan > From soapdog at mac.com Wed Jun 30 22:34:54 2004 From: soapdog at mac.com (Andre Garzia) Date: Wed, 30 Jun 2004 23:34:54 -0300 Subject: Newbie: database tutorial In-Reply-To: References: Message-ID: <3C492E2C-CB07-11D8-8B65-0003936D012E@mac.com> Xico, Be Welcome to the best and most helpfull comunity ever! I've got some info on database app! Nice seeing you here! How's tecnomundo? PS: Xico aqui eh o Andre SoapDog que ajudava o macmagazine.com.br Abracos Andre On Jun 30, 2004, at 8:05 PM, Francisco Pires wrote: > Hi > > I'm new using Revolution, but I used Real Basic. I'm looking for a > step-by-step tutorial to create a database app. > > Thanks. > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From soapdog at mac.com Wed Jun 30 22:38:11 2004 From: soapdog at mac.com (Andre Garzia) Date: Wed, 30 Jun 2004 23:38:11 -0300 Subject: altBrowser for Mac In-Reply-To: <40E36F0E.506@chipp.com> References: <075401c45e5d$c97dc990$6601a8c0@precision340> <40E36F0E.506@chipp.com> Message-ID: Chipp, I am very interested in altBrowser for OS X. I can test anything you need, I've got two macs here one G3 and a G4, both running 10.3.4 and Rev 2.2 Studio License. I also have a linux, a freeBSD and a WinXP box, so I can serve as testbed for app that need crossplatform talking. If everybody going to release something at the summit, so will I!!!! Wait for surprises!!!! :D Cheers Andre On Jun 30, 2004, at 10:55 PM, Chipp Walters wrote: > Well, > > Chris decided to jump in the MacOSX development environment (pls don't > tell anyone or else he loses his card carrying Linux privledges) and > has crafted a first version of altBrowser for MacOSX. It's not yet > completed, but it is working (or so he tells me...I'm at WWDC right > now). > > So a quick question for those interested. We're pretty sure we're not > going to support the Mac before OSX. Is that a deal killer for those > of you interested? > > Also, Chris wants to create a Linux altBrowser as well. > > Lastly, we've just completed Mac and PC zip externals for > compressing/decompressing to zip files / folders. We'll be hoping soon > to have something up for those interested. > > best, > > Chipp > > btw, funny thing. Richard Gaskin and I are here at WWDC representing > RR. Richard saw the new dashboard presentation and decided that > instead of waiting until 2005, he'd whip up a version inside RR here > at the show. He just about completed it before time ran out..today. > > I really feel for Konfabulator-- Apple's done their best to screw > them, and funny thing is how a lot of developers here think "Hey, it's > good to have competition!" Richard also previewed his Devolutions > package which he threatens to release almost as often as we do the Mac > version of altBrowser. It's really cool. I'm trying to persuade him to > release the beta at the Rev Masters Summit mid-July. Perhaps a few > emails to ambassador at fourthworld.com would help get the message > across:-) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From tsj at unimelb.edu.au Wed Jun 30 22:41:04 2004 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 1 Jul 2004 12:41:04 +1000 Subject: altBrowser for Mac In-Reply-To: <20040701020025.AF88E9300C4@mail.runrev.com> References: <20040701020025.AF88E9300C4@mail.runrev.com> Message-ID: <1924683E-CB08-11D8-8D5C-0003930D06A0@unimelb.edu.au> > From: Chipp Walters > Date: 1 July 2004 11:55:26 AM > To: How to use Revolution > Subject: altBrowser for Mac > Reply-To: How to use Revolution > > > Well, > > Chris decided to jump in the MacOSX development environment (pls don't > tell anyone or else he loses his card carrying Linux privledges) and > has crafted a first version of altBrowser for MacOSX. It's not yet > completed, but it is working (or so he tells me...I'm at WWDC right > now). > > So a quick question for those interested. We're pretty sure we're not > going to support the Mac before OSX. Is that a deal killer for those > of you interested? No, that's fabulous! Terry... From troy at rpsystems.net Wed Jun 30 22:52:30 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 30 Jun 2004 22:52:30 -0400 Subject: altBrowser for Mac In-Reply-To: <40E36F0E.506@chipp.com> References: <075401c45e5d$c97dc990$6601a8c0@precision340> <40E36F0E.506@chipp.com> Message-ID: On Jun 30, 2004, at 9:55 PM, Chipp Walters wrote: > Chris decided to jump in the MacOSX development environment (pls don't > tell anyone or else he loses his card carrying Linux privledges) and > has crafted a first version of altBrowser for MacOSX. It's not yet > completed, but it is working (or so he tells me...I'm at WWDC right > now). Speaking of altBrowser in general, I'm wondering what the extent of the implementation is. I took a look on the site and it doesn't fully indicate what level of communication the browser has with the stack. Is it possible to intercept or at least be alerted to selected hyperlink data? Do my Rev scripts get a callback when actions take place within the browser? Do I know when the page has been reloaded? Do I have access to page download status? Is it plug in compatible? Sorry, I just couldn't find any of this info... -- Troy RPSystems, Ltd. http://www.rpsystems.net From troy at rpsystems.net Wed Jun 30 23:15:49 2004 From: troy at rpsystems.net (Troy Rollins) Date: Wed, 30 Jun 2004 23:15:49 -0400 Subject: altBrowser for Mac In-Reply-To: References: <075401c45e5d$c97dc990$6601a8c0@precision340> <40E36F0E.506@chipp.com> Message-ID: On Jun 30, 2004, at 10:52 PM, Troy Rollins wrote: I downloaded the demo (quite cool) and it looks as though I can answer some of my own questions. > Is it possible to intercept or at least be alerted to selected > hyperlink data? To some degree. Properties can be obtained which indicate a link jump is initiated, and that it is completed. You can also determine what page URL is currently displayed. > Do my Rev scripts get a callback when actions take place within the > browser? See above. > Do I know when the page has been reloaded? Again. > Do I have access to page download status? Only at the page level, but not of individual components on a page. > Is it plug in compatible? Doesn't seem to be?? Couldn't get Flash to display, etc. Which would indicate it is mostly for text and images? Does that seem accurate? -- Troy RPSystems, Ltd. http://www.rpsystems.net