Re: Rev WIKI offline browsing
I think the easiest way would be to write a script to just grab it all. The pages are numbered starting from 1. The first page of the book is at: http://www.mathfieldday.com:8080/revdocs/2382 On Jan 25, 2005, at 10:10 AM, Alejandro Tejada wrote: How could i download the whole contents of this wiki to my hard disk, for offline browsing? regards, Geoff Canyon [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: len(right(number, 3))
I searched len and got put char (length(it) - 3) to (length(it)) of it into myExtension but don't understand what it means. 1. A negative char means counting from the end, so char -3 means the third char from the end. 2. Len is short for 'length, or the total number of chars in the string. 3. The above means put character starting at the total length of the string less 3, up to character the total length of the string into myExtension... Or put the last 3 characters of the string into myExtension. My guess is that the syntax is designed to demonstrate the length function rather than optimise the task. A simpler version of the example above would be: put char -3 to -1 of it into myExtension HTH /H ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Simple tutorial on linktext and clicking list text
Folks: I'm new to Revolution and I'd like basic, step-by-step instructions on making text in a field clickable. I've gone through the Rev docs but can't seem to get anything to work. Please note that I have never attempted this type of thing before so some things that may be obvious aren't for me. For example, when I enter code, where exactly do I enter it? As a card, object, or stack script? Sorry for the annoyance. I've managed to build a simple stack using buttons but I'd prefer to use links and clickcable lists if possible. Thanks. Steve __ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Simple tutorial on linktext and clicking list text
it's quite simple. Make a field with some text. If you want the text to look like a web clickeable url make the text link style (text menu). In the field's script (or the card's) put in the handler on linkclicked w if w =... end linkclicked Other alternatives without linked text are: on mouseup get the clickchunk or clicktext... if it is whatilike then... Enjoy Xavier Stephen Van Esch [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 26.01.2005 11:20 Please respond to How to use Revolution To: use-revolution@lists.runrev.com cc: (bcc: Xavier Bury/CLEARSTREAM/GDB) Subject:Simple tutorial on linktext and clicking list text . Folks: I'm new to Revolution and I'd like basic, step-by-step instructions on making text in a field clickable. I've gone through the Rev docs but can't seem to get anything to work. Please note that I have never attempted this type of thing before so some things that may be obvious aren't for me. For example, when I enter code, where exactly do I enter it? As a card, object, or stack script? Sorry for the annoyance. I've managed to build a simple stack using buttons but I'd prefer to use links and clickcable lists if possible. Thanks. Steve __ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - Visit us at http://www.clearstream.com IMPORTANT MESSAGEInternet 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 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: ANN: Online FAQ Server and a Plugin
on Wed, 26 Jan 2005 Andre Garzia wrote: I just created a silly as hell online FAQ Server. It's a simple stack that will connect to a online database and allow user to browse, search and view common FAQs. Any user is also encouraged to upload as many Questions as he can... the database is empty for now but anyone can upload and edit data. Full text search is also implemented. Hi Andre, Excellent idea! Now you need to provide some fallback for users that do not have all pieces required. Looks like this requires some dll... :-( What means the number 219 that i see when i click on a question? The online database is a MySQL running at my domain WeCode.org. The database routines are those from LibDatabase from Trevor DeVore so this lil app is also a simple demo of database application... How could i download all the questions and answers to offline browsing? Keep up(loaded) the good work! al = Visit my site: http://www.geocities.com/capellan2000/ __ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT -- Mac OSX or Classic?
Nicolas, Apple has not shipped a computer that will boot into OS 9 for over a year. At some point in the not too distant future they will no longer support the use of OS 9 Classic inside of OS X. All of the new Apple applications (iTunes, iPhoto, Pages, Keynote, etc.) are OS X only. Somewhere between 10.2 and 10.3, OS X became a better OS than OS 9. If money is a concern (and when is it not) I'd suggest the eMac. It has proven to be a solid computer with a good built-in monitor and ample external expansion. By the time you would add monitor, keyboard and mouse to a Mac mini, you would have the price of an eMac - but the eMac has two RAM slots (instead of the mini's one) and a larger, faster 3 1/2 inch hard drive (instead of a laptop-sized 2 1/2). If you go the eMac route, I'd suggest getting the tilt/swivel stand for it - not only does this let you position the monitor more accurately and easily, it also frees up some desk space because the stand takes up less space than the computer. Paul Looney I have no doubt that the original poster should get OSX version of Rev for his licence. He can produce OS9 version in his OSX Studio should there ever be a need. OS9 is a dead end street whereas OSX is on the run (sorry for mixing the mataphors). However, I feel that the statements as above are somewhat flawed when presented to community of developers. As are the stats from sales or downloads of specific products. OS (as other software) do not need to be officially supported to be used. As I see it, there is a growing dichotomy in Mac world. Classic Mac OS users are becoming more and more distinct from OSX users. I agree with Paul that newest OSX is indeed an excellent choice, although I look at it as a different OS which just happens to use some Mac classic philosophy (aside from some backwards compatibility). I believe that those who wanted or had to switch, have already done so (I know of a number of people running both systems on different computers they own). Those who stay with OS9, do so for specific reasons. Richard is quite right that Classic users mostly have the software they need and are thus not into buying as much as the OSX users. This, however, does not mean that there is no money to be made there. The installed base is still a huge number but one has to look at them as a vertical rather than general market. If one writes a program that appeals to those people, it can still make decent income. But as a general market, it is truly as good as dead. Robert ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: use-revolution Digest, Vol 16, Issue 81
The two length expressions evaluate to numbers - so you're actually saying (using your example of 12345678): put char 5 to 8 of it into myExtension However, transcript can count backwards as well as forwards, so simpler would be: put char -3 to -1 of it into myExtension negative numbers in this context simply mean counting backwards from the end of the string. Cheers Mark On 26 Jan 2005, at 06:34, [EMAIL PROTECTED] wrote: put char (length(it) - 3) to (length(it)) of it into myExtension but don't understand what it means. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Simple tutorial on linktext and clicking list text
One way that I know of (and apologies if this explanation is overly simple): (B (B1) create a field object and type some text into it (B (B2) double-click on that field object to open up its Properties window (B (B3) in that Properties window, check "lock text" (B (B4) still on that Properties, click on the triangle-button near the top-right (Band select "edit script" (B (B5) in the script window that opens up, enter this script (B (Bon mouseUp (B put the clickText into field "fWhatever" (Bend mouseUp (B (B6) still in the script window, click the "Apply" button and then close the (Bscript window (B (B7) create a field, double-click it to open its Properties window, type (B"fWhatever" in the "name" box, and then close the Properties window (B (BThat's it. When you click on a word it should appear in the other field. (B (BAs for the documentation, the following terms might be useful starting (Bplaces: (B (BclickText (BselectedText (BselectedLine (BselectedChunk (B (BCheers, (BNicolas Cueto (Bniconiko language school (B(Japan) (B (B- Original Message - (BFrom: "Stephen Van Esch" [EMAIL PROTECTED] (BTo: use-revolution@lists.runrev.com (BSent: Wednesday, January 26, 2005 7:20 PM (BSubject: Simple tutorial on linktext and clicking list text (B (B (B Folks: (B (B I'm new to Revolution and I'd like basic, step-by-step (B instructions on making text in a field clickable. I've (B gone through the Rev docs but can't seem to get (B anything to work. (B (B Please note that I have never attempted this type of (B thing before so some things that may be obvious aren't (B for me. For example, when I enter code, where exactly (B do I enter it? As a card, object, or stack script? (B (B Sorry for the annoyance. I've managed to build a (B simple stack using buttons but I'd prefer to use links (B and clickcable lists if possible. (B (B Thanks. (B (B Steve (B (B (B (B __ (B Do you Yahoo!? (B Yahoo! Mail - Find what you need with new enhanced search. (B http://info.mail.yahoo.com/mail_250 (B ___ (B use-revolution mailing list (B use-revolution@lists.runrev.com (B http://lists.runrev.com/mailman/listinfo/use-revolution (B (B___ (Buse-revolution mailing list (Buse-revolution@lists.runrev.com (Bhttp://lists.runrev.com/mailman/listinfo/use-revolution
Beginner's List
Is there a beginner's list available? I've just purchased Revolution and I'm having some problems (on WinXP) but most of the questions I see on this list are way past where I'm at. I'm sure when my book arrives I'll be able to answer a lot of these questions myself but I'd like to get started. Thank you! Len Morgan ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Beginner's List
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not a separate one, but if you ask, I'm sure someone can help you with some answers. We take beginners' questions on this list too! On Jan 26, 2005, at 9:18 AM, Len Morgan wrote: Is there a beginner's list available? I've just purchased Revolution and I'm having some problems (on WinXP) but most of the questions I see on this list are way past where I'm at. I'm sure when my book arrives I'll be able to answer a lot of these questions myself but I'd like to get started. Thank you! Len Morgan ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB96i+7aqtWrR9cZoRAutcAJ42WGgT2Oi5ulWhAXgPlB7+pv7ZwACgkdNj 0/711HyO1slPiFim56RsT30= =TPdX -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Beginner's List
Don't forget you can search the archives of this list for answers to questions you may have. I have found the archives invaluable. http://www.mail-archive.com/use-revolution@lists.runrev.com/ Jonathan ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Analyzing News Stories
Hello everyone, I'm starting a research project that will relate the flow of information, in the form of news reports from Reuters and Canada NewsWire, to activity in capital markets, namely, the volume and volatility of trade on the stock market. The Canadian news sample will consist of about 240,000 stories going back to 1995. I have two questions about processing the news data with Revolution. 1. Creating an index of key words. I will use arrays to create indexes of key words from the headlines and the stories. There are many words that must be kept out of the indexes: a, the, about, there, this, etc. The list of these is probably longer than I can imagine. Does anyone have a list of words that would typically be omitted from a key word index and which they'd be willing to share? If not, does anyone know where I might get such a list? 2. Obtaining the data. I already have the Canadian news stories but our method of retrieving them was less than ideal, and I want to improve upon this for follow up studies. The typical set up for most web sites that provide information to the public, and this is true of many scientific sites, is that they take the visitor's query and then return a list of hits. These hits are displayed as hyperlinks that lead to more detailed underlying information. You know the story. The problem for researchers is that we're often interested in analyzing all of the information that comes up in a query. So we prefer to be able to download all of the data in some raw format, text ideally, go through it, clean it up, discard what they don't need, and proceed with our research. Some sites do permit visitors to download entire data sets from FTP sites or through more direct database communication, but most do not. Do you think it's feasible to create a kind of web data extraction utility in Revolution? I'm thinking that I would visit a news site, for example, enter a query, and then use resulting tags that appear in the URL field to reverse engineer the way their database handles the queries so that I can automate it in Revolution. Here's an example of one hit from Canada NewsWire drilled down through the hyperlinks to an actual story. http://www.newswire.ca/en/releases/archive/January2005/26/c7010.html There's the month, year, date, and serial number (c7010) for the story. In Revolution, I would then work with repeat ... put url (the info above cycled through the serial numbers and dates) into a text file end repeat The other piece of information that is needed, and which will vary from site to site, the way the serial numbering works. Any thoughts on this approach? Are there ethical considerations in obtaining information in this way? My guess is no because it simply means going from clicking one thousand hyperlinks at a web site to clicking one Revolution button to obtain the same number of stories. Regards, Greg Gregory Lypny Associate Professor of Finance John Molson School of Business Concordia University Montreal, Canada ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Question regarding the clipboard
Hello... I have a problem that occurs about one in ten times. I have a long string, like around 60 - 70 thousand characters. It is necessary to remove all of the linefeeds from this string. After I remove the linefeeds, I put the string into the clipboard. Usually, it works just fine. But occassionally, it only places the first 2 or 3 thousand characters on the clipboard. Each card in my stack contains a bunch of news articles, that are combined and given html formatting. For a given card, if it has this problem, then it will have it every single time. But the next day, with a new set of news articles and a new card, it probably won't have this problem. By sitting here and playing with one of the cards in which this problem occurs, I have determined that the string still retains all of its characters. Thus, the problem lies in setting the clipboardData to the string. Can anyone imagine a reason why the clipboardData wouldn't take the whole thing (but only occassionally)? I have tried: Set the clipboarddata to htmlinfo And Set the clipboarddata[text] to htmlinfo Thanks, Jonathan ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Analyzing News Stories
Most news outlets are moving to RSS feeds... You could probably set up Rev to continuously monitor an RSS feed, and pull out, save, and categorieze those stories that you need. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregory Lypny Sent: Wednesday, January 26, 2005 9:49 AM To: Revolution Subject: Analyzing News Stories Hello everyone, I'm starting a research project that will relate the flow of information, in the form of news reports from Reuters and Canada NewsWire, to activity in capital markets, namely, the volume and volatility of trade on the stock market. The Canadian news sample will consist of about 240,000 stories going back to 1995. I have two questions about processing the news data with Revolution. 1. Creating an index of key words. I will use arrays to create indexes of key words from the headlines and the stories. There are many words that must be kept out of the indexes: a, the, about, there, this, etc. The list of these is probably longer than I can imagine. Does anyone have a list of words that would typically be omitted from a key word index and which they'd be willing to share? If not, does anyone know where I might get such a list? 2. Obtaining the data. I already have the Canadian news stories but our method of retrieving them was less than ideal, and I want to improve upon this for follow up studies. The typical set up for most web sites that provide information to the public, and this is true of many scientific sites, is that they take the visitor's query and then return a list of hits. These hits are displayed as hyperlinks that lead to more detailed underlying information. You know the story. The problem for researchers is that we're often interested in analyzing all of the information that comes up in a query. So we prefer to be able to download all of the data in some raw format, text ideally, go through it, clean it up, discard what they don't need, and proceed with our research. Some sites do permit visitors to download entire data sets from FTP sites or through more direct database communication, but most do not. Do you think it's feasible to create a kind of web data extraction utility in Revolution? I'm thinking that I would visit a news site, for example, enter a query, and then use resulting tags that appear in the URL field to reverse engineer the way their database handles the queries so that I can automate it in Revolution. Here's an example of one hit from Canada NewsWire drilled down through the hyperlinks to an actual story. http://www.newswire.ca/en/releases/archive/January2005/26/c7010.html There's the month, year, date, and serial number (c7010) for the story. In Revolution, I would then work with repeat ... put url (the info above cycled through the serial numbers and dates) into a text file end repeat The other piece of information that is needed, and which will vary from site to site, the way the serial numbering works. Any thoughts on this approach? Are there ethical considerations in obtaining information in this way? My guess is no because it simply means going from clicking one thousand hyperlinks at a web site to clicking one Revolution button to obtain the same number of stories. Regards, Greg Gregory Lypny Associate Professor of Finance John Molson School of Business Concordia University Montreal, Canada ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Question regarding the clipboard
Lynch, Jonathan wrote: Hello... I have a problem that occurs about one in ten times. I have a long string, like around 60 - 70 thousand characters. It is necessary to remove all of the linefeeds from this string. After I remove the linefeeds, I put the string into the clipboard. Usually, it works just fine. But occassionally, it only places the first 2 or 3 thousand characters on the clipboard. Each card in my stack contains a bunch of news articles, that are combined and given html formatting. For a given card, if it has this problem, then it will have it every single time. But the next day, with a new set of news articles and a new card, it probably won't have this problem. By sitting here and playing with one of the cards in which this problem occurs, I have determined that the string still retains all of its characters. Thus, the problem lies in setting the clipboardData to the string. Can anyone imagine a reason why the clipboardData wouldn't take the whole thing (but only occassionally)? There's a limit of 65,536 characters in a line within a field. I wonder if the clipboard counts as a field for this purpose ? -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Analyzing News Stories
Gregory Lypny wrote: Hello everyone, I'm starting a research project that will relate the flow of information, in the form of news reports from Reuters and Canada NewsWire, to activity in capital markets, namely, the volume and volatility of trade on the stock market. The Canadian news sample will consist of about 240,000 stories going back to 1995. I have two questions about processing the news data with Revolution. 1. Creating an index of key words. I will use arrays to create indexes of key words from the headlines and the stories. There are many words that must be kept out of the indexes: a, the, about, there, this, etc. The list of these is probably longer than I can imagine. Does anyone have a list of words that would typically be omitted from a key word index and which they'd be willing to share? If not, does anyone know where I might get such a list? Index every word on a random sample of 100 stories. Eliminate any word that appears in more than 80% of them. Look briefly at those words that appear in between 50% and 80% and see what you think about them; if necessary, adjust the thresholds until it feels right for your purposes. Do you want to index each word separately, or try to accumulate common roots; e.g. cause, causes, caused, causing, causation ... one entry, 2 entries, 5 entries? 2. Obtaining the data. I already have the Canadian news stories but our method of retrieving them was less than ideal, and I want to improve upon this for follow up studies. The typical set up for most web sites that provide information to the public, and this is true of many scientific sites, is that they take the visitor's query and then return a list of hits. These hits are displayed as hyperlinks that lead to more detailed underlying information. You know the story. The problem for researchers is that we're often interested in analyzing all of the information that comes up in a query. So we prefer to be able to download all of the data in some raw format, text ideally, go through it, clean it up, discard what they don't need, and proceed with our research. Some sites do permit visitors to download entire data sets from FTP sites or through more direct database communication, but most do not. Do you think it's feasible to create a kind of web data extraction utility in Revolution? I'm thinking that I would visit a news site, for example, enter a query, and then use resulting tags that appear in the URL field to reverse engineer the way their database handles the queries so that I can automate it in Revolution. Here's an example of one hit from Canada NewsWire drilled down through the hyperlinks to an actual story. http://www.newswire.ca/en/releases/archive/January2005/26/c7010.html There's the month, year, date, and serial number (c7010) for the story. In Revolution, I would then work with repeat ... put url (the info above cycled through the serial numbers and dates) into a text file end repeat The other piece of information that is needed, and which will vary from site to site, the way the serial numbering works. Any thoughts on this approach? Are there ethical considerations in obtaining information in this way? My guess is no because it simply means going from clicking one thousand hyperlinks at a web site to clicking one Revolution button to obtain the same number of stories. I'd worry about whether I had deduced the serial numbering scheme fully. Did I get every story ? Could there be any particular kind of story that was indexed differently (e.g. stories printed straight form the AP wire might be indexed differently from those written, or extensively modified, by the paper's own writers). There are some ethical issues about collecting large amounts of data; you should, at a minimum, read up on the content of the robots.txt system, and in general conform to the site's requests as described in their robots.txt files. -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Question regarding the clipboard
But then, why would it stop around 2 or 3 K - and why would it only do it occassionally? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Tweedly Sent: Wednesday, January 26, 2005 10:09 AM To: How to use Revolution Subject: Re: Question regarding the clipboard Lynch, Jonathan wrote: Hello... I have a problem that occurs about one in ten times. I have a long string, like around 60 - 70 thousand characters. It is necessary to remove all of the linefeeds from this string. After I remove the linefeeds, I put the string into the clipboard. Usually, it works just fine. But occassionally, it only places the first 2 or 3 thousand characters on the clipboard. Each card in my stack contains a bunch of news articles, that are combined and given html formatting. For a given card, if it has this problem, then it will have it every single time. But the next day, with a new set of news articles and a new card, it probably won't have this problem. By sitting here and playing with one of the cards in which this problem occurs, I have determined that the string still retains all of its characters. Thus, the problem lies in setting the clipboardData to the string. Can anyone imagine a reason why the clipboardData wouldn't take the whole thing (but only occassionally)? There's a limit of 65,536 characters in a line within a field. I wonder if the clipboard counts as a field for this purpose ? -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Printrotated
Judging from the lack of response to my question earlier, no one knows what I was talking about or hasn't had that experience with using printrotated. Can anyone tell me just how it works to do what it does? The problem is on XP. and the app that won't hold the portrait mode is an online app (not a Rev app). Word doesn't seem to have been affected--the default is still portrait. Is there anywhere in IE to set print orientation defaults? It's possible that the script I was running at the time did not have the set printrotated to false at the end (as it does now). Thanks, Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Analyzing News Stories
Greg, Part of my XOS project is to do with knowledge management or data mining (both have overlapping zones of usage). But basically it allows me to regroup disparate data and reorganize it nearly automatically - the keywords and links are automatically detected and the exceptions are already quite long... Furthermore, there's keyword hyperlinking and category trees to cross-reference, classify or nagivate across data. Unfortunately I haven't found many who are interested in getting deeper into developping this - so i've been doing it alone for some years but it is quite more evolved than anything i've seen so far. You can find a template stack and (somewhat raw) explanations of XOS at http://www.monsieurx.com/modules.php?name=Newsfile=articlesid=166 This is mini-xos all in one stack - the real application depends on plugin modules which you add to folders and distributed datas which can be anywhere. Each tab you see in the application is actually just a template. I got dozens of templates which I can copy paste across any new xos database stack which reduces common programming by about 90% in some cases ;) I have a webextraction tool like you mention in another template and lastly you can also check discretebrowser which takes web viewing another step up with better context analysis (keywords, media, links to name a few already present). Adding more features or combining the discrete browser into xos is just copy paste BTW! Few changes would be required and then linking cards to a database since stacks are a bit limited in data amounts. Check it out. For the list of common ignored keywords, go in the Options tab you will see ignore list below on the left. Although you can add them manually, you can do so with a couple clicks using the keywords interface which is present in each object/record in the book/database. If a keyword has too many cross references it must be either a context root keyword or a to be ignored keyword. cheers Xavier -- http://monsieurx.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregory Lypny Sent: Wednesday, January 26, 2005 15:49 To: Revolution Subject: Analyzing News Stories Hello everyone, I'm starting a research project that will relate the flow of information, in the form of news reports from Reuters and Canada NewsWire, to activity in capital markets, namely, the volume and volatility of trade on the stock market. The Canadian news sample will consist of about 240,000 stories going back to 1995. I have two questions about processing the news data with Revolution. 1. Creating an index of key words. I will use arrays to create indexes of key words from the headlines and the stories. There are many words that must be kept out of the indexes: a, the, about, there, this, etc. The list of these is probably longer than I can imagine. Does anyone have a list of words that would typically be omitted from a key word index and which they'd be willing to share? If not, does anyone know where I might get such a list? 2. Obtaining the data. I already have the Canadian news stories but our method of retrieving them was less than ideal, and I want to improve upon this for follow up studies. The typical set up for most web sites that provide information to the public, and this is true of many scientific sites, is that they take the visitor's query and then return a list of hits. These hits are displayed as hyperlinks that lead to more detailed underlying information. You know the story. The problem for researchers is that we're often interested in analyzing all of the information that comes up in a query. So we prefer to be able to download all of the data in some raw format, text ideally, go through it, clean it up, discard what they don't need, and proceed with our research. Some sites do permit visitors to download entire data sets from FTP sites or through more direct database communication, but most do not. Do you think it's feasible to create a kind of web data extraction utility in Revolution? I'm thinking that I would visit a news site, for example, enter a query, and then use resulting tags that appear in the URL field to reverse engineer the way their database handles the queries so that I can automate it in Revolution. Here's an example of one hit from Canada NewsWire drilled down through the hyperlinks to an actual story. http://www.newswire.ca/en/releases/archive/January2005/26/c7010.html There's the month, year, date, and serial number (c7010) for the story. In Revolution, I would then work with repeat ... put url (the info above cycled through the serial numbers and dates) into a text file end repeat The other piece of information that is needed, and which will vary from site to site, the way the serial numbering works. Any thoughts
Where IS the Report Builder?
The recent discussions about printing in Rev have come along at a propitious time for me. I have a data stack with about five fields per record, only a couple hundred records. The data eventually gets exported to a page layout program in RTF, but I was trying to make it easy for users to get check prints of various subsets of the data. I built a printing stack as recommended here and assembled the data into one tab delimited field. Using Chipp's and Jacque's tips, I have been able to make this work, more or less. I have learned a lot while doing this, and discovered things in the docs I didn't see before, like revPrintText. Along the way I found revPrintReport. It makes reference to the Report Builder on the Tools menu, but it's not in my copy. (Rev v2.5 on Mac OS 10.3) Most of the See Also links are broken. Entering report in the filter field under Topics produces no hits. Only revPrintReport comes up in the Dictionary. So I searched the list archives. (What a pitiful way to try to find any specific information, but I'll save that for another rant...) I found out that the Search-the-List stack, which is still referenced in RevNet, is no longer available. So I spent a little time reading the Google advanced search tips since I couldn't remember how to search just our discussion list. After I didn't find anything about restricting the search, I just tried use-revolution report builder and got a few hits. They were other people asking the same question, and answers that applied to the previous version of Rev. Sigh. Finally, to be thorough, I went to the FAQ section of our docs and immediately found How do I create a custom printed report? This appears to be the latest up-to-date advice, which is essentially what I had already done: build it yourself with a special stack. There is no mention of a Report Builder. So I conclude the answer to the subject line is, The Report Builder no longer exists. Maybe this will save someone else the time of looking further, if they search the archives and happen to come across this message Lest you think I am a curmudgeon, the bottom line is that I was able to get done what I needed in Rev. I love working with Rev. I just want the docs to be accurate, and for us to find a better way of creating a Knowledge Base for using Rev than we have so far. Sorry for a rambling rant. Jim Lyons ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: len(right(number, 3))
Paul Salyers wrote: How is this statement wrote in Rev, len(right(number, 3) this in VB will take the number ex: number = 12345678 and cut it down to number = 678 starting at the right and give you the first 3 numbers. I need to do this in Rev. I searched len and got put char (length(it) - 3) to (length(it)) of it into myExtension but don't understand what it means. Paul, The thing you need to know about Run Rev is that it treats a string of characters like words or numbers depending on the context. For example If you write: Put 123 456 into theResult Then theResult is 123456 If you write: put 123 * 456 into theResult Then the result is 56088 If you write: Put char 1 to 4 of 123*456 Then theReuslt is 56088 Which is confusing. But if you put char 1 to 4 of (123*456) into theResult Then theResult is 5608 Which is what you might hope for. Moral: Don't abuse flexibility. I think the function you want is: function rightCharacters tNum,howMany put the number of chars in tNum into tNumChars return char -(tNumChars-howMany) to -1 of tNum end rightCharacters Notice: You count characters from the right as -1, -2, -3 etc. Jim ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Printrotated
In IE, you can look in file -- page setup - and in the bottom left you will find a couple radio buttons for setting portrait/landscape mode. Does that help? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Analyzing News Stories
Thanks for your replies, Jonathan and Alex. Jonathan, I don't know what an RSS feed is, but if it refers to new stories or accessing news in real time, that's not what I'm doing. I want to tap into complete archives. Most news outlets are moving to RSS feeds... You could probably set up Rev to continuously monitor an RSS feed, and pull out, save, and categorieze those stories that you need. Alex, Index every word on a random sample of 100 stories. Eliminate any word that appears in more than 80% of them. Look briefly at those words that appear in between 50% and 80% and see what you think about them; if necessary, adjust the thresholds until it feels right for your purposes. Easy enough and intuitive. Thanks. Do you want to index each word separately, or try to accumulate common roots; e.g. cause, causes, caused, causing, causation ... one entry, 2 entries, 5 entries? One entry for starters. I'd worry about whether I had deduced the serial numbering scheme fully. Did I get every story ? Could there be any particular kind of story that was indexed differently (e.g. stories printed straight form the AP wire might be indexed differently from those written, or extensively modified, by the paper's own writers). Yes, exactly. I thought about that. It'll require some tinkering. There are some ethical issues about collecting large amounts of data; you should, at a minimum, read up on the content of the robots.txt system, and in general conform to the site's requests as described in their robots.txt files. Thanks. I didn't know about robots policies. So, I'll request that information. Greg ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Question regarding the clipboard
Lynch, Jonathan wrote: But then, why would it stop around 2 or 3 K - and why would it only do it occassionally? You said the string is 60 - 70 thousand chars. So I figured maybe up to 65536 works OK, and over that you are getting some kind of field-wrapping effect, and getting only the amount BEYOND the 65536 limit. But it was only a guess :-) There are some other limits (see docs / Topics / Containers, variables, etc. / Memory limits) that could perhaps be relevant. -- Alex. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Tweedly Sent: Wednesday, January 26, 2005 10:09 AM To: How to use Revolution Subject: Re: Question regarding the clipboard Lynch, Jonathan wrote: Hello... I have a problem that occurs about one in ten times. I have a long string, like around 60 - 70 thousand characters. It is necessary to remove all of the linefeeds from this string. After I remove the linefeeds, I put the string into the clipboard. Usually, it works just fine. But occassionally, it only places the first 2 or 3 thousand characters on the clipboard. Each card in my stack contains a bunch of news articles, that are combined and given html formatting. For a given card, if it has this problem, then it will have it every single time. But the next day, with a new set of news articles and a new card, it probably won't have this problem. By sitting here and playing with one of the cards in which this problem occurs, I have determined that the string still retains all of its characters. Thus, the problem lies in setting the clipboardData to the string. Can anyone imagine a reason why the clipboardData wouldn't take the whole thing (but only occassionally)? There's a limit of 65,536 characters in a line within a field. I wonder if the clipboard counts as a field for this purpose ? -- Alex. No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Using stacks as a database for very large data sets
Saving a large stack can be time consuming - especially across a network. Would it be possible to have some sort of write-to-file scheme that just changes the stored data for single card, but not the entire stack? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: externals kit
Ben Fisher wrote: Hi Revolutionaries, I'm planning on making a kit/instructions on how to create externals for rev (in c++). I would include a detailed pdf on C++ and have examples of common tasks for externals. This would all use a free compiler such as Dev-C++. Would anyone be interested in paying a modest fee for this? What features or content would you like to have? I'd happily pay $10 per platform (for now, I only care about Win - but if I do get that Mac Mini then I might care about it too). Features and content ? I'd pay $9 for a simple (very simple) example - - a single .zip file - instructions in the readme.txt (i.e. no fancy formatting) - how to download the C compiler package (and install, unless it comes with good installer) - minimum number of files (one or two each .c and .h files plus makefile or Dev-C++ project files) to define ONE single, simple external - small stack to use the external - and it all just works first time :-) :-) I'd pay the other $1 to make it up to $10 for - carefully formatted PDF files including screenshots - videos - etc. It would be nice if there were maybe another two or three additional examples, showing different kinds of calling parameters or interaction, or more complex examples. But please keep them separate, so that I have as few files, and as few option to consider, as possible until I have successfully compiled and run the first one. -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where IS the Report Builder?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Correct, as of Rev 2.5, the Report Builder no longer exists. I never found it to be all that useful anyway, so I suppose it's just as well. Printing tutorials can also be found in Rev Online, if you purchased the tutorials or the Studio/Enterprise licenses (which include the tutorials). I'm not sure if the basic printing tutorial is one of the free ones or not anymore. On Jan 26, 2005, at 10:35 AM, Jim Lyons wrote: The recent discussions about printing in Rev have come along at a propitious time for me. I have a data stack with about five fields per record, only a couple hundred records. The data eventually gets exported to a page layout program in RTF, but I was trying to make it easy for users to get check prints of various subsets of the data. I built a printing stack as recommended here and assembled the data into one tab delimited field. Using Chipp's and Jacque's tips, I have been able to make this work, more or less. I have learned a lot while doing this, and discovered things in the docs I didn't see before, like revPrintText. Along the way I found revPrintReport. It makes reference to the Report Builder on the Tools menu, but it's not in my copy. (Rev v2.5 on Mac OS 10.3) Most of the See Also links are broken. Entering report in the filter field under Topics produces no hits. Only revPrintReport comes up in the Dictionary. So I searched the list archives. (What a pitiful way to try to find any specific information, but I'll save that for another rant...) I found out that the Search-the-List stack, which is still referenced in RevNet, is no longer available. So I spent a little time reading the Google advanced search tips since I couldn't remember how to search just our discussion list. After I didn't find anything about restricting the search, I just tried use-revolution report builder and got a few hits. They were other people asking the same question, and answers that applied to the previous version of Rev. Sigh. Finally, to be thorough, I went to the FAQ section of our docs and immediately found How do I create a custom printed report? This appears to be the latest up-to-date advice, which is essentially what I had already done: build it yourself with a special stack. There is no mention of a Report Builder. So I conclude the answer to the subject line is, The Report Builder no longer exists. Maybe this will save someone else the time of looking further, if they search the archives and happen to come across this message Lest you think I am a curmudgeon, the bottom line is that I was able to get done what I needed in Rev. I love working with Rev. I just want the docs to be accurate, and for us to find a better way of creating a Knowledge Base for using Rev than we have so far. Sorry for a rambling rant. Jim Lyons ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB98cU7aqtWrR9cZoRArQ3AJ0bcX8npk2qk1cvXgujSMR0h9X5sACeLDmV 4j8B7PY5d8ziS0FMjgfkgcw= =nEhh -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Using stacks as a database for very large data sets
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You might do best to split the data onto separate stacks and save them independently. When the data is needed, you can retrieve it from the appropriate stack; when you change it, you copy it back to the data stack it belongs in and, at an appropriate time, save the data stack. On Jan 26, 2005, at 10:53 AM, Lynch, Jonathan wrote: Saving a large stack can be time consuming - especially across a network. Would it be possible to have some sort of write-to-file scheme that just changes the stored data for single card, but not the entire stack? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB98jX7aqtWrR9cZoRAs2aAJ41DXwnIiTcRjqR4Ltdm3ynsH9/rwCfd++B zMnpD8u2MrcB2libE7qesno= =4OQu -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Using stacks as a database for very large data sets
Saving a large stack can be time consuming - especially across a network. I've complained about this. But the problem was in the way I worked. OK, the stacks are not rewritten in the same way as they did in HyperCard - but it's unlikely that's going to change anytime. Even though most of my stacks are small some production stacks go up to 10megs size. Forget about using/saving those across the network - it's asking for trouble. On windows, if there's a net outage - it's a crash most probably! But you can save the stack on some occasions before! You should try our gigabit network to save a 1mb stack! It takes up to 20-30 seconds! Nothing is slower thanks to firewalls and security checks! Welcome to the enterprise secured network! But it's either that or work on a thin client! NOWAY! What i found is these methods: I've reduced stack size to a minimum. Work locally for development and then copy back to the slower network where the stack is used. This allows you keep working while the development copy is being updated if you find a bug! If you have to work with the stack opened on the other side (one user only always) then you should work with merging separate data files in text, xml or small update stacks with extra cards to update the working database. Although that means that you could also send the information via network with sockets to the other side - if needed - it's not as easy or solid imoho as the stack save / extract/merge approach. With a good protocol code it could be done though. But then you need firewall clearance! ahem... here's the pseudo code to send a stack or post card file the easy route! clone stack StoryUpgrade repeat for each newstory x create card put story[x] into fld data end repeat save stack StoryUpgrade copyfile fromthispath to thatpath sendmsg netrevipname:thisport, updatestories voila! The other side receives the message... on updatestories set the defaultstack to updatestories repeat with x = 1 to the number of cards put fld 1 of card x into story[laststory+x] end repeat add x to laststory repeat with xin = 1 to x create card put story[xin] into fld 1 of it end repeat It's pseudoscript but it's how i see it coming soon somewhere in my stacks! I think it's safer instead of sending the data because it sends a file instead of fragments of data which i've seen often fail - more often than file transfers. File transfers can be easily resumed, checked, waited for. Naturally, an sql database available across the network would be probably better in the long run! But commiting some data or commands can be dangerous without a test database first! That's why i like the simple stack approach. You can pack as much as you want in any stack - I've done 60 records across 6 levels with referencing - it's not hard, it's quick and works reliably. Also I think that in many cases (dev - production) sending data via sql is slower than via file network transfer. So if you send it as a stack to the machine that inputs it directly/locally on the sql db, you got a shortest route possible! Depends on the frequency you need to update. You can also compress data in a stack to reduce file size... OK, enough computers and you can alsos for me tonite! I must prepare for my first snowboard ride with a semi-healed broken heel-bone that's F1 weather predicting sensitive! I got the new snoboots and couldn't go riding xmas time, missed saturday's compromised weather (turned out superb), worked sunday (superb day too) but managed to get the day off to ride tomorow across les Vosges not far from Strasbourg.fr! They got 3 days of non stop powder falling and nobody on the slopes!!! it's ideal as a clean stack! revgourl http://google.com type la bresse webcam send mouseup to button im feeling lucky sorry for the lengt, i had to get it out! Hope it helps nonetheless Xavier -- monsieurx.com - So what? Im having fun! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lynch, Jonathan Sent: Wednesday, January 26, 2005 16:53 To: How to use Revolution Subject: Using stacks as a database for very large data sets Saving a large stack can be time consuming - especially across a network. Would it be possible to have some sort of write-to-file scheme that just changes the stored data for single card, but not the entire stack? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Using stacks as a database for very large data sets
Thanks Frank, That sounds most practical. For my purpose, I could have it save a separate stack for every month's worth of articles. I will do that. Still - how do database programs do it? Is each record a separate file or something? If it were possible to use a single stack as a huge database, it would be very convenient. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: len(right(number, 3))
Being on the digest version of the list, I am coming in late on this one. The thing that confused me in the beginning about Run Rev and numbers is that they treated in a manner which depends on the context. For example if you write: put chars 1 to 4 of 123456 into theResult Then theResult is 1234. Clearly 123456 is being treated as a string of characters. And if you write: put 123 456 into theResult Then again these are treated as characters and theResult is 123456. But if you write: put chars 1 to 4 of 123*456 into theResult Then you find the surprising thing that theResult is 46088 But if you write put chars 1 to 4 of (123*456) into theResult Then theResult is 4608, which is what you would expect. The parentheses force an evaluation. If you want to demand that the characters be treated as characters and not numbers, use quotes. Then if you write: put chars 1 to 4 of 123*456 into theResult Then theResult is 123*, as you expect. Moral: With flexibility comes responsibility. But the value of being able to treat the number as a string is that you can write a handler to format the number. For example, you can format 1234467 as 1,234,567 or 1.23 * 10^6 or whatever. Jim ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
What do most Rev developers do?
I have a question for you guys: What do you do? I am a writer/editor for an online publication at the U.S. CDC, and I use Rev to help with compiling news reports, and to help with editing submissions from our contributors, and a few other things as well. I am also using it for an online publishing idea that I have, that I wish to pitch to CDC before too long. As my uses are kind of specialized, I am not very aware of how Rev is normally put to use. Are most of you using it for educational software, or to help with projects at a large company, or for independent programming for small businesses? Just curious, Jonathan ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Question regarding the clipboard
Hi Alex, You said the string is 60 - 70 thousand chars. So I figured maybe up to 65536 works OK, and over that you are getting some kind of field-wrapping effect, and getting only the amount BEYOND the 65536 limit. But it was only a guess :-) There are some other limits (see docs / Topics / Containers, variables, etc. / Memory limits) that could perhaps be relevant. This one is a real stumper for me. I looked up the doc on limits, but could not find one related to linelength in the clipboard. And, of course, the clipboard does not normally have a limit of that sort in other programs. Speculatively - I think it might be related to Rev's internal process of putting the variable into the clipboard array. Maybe something in the data that trips up an internal function, and causes it to stop transferring the data partway through. Has anyone else ever had problems putting long strings without linefeeds into the clipboard? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Using stacks as a database for very large data sets
Hi Jonathan, On Jan 26, 2005, at 11:01, Lynch, Jonathan wrote: Still - how do database programs do it? Is each record a separate file or something? If it were possible to use a single stack as a huge database, it would be very convenient. The big problem of course is that opening a stack loads the entire thing into memory. With a real database, certain data-structures are maintained in memory -- and the sizes of those are usually tunable for performance -- but the database files are not all loaded into memory at once.For the most part each record is not a separate file. What is typically done is something like this: The database files maintain an internal fixed block size. When records are written to the file they can span multiple, discontinuous blocks. The blocks for deleted records can be reclaimed and reused by new or updated records. Indexes are maintained (sometimes in separate files, sometimes in the same file) that allow for fast lookup of records in the database. --gordon ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Using stacks as a database for very large data sets
Thanks MisterX, It sounds like you have really thought this through. Much food for thought. I will have to do some mental digesting before I decide for sure which way I want to go. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Using stacks as a database for very large data sets
Hi All, Saving a large stack can be time consuming - especially across a network. One alternative is a client-server setup. The entire stack is in RAM on the server side; but client stacks only deal with one record at a time. Thus the stack is always saved locally at the server, never over the network. 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) ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Using stacks as a database for very large data sets
How huge is huge, Jonathan? If it were possible to use a single stack as a huge database, it would be very convenient. I've worked with 43K-record, 43MB, database stacks in SDB. http://wecode.org/serendipity/ Rob Cozens We are living on a dying planet. We're killing everything that's alive. And anyone who tries to deny it wears a tie and gets paid to lie. -- Joe Walsh, from Songs for a Dying Planet ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Using stacks as a database for very large data sets
I guess huge is relative to the speed of one's system and network. The stack I am dealing with is only 4.74mb - yet, it still takes a couple minutes to save across the network. That's no big deal - but a year from now the same stack will be 20meg, and will take 8 minutes to save. I am planning on working out an archiving system before I get to that point. Separate monthly stacks is probably my easiest and best bet. I was just wishing for the ideal - the ability to have a 40 gig database in a single stack, with all the easy searching and reprogramming that would go with that. Maybe for Rev 3.0 they will work out such a thing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Cozens Sent: Wednesday, January 26, 2005 12:30 PM To: How to use Revolution Subject: RE: Using stacks as a database for very large data sets How huge is huge, Jonathan? If it were possible to use a single stack as a huge database, it would be very convenient. I've worked with 43K-record, 43MB, database stacks in SDB. http://wecode.org/serendipity/ Rob Cozens We are living on a dying planet. We're killing everything that's alive. And anyone who tries to deny it wears a tie and gets paid to lie. -- Joe Walsh, from Songs for a Dying Planet ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Using stacks as a database for very large data sets
Hi Jonathan, I guess huge is relative to the speed of one's system and network. The stack I am dealing with is only 4.74mb - yet, it still takes a couple minutes to save across the network. That's no big deal - but a year from now the same stack will be 20meg, and will take 8 minutes to save. I am planning on working out an archiving system before I get to that point. Separate monthly stacks is probably my easiest and best bet. I was just wishing for the ideal - the ability to have a 40 gig database in a single stack, with all the easy searching and reprogramming that would go with that. Maybe for Rev 3.0 they will work out such a thing. just an idea: Does copying a file also take that long over the network? I guess not, i think i read Gigabit somewhere... In that case you could copy the file onto your HD temporarily, edit and then copy it back to the server... Or am i missing something here? Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Beginner's List
Quoting Len Morgan [EMAIL PROTECTED]: Is there a beginner's list available? I've just purchased Revolution and I'm having some problems (on WinXP) but most of the questions I see on this list are way past where I'm at. I'm sure when my book arrives I'll be able to answer a lot of these questions myself but I'd like to get started. If you interested in making a simple database then have a look at revonline. In my user space (nijinsky) you will find a simple database primer and the code is rally ease to follow. it will show you how to use buttons to navigate link text to a list and make a search box. All the best Bob Thank you! Len Morgan ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Beginner's List
On 1/26/05 8:18 AM, Len Morgan wrote: Is there a beginner's list available? I've just purchased Revolution and I'm having some problems (on WinXP) but most of the questions I see on this list are way past where I'm at. I'm sure when my book arrives I'll be able to answer a lot of these questions myself but I'd like to get started. Ask here. Please do. You will get lots and lots of answers -- mostly because more people will know them. :) I think this list can be too intimidating for newcomers and I'd sure like to see that changed. The only way it will happen is if we get a large variety of questions so that everyone feels they are welcome. No question is too stupid to ask. Not one of us came to Revolution knowing how to use it, we all had to learn, and this list is absolutely the best resource for that. Ask away. I am very happy to see some of the beginner questions that have popped up here lately and I hope they continue. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: bad RevNet link (was Where IS the Report Builder?)
Jim Lyons wrote: I found out that the Search-the-List stack, which is still referenced in RevNet, is no longer available. Which one? I'll have that URL updated. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Using stacks as a database for very large data sets
I haven't tried that! I think someone else suggested something similar - but with all the suggestions you guys have had, I haven't sorted through them yet. I will try that - thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Major Sent: Wednesday, January 26, 2005 12:48 PM To: How to use Revolution Subject: Re: Using stacks as a database for very large data sets Hi Jonathan, I guess huge is relative to the speed of one's system and network. The stack I am dealing with is only 4.74mb - yet, it still takes a couple minutes to save across the network. That's no big deal - but a year from now the same stack will be 20meg, and will take 8 minutes to save. I am planning on working out an archiving system before I get to that point. Separate monthly stacks is probably my easiest and best bet. I was just wishing for the ideal - the ability to have a 40 gig database in a single stack, with all the easy searching and reprogramming that would go with that. Maybe for Rev 3.0 they will work out such a thing. just an idea: Does copying a file also take that long over the network? I guess not, i think i read Gigabit somewhere... In that case you could copy the file onto your HD temporarily, edit and then copy it back to the server... Or am i missing something here? Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
get in on it!
Xanadu: The Forgotten Hypertext http://slashdot.org/article.pl?sid=05/01/19/1916218tid=198tid=95tid=126t id=1 I found many parallels between xos and xanadu in the original wired article and many of us in the list have touched bases with hypertext as much as many others have (ms, apple, acrobat, etc.. ..) but without a mention of runrev, this is outrageous! ;) ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: What do most Rev developers do?
i bought runrev to script for fun! Graphics, games, and Utilities for RunRev. Also for personal research and document management - im overloaded with them projects! Then at work, I get rid of all the command lines with nice GUIs with MetaCard to manage a mega enterprise data pool - I migrate 1000's of shares and datas across the SAN or NAS and manage a few hundred servers and soon confronted with MS AD and NFS, clusters managment (i hope) and more! Attacking also soon NetBackup for NT and possibly Solaris! And since im doing all that and regular business as usualy activities as well I developped xos to do my secretarial work ;) Im also using all the above to manage my new GTR passion with tweaking settings on race cars. Amazing what a real xtalk ide can do! cheers Xavier -- monsieurx.com - I run this website but not entirely with runrev although it comes in handy to translate stacks of data to sql! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lynch, Jonathan Sent: Wednesday, January 26, 2005 17:57 To: How to use Revolution Subject: What do most Rev developers do? I have a question for you guys: What do you do? I am a writer/editor for an online publication at the U.S. CDC, and I use Rev to help with compiling news reports, and to help with editing submissions from our contributors, and a few other things as well. I am also using it for an online publishing idea that I have, that I wish to pitch to CDC before too long. As my uses are kind of specialized, I am not very aware of how Rev is normally put to use. Are most of you using it for educational software, or to help with projects at a large company, or for independent programming for small businesses? Just curious, Jonathan ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Beginner's List
As a newcomer to Rev... I love this list. The searchable archive of this list - http://www.mail-archive.com/use-revolution@lists.runrev.com/ - has been an exceedingly useful resource for me. In payback for the good advice given by the pros on this list, I try to field some of the very basic questions so they do not have to bother. I guess we all do. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What do most Rev developers do?
At 10:56 AM 1/26/2005, you wrote: I have a question for you guys: What do you do? I don't know about most, but this one is busy at converting VB programs to Rev. Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Having RunRev Standalone accept and reply to AppleEvents?
Kee, It sounds like you are getting trapped in Revolution's backscript, which has its own appleEvent handler. This should not be happening -- your own appleEvent handler should be blocking the one in the backscript, unless you pass it on. The clue was that enabling the answer lines causes your script to work. Revolution's handler exits to top if the answer dialog is showing, so that seems to be what is happening. Rev's handler exits and allows yours to work. This is backwards, it seems to me, as your handler ought to have precedence in the message hierarchy. When a backscript is running, you do not actually go to that stack -- the script functions just as though it was part of your own stack. That being the case, you don't need any of the push/pop or go statements. The only thing that happens when you use those is that you push the current card, then pop it again or go to it again; that is, there is no navigation in progress, you stay on the same card regardless. So you can remove all that stuff from the handler. The rule about passing the appleEvent is not dependent on whether you reply or not, but rather whether your handler manages the event or not. If your handler does something with an event, then don't pass it. If your handler does not handle the event, then do pass it. Your script does this correctly already. All that being said, I can't figure out why Rev's appleEvent handler is being triggered at all unless the appleEvents you are debugging are not really dosc events. Those events that are not dosc should indeed be passing on and managed by Rev's handler. If they are dosc events, then your script should be trapping them. So the first thing to check would be to walk through your script in the debugger and make sure that dosc events are handled by your own handler, and that others are going through to Rev's. Trim your handler down to the basics before stepping through it. Try this: on appleEvent theClass,theID if theClass is misc and theID is dosc then request appleEvent data put it into thedata put thedata into field theSQL send doSQL to button execute SQL put field soapResult into theResult replace return with numtochar(13) in theResult reply theResult else pass appleEvent end if end appleEvent Set a breakpoint by the if in the second line. Open the variable watcher and see what the class and ID of the event is. If you receive a dosc event and execution does not stay within your own handler then there is a bug in the message hierarchy somewhere. However, if you examine the class and ID of the event, you may find that those which are not dosc events are being passed on to Revolution's backscript, and the dosc events are being managed by your own handler. This would be correct behavior. Maybe something in the above will at least give you a clue where to start looking for the problem. Let us know. On 1/25/05 7:32 PM, kee nethery wrote: I have a one card stack in RunRev that gets saved as an application, and is used to catch, process and reply to AppleEvents. It is supposed to be controllable via AppleEvents. I've gone through over 20 iterations to try to duplicate some existing functionality in an existing Hypercard stack/standalone application. I scanned all the example stacks and RunRev docs I could find that mention AppleScript. Nothing talks about these issues. I can get the standalone app to reply to the first appleevent but then after that it is deaf. But, if I uncomment the two answer lines, this application will reply to all the appleevents sent to it. Second weirdness is that the on appleEvent takes the script to a library stack and for this to work at all, I have to actively go back to the one single card in my standalone application, interact with the buttons and fields, and then go back to whatever stack I got diverted to when processing the appleEvent. To my mind that is completely weird behavior. But if I do not do it, this stack doesn't even work the first time. Oh yes, the docs say that on appleEvent can be in a card script but doing that causes it to not catch a misc class wth a dosc ID appleevent. Here's the stack script: on preOpenStack -- I put the name of the standalone into a global so that I can get back to this standalone stack -- when processing an AppleEvent to do the tasks. global thisStackName start using revSOAP put the name of this stack into thisStackName end preOpenStack on appleEvent theClass,theID -- execute a set of statements global thisStackName -- When I uncomment this answer line, and the other one below, it works more than once -- answer theClass theID if theClass is misc and theID is dosc then request appleEvent data -- get the content of the AppleEvent put it into thedata -- the other answer line that gets uncommented -- answer thedata with thedata push card -- OK this is strange. I'm in this stack script but in
RE: Using stacks as a database for very large data sets
Why not just use a SQL database to store the data and use Rev to gather and display your data? This will give you the best performance and flexibility. sqb Thanks Frank, That sounds most practical. For my purpose, I could have it save a separate stack for every month's worth of articles. I will do that. Still - how do database programs do it? Is each record a separate file or something? If it were possible to use a single stack as a huge database, it would be very convenient. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What do most Rev developers do?
Lynch, Jonathan wrote: I have a question for you guys: What do you do? As little as possible :-) Are most of you using it for educational software, or to help with projects at a large company, or for independent programming for small businesses? Using a programming language is like running a business - you should do it for either profit, fun, or both. I mostly use Rev for fun. I write small-business kind of apps, but they're either for personal use, or for community or non-profit organizations. -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: What do most Rev developers do?
Hi again, Jonathan, I suspect the short, general answer is anything and everything. My particulars: I began my programming career as in house IS expert for the Oakland, CA police department in the 1970's. In the 1980's and 1990's, most of my income came from customizing an accounting package, Flexware, for small to medium sized businesses, and from a wine production control system written in Flexware by a university professor of enology and professionalized by moi. I discoverered HyperCard in 1989, and began redesigning my winery software to take advantage of the new tools arid techniques available via HyperTalk. My current interest is the potential of Revolution applications to take advantage of the features supported by Tablet PCs, My long-term goal is to release my winery software as a TPC-specific application. But right now, that is all taking a back seat to more important work I am doing for Environmental Defense: staffing a group whose goals are to raise the public's awareness of the current state of the world's oceans fisheries and the degree of their decline since the mid-twentieth century...followed up by activism on issues affecting our local offshore environment. To this end, I am working on an interactive Revolution presentation summarizing the results of my reading and research so far in the form of time lines. This will be distributed in two parts: a one-time player standalone and a data stack that can be replaced whenever new references are added. I will post an announcement when Environmental Defense makes this public. Rob Cozens, Staff Conservator Mendonoma Marine Life Conservancy The great diversity...which gave such resiliency to the groundfishery is gone.Haddock, which I caught by the thousands, are gone. The mid-winter run of spawning whale cod is gone. The spring run of dabs the size of a hatch cover is gone. The fall pollock are gone. I now rely on three species: cod, yellowtails, and dabs. Even with these...we must now measure each and every one, as most are legal only by a fraction. These are not characteristic of a healthy fishery. I fear they are omens of disaster. -- North Atlantic fisherman, Frank Mirarchi, in Fish for the Future ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What do most Rev developers do?
Lynch, Jonathan wrote: What do you do? I have the pleasure of coding Transcript nearly full-time, crafting vertical market products for myself and my clients, with the balance spent assisting with the marketing of those products. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What do most Rev developers do?
I think the answer would be 'whatever people use computers for - really. There are Rev users that range from hobbyists to the enterprise and 'shrink wrap' application developers. Rev is nothing less than a very organized toolkit into the inner mojo of all the major operating systems, a passport to a world where we can think about program flow rather than the restraints of a . We used to think we could do anything with Hypercard. But we had to add a lot of stuff to make it happen (xcmds). Today, Rev is ready out of the box to do everything I've wanted to do. Four years ago I was searching for a replacement for my aging hypercard stacks, and found Rev. After they added the database and network connectivity, I was totally sold. Software at the speed of Thought , indeed. Are most of you using it for educational software, or to help with projects at a large company, or for independent programming for small businesses? Just curious, Jonathan ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: What do most Rev developers do?
What is a vertical market? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Gaskin Sent: Wednesday, January 26, 2005 1:22 PM To: How to use Revolution Subject: Re: What do most Rev developers do? Lynch, Jonathan wrote: What do you do? I have the pleasure of coding Transcript nearly full-time, crafting vertical market products for myself and my clients, with the balance spent assisting with the marketing of those products. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What do most Rev developers do?
On 1/26/05 10:56 AM, Lynch, Jonathan wrote: I have a question for you guys: What do you do? I am a commercial software developer. I started with x-talk in 1987 using HyperCard and some SuperCard, then moved on to MetaCard, and now Revolution. I develop software for anyone who needs it: large corporations, education, and individuals. I have some big names in my client list. I also work part-time answering technical questions in Runtime's support database. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: What do most Rev developers do?
What is a vertical market? Unless I got my axii inverted again, vertical market is a market like car accessories is to cars. horizontal is like car accessories to office accessories... You haven't heard of diagonal or 3D markets but they are well present in financial markets as indirect factors or whatever they call them ;) Economics... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lynch, Jonathan Sent: Wednesday, January 26, 2005 19:36 To: How to use Revolution Subject: RE: What do most Rev developers do? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Gaskin Sent: Wednesday, January 26, 2005 1:22 PM To: How to use Revolution Subject: Re: What do most Rev developers do? Lynch, Jonathan wrote: What do you do? I have the pleasure of coding Transcript nearly full-time, crafting vertical market products for myself and my clients, with the balance spent assisting with the marketing of those products. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What do most Rev developers do?
Lynch, Jonathan wrote: What do you do? I have the pleasure of coding Transcript nearly full-time, crafting vertical market products for myself and my clients, with the balance spent assisting with the marketing of those products. What is a vertical market? A market that stands on its hind legs and begs for attention. :) Vertical market describes a relatively specialized sub-market, in contrast to broader consumer and business markets. HyperRESEARCH is a good example: It's a cross-platform tool for qualitative analysis, used by sociologists and psychologists for broad-sample research studies, corporate marketers running focus groups, and can be used well to help collate and organize data from comprehensive usability studies as well. Definitely not for everyone, but in its market it does quite well (we just doubled sales over last year). WebMerge is another one: as a tool that generates static web pages from just about any database or spreadsheet content, it tends to appeal to a subset of webmasters and business owners who need to put something on the web quickly without the hassle of setting up a live database. Out of the larger market of all webmasters, WebMerge addresses a need found only by a relative few -- fortunately there are enough of those few that it's rather popular for the somewhat specialized task it does. I think sub-market-specific tools like these represent a certain sweet spot for Rev development among smaller software publishers. With broader markets like the office suites we were discussing earlier, there's too much competition and often from large teams, so small companies will find a tough time entering the market and a tougher time staying there. But by focusing on specialized sub-markets you have little competition, and often from other small shops but who are saddled with the encumbrances of traditional development tools. The strong return-on-investment proposition inherent in working with a very-high-level language like Transcript works quite favorably in such circumstances: It will likely cost you the same amount to build a feature as it'll take a C-based company to have a meeting about it, and you can use the balance to out-market them. In broader markets you may still have the same ROI proposition, but just as likely you'll also be up against a larger development team so the time-to-market advantage may not be there. And in most cases you'll be up against a larger marketing budget too, so even a message about a superior product can easily be lost in their deluge. The ways people work are ever-changing, so it's my belief that there are at least 10,000 new software categories waiting to be discovered by anyone willing to explore new ways of thinking about task analysis. If I can assist even a half-dozen specialized tasks with a fresh take that the market responds to I'll be a happy man. :) -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What do most Rev developers do?
I am using RunRev to develop a scrapbook/diary application. The app will be shareware. Paul [EMAIL PROTECTED] wrote: I have a question for you guys: What do you do? I am a writer/editor for an online publication at the U.S. CDC, and I use Rev to help with compiling news reports, and to help with editing submissions from our contributors, and a few other things as well. I am also using it for an online publishing idea that I have, that I wish to pitch to CDC before too long. As my uses are kind of specialized, I am not very aware of how Rev is normally put to use. Are most of you using it for educational software, or to help with projects at a large company, or for independent programming for small businesses? Just curious, Jonathan ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Using an index field
I've built a help stack for an app which consists mostly of two fields, one the content and the other an index. Clicking on a line in the index takes the user to the appropriate section of the help contents. It works fine when going 'down' the contents, but I'm wondering if there is a simple way for the user to avoid having to click twice to access any section which occurs earlier in the content than where the last found line occurs. Thanks, Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Rev and Windows XP Embedded
Has anyone used Rev (used IDE, or deployed standalones) on Windows XP Embedded? Does it work? Are there any gotchas, tips or other things I should be aware of? TIA, Ben Rubinstein | Email: [EMAIL PROTECTED] Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com| Fax : +44 (0)1273-728866 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
trouble with RevCopyFolder...
Hi folks, I am trying to make a simple mirroing stack to use with my .Mac account iDisk. it's like this put /Volumes/iDisk/studio/blog into tDestination put /Users/andregar/QuickBlog/Root into tSource revCopyFolder tSource, tDestination pretty simple ain't it? no bundle inside the folder, no nested folder... just simple files. The result is empty and nothing happens?! the function returns fine, and nothing happens!!! not a single file is copied, and I am not calling this from startup so I know the function is there. cheers andre -- Andre Alves Garzia 2004 BRAZIL http://studio.soapdog.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Using an index field
David Squance wrote: I've built a help stack for an app which consists mostly of two fields, one the content and the other an index. Clicking on a line in the index takes the user to the appropriate section of the help contents. It works fine when going 'down' the contents, but I'm wondering if there is a simple way for the user to avoid having to click twice to access any section which occurs earlier in the content than where the last found line occurs. I'n not sure how you code is setup, but I use a similar layout and very simple supporting code. To fill the index list I just use: put the cardnames of this stack into fld index To go to a card I have this in the index field script: on mouseUp go cd (the hilitedLine of me) end mouseUp -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Printing Hell
On Jan 25, 2005, at 3:01 PM, [EMAIL PROTECTED] wrote: Kevin wrote: It is perfectly possible to print anything you may want to, including complex reports. Where do we find the recipe for multi-page reports based on a source stack with scrolling fields? Headers? Footers? Jacque mentioned revPrintText as example. However, report printing can be richer than that. I have wandered over to the following style. I use a stack library to print out a particular kind of report (such as a form letter, automated newsletter, ledger sheet, exam, badge, etc.). On the cards of that library, I put smart report components with notes on how to maintain them. The exact representation and sometimes position of the component is controlled by custom properties. An example might be a footer. The stack library uses a substack for report layout with page-size cards. The substack asks the library for components, creates instances and specializes them. Often only a single page (card) is used in the layout stack, sometimes repeatedly for the same report. The substack or pages have custom properties that control the layout. Some are design-time and are normally only changed in the IDE. The rest are layered by abstractness. The layout is driven by the more abstract stack properties and a few page properties. I make heavy use of setprop. To keep from repeatedly redoing the layout each time I change a property with the stack library, I use a recursive lock property. If I change a property with the IDE (with no locking), part or all of the layout is redone immediately--this helps me in layout changes. This all creates a dataflow or descriptive layout. I can change the number of columns for something or change some margins and poof! I can see the change. There is little difference in design-time properties (eg page margins) and run-time properties (eg title). I often use printer-res images and resize them a little as needed. I usually have a mode switch that makes the layout invisible in normal usage, but visible in development and testing. (I make heavy use of setprop and got myself into trouble when I didn't check the target, so take care with those.) When the library is no longer needed or is saved, it cleans up the layout pages to keep the library stack from containing old reports. Almost all of the report generation in this style is the bubbling of info through setprops. Now all this is a lot more work than canned report generation and for many uses an overkill, but it supports (in my experience) Kevin Miller's statement. Of course, this does not address concerns of printer setup their preferences as well as Unicode issues. I realize that is not quite a recipe, Paul. Dar ** DSC (Dar Scott Consulting Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ** ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Question regarding the clipboard
On 27 Jan 2005, at 12:57 am, Lynch, Jonathan wrote: Hello... I have a problem that occurs about one in ten times. I have a long string, like around 60 - 70 thousand characters. It is necessary to remove all of the linefeeds from this string. After I remove the linefeeds, I put the string into the clipboard. Usually, it works just fine. But occassionally, it only places the first 2 or 3 thousand characters on the clipboard. Each card in my stack contains a bunch of news articles, that are combined and given html formatting. For a given card, if it has this problem, then it will have it every single time. But the next day, with a new set of news articles and a new card, it probably won't have this problem. Could there be some invisible character in some of the articles that is messing up the clipboard? Find a card which does it and then check the length of the clipboard data. Go back to your field and find the charToNum of the next ( maybe the last character) character and see what it it. If you can determine that a there is a particular invisible character causing problems, you can just replace it before copying the field to the clipboard. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rev and Windows XP Embedded
On 26/1/05 8:57 pm, Ben Rubinstein [EMAIL PROTECTED] wrote: Has anyone used Rev (used IDE, or deployed standalones) on Windows XP Embedded? Does it work? Are there any gotchas, tips or other things I should be aware of? To the best of my knowledge, this should work fine. Of course you will want to fully test your application on this platform. Kind regards, Kevin Kevin Miller ~ [EMAIL PROTECTED] ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Simple tutorial on linktext and clicking list text
Hi Steve, Nicholas supplied you with the info for using clickChunks, but here is some additional stuff on using linktext. - enter your text in a field - select a chunk that you want to make into a link - go to the Text menu and set it's style to Link - if you are using the default settings, the text will go blue underlined, like the link on a web page. - when you have finished setting all the links you want, lock the text of the field - edit the script of field to include a linkClicked handler e.g. on linkClicked pLink -- pLink contains the complete text of the clicked link if pLink contains @ then revMail pLink else if pLink contains http then revGoUrl pLink else -- do something else end if end linkClicked As a further refinement, you can make the linkText of a selected chunk into something other than it's text. Suppose you wanted a link to Google. In your field, type the single word Google and set it's style to Link In the MessageBox, type: set the linkText of word 1 of fld MyField to http://www.google.com; and press Enter. When the field is locked and you click on Google, the parameter passed to the linkClicked handler will actually be http://www.google.com; Cheers, Sarah On 26 Jan 2005, at 8:21 pm, Stephen Van Esch wrote: Folks: I'm new to Revolution and I'd like basic, step-by-step instructions on making text in a field clickable. I've gone through the Rev docs but can't seem to get anything to work. Please note that I have never attempted this type of thing before so some things that may be obvious aren't for me. For example, when I enter code, where exactly do I enter it? As a card, object, or stack script? Sorry for the annoyance. I've managed to build a simple stack using buttons but I'd prefer to use links and clickcable lists if possible. Thanks. Steve __ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: trouble with RevCopyFolder...
Hi Andre, Try using answer folder to get the full paths to the two folders. There may be something weird about the path specification for an iDisk. Cheers, Sarah On 27 Jan 2005, at 7:05 am, Andre Garzia wrote: Hi folks, I am trying to make a simple mirroing stack to use with my .Mac account iDisk. it's like this put /Volumes/iDisk/studio/blog into tDestination put /Users/andregar/QuickBlog/Root into tSource revCopyFolder tSource, tDestination pretty simple ain't it? no bundle inside the folder, no nested folder... just simple files. The result is empty and nothing happens?! the function returns fine, and nothing happens!!! not a single file is copied, and I am not calling this from startup so I know the function is there. cheers andre -- Andre Alves Garzia 2004 BRAZIL http://studio.soapdog.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where IS the Report Builder?
check out ... http://www.quartam.com/reports/tour/index.htm I think RunRev was expecting a simultaneous release with 2.5 but I recall that the author Jan Schenkel had to delay completion for personal reasons ... http://www.mail-archive.com/use-revolution@lists.runrev.com/msg45366.html ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What do most Rev developers do?
Rob Cozens replied: (B (B Hi again, Jonathan, (B (B I suspect the short, general answer is "anything and everything". (B (BDitto for myself. (B (BMetacard was what I first used for years. And though I've mostly switched to (BRev, I still have the MC engine on my webserver (B(http://kweto.com/skripts/bingo.html ), and also use it for porting the (Boccassional Win stack to Mac. (B (BAs well, wherever batch processing can be applied. At home, I use it to (Bre-index digital photos and generate corresponding html for our family (Bslide-show. That applies to my studies in the past, in particular for corpus (Bwork on large collections of English and Japanese texts. (B (BAnd also of course for work, where Rev gets most of its use. I'm a (Bsecond-language teacher, so stacks have ranged from just-for-me tools (for (Bexample, to generate multiple-choice quizzes and picture bingo cards or to (Bmodify authentic texts), as well as software for student/teacher use, the (Bmost recent example being a chat-like stack and server combo that allows me (Bto set parameters centrally for whatever communicative activity I'd like my (BEFL students to practice with each other. (B (BCheers, (BNicolas Cueto (Bniconiko language school (B(Japan) (B (B___ (Buse-revolution mailing list (Buse-revolution@lists.runrev.com (Bhttp://lists.runrev.com/mailman/listinfo/use-revolution
Re: Revolution Hypercard cellophane color
Hi Fred, Sorry I'm so terribly late answering this question. You can obtain the cellophane effect by blending objects in Rev. Best, Mark [EMAIL PROTECTED] wrote: Hi. I wish I could get Revolution's color to work the way Hypercard does. Hypercard's color is like cellophane, except for one really neat thing. In Hypercard, if you put a colored object on top of another colored object, that top object's color trumps everything underneath, and you don't get a muddy composite color as you would in the real world, or as you do in Revolution when using the admin ink. In Revolution, if 2 admined objects overlap, a 3rd muddy composite color is created. Is there any way to make Revolution behave like Hypercard, where: black pixels on any objects show through and the top colored object has precedence over any colored objects underneath. Thanks. Fred Moyer -- eHUG coordinator mailto:[EMAIL PROTECTED] fax: +1 501 633 94 04 http://home.wanadoo.nl/mark.sch http://www.ehug.info ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Simple tutorial on linktext and clicking list text
Sarah, Nicholas, Xavier: Thanks very much for your help. I finally got it to work. The main problem appeared to be that Link was applied to all the text in the field rather than just one line at a time. All seems to be well...until the next question, of course. Steve --- Sarah Reichelt [EMAIL PROTECTED] wrote: Hi Steve, Nicholas supplied you with the info for using clickChunks, but here is some additional stuff on using linktext. - enter your text in a field - select a chunk that you want to make into a link - go to the Text menu and set it's style to Link - if you are using the default settings, the text will go blue underlined, like the link on a web page. - when you have finished setting all the links you want, lock the text of the field - edit the script of field to include a linkClicked handler e.g. on linkClicked pLink -- pLink contains the complete text of the clicked link if pLink contains @ then revMail pLink else if pLink contains http then revGoUrl pLink else -- do something else end if end linkClicked As a further refinement, you can make the linkText of a selected chunk into something other than it's text. Suppose you wanted a link to Google. In your field, type the single word Google and set it's style to Link In the MessageBox, type: set the linkText of word 1 of fld MyField to http://www.google.com; and press Enter. When the field is locked and you click on Google, the parameter passed to the linkClicked handler will actually be http://www.google.com; Cheers, Sarah On 26 Jan 2005, at 8:21 pm, Stephen Van Esch wrote: Folks: I'm new to Revolution and I'd like basic, step-by-step instructions on making text in a field clickable. I've gone through the Rev docs but can't seem to get anything to work. Please note that I have never attempted this type of thing before so some things that may be obvious aren't for me. For example, when I enter code, where exactly do I enter it? As a card, object, or stack script? Sorry for the annoyance. I've managed to build a simple stack using buttons but I'd prefer to use links and clickcable lists if possible. Thanks. Steve __ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution __ Do you Yahoo!? All your favorites on one personal page Try My Yahoo! http://my.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: trouble with RevCopyFolder...
On Jan 26, 2005, at 8:32 PM, Sarah Reichelt wrote: Hi Andre, Try using answer folder to get the full paths to the two folders. There may be something weird about the path specification for an iDisk. Cheers, Sarah Sarah, thanks but that was just what I did! :D I used answer folder and assigned it to a Variable I am using a put URL source into URL Destination now... slower, memory hungry, but if it works... thanks andre -- Andre Alves Garzia 2004 BRAZIL http://studio.soapdog.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Disappearing Mouse!!??
I'm a (very) new Revolution user and I've got problem on Win XP. I've created a little stack and in the IDE it works ok. Right now it's just labels and textboxes - it doesn't actually DO anything yet. The problem is when I save it and then try and run the .rev file, it shows up ok on the screen but as soon as the mouse pointer moves into the program window, the mouse pointer disappears. It's still there because if I work at it, I can get the invisible over a button and then left click and have the button fire. What am I doing wrong? Any help would be appreciated. Len Morgan ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Using stacks as a database for very large data sets
...In that case you could copy the file onto your HD temporarily, edit and then copy it back to the server... Would something like this work? There would be two versions of the splash-stack, one for User-A, and another for User-B, C, etc. User-A opens splash-stack and data-stack. -dataStackInUse is set to true --flag (User-B cannot open stacks) User-A is finished with stacks. Closes. -dataStackInUse is set to false User-B may now open splash-stack and data-stack. -splash-stack and data-stack are automatically copied to computer B. -dataStackInUse is set to true (User-A cannot open stacks) User-B is finished with stacks. Closes. --but before closeStack, the following: -splash-stack and data-stack are automatically copied back to computer A. -dataStackInUse is set to false ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Using stacks as a database for very large data sets
For me it would work, because, although the stack may be used by different people on different computers - it would never be used by different people at the same time. Only one of us would compose the Media Tracking Report on any given day. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kurt Kaufman Sent: Wednesday, January 26, 2005 6:24 PM To: use-revolution@lists.runrev.com Subject: Using stacks as a database for very large data sets ...In that case you could copy the file onto your HD temporarily, edit and then copy it back to the server... Would something like this work? There would be two versions of the splash-stack, one for User-A, and another for User-B, C, etc. User-A opens splash-stack and data-stack. -dataStackInUse is set to true --flag (User-B cannot open stacks) User-A is finished with stacks. Closes. -dataStackInUse is set to false User-B may now open splash-stack and data-stack. -splash-stack and data-stack are automatically copied to computer B. -dataStackInUse is set to true (User-A cannot open stacks) User-B is finished with stacks. Closes. --but before closeStack, the following: -splash-stack and data-stack are automatically copied back to computer A. -dataStackInUse is set to false ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: What do most Rev developers do?
I use it (well, Metacard) to run all the experiments in my lab, handle the data, and often the data analyses; essentially, it replaced hypercard that formerly did exactly the same thing for me (and, before that, I used FutureBasic (and sometimes still do), which used to be known as ZBasic). Its principal advantage is speed of development. Experiments can be created and edited in mere minutes to hours compared with more traditional languages and systems, and my research assistants become proficient at it within weeks compared with months, years, or never as was often the case with more traditional languages and systems (c, Pascal, Fortran, etc.). It also interfaces easily and quickly with external serial devices for time critical experimental tasks. The fact that the stacks are cross-platform (I don't produce stand-alones) means that I can share my experiments with colleagues who are unfortunate enough to have to use other operating systems. They don't even have to own RR (or Metacard), as they can just download the wretched-OS's version of DreamCard and are up and running within minutes! For researchers, RR (Metacard) is tough to beat. -- 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@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What do most Rev developers do?
On Jan 26, 2005, at 8:56 AM, Lynch, Jonathan wrote: What do you do? Hi Jonathan, My company creates educational software tools and medical software. We focus on vertical market applications. The belief is that even though these markets are smaller, 50-70% of a given vertical market with super low overhead is tremendous. Rev makes it possible to blow the competition out of the water with time and cost savings. I also find that I can make in-house tools with Rev that best meet the needs of my team. Over the counter apps do not cover the nuances needed in day to day development. -- Best regards, Mark Talluto http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Disappearing Mouse!!??
Len Morgan wrote: I'm a (very) new Revolution user and I've got problem on Win XP. I've created a little stack and in the IDE it works ok. Right now it's just labels and textboxes - it doesn't actually DO anything yet. The problem is when I save it and then try and run the .rev file, it shows up ok on the screen but as soon as the mouse pointer moves into the program window, the mouse pointer disappears. It's still there because if I work at it, I can get the invisible over a button and then left click and have the button fire. What am I doing wrong? Any help would be appreciated. I think you're doing nothing wrong. I believe you have encountered Bug 2138 (see http://support.runrev.com/bugdatabase/show_bug.cgi?id=2138 ) I submitted this as an enhancement request because I encountered it only in the context of Dreamcard Player - though I believe it happens any time you double-click a stack in Windows (it's hard for me to be sure because I've finished with multiple versions of Dreamcard and the Player installed, so I'm unsure just which is being used). In general, this is something I never do, but tried when I saw your email; I always either run inside the IDE, or build a standalone executable. Could you please add an enclosure describing what you see; it may be appropriate to change it to a bug rather than an enhancement and up the priority. -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What do most Rev developers do?
I use Rev to develop a free Cherokee Language dictionary and learning tool. I also plan to use it in future for developing helper apps for my non-profit work. Duane Poncy visit elohi gadugi: poetry, software, Cherokee culture and Native American rights. http://elohigadugi.org/ Another world is not only possible, she is on her way. On a quiet day, I can hear her breathing. - Arundhati Roy - ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Windows settings: volume front app
Dear All, There have been some threads in the past about these Windows settings and I can't find that a good solution has been found for either of them: System volume: is it possible to read /or set the system volume in Windows XP? Bringing an application to the front: Has anyone worked out how to do this in XP? In Mac OS X, I do both these using AppleScript, but I need to make one particular app cross-platform, so I need Windows specific replacements for these AppleScripts. I am quite happy to restrict it to XP only, although something that worked for older systems would be an advantage. TIA, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Windows settings: volume front app
Sarah Reichelt wrote: There have been some threads in the past about these Windows settings and I can't find that a good solution has been found for either of them: System volume: is it possible to read /or set the system volume in Windows XP? Bringing an application to the front: Has anyone worked out how to do this in XP? In Mac OS X, I do both these using AppleScript, but I need to make one particular app cross-platform, so I need Windows specific replacements for these AppleScripts. I am quite happy to restrict it to XP only, although something that worked for older systems would be an advantage. I think you may find the answer to both of those at Ken's Rev Tips and Tricks page at sunsothunder.com. The site is framed or I'd give you the URL to that resource -- Ken, do you have a direct URL for that? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: What do most Rev developers do?
Hi Jonathan, I belong to a UI Design group here at Qualcomm; my day-in/day-out job consists of designing the user-interface for applications on cell phones. I never touch code; all of our backgrounds in the group are related to the cognitive sciences. We recently purchased Revolution at Qualcomm to develop some fairly high-fidelity prototypes of how things will look on a cell phone before they're really programmed by the engineers. It's my first experience with a Metacard language, but so far, it's enjoyable. :) Sincerely, Jason Silver Human Factors Engineer, Sr. QUALCOMM Inc. [EMAIL PROTECTED] I have a question for you guys: What do you do? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Bugzilla URL?
I've changed computers a few too many times recently and have lost many bookmarks on which I so heavily rely. Can someone please tell me where to find Rev's Bugzilla site? Thanks. Phil Davis ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Bugzilla URL?
Hi Phil, On Jan 26, 2005, at 20:05, Phil Davis wrote: I've changed computers a few too many times recently and have lost many bookmarks on which I so heavily rely. Can someone please tell me where to find Rev's Bugzilla site? http://support.runrev.com/bugzilla/ --gordy ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Bugzilla URL?
Hey Phil -- Good to see you here again: I've changed computers a few too many times recently and have lost many bookmarks on which I so heavily rely. Can someone please tell me where to find Rev's Bugzilla site? The URL is: http://support.runrev.com/bugzilla/bugzilla.php -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Windows settings: volume front app
On 27 Jan 2005, at 11:45 am, Richard Gaskin wrote: Sarah Reichelt wrote: There have been some threads in the past about these Windows settings and I can't find that a good solution has been found for either of them: System volume: is it possible to read /or set the system volume in Windows XP? Bringing an application to the front: Has anyone worked out how to do this in XP? In Mac OS X, I do both these using AppleScript, but I need to make one particular app cross-platform, so I need Windows specific replacements for these AppleScripts. I am quite happy to restrict it to XP only, although something that worked for older systems would be an advantage. I think you may find the answer to both of those at Ken's Rev Tips and Tricks page at sunsothunder.com. Thanks Richard, That's given me the script to bring the application to the front. Volume settings anyone? Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rev and Windows XP Embedded
I worked with Rev a great deal under XP Embedded. No particular issues. Worked fine. Richard On Jan 26, 2005, at 5:12 PM, Kevin Miller wrote: On 26/1/05 8:57 pm, Ben Rubinstein [EMAIL PROTECTED] wrote: Has anyone used Rev (used IDE, or deployed standalones) on Windows XP Embedded? Does it work? Are there any gotchas, tips or other things I should be aware of? To the best of my knowledge, this should work fine. Of course you will want to fully test your application on this platform. Kind regards, Kevin Kevin Miller ~ [EMAIL PROTECTED] ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Newbie question: use of fields for mobile phone sim
Hello everyone, Now that our company has bought Revolution, I have much more motivation to use this product! Anyways, I had a question on the best way to set up text and images in fields. Without further ado... Since I'm creating a prototype of a mobile phone application in Revolution, the boss would like it to be as close as possible to the real thing. To give some context, take a look at this picture: http://img93.exs.cx/my.php?loc=img93image=generic8gy.jpg Each line must be 29 pixels high, and the text 42 pixels over from the left. There may be different icons on each line, which are 7 pixels over, and vertically centered on each 29 pixel-high line. Now, I'm wondering the best way to implement this. The text in each line will be pulled from a stack containing names (imagine a list of contacts). Is it better to: A) Create several single-line fields? The problem with this comes into play when there are more than 8 items...figuring out scrolling could be awful. B) Create a multi-line field. This seems easier, but how do I put different images on each line? If the user scrolls up and down, I'd like the correct image to stay on the correct line. C) Something I haven't thought of yet? The thought of different icons (and dealing with the transparency) is giving me headaches. How do I best approach this as a Revolution newbie? Any help is greatly appreciated. Thanks, Jason ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Newbie question: use of fields for mobile phone sim
Since I'm creating a prototype of a mobile phone application in Revolution, the boss would like it to be as close as possible to the real thing. To give some context, take a look at this picture: http://img93.exs.cx/my.php?loc=img93image=generic8gy.jpg Each line must be 29 pixels high, and the text 42 pixels over from the left. There may be different icons on each line, which are 7 pixels over, and vertically centered on each 29 pixel-high line. Now, I'm wondering the best way to implement this. The text in each line will be pulled from a stack containing names (imagine a list of contacts). Is it better to: A) Create several single-line fields? The problem with this comes into play when there are more than 8 items...figuring out scrolling could be awful. B) Create a multi-line field. This seems easier, but how do I put different images on each line? If the user scrolls up and down, I'd like the correct image to stay on the correct line. C) Something I haven't thought of yet? The thought of different icons (and dealing with the transparency) is giving me headaches. How do I best approach this as a Revolution newbie? Hi Jason, This is an interesting application for Revolution. A single scrolling field is probably the easiest. Set your font and make sure the fixedLineHeight is set so that you get your 29 pixels per line. For the icons, the easiest thing is to use the imageSource which allows you to insert a picture instead of a single character in any field. e.g. put XLine 1 into your field. The X can be any character even a space, it's just a placeholder for the image. Now import an image into your stack and give it a useful name say ContactPic Then type this in the Message Box: set the imageSource of char 1 of field MyList to ContactPic Your image will then appear instead of the letter X in the field. Transparency is just a matter of getting the image right in a graphics editor and then saving it as a gif or png so the transparency is preserved. When you import it into Rev, the transparency should still be there although I have had trouble with GraphicConverter's pngs. Unless you have a lot of large images, I would recommend importing them all into your stack and giving them logical names. You can then hide them but still use them for button icons or imageSources. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What do most Rev developers do?
I do not do professional development but use it in a couple of main areas. I have applications written to support my life. Examples include manage my Super Fund, look after contacts, do backups, provide a small multi-entry RPN calculator, calculate optimal gearing for model racing cars, calculate any parameter for allocated pensions under Australian rules, value stock market options, make decisions when there are many possibilities, generate bridge hands against a variety of parameters, calculate wheel/tyre combinations for given rollouts and other things of even lesser moment. My second use is as an ad hoc scripting package (having a general purpose stack for this) to massage data for input to a couple of stats packages or for other apps. David ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Using an index field
On Jan 26, 2005, at 2:17 PM, Richard Gaskin wrote: David Squance wrote: I've built a help stack for an app which consists mostly of two fields, one the content and the other an index. Clicking on a line in the index takes the user to the appropriate section of the help contents. It works fine when going 'down' the contents, but I'm wondering if there is a simple way for the user to avoid having to click twice to access any section which occurs earlier in the content than where the last found line occurs. I'n not sure how you code is setup, but I use a similar layout and very simple supporting code. To fill the index list I just use: put the cardnames of this stack into fld index To go to a card I have this in the index field script: on mouseUp go cd (the hilitedLine of me) end mouseUp Thanks for the reply. The contents are a single field. There's only one card, and the index field and contents field are about all there is. Just a title and a 'put away' button. The script for the index field is: on mouseup put the value of the clickline into tFindText if tFindText contains overview then find overview in fld contents else find whole tFindText in fld contents end mouseup The index is generated by hand. It's not a big deal, but when the last foundchunk (or line) is somewhere in the middle or near the bottom and a line in the index field that is above the last one is clicked, nothing happens. It takes a second click for it to do anything. I was hoping there was a tip someone could offer to script around that. Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting up-to-date w/ RunRev 1.1.1 and Mac OS X Panther
Building the Windows version (I also bought a copy of PC Pro UK way back when which also had 1.1.1 for Windows ;) went fine. Build options for the Mac version are kind of limited though, and while the built app works okay in Mac OS X 10.2 ``Jaguar'' in 10.3 ``Panther'' it opens up in Classic mode --- is there a fix or work-around for this? (Which doesn't involve shelling out hundreds of dollars for an updated version---hard to justify that when I should arguably be learning Objective-C and using Apple's free developer tools instead---by the way, what happened to the ``Free Edition''? Is there a copy of it archived somewhere for download?) Trying to remember back to 1.1.1 :-) Check the Get Info window for the built app. It may have the Open in the Classic environment checkbox ticked. Rev 1.1. did not build true OS X bundles, but made Carbon apps that can run in both environments, so this setting needs to be checked. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Using an index field
Thanks for the reply. The contents are a single field. There's only one card, and the index field and contents field are about all there is. Just a title and a 'put away' button. The script for the index field is: on mouseup put the value of the clickline into tFindText if tFindText contains overview then find overview in fld contents else find whole tFindText in fld contents end mouseup The index is generated by hand. It's not a big deal, but when the last foundchunk (or line) is somewhere in the middle or near the bottom and a line in the index field that is above the last one is clicked, nothing happens. It takes a second click for it to do anything. I was hoping there was a tip someone could offer to script around that. Dave When you do a find, rev puts a box around the found text. if you then do find empty it gets rids of the box and resets the find position. I think this might be the workaround you are looking for. Alternatively, consider using lineOffset to get the relevant line number and then set the vScroll of the field to the number of the line * the textHeight. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Disappearing Mouse!!??
On 1/26/05 6:19 PM, Alex Tweedly wrote: Len Morgan wrote: I'm a (very) new Revolution user and I've got problem on Win XP. I've created a little stack and in the IDE it works ok. Right now it's just labels and textboxes - it doesn't actually DO anything yet. The problem is when I save it and then try and run the .rev file, it shows up ok on the screen but as soon as the mouse pointer moves into the program window, the mouse pointer disappears. It's still there because if I work at it, I can get the invisible over a button and then left click and have the button fire. What am I doing wrong? Any help would be appreciated. I think you're doing nothing wrong. I believe you have encountered Bug 2138 (see http://support.runrev.com/bugdatabase/show_bug.cgi?id=2138 ) I submitted this as an enhancement request because I encountered it only in the context of Dreamcard Player - though I believe it happens any time you double-click a stack in Windows (it's hard for me to be sure because I've finished with multiple versions of Dreamcard and the Player installed, so I'm unsure just which is being used). In general, this is something I never do, but tried when I saw your email; I always either run inside the IDE, or build a standalone executable. Could you please add an enclosure describing what you see; it may be appropriate to change it to a bug rather than an enhancement and up the priority. -- Alex. It is already submitted a couple of times as a bug rather than as an enhancement: http://support.runrev.com/bugdatabase/show_bug.cgi?id=2147 This particular one is still marked as unconfirmed, but we have had several reports of it in the support queue too. I distinctly remember entering it in Bugzilla myself, but now I can't find it. So there is another one in there somewhere as well. It would be good to add any new reports to the above, since that one is marked as an actual bug. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Disappearing Mouse!!??
On 1/26/05 6:19 PM, Alex Tweedly wrote: I think you're doing nothing wrong. I believe you have encountered Bug 2138 (see http://support.runrev.com/bugdatabase/show_bug.cgi?id=2138 ) I just found the bug report on this I submitted: http://support.runrev.com/bugdatabase/show_bug.cgi?id=2299 Also still marked as unconfirmed. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Having RunRev Standalone accept and reply to AppleEvents?
First, thank you for the most excellent examination of my script. On Jan 26, 2005, at 10:16 AM, J. Landman Gay wrote: Kee, It sounds like you are getting trapped in Revolution's backscript, which has its own appleEvent handler. This should not be happening -- your own appleEvent handler should be blocking the one in the backscript, unless you pass it on. The clue was that enabling the answer lines causes your script to work. Revolution's handler exits to top if the answer dialog is showing, so that seems to be what is happening. Rev's handler exits and allows yours to work. This is backwards, it seems to me, as your handler ought to have precedence in the message hierarchy. When a backscript is running, you do not actually go to that stack -- the script functions just as though it was part of your own stack. That being the case, you don't need any of the push/pop or go statements. The only thing that happens when you use those is that you push the current card, then pop it again or go to it again; that is, there is no navigation in progress, you stay on the same card regardless. So you can remove all that stuff from the handler. When I did not use those navigation elements, my answer statements would indicate that I was in a library, not my stack. The way I happened across that was it was unable to find the field and so one of my test scripts asked it to count the number of fields, the answer was zero. Since the card actually has around 5 fields, that clued me in to the fact that it was going somewhere else. The rule about passing the appleEvent is not dependent on whether you reply or not, but rather whether your handler manages the event or not. If your handler does something with an event, then don't pass it. If your handler does not handle the event, then do pass it. Your script does this correctly already. All that being said, I can't figure out why Rev's appleEvent handler is being triggered at all unless the appleEvents you are debugging are not really dosc events. Those events that are not dosc should indeed be passing on and managed by Rev's handler. If they are dosc events, then your script should be trapping them. So the first thing to check would be to walk through your script in the debugger and make sure that dosc events are handled by your own handler, and that others are going through to Rev's. I cannot try this because the only way for me to get this to work is to compile it as an application. And as far as I have been able to figure out, you cannot drop into the debugger when you are an app. But, during testing I did have an answer statement prior to the initial IF statement and it would show the class and ID and my script was processing just the misc dosc and passing all the others. Trim your handler down to the basics before stepping through it. Try this: on appleEvent theClass,theID if theClass is misc and theID is dosc then request appleEvent data put it into thedata put thedata into field theSQL send doSQL to button execute SQL put field soapResult into theResult replace return with numtochar(13) in theResult reply theResult else pass appleEvent end if end appleEvent Set a breakpoint by the if in the second line. Open the variable watcher and see what the class and ID of the event is. If you receive a dosc event and execution does not stay within your own handler then there is a bug in the message hierarchy somewhere. hmmm. bug in the message hierarchy in my code or in revolution? If it is in my code, I'm not sure how to view the messages when in an application. However, if you examine the class and ID of the event, you may find that those which are not dosc events are being passed on to Revolution's backscript, and the dosc events are being managed by your own handler. This would be correct behavior. from what I was able to see with a bunch of answer statements, that was what was happening. I was handling the misc dosc and all the other events were going to pass appleEvent Maybe something in the above will at least give you a clue where to start looking for the problem. Let us know. Since you say that I should not need the push pop stuff, I'll try an experiment where I push/pop only if I really am on another card. Perhaps some times it is doing the correct thing and sometimes not. I'll test. Nope that test did not work. Basically if the card id of the card matched the card where the fields were located, I would bypass the push pop stuff and if not, I'd do them. That worked for the very first query. The second query was unable to locate the field. OK, this seems to be working. Here's what I did. I'm looking at the card id before I try to interact with the card. Then, if I am not on that card I go there. I don't push and pop so that I end up back to where ever I started from. I just go there if I am not there and stay there. This is working great now. No idea why the script ends up
Accepting AppleEvents
-- I put this in the stack script of the main stack that is getting compiled into a Mac application on appleEvent theClass,theID global thisStackName if theClass is misc and theID is dosc then request appleEvent data -- get the content of the AppleEvent put it into thedata -- hard code the card ID and stack name that you want to be on. -- sometimes the appleevent handler is on this card, sometimes not, this -- insures that where ever it is, it comes back to where it should be. put myAppleEventAcceptingApplication into theStackName put 1267 into theCardId if the name of this stack is theStackName AND / the id of this card = theCardId then go to card id theCardId of stack theStackName end if -- now that we know we are on the correct card, I can take the data, put it into a field put thedata into field theData -- and then press a button that will manipulate the data in that field, and the button will -- put the results into another field send doit to button actionButton -- grab the results from that field put field theResult into theResult -- this sends the results data back to the application that sent the appleEvent. reply theResult else -- there are plenty of appleEvents that get sent to an application and -- if it is not the misc dosc combination, then pass it on so that it -- gets dealt with in the normal manner by Revolution. pass appleEvent end if end appleEvent --- I am sending data from HyperCard to this app using AppleEvents and having that data manipulated and then the results returned back to Hypercard. The AppleScript I am using in Hypercard is: property thedata : [] property theresult : [] on mouseUp doit() end mouseUp to doit() copy field thedata as text to thedata copy to field theresult try tell application myAppleEventAcceptingApplication activate with timeout of 1200 seconds -- do script is appleevent of dosc do script thedata end timeout copy the result to theresult end tell copy theresult to field theresult on error errMsg number errNum copy returnreturn to theresult copy theresult to field theresult end try tell application HyperCard activate end tell end doit ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Records Delimited by Blank Line
Wouldn't the recordDelimiter be return return ??? Hello everyone, I'm processing a large text file where each record consists of several hundred lines of information and is separated from the next record by a single blank line. I'd normally use a handler like the one below, where the variable recordDelimiter catches the characters that mark the end of one record and the beginning of another, but with the delimiter being a blank line in this case, I'm not sure what string I should set recordDelimiter to. I suspect it's something obvious, and I'm just suffering from a mental block (story of my life). open file filePath for read repeat read from file filePath until recordDelimiter put the result into resultOfRead -- Check for eof. -- Do stuff with the record here. if resultOfRead is eof then exit repeat end repeat Any suggestions would be most appreciated. Regards, Greg ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Windows settings: volume front app
Hi Sarah, I asked this question a bit ago and didn't hear back. As far as I can tell, all you can use is the playLoudness property. -Chipp Sarah Reichelt wrote: Volume settings anyone? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution