Re: What Just got Clicked 2 - Who Sent The Message
>> I have a button that sends a message to the card and executes a script in >> the card script. When the script is done, I'd like to send a "done" message >> back to the button, or to any other object that calls the card script. Is >> the executionContexts function the right way to go about this, or is there >> another method to determine which control sends a message to another? > how about appending the target to the handler/function call, that way it > knows where to 'send done' back to. Thanks Chipp. I thought about that method, but was wondering if the executionContexts gives you that for free (of course there is a bit of parsing to do). Or is it better not to rely on this (last I heard it was undocumented) function. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What Just got Clicked 2 - Who Sent The Message
how about appending the target to the handler/function call, that way it knows where to 'send done' back to. -Chipp Scott Rossi wrote: I'm stealing the title of another email, regarding how to determine what object sent a message. I have a button that sends a message to the card and executes a script in the card script. When the script is done, I'd like to send a "done" message back to the button, or to any other object that calls the card script. Is the executionContexts function the right way to go about this, or is there another method to determine which control sends a message to another? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
What Just got Clicked 2 - Who Sent The Message
I'm stealing the title of another email, regarding how to determine what object sent a message. I have a button that sends a message to the card and executes a script in the card script. When the script is done, I'd like to send a "done" message back to the button, or to any other object that calls the card script. Is the executionContexts function the right way to go about this, or is there another method to determine which control sends a message to another? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2
On Fri, 26 Aug 2005 11:49:29 Richard Gaskin wrote b) Valid ID numbers go up to 2 billion So if you establish a base ID well above a million you should never conflict with the engine's ID numbering scheme (unless of course you have more than a million objects, but then you'll have other problems to deal with ). This means once you've set the altIDs you can do something like this: put 100 into tBaseID repeat with i = 1 to 100 get the whateverProperty of fld ID (tBaseID+i) end repeat Just keep in mind when dealing with altID that it has a limit of 65535. If you set the altID of button 1 to 65536 put the altID of button 1 --> you'll get 0 best regards Tariel ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: help on open file
Paul Salyers wrote: Dear RunRev programmers I have the need to open a word file from the app. I have the word file on my same path as my rev app. but using the suggested command it do not work, any reason why? This is the programming line I'm using: on mouseUp launch "textfile.doc" end mouseUp the textfile.doc will not open from within the app. Anyone know why? From the docs: caunch command Starts up an application, optionally opening a document in the application. Syntax launch [documentPath with] applicationPath Examples launch "SimpleText" launch "/Documents/Projects/test.txt" with myApp launch it with (field "Application") Description Use the launch command to start an application for the user to use. Parameters: The documentPath is the location and name of a file to open with the specified application. If no path is specified, the launch command assumes that the file is in the defaultFolder. The applicationPath is the location and name of the application to start up. If no path is specified, the launch command assumes that the application is in the defaultFolder. -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
help on open file
Dear RunRev programmers I have the need to open a word file from the app. I have the word file on my same path as my rev app. but using the suggested command it do not work, any reason why? This is the programming line I'm using: on mouseUp launch "textfile.doc" end mouseUp the textfile.doc will not open from within the app. Anyone know why? Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What Just got Clicked
Thanks Dick I am trying another approach, but I am stuck again. Isn't there a way to iterate through the controls in a group? Repeat for Control in group ID ? do some stuff End repeat Or some thing like that Thanks Todd On 8/26/05 8:37 PM, "Todd Geist" <[EMAIL PROTECTED]> wrote: > Hello, > > I have been playing around with ChartMaker from Flexible Learning. It is a > very cool little tool! -- Todd Geist __ G e i s t i n t e r a c t i v e ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2
BugZilla 3089: make the range of altIDs match the range of object IDs And it already has a vote! (One vote was all I had left.) -- Dick On 8/26/05 1:25 PM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote: > Dick Kriesel wrote: >> On 8/26/05 11:49 AM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote: >> >> >>> I think altID is the way to go because it also lets you reference things >>> numerically >> >> >> >>> b) Valid ID numbers go up to 2 billion >> >> >> Valid altID numbers go up to only 65535. >> >> create button >> repeat with i = 65535 to 65537 >> set the altID of it to i >> put the altID of it & cr after msg >> end repeat >> >> The above puts the following: >> >> 65535 >> 0 >> 1 >> >> I could not find a BugZilla entry about altID. Does anyone else think there >> should be one? Should it be a bug report or an enhancement request? > > Excellent catch, Dick. I had no idea that the altID would use a > completely different scheme from the ID. > > I would think that would be an enhancement request, and given the number > of people who would use it (you, me, and Jonathan) I think we can guess > when it would be implemented. ;) > > -- > Richard Gaskin > Fourth World Media Corporation > __ > Rev tools and more: http://www.fourthworld.com/rev > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: when do you use a hard space today? / Text Handling Features
Dave Calkins wrote: I believe that there are a couple of text handling features that would greatly enhance Rev and many types of applications that we work with. I know it would make a big difference to me. A. An indent paragraph textStyle property. See the "firstIndent" property in the docs. If that is what you mean, you can probably cancel the Bugzilla entry. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: What Just got Clicked
On 8/26/05 8:37 PM, "Todd Geist" <[EMAIL PROTECTED]> wrote: > Or is there some way for the card to know which slice of the pie was clicked > On? Is there some property that is set with each object that a message > passes through? > > I am flailing about here :<( If you knew the ChartMaker controls, and if they pass mouseUp, your card script could check the target. on mouseUp switch the short name of the target case break case break end switch end mouseUp Still flailing? -- Dick ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: when do you use a hard space today? / Text Handling Features
On Aug 16, 2005, at 8:52 AM, [EMAIL PROTECTED] wrote: Subject: Re: when do you use a hard space today? Reply-To: How to use Revolution At 4:29 PM -0700 8/15/2005, Erik Hansen wrote: --- Ken Ray <[EMAIL PROTECTED]> wrote: Hardly ever... the only times I've used it has been in web pages to get things to line up. so it is an HTML thing. Not just HTML; you can use a non-breaking space whenever you don't want a line to break. For example, between a title (Dr., Mr., etc.) and the name; or between the characters of an equation where you want the equation all on one line for readability. I know this thread is over a week old, but ... (on this list, that's a long time) Another place where I use them is when I want to create an indented paragraph in a report. Normally extra Tabs and Spaces are filtered out from a line when they are the first character in a wrapped line, unless the first char of the wrapped line is a hard space. This allows the tab(s) to indent the paragraph so that things will line up. Not the best solution because they have to be filtered out if the text is edited. but I haven't found a better option. I believe that there are a couple of text handling features that would greatly enhance Rev and many types of applications that we work with. I know it would make a big difference to me. A. An indent paragraph textStyle property. An indent paragraph textStyle property would allow a paragraph, ie line, or chunk of text to indent to a tab stop or margin as if you were adjusting the leftmargin of only a portion of a field. I could see this being done in one of a number of ways. 1. Allow the leftMargin / rightMargin be applied to chunks of text. ie. set the leftMargin of line 3 of fld "WhichField" to 10 set the rightMargin of line 4 to 5 of fld "WhichField" to 10 set the leftRightMargin of line 6 of fld "WhichField" to 10,50 or 2. Creating a property that is applied to a chuck of text, similar to textStyle, Font, or color, but which indents the text. ie. set the leftIndent of line 2 of fld "WhichField" to 10 really the same as above but with a different name. or 3. Create a constant that is similar to the space constant, but a space would be interpreted as a tab (one for each constant) when it is before each "wrapped" element of a line. Presently this can sort of be done by jumping through all kinds of hoops in order to create the look of an indented paragraph in a report, by putting a hard space & a tab before the first character in each wrapped portion of a line. Normally extra Tabs and Spaces are filtered out from a line when they are the first character in a wrapped line, so the hard space is required to allow the tab(s) to indent the paragraph. This is not truly a solution because if the user edits the report by adding or subtracting text from the document, all of the formating is screwed up. All of the hard space / tabs have to be filtered out of the text and then the text has to be reinitialized. Not a good / professional solution from the standpoint of the client. Bugzilla # 3088 http://support.runrev.com/bugdatabase/show_bug.cgi?id=3088 B.A textAlign property that would be able to be applied to chunks of text, just like font, size, color, and style (bold, italic, etc.) are, not just to an entire field. A textAlign property that would be able to be applied to chunks of text, just like font, size, color, and style (bold, italic, etc.) are, not just to an entire field. ie. set the textAlign of line 1 of field "Results Notification" to center This would make normal text report / text document generation tons easlier. You would not have to create a form, a group etc. in order to do something that is common and easly done in 90 percent of the applications out there. Bugzilla # 3087 http://support.runrev.com/bugdatabase/show_bug.cgi?id=3087 Several years ago, before bugzilla, this request was made and there were a bunch of people supporting the request, but nothing ever came of it. Please consider adding these few textStyle enhancement features. Dave Calkins ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
What Just got Clicked
Hello, I have been playing around with ChartMaker from Flexible Learning. It is a very cool little tool! -- Todd Geist __ G e i s t i n t e r a c t i v e Once my chart is created, I would like to be able to "drill down" on the graph elements. So I need to know which of the slices of pie I just clicked on. The chart is a group of graphics and fields. And I know I can add MouseUp Handlers to the the graphics, but the Chart is recreated each time the data is refreshed so it would wipe out my handlers. Is there some way either to add the MouseUp Handlers via script after the chart is in place? Or is there some way for the card to know which slice of the pie was clicked On? Is there some property that is set with each object that a message passes through? I am flailing about here :<( Does any of this make sense? Thanks Todd -- Todd Geist __ G e i s t i n t e r a c t i v e ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Mac Classic standalones
Confirmed. I can build this application under Rev 2.5.1 for OS9 and it works exactly as expected. If I build the same app under 2.6, it comes up with a blank window and stares at me. Huge problem, obviously, but glad I kept 2.5.1 around. On Aug 26, 2005, at 2:45 PM, Dan Shafer wrote: Hmmm. This may explain why my SmartEBooks don't work in OS9 either. I'm going to go build those standalones in Rev 2.5 and see if they work then. I'll report back. On Aug 26, 2005, at 1:49 PM, Jeffrey Reynolds wrote: hmm, well i have tried using the rev2.5 engine installed in my rev2.6 osx authoring system (using rev to uncompress the os92.5 rev as jacque advised and installed in the engines folder) and when i build apps with the os9 engine they appear to be pretty much non functional. openstack scripts dont seem to work at all and other things are not functioning. the same stack build in osx standalone works great. this is material that was from older code, so is not asking the 2.5 engine for the os9 to be doing anything that should be 2.6 specific. also created a test stack from scratch in 2.6 and have the same problem with the 2.5 ox9 standalone. the os9 standalones build fine from osx 2.6 authoring system, they just dont function properly after booting. not sure what i am doing wrong... thanks jeff On Aug 26, 2005, at 12:56 PM, use-revolution- [EMAIL PROTECTED] wrote: Yes and I don't know. On Aug 26, 2005, at 8:07 AM, Jeffrey Reynolds wrote: Is the Mac Classic Rev2.5 engine still functional to build standalone apps from Rev2.6 (osx)? Is there going to be a rev2.6 mac classic engine? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Mac Classic standalones
> the os9 standalones build fine from osx 2.6 authoring system, they > just dont function properly after booting. > > not sure what i am doing wrong... > > thanks > > jeff Hi Jeff, there is nothing you do wrong. I can confirm this behaviour. I only was able to build for 9 under 2.5. In 2.6 builts my stacks open, but hang. All the best, Malte ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum help flood victims from Switzerland: www.derbrill.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Dan Shafer's E-books
Charles. Having sent me a private email on this subject, I wish you had waited for me to reply before posting this in the general forum. Back when the decision was jointly made by me and RunRev to abandon the idea of producing Vol 2 & 3 of the series as printed books, I wrote every registered member of the RevPros community in advance of the announcement and laid out very carefully our offer. All those who were members of the RevPros community received their full year's membership in that community as promised. All of them are also entitled to FREE copies of EVERY SmartEBook I publish on the subject of Revolution until at least 10 such books have been released. Finally, everyone who joined at the highest level of $197 are still entitled to use their one hour of consultation time with me any time in the 12 months after the community was closed in February. Furthermore, anyone who joined the community at any level and was not satisfied that this plan results in them feeling that they've been treated not just fairly but generously, is encouraged to contact me via private email and arrange for a full or partial refund. On Aug 26, 2005, at 1:26 PM, CHARLES W SZASZ wrote: Have anybody heard what is propose for those of us who originally paid for three volumes of Dan's Revolution book? I have the first book as PDF and the two chapters. I am hoping that the original purchasers of all three volumes of Dan's books do not have to pay again for these books. Charles Szasz Lead School Psychologist and Section 504 Coordinator Kanawha County Schools (304) 348-7770, Ext. 347 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Mac Classic standalones
Hmmm. This may explain why my SmartEBooks don't work in OS9 either. I'm going to go build those standalones in Rev 2.5 and see if they work then. I'll report back. On Aug 26, 2005, at 1:49 PM, Jeffrey Reynolds wrote: hmm, well i have tried using the rev2.5 engine installed in my rev2.6 osx authoring system (using rev to uncompress the os92.5 rev as jacque advised and installed in the engines folder) and when i build apps with the os9 engine they appear to be pretty much non functional. openstack scripts dont seem to work at all and other things are not functioning. the same stack build in osx standalone works great. this is material that was from older code, so is not asking the 2.5 engine for the os9 to be doing anything that should be 2.6 specific. also created a test stack from scratch in 2.6 and have the same problem with the 2.5 ox9 standalone. the os9 standalones build fine from osx 2.6 authoring system, they just dont function properly after booting. not sure what i am doing wrong... thanks jeff On Aug 26, 2005, at 12:56 PM, use-revolution- [EMAIL PROTECTED] wrote: Yes and I don't know. On Aug 26, 2005, at 8:07 AM, Jeffrey Reynolds wrote: Is the Mac Classic Rev2.5 engine still functional to build standalone apps from Rev2.6 (osx)? Is there going to be a rev2.6 mac classic engine? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Conference Stacks (was menu maven)
[EMAIL PROTECTED] wrote: Jacque, You wrote: "Since I kind of doubt that people are using the "Notes" card at the end, I was thinking of putting additions in there. Of course, then folks have to remember to go look there. But it seems like a logical place to put it, and the card already exists." I agree. Another benefit of eliminating the Notes card, as we know it now, is people will not be randomly changing the stacks. There will be one "official" stack on the Rev server which will always have the latest info - this will encourage browsing rather than downloading. Everything will be in sync. Theoretically it's supposed to be like that now. Originally the Notes card was just for the user's personal copy, so unless someone is distributing theirs privately I don't think there will be much conflict. The "official" stack is the one on the server. I also think it is important to have a "gate-keeper". Someone should review, filter, and possibly consolidate, the additions. I believe the best person to do this is the conference author. That would be helpful. They could send me the additions in an email and I could add them to the "official" copy on the server. Paul Looney PS I hope you don't have to refer to that framed "for bad days" compliment too often. Me too! :) -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Mac Classic standalones
hmm, well i have tried using the rev2.5 engine installed in my rev2.6 osx authoring system (using rev to uncompress the os92.5 rev as jacque advised and installed in the engines folder) and when i build apps with the os9 engine they appear to be pretty much non functional. openstack scripts dont seem to work at all and other things are not functioning. the same stack build in osx standalone works great. this is material that was from older code, so is not asking the 2.5 engine for the os9 to be doing anything that should be 2.6 specific. also created a test stack from scratch in 2.6 and have the same problem with the 2.5 ox9 standalone. the os9 standalones build fine from osx 2.6 authoring system, they just dont function properly after booting. not sure what i am doing wrong... thanks jeff On Aug 26, 2005, at 12:56 PM, [EMAIL PROTECTED] wrote: Yes and I don't know. On Aug 26, 2005, at 8:07 AM, Jeffrey Reynolds wrote: Is the Mac Classic Rev2.5 engine still functional to build standalone apps from Rev2.6 (osx)? Is there going to be a rev2.6 mac classic engine? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Installers for Mac / Linux?
Derek Bump wrote: My suggestion would be to follow what is traditional for the platform. A setup from for Windows. A DMG for MacOS X. Amen, brother. I love DMGs for many reasons, not the least of which is that it liberates us from the strange pricing practices of so many installer vendors: There are a couple that have a one-time fee for their Windows version, but require annual per-product fees for their Mac version. Since these companies started out on the Mac I'm surprised they've chosen to add to the "Mac tax", but homey don't that game anymore -- it's DMGs all the way for me, and adios to anti-Mac pricing. With one vendor, moving to DMGs has also helped me stop rewarding dumb behavior: they allow you to purchase a new license quickly and conveniently online, but renewals require downloading a PDF, printing it, faxing the physical document back to them, and waiting until the next morning when their staff arrives to process their fax orders. When I wrote to ask if renewals could be made as simple as new purchases, their answer amounted to "Because that's how we do things." So this is how I do things: I make DMGs, and they're not my vendor anymore. :) -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2
Lynch, Jonathan wrote: No way to re-use - the data is stored in custom props and displayed in tables. The tables are constantly deleted and created as needed. If I did not do this, the program could easily wind up occupying gigabites of ram when it is running. If you reuse the objects there would be no additional objects cluttering memory. If the issue is the prop data, why not just clear the custom props when re-using the objects? How does the program keep track of id counts? I would think it would be safe as a standalone. Surely a standalone which never saves stacks (all data stored externally) would not have the ability to keep a running track of its ids? In my limited testing it seems the engine maintains a single record of the last ID used, incremented when an object is created. Since a standalone doesn't save, then you'd be safe to the degree a user would never make more than 64000 objects in a given session (see Dick's post about my mistake on altIDs -- only built-in IDs have a range of 2 billion; altIDs are limited to 65535). -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2
Why does the alt id need to be an integer? And it should be addressed in this form: Field altID xyz not file ID xyz Would you guys agree? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Gaskin Sent: Friday, August 26, 2005 4:25 PM To: How to use Revolution Subject: Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 Dick Kriesel wrote: > On 8/26/05 11:49 AM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote: > > >>I think altID is the way to go because it also lets you reference things >>numerically > > > >>b) Valid ID numbers go up to 2 billion > > > Valid altID numbers go up to only 65535. > > create button > repeat with i = 65535 to 65537 > set the altID of it to i > put the altID of it & cr after msg > end repeat > > The above puts the following: > > 65535 > 0 > 1 > > I could not find a BugZilla entry about altID. Does anyone else think there > should be one? Should it be a bug report or an enhancement request? Excellent catch, Dick. I had no idea that the altID would use a completely different scheme from the ID. I would think that would be an enhancement request, and given the number of people who would use it (you, me, and Jonathan) I think we can guess when it would be implemented. ;) -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Dan Shafer's E-books
Have anybody heard what is propose for those of us who originally paid for three volumes of Dan's Revolution book? I have the first book as PDF and the two chapters. I am hoping that the original purchasers of all three volumes of Dan's books do not have to pay again for these books. Charles Szasz Lead School Psychologist and Section 504 Coordinator Kanawha County Schools (304) 348-7770, Ext. 347 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2
Dick Kriesel wrote: On 8/26/05 11:49 AM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote: I think altID is the way to go because it also lets you reference things numerically b) Valid ID numbers go up to 2 billion Valid altID numbers go up to only 65535. create button repeat with i = 65535 to 65537 set the altID of it to i put the altID of it & cr after msg end repeat The above puts the following: 65535 0 1 I could not find a BugZilla entry about altID. Does anyone else think there should be one? Should it be a bug report or an enhancement request? Excellent catch, Dick. I had no idea that the altID would use a completely different scheme from the ID. I would think that would be an enhancement request, and given the number of people who would use it (you, me, and Jonathan) I think we can guess when it would be implemented. ;) -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2
On 8/26/05 11:49 AM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote: > I think altID is the way to go because it also lets you reference things > numerically > b) Valid ID numbers go up to 2 billion Valid altID numbers go up to only 65535. create button repeat with i = 65535 to 65537 set the altID of it to i put the altID of it & cr after msg end repeat The above puts the following: 65535 0 1 I could not find a BugZilla entry about altID. Does anyone else think there should be one? Should it be a bug report or an enhancement request? -- Dick ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2
No way to re-use - the data is stored in custom props and displayed in tables. The tables are constantly deleted and created as needed. If I did not do this, the program could easily wind up occupying gigabites of ram when it is running. How does the program keep track of id counts? I would think it would be safe as a standalone. Surely a standalone which never saves stacks (all data stored externally) would not have the ability to keep a running track of its ids? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Gaskin Sent: Friday, August 26, 2005 3:01 PM To: How to use Revolution Subject: Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 Lynch, Jonathan wrote: > My software creates and deletes tons of objects on the fly. > > I just looked at a new field's prop inspector, and its id was 97807 Watch out! Only 999,902,193 IDs left to go. :) I'm not sure what happens if the engine runs out of IDs. Mr. Waddingham, what's the word? Is there any way your software could reuse those objects? Is it necessary to do all that in a single stack? -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2
Lynch, Jonathan wrote: My software creates and deletes tons of objects on the fly. I just looked at a new field's prop inspector, and its id was 97807 Watch out! Only 999,902,193 IDs left to go. :) I'm not sure what happens if the engine runs out of IDs. Mr. Waddingham, what's the word? Is there any way your software could reuse those objects? Is it necessary to do all that in a single stack? -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2
My software creates and deletes tons of objects on the fly. I just looked at a new field's prop inspector, and its id was 97807 Oh dear... What happens if I hit the limit on id length? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Gaskin Sent: Friday, August 26, 2005 2:49 PM To: How to use Revolution Subject: Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 Lynch, Jonathan wrote: > I have a table object that consists of fields which serve as cells, > inside of groups which serve as rows, inside of a group which is the > table. > > Each Row is named group mRow_1, mRow_2, mRow_3 etc... > > When you drag a row so that it is moved in between two other rows, its > name is changed. Each row holds a customproperty describing the location > of information in another stack. > > When you type in the other stack, the change is reflected instantly in > the table. To do this, it goes to the table in question, and looks for > the row containing the appropriate custom property, than changes the > text in that row. > > It works great, and I cannot see any slowness. However, if I had a > couple hundred rows, I think there would be some slowness with having to > search for the appropriate row on every single keystroke. > > See, I cannot tell it to make a change to the row by its name without > first searching for the row that contains that name, because its name > may change as rows are added, deleted, or moved. > > I could do it by its altid property - but I don't trust altID - it makes > me nervous because it is addressed through the same commands as the ID > property. If it was addressed like this: Field altID 100- well, that > would work fine. But as it is set up right now, it can get confused > between field id 100 and field altid 100. I think altID is the way to go because it also lets you reference things numerically, which seems well suited to what you're doing. I was playing with the altID last week and got over my own trepidation about it. My big question was how the lookup happens, whether the engine searches both IDs of each object or searches ID for all and then altID for all -- turns out it's the former. For example: 1. Make two buttons 2. Set the altID of the first button to the ID of the second (let's assume that second ID is "1002") 3. Run this in the Message Box: select btn id 1002 Result: the first button is selected At first this sounds like a recipe for disaster, but there are only two things to keep in mind to use it effectively: a) Each stack has a single ID incrementer for all objects, and it starts at a very low number (1001?) b) Valid ID numbers go up to 2 billion So if you establish a base ID well above a million you should never conflict with the engine's ID numbering scheme (unless of course you have more than a million objects, but then you'll have other problems to deal with ). This means once you've set the altIDs you can do something like this: put 100 into tBaseID repeat with i = 1 to 100 get the whateverProperty of fld ID (tBaseID+i) end repeat -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2
Lynch, Jonathan wrote: I have a table object that consists of fields which serve as cells, inside of groups which serve as rows, inside of a group which is the table. Each Row is named group mRow_1, mRow_2, mRow_3 etc... When you drag a row so that it is moved in between two other rows, its name is changed. Each row holds a customproperty describing the location of information in another stack. When you type in the other stack, the change is reflected instantly in the table. To do this, it goes to the table in question, and looks for the row containing the appropriate custom property, than changes the text in that row. It works great, and I cannot see any slowness. However, if I had a couple hundred rows, I think there would be some slowness with having to search for the appropriate row on every single keystroke. See, I cannot tell it to make a change to the row by its name without first searching for the row that contains that name, because its name may change as rows are added, deleted, or moved. I could do it by its altid property - but I don't trust altID - it makes me nervous because it is addressed through the same commands as the ID property. If it was addressed like this: Field altID 100- well, that would work fine. But as it is set up right now, it can get confused between field id 100 and field altid 100. I think altID is the way to go because it also lets you reference things numerically, which seems well suited to what you're doing. I was playing with the altID last week and got over my own trepidation about it. My big question was how the lookup happens, whether the engine searches both IDs of each object or searches ID for all and then altID for all -- turns out it's the former. For example: 1. Make two buttons 2. Set the altID of the first button to the ID of the second (let's assume that second ID is "1002") 3. Run this in the Message Box: select btn id 1002 Result: the first button is selected At first this sounds like a recipe for disaster, but there are only two things to keep in mind to use it effectively: a) Each stack has a single ID incrementer for all objects, and it starts at a very low number (1001?) b) Valid ID numbers go up to 2 billion So if you establish a base ID well above a million you should never conflict with the engine's ID numbering scheme (unless of course you have more than a million objects, but then you'll have other problems to deal with ). This means once you've set the altIDs you can do something like this: put 100 into tBaseID repeat with i = 1 to 100 get the whateverProperty of fld ID (tBaseID+i) end repeat -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2
J. Landman Gay wrote: Mark Wieder wrote: How about the opposite? Stop using the *long* form... it means less typing and you get the same effect (see your subject line)... A Modest Proposal: How about if we eliminate both and enforce just a single-character typing convention for objects and numeric values only for object identification? That way "field 3 of card 7" would come out to "f3c7" for a minimum of typing. ... HEAVE. SPLAT!! That was pretty much my reaction to the suggest of eliminating the more efficient form of object tokens. I write my own script editor so it's not hard for me to make my own replace routine on save. But I fear for Mr. Waddingham when the citizens storm the Edinburgh offices with torches and pitchforks after discovering that the code style they've been using for years is no longer supported. ;) I like Mark, I don't want to see any harm come to him. I appreciate the relationship between the size of the token table and execution efficiency. But does this one really affect speed? It would seem more of a compilation issue than execution, since "button" and "btn" could both be tokenized to the same internal symbol. Maybe this calls for a transition from runtime compilation to up-front compilation (at least as an option), which might open many other doors besides -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2
I want more ways of addressing an object. I could really use an altname property. Put 8 into field altname "myField" This way I can address a field by either its name or its altname. I have a definite use for that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Barncard Sent: Friday, August 26, 2005 2:06 PM To: How to use Revolution Subject: Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 Don't like that. Looks like APL to me. A major point of Transcript is to be easily HUMAN readable. Consider a rotten apple thrown. > >A Modest Proposal: > >How about if we eliminate both and enforce just a single-character >typing convention for objects and numeric values only for object >identification? That way "field 3 of card 7" would come out to "f3c7" >for a minimum of typing. The engine's parser would, of course, >separate these into separate tokens "f 3 c 7" and be quite happy. >Developers would have to type just four characters and the code would >be much more readable because there's just one way to describe an >object instead of two. The engine's parser would also run faster >because it wouldn't have to discriminate between two different forms >of object description. > > > >-- >-Mark Wieder ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2
I have a table object that consists of fields which serve as cells, inside of groups which serve as rows, inside of a group which is the table. Each Row is named group mRow_1, mRow_2, mRow_3 etc... When you drag a row so that it is moved in between two other rows, its name is changed. Each row holds a customproperty describing the location of information in another stack. When you type in the other stack, the change is reflected instantly in the table. To do this, it goes to the table in question, and looks for the row containing the appropriate custom property, than changes the text in that row. It works great, and I cannot see any slowness. However, if I had a couple hundred rows, I think there would be some slowness with having to search for the appropriate row on every single keystroke. See, I cannot tell it to make a change to the row by its name without first searching for the row that contains that name, because its name may change as rows are added, deleted, or moved. I could do it by its altid property - but I don't trust altID - it makes me nervous because it is addressed through the same commands as the ID property. If it was addressed like this: Field altID 100- well, that would work fine. But as it is set up right now, it can get confused between field id 100 and field altid 100. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Rossi Sent: Friday, August 26, 2005 2:27 PM To: How to use Revolution Subject: Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 Recently, Lynch, Jonathan wrote: > I want more ways of addressing an object. I could really use an altname > property. > > Put 8 into field altname "myField" > > This way I can address a field by either its name or its altname. I have > a definite use for that. Currently you can address a field by its name, id and number. What need do you have that would require another form of address? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2
Lynch, Jonathan wrote: I want more ways of addressing an object. I could really use an altname property. Put 8 into field altname "myField" This way I can address a field by either its name or its altname. I have a definite use for that. I'll bite: How? -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2
Stephen Barncard wrote: Thanks, Mark for those insights on the engine - the more we know how it works, the more we can get out of rev! sqb > > repeat while(x+1) < 10 > put word(x+1) of "This is a test" > >Although this is consistent, it still *looks* wrong to me... it looks like >"while" and "word" are functions in the example above. Is it just me, or is > >this a bug that has been in the engine for a long time? Mark. An interesting exercise that can also have practical application is to play with the token chunk type, e.g.: get "put MyFunc(tSomeArray[tKey]) into fld 2" repeat for each token tToken in it put tToken &cr after tList end repeat put tList Yields: put MyFunc ( tSomeArray [ tKey ] ) into fld 2 -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2
Recently, Lynch, Jonathan wrote: > I want more ways of addressing an object. I could really use an altname > property. > > Put 8 into field altname "myField" > > This way I can address a field by either its name or its altname. I have > a definite use for that. Currently you can address a field by its name, id and number. What need do you have that would require another form of address? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2
Don't like that. Looks like APL to me. A major point of Transcript is to be easily HUMAN readable. Consider a rotten apple thrown. A Modest Proposal: How about if we eliminate both and enforce just a single-character typing convention for objects and numeric values only for object identification? That way "field 3 of card 7" would come out to "f3c7" for a minimum of typing. The engine's parser would, of course, separate these into separate tokens "f 3 c 7" and be quite happy. Developers would have to type just four characters and the code would be much more readable because there's just one way to describe an object instead of two. The engine's parser would also run faster because it wouldn't have to discriminate between two different forms of object description. -- -Mark Wieder ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Dan's books -- where can I get chapters 13 - 20, 22-24, etc ?
Hi Dan, Thanks for the clarification. Please do exagerate any sense of demand. I look forward to other chapters. -- Harvey -- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Shafer Sent: Friday, August 26, 2005 10:32 AM To: How to use Revolution Subject: Re: Dan's books -- where can I get chapters 13 - 20, 22-24, etc ? The chapter numbering is an artifact of the old publishing model, Harvey. I am not planning to release full volumes 2 & 3, but rather individual topic discussions like the two you downloaded. The chapter numbers on those will go away at some point; I kept them this way for now to avoid more confusion than I was already causing! The printing SmartEBook is in final editing now and should be released "Real Soon Now" (ancient software term meaning "when the programmer finally releases the damn stuff"). More will follow every 1-3 weeks thereafter as long as demand keeps up and I don't run out of topics. On Aug 26, 2005, at 9:38 AM, Harvey Toyama wrote: > Hi List, > > I bought "Software the Speed of Thought" a while ago. I just > downloaded > the two smartbooks from the ShaferMedia site. The book contains > chapters > 1-12, and the two smartbooks cover chapters 21 and 25. > > > > Anyone have a release schedule for the other chapters? > > > > -- Harvey > > -- > > Harvey Toyama > > QLogic Corporation > > 949-389-7601 > > > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Conference Stacks (was menu maven)
Jacque, You wrote: "Since I kind of doubt that people are using the "Notes" card at the end, I was thinking of putting additions in there. Of course, then folks have to remember to go look there. But it seems like a logical place to put it, and the card already exists." I agree. Another benefit of eliminating the Notes card, as we know it now, is people will not be randomly changing the stacks. There will be one "official" stack on the Rev server which will always have the latest info - this will encourage browsing rather than downloading. Everything will be in sync. I also think it is important to have a "gate-keeper". Someone should review, filter, and possibly consolidate, the additions. I believe the best person to do this is the conference author. Paul Looney PS I hope you don't have to refer to that framed "for bad days" compliment too often. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to pass a message to a substack (or back)?
Hi Gajo, Hi, I have the main stack, and when I want to add a new item to a list a new dialog/substack is opened. Here the user can enter some information, and when he clicks on the OK button I want to send that information back to the main stack, so it would appear in the list. this is a list on some card, a variable or custom property? How can I do it? Try this in your script in your mainstack: ... ask "Enter new list item:" with "New list item :-)" ## or whatever you want to ask the user... if it <> empty then if fld "list field" of cd x <> empty then put CR & it after fld x of cd y else put it into fld x of cd y end if ... or something like this, if i understood you correctly ;-) You can also put this into a handler in your mainstack: on append2mylist what if fld "list field" of cd x <> empty then put CR & it after fld x of cd y ##append 2 field else put it into fld x of cd y ##fill field end if end append2mylist ...and call it from any other (sub)stack: ... ask ... ## or not ask... if it <> empty then send "append2mylist" && it to stack "mainstack goes here..." end if ... I tried declaring a variable global but it seems I overestimated its globality, cause the other script can't see it. I also tried creating a message in one stack, and then I call that from another stack, but the message can't be found from there. How can I do this? Thanks, Csaba Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: How to pass a message to a substack (or back)?
Also - if you were to use global variables, they should work. Just remember that they need to be delcared for each script. Button in Substack: On Mousedown Global myGlobalVar Put "5" into myGlobalVar End Mousedown Button in mainstack: On mousedown Global myGlobalVar Answer myGlobalvar End mousedown With the above configuration, if you press the button in the substack first, the information will be retrieved from the global variable when you press the button in the mainstack. Notice how myGlobalVar is declared as a global in both scripts - this is necessary. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gajo Csaba Sent: Friday, August 26, 2005 1:23 PM To: use-revolution@lists.runrev.com Subject: How to pass a message to a substack (or back)? Hi, I have the main stack, and when I want to add a new item to a list a new dialog/substack is opened. Here the user can enter some information, and when he clicks on the OK button I want to send that information back to the main stack, so it would appear in the list. How can I do it? I tried declaring a variable global but it seems I overestimated its globality, cause the other script can't see it. I also tried creating a message in one stack, and then I call that from another stack, but the message can't be found from there. How can I do this? Thanks, Csaba ___ [freemail] extra 1GB-os postafiókkal, Önnek már van? http://freemail.hu ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
terms... (Re: Dan's books -- where can I get chapters 13 - 20, 22-24, etc ?)
On Aug 26, 2005, at 2:32 PM, Dan Shafer wrote: The printing SmartEBook is in final editing now and should be released "Real Soon Now" (ancient software term meaning "when the programmer finally releases the damn stuff"). More will follow every 1-3 weeks thereafter as long as demand keeps up and I don't run out of topics. Back when I was coursing engineering in the Catholic University of Rio de Janeiro, I was a junior worker at a lab. There we used terms like that to the point of making stamps to use on paper forms. It was an experimental robotics lab, meaning, we broke computers like elephants in a china shop. Everytime something exploded we needed to fill a paper form with two main fields, one was labeled: "Problem:" meaning why the hell the thing was not functioning, the second "Solution:" meaning, if the thing was not destroyed and we managed to get it back working, how we solved the problem. We had two stamps made for this, one was: OGK (Only God Knows...), when every thing failed we stamped this on the problem field. If the thing came back aline we had a stamp: "IFI" (It Fixed Itself) meaning we had not the slightest clue on why the thing was working again... fun times... I still remember the teacher putting on my schedule for a day "Andre, please water the binary tree...", he would play those tricks on the rookies, like "All you hookies, grab this plastic bags, go to the wall on the second floor, you all know that the particle accelerator passes thru it, we need some free electrons for our new experiements, your job is to put this bags next to the wall till they fill up with the free electrons that misses the turn on the second corridor, then bring it back..." I miss it sometimes... cheers andre ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to pass a message to a substack (or back)?
Hi Gabo, You could check the following entries in the docs: modal - command dialogData - property This combination will let you to run a handler displaying a custom window (using the modal command) where the user will have to make a choice to go on, then get back his choice (using the dialogData) in the same handler and finally perform the process you want according to the value of the dialogData. Le 26 août 05 à 19:22, Gajo Csaba a écrit : I have the main stack, and when I want to add a new item to a list a new dialog/substack is opened. Here the user can enter some information, and when he clicks on the OK button I want to send that information back to the main stack, so it would appear in the list. How can I do it? I tried declaring a variable global but it seems I overestimated its globality, cause the other script can't see it. I also tried creating a message in one stack, and then I call that from another stack, but the message can't be found from there. Best Regards from Paris, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Dan's books -- where can I get chapters 13 - 20, 22-24, etc ?
The chapter numbering is an artifact of the old publishing model, Harvey. I am not planning to release full volumes 2 & 3, but rather individual topic discussions like the two you downloaded. The chapter numbers on those will go away at some point; I kept them this way for now to avoid more confusion than I was already causing! The printing SmartEBook is in final editing now and should be released "Real Soon Now" (ancient software term meaning "when the programmer finally releases the damn stuff"). More will follow every 1-3 weeks thereafter as long as demand keeps up and I don't run out of topics. On Aug 26, 2005, at 9:38 AM, Harvey Toyama wrote: Hi List, I bought "Software the Speed of Thought" a while ago. I just downloaded the two smartbooks from the ShaferMedia site. The book contains chapters 1-12, and the two smartbooks cover chapters 21 and 25. Anyone have a release schedule for the other chapters? -- Harvey -- Harvey Toyama QLogic Corporation 949-389-7601 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
How to pass a message to a substack (or back)?
Hi, I have the main stack, and when I want to add a new item to a list a new dialog/substack is opened. Here the user can enter some information, and when he clicks on the OK button I want to send that information back to the main stack, so it would appear in the list. How can I do it? I tried declaring a variable global but it seems I overestimated its globality, cause the other script can't see it. I also tried creating a message in one stack, and then I call that from another stack, but the message can't be found from there. How can I do this? Thanks, Csaba ___ [freemail] extra 1GB-os postafiókkal, Önnek már van? http://freemail.hu ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2
Hi Mark, f3 c7? Sunk! ;-) Le 26 août 05 à 18:36, Mark Wieder a écrit : A Modest Proposal: How about if we eliminate both and enforce just a single-character typing convention for objects and numeric values only for object identification? That way "field 3 of card 7" would come out to "f3c7" for a minimum of typing. The engine's parser would, of course, separate these into separate tokens "f 3 c 7" and be quite happy. Developers would have to type just four characters and the code would be much more readable because there's just one way to describe an object instead of two. The engine's parser would also run faster because it wouldn't have to discriminate between two different forms of object description. Best Regards from Paris, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2
Thanks, Mark for those insights on the engine - the more we know how it works, the more we can get out of rev! sqb > > repeat while(x+1) < 10 > put word(x+1) of "This is a test" > >Although this is consistent, it still *looks* wrong to me... it looks like >"while" and "word" are functions in the example above. Is it just me, or is > >this a bug that has been in the engine for a long time? Mark. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Disclosure Triangles in Fields
There is a ready to use example in the Objects library Hello Everyone, How do you provide disclosure triangles in a field? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Saluting the Menu Maven
[EMAIL PROTECTED] wrote: JAED, brilliant, talented.and gracious! Of course Jacque is the patron saint of xCarding. A measure of how good she is, is the way we all take her for granted. Thank you. I will frame this and look at it on bad days. :) Paul Looney PS What do you think of adding an "Addenda" page to the scripting conference stacks? This could serve for all those minor afterthoughts, corrections, additions, etc. It could only be edited by the author of the conference and additions would be chronological. I was thinking exactly the same thing when I first saw your comment, and again when Ken added his. Since I kind of doubt that people are using the "Notes" card at the end, I was thinking of putting additions in there. Of course, then folks have to remember to go look there. But it seems like a logical place to put it, and the card already exists. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [FR] [EN] Arcade engine
Marielle Lange <[EMAIL PROTECTED]> wrote: > Il y qqes liens dans le revolution-education wiki vers du code pour > détection de collision / A few links on code for collision détection at: > http://revolution.lexicall.org/wiki/tiki-index.php? > page=TechniquesGamesPhysics > > Not really related, the latest more important addition to the wiki is > a page on visual programming languages, with plenty of links to open > source code: > http://revolution.lexicall.org/wiki/tiki-index.php? > page=TechniquesVisualProgramming > (I did a bit of homework for the following project: > http://revolution.lexicall.org/projects/overview/ ) > > The most important doesn't mean the only one. If use your login, you > may discover that more than 100 pages have been changed since your > last visit. Hello Marielle, I tried to subscribe to the "Ed" List once or twice, with no luck... Or have I missed something? -- Revolutionario ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2
On 8/26/05 11:36 AM, "Mark Wieder" <[EMAIL PROTECTED]> wrote: > Ken- > > Friday, August 26, 2005, 7:13:32 AM, you wrote: > >> How about the opposite? Stop using the *long* form... it means less typing >> and you get the same effect (see your subject line)... (he said, dodging >> fruit) ;-) > > ...in that case *all* my stacks would stop working... > > > > A Modest Proposal: > > How about if we eliminate both and enforce just a single-character > typing convention for objects and numeric values only for object > identification? That way "field 3 of card 7" would come out to "f3c7" > for a minimum of typing. The engine's parser would, of course, > separate these into separate tokens "f 3 c 7" and be quite happy. > Developers would have to type just four characters and the code would > be much more readable because there's just one way to describe an > object instead of two. The engine's parser would also run faster > because it wouldn't have to discriminate between two different forms > of object description. > > See now you're getting dangerously close to dot notation: set c7.f3.name to "Ken" (Hey! Who threw the watermelon?) ;-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2
Mark Wieder wrote: Ken- Friday, August 26, 2005, 7:13:32 AM, you wrote: How about the opposite? Stop using the *long* form... it means less typing and you get the same effect (see your subject line)... (he said, dodging fruit) ;-) ...in that case *all* my stacks would stop working... A Modest Proposal: How about if we eliminate both and enforce just a single-character typing convention for objects and numeric values only for object identification? That way "field 3 of card 7" would come out to "f3c7" for a minimum of typing. The engine's parser would, of course, separate these into separate tokens "f 3 c 7" and be quite happy. Developers would have to type just four characters and the code would be much more readable because there's just one way to describe an object instead of two. The engine's parser would also run faster because it wouldn't have to discriminate between two different forms of object description. HEAVE. SPLAT!! -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Help with webdesign (was: I need help!!!)
first of all Im new to html but I like learning it.I sometimes stay on my website looking for ways to improve it.but i don't make the things that are in my site.I want to make the template,the pictures,everything so I can truly say that I did my very own site.but I need help,because I only started about 4 weeks ago on html.I know theres other languages out there but html is cool...its practically unlimited to any resource.please somebody give me somewhere to start at.thank you. Hi Jose, You will find links on webdesign on the revolution-education wiki: http://revolution.lexicall.org/wiki/tiki-index.php?page=TechnologiesWeb The secret to good web-design: use of templates. For this, you need at least CSS. Eventually CSS+PHP. You will find plenty of CSS templates at: http://revolution.lexicall.org/wiki/tiki-index.php?page=StandardsCSS The best way to learn: (1) Find some good tutorials (see the links above), to get a general idea. (2) Find inspiration (see the links above for that) (3) Use mozilla and the toolbar that let you re-edit the css of anypage. Download the extension "Edit CSS" at: https://addons.mozilla.org/quicksearch.php?q=css§ion=A (4) Find good reference websites to check out. My favourite is: http://www.w3schools.com/html/default.asp (5) don't forget to use validator tools (see the links above). What looks great on your computer may look completely awkward on other computers (as I recently discovered for my lexicall.org website... I had checked 6 different browsers... but then I forgot about some IE idiosyncrasies and about 65% of the users browser the web with IE6... that is the only browser that doesn't fully conform to the w3 standards) Best, Marielle PS. Yeah, I am reading all the digests I had no time to read over the past weeks, one after the other. Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Saluting the Menu Maven
This is a good idea. One item that comes to mind for every conference is that the author usually has a prepared monologue of what they are going to present at the conference. I find it very choppy and hard to read in the broken up conference format. I have taken to editing the conference log to put the monologue back into a regular paragraph style. It becomes like a new tutorial card in the stack that way. It would be nice if the author was able to put in the monologue as intended into the stack (with corrections). Dennis On Aug 26, 2005, at 12:16 PM, [EMAIL PROTECTED] wrote: JAED, brilliant, talented.and gracious! Of course Jacque is the patron saint of xCarding. A measure of how good she is, is the way we all take her for granted. Paul Looney PS What do you think of adding an "Addenda" page to the scripting conference stacks? This could serve for all those minor afterthoughts, corrections, additions, etc. It could only be edited by the author of the conference and additions would be chronological. For instance: Ken had a suggestion after the conference about button menus. He could submit it to Jeanne. If Jeanne thought this was a good idea she could add it to the addenda page, crediting Ken and dating the addition. Anyone reviewing menus could call up this conference and see if anything had been added since the last visit. This would help keep the conference material correct and current longer without rewriting the entire stack. It would also generate input from people who have something valuable to contribute but lack the copious knowledge, time, or talent to do the whole conference themselves. It would be easier to find comments like Ken's in an addenda conference stack than searching all of the How to use Revolution archives. The tutorials would become even more valuable over time. And when the time came to rewrite one of the tutorials, the addenda information would be conveniently accessible to the tutorial author. -Original Message- From: Jeanne A. E. DeVoto <[EMAIL PROTECTED]> To: How to use Revolution Cc: [EMAIL PROTECTED] Sent: Fri, 26 Aug 2005 00:00:18 -0700 Subject: Re: Saluting the Menu Maven At 10:55 PM -0400 8/25/2005, [EMAIL PROTECTED] wrote: >I was out of town last Saturday when Jeanne DeVoto presented the >menu tutorial and have just finished reading the chat log and reviewing the demos. > My first impression was "WOW!" Thanks . Jacque really deserves 90% or better of the credit here - she made it all easy, prepared the templates and project- managed the whole thing, not to mention hosting the online conf. -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: parse a line into fields
Quoting Robert Brenstein <[EMAIL PROTECTED]>: Hi there Bob, to make sure what's going on make a button with a following script put "theNameOfYourField" into f -- insert your field name here put empty into v get line (the hilitedlines of fld f) of fld f -- or just get line 1 repeat for each char i in it if chartonum(i)<32 then -- control character put "[" & chartonum(i) & "]" after v else if chartonum(i)>126 then -- high-ascii put "[" & chartonum(i) & slash & i & "]" after v else -- normal character put i after v end if end repeat answer v OK it is now clearer The lines look like [0][6]oppn[0][0][0][2]date[0][0][0][3]etc etc In other words... The data items are not in brackets. So the data items are chartonum >126 I assume it could be parsed per line by taking only the items without a bounding []. I could then for example set the item delimiter to ], ignore the item if it starts with [ ? Would that work? All the best bob No. Items with chartonum over 126 would include the actual character after slash. For example, [138/ä]. The numbers in square brackets are ascii values of the control characters that you have. The bottom line of this exercise is that your squares are different control characters not a single one. How to proceed depends on a few things. Somehow, it seems to me that the data from the database is not really binary. If so, you can read it as text and Rev's engine will strip all the null characters for you. Then you can replace the remaining control characters with tabs like follows: get url ("file://" & filePath) replace numtochar(6) with tab in it replace numtochar(2) with tab in it replace numtochar(3) with tab in it It seems that there is a single non-null control character between each item, so the result will display nicely in a field with tabstops set accordingly. Should you get duplicate tabs, you could reduce them with replace tab&tab with tab in it Robert ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Two very simple questions
Gajo, I get that one a lot. I'm pretty sure that happens because you have "Show Invisible Objects" enabled under view. Go into the menu --> view and make sure "Show Invisible Objects" is not selected. That will hide that field and button in the Reference Document. When you exit the ref document and want to see your invisibles again, re-enable "Show Invisible Objects". hth Jason - Original Message - From: "Gajo Csaba" <[EMAIL PROTECTED]> To: Sent: Friday, August 26, 2005 6:00 PM Subject: Re: Two very simple questions Btw. while we're at the subject of bugs, I took a screenshot of another one: http://upl.silentwhisper.net/uplfolders/upload9/screenshot_65812.gif That text box and the revDocLibrary button appears "after some time". I don't know how to reproduce it, but it happenned to me on more than just one occasion. Usually I have some application that I'm writing, and I switch over to the browser to see something, then perhaps switch to playing some music, then I switch back to Revolution and there it is. And it can't be removed, the button remains there above the dictionary list box, and to see what's underneath the button I have to click on a list item to select it, and then it will display its text. ___ [freemail] extra 1GB-os postafiókkal, Önnek már van? http://freemail.hu ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Dan's books -- where can I get chapters 13 - 20, 22-24, etc ?
Hi List, I bought "Software the Speed of Thought" a while ago. I just downloaded the two smartbooks from the ShaferMedia site. The book contains chapters 1-12, and the two smartbooks cover chapters 21 and 25. Anyone have a release schedule for the other chapters? -- Harvey -- Harvey Toyama QLogic Corporation 949-389-7601 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2
Ken- Friday, August 26, 2005, 7:13:32 AM, you wrote: > How about the opposite? Stop using the *long* form... it means less typing > and you get the same effect (see your subject line)... (he said, dodging > fruit) ;-) ...in that case *all* my stacks would stop working... A Modest Proposal: How about if we eliminate both and enforce just a single-character typing convention for objects and numeric values only for object identification? That way "field 3 of card 7" would come out to "f3c7" for a minimum of typing. The engine's parser would, of course, separate these into separate tokens "f 3 c 7" and be quite happy. Developers would have to type just four characters and the code would be much more readable because there's just one way to describe an object instead of two. The engine's parser would also run faster because it wouldn't have to discriminate between two different forms of object description. -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: parse a line into fields
Ken- Friday, August 26, 2005, 7:04:02 AM, you wrote: > Something likes this (assuming your boxes are something like numToChar(1)): > put replaceText(tData,numToChar(1) & "+",tab) into tData Even if it's not numToChar(1), how about put char 1 of tData into tDelimiter put replaceText(tData, tDelimiter & "+", tab) into tData -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Saluting the Menu Maven
JAED, brilliant, talented.and gracious! Of course Jacque is the patron saint of xCarding. A measure of how good she is, is the way we all take her for granted. Paul Looney PS What do you think of adding an "Addenda" page to the scripting conference stacks? This could serve for all those minor afterthoughts, corrections, additions, etc. It could only be edited by the author of the conference and additions would be chronological. For instance: Ken had a suggestion after the conference about button menus. He could submit it to Jeanne. If Jeanne thought this was a good idea she could add it to the addenda page, crediting Ken and dating the addition. Anyone reviewing menus could call up this conference and see if anything had been added since the last visit. This would help keep the conference material correct and current longer without rewriting the entire stack. It would also generate input from people who have something valuable to contribute but lack the copious knowledge, time, or talent to do the whole conference themselves. It would be easier to find comments like Ken's in an addenda conference stack than searching all of the How to use Revolution archives. The tutorials would become even more valuable over time. And when the time came to rewrite one of the tutorials, the addenda information would be conveniently accessible to the tutorial author. -Original Message- From: Jeanne A. E. DeVoto <[EMAIL PROTECTED]> To: How to use Revolution Cc: [EMAIL PROTECTED] Sent: Fri, 26 Aug 2005 00:00:18 -0700 Subject: Re: Saluting the Menu Maven At 10:55 PM -0400 8/25/2005, [EMAIL PROTECTED] wrote: >I was out of town last Saturday when Jeanne DeVoto presented the >menu tutorial and have just finished reading the chat log and reviewing the demos. > My first impression was "WOW!" Thanks . Jacque really deserves 90% or better of the credit here - she made it all easy, prepared the templates and project-managed the whole thing, not to mention hosting the online conf. -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: parse a line into fields
Hi Bob, That's not completely true: all accentuated vowels, ligatures, some signs like the copyright symbol and many other ones have an ASCII code greater than 126. Le 26 août 05 à 17:31, [EMAIL PROTECTED] a écrit : OK it is now clearer The lines look like [0][6]oppn[0][0][0][2]date[0][0][0][3]etc etc In other words... The data items are not in brackets. So the data items are chartonum >126 Best Regards from Paris, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Mac Classic standalones
Yes and I don't know. On Aug 26, 2005, at 8:07 AM, Jeffrey Reynolds wrote: Is the Mac Classic Rev2.5 engine still functional to build standalone apps from Rev2.6 (osx)? Is there going to be a rev2.6 mac classic engine? ~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: parse a line into fields
Quoting Robert Brenstein <[EMAIL PROTECTED]>: Hi there Bob, to make sure what's going on make a button with a following script put "theNameOfYourField" into f -- insert your field name here put empty into v get line (the hilitedlines of fld f) of fld f -- or just get line 1 repeat for each char i in it if chartonum(i)<32 then -- control character put "[" & chartonum(i) & "]" after v else if chartonum(i)>126 then -- high-ascii put "[" & chartonum(i) & slash & i & "]" after v else -- normal character put i after v end if end repeat answer v OK it is now clearer The lines look like [0][6]oppn[0][0][0][2]date[0][0][0][3]etc etc In other words... The data items are not in brackets. So the data items are chartonum >126 I assume it could be parsed per line by taking only the items without a bounding []. I could then for example set the item delimiter to ], ignore the item if it starts with [ ? Would that work? All the best bob This will allow you to analyse what you have there in your lines. Then you can use 'replace' to get rid of those characters replacing each run with a single tab. Robert ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Profiles
Is anyone here using profiles? The htmlText in my fields keeps getting blown away (set to "") when I switch profiles. It is very annoying. I'm not sure if it is a bug or if I'm doing something wrong. I have a field with 3 profiles: "Master", "LevelA", and "LevelB". The htmlText is different between LevelA and LevelB. I get it set up properly. Type 'revSetStackProfile "LevelB"' in the message box, and then the htmlText for LevelB gets set to "" Any thoughts? I've finally given up and created two fields, one for LevelA and one for LevelB, and make appropriate one invisible when that profile is active. While this works, it is klugey. Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: parse a line into fields
Quoting Ken Ray <[EMAIL PROTECTED]>: Hi Eric and Ken (and other of course) have blank spaces in it (not in amongst the squares) Here is a gif of the field http://www.armbase.com/squares.gif All the best Bob Bob, to make sure what's going on make a button with a following script put "theNameOfYourField" into f -- insert your field name here put empty into v get line (the hilitedlines of fld f) of fld f -- or just get line 1 repeat for each char i in it if chartonum(i)<32 then -- control character put "[" & chartonum(i) & "]" after v else if chartonum(i)>126 then -- high-ascii put "[" & chartonum(i) & slash & i & "]" after v else -- normal character put i after v end if end repeat answer v This will allow you to analyse what you have there in your lines. Then you can use 'replace' to get rid of those characters replacing each run with a single tab. Robert ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Debugger Trouble!
On Aug 25, 2005, at 1:28 PM, J. Landman Gay wrote: on test put "abc" into myString add 1 to mystring -- error condition get doSomething(myString) end test Someone has to say it -- this is where static typing would come in handy... That or a smarter compiler that can see the (somewhat obvious) problem with this code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Mac Classic standalones
Is the Mac Classic Rev2.5 engine still functional to build standalone apps from Rev2.6 (osx)? Is there going to be a rev2.6 mac classic engine? thanks jeff reyonlds ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Spell Checker
well, that's very kind; but I guess it's english words only... actually I'm looking for the same kind of thing in french... any clue ? Easy enough: http://lexicall.org/repository/listing.php? material=data&category=words&language=french (yes, same line but with french defined as language rather than english) Choose brulex or lexique (the lexique.org website has been very often down this month, you may have to try a few days in a row). Best, Marielle Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Spell Checker
BTW, where do you guys get the words list ? You can try this: http://lexicall.org/repository/listing.php? material=data&category=words&language=english (make sure it is in one line) And, for instance select the MRC database. Marielle Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Transparent Images
Hi Malte > Hi Scott, the best way is to import images that have an alpha > channel. > e.g. png or .gif files. I prefer png files, as gif has many > disadvantages. You might be interested in this small tutorial: Thanks for this I'll check it out in the morning (it's 12:18 am Saturday here). :-) Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: parse a line into fields
Quoting Ken Ray <[EMAIL PROTECTED]>: Hi Eric and Ken (and other of course) have blank spaces in it (not in amongst the squares) Here is a gif of the field http://www.armbase.com/squares.gif All the best Bob You can use a variation of the code I mentioned a few days ago... at that time, I was trying to convert space runs of 1 or more spaces to only be 1 space. You can use the same approach for converting your box characters to some other delimiter (like a tab) for easy processing. Something likes this (assuming your boxes are something like numToChar(1)): put replaceText(tData,numToChar(1) & "+",tab) into tData HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2
On 8/26/05 6:02 AM, "Mark Waddingham" <[EMAIL PROTECTED]> wrote: > Indeed, the engine is a little too forgiving in places but there are > actually two separate issues here - one related to tokenisation and one > related to parsing. Thanks for the clarification, Mark... it really helps me understand what's going on. > [ I'd also hope to convince people to stop using the shortened form of > control type keywords over time but I fear that if I am too vocal about > this I might run the risk of being pummeled with fruit ;o) ] How about the opposite? Stop using the *long* form... it means less typing and you get the same effect (see your subject line)... (he said, dodging fruit) ;-) > The motivation for giving this advice is a very pragmatic one: the > tighter the syntax of Transcript becomes, the more powerful it can be in > the future. The eventual result being a great reduction in the number of > lines of code you need to write to solve a particular problem. Agreed. Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Setting the Border Color
On 8/26/05 8:59 AM, "David Burgun" <[EMAIL PROTECTED]> wrote: > Hi, > > How do I set the Border Color for a Field? > > I have the following code on a field: > > on dragEnter > set the dropAccept to true Uh, this is "acceptDrop". That should fix it... BTW: Don't forget to reset the borderColor on dragLeave... something like this: on dragEnter set the acceptDrop to true set the borderColor of the target to green pass dragEnter end dragEnter on dragLeave set the borderColor of the target to "" end dragLeave HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: parse a line into fields
On 8/26/05 8:31 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi All. > > I've read a binary file containing entries in a database and put each record > on > a line in a field. > > I dont know how to write in a wee square so imagine the 9 is a square. > > The fields has records in it like this > 999oppndatelocarsltfltrnoterec1999rec2 > 999rec399rec4999rec599rec6 > Now the number of squares can be variable (normally from 2->4) and the line > can > have blank spaces in it (not in amongst the squares) You can use a variation of the code I mentioned a few days ago... at that time, I was trying to convert space runs of 1 or more spaces to only be 1 space. You can use the same approach for converting your box characters to some other delimiter (like a tab) for easy processing. Something likes this (assuming your boxes are something like numToChar(1)): put replaceText(tData,numToChar(1) & "+",tab) into tData HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Setting the Border Color
Hi Dave, The borderColor feature is only available when the threeD property of the field is set to false :-) Le 26 août 05 à 15:59, David Burgun a écrit : How do I set the Border Color for a Field? I have the following code on a field: on dragEnter set the dropAccept to true set the borderColor of the target to "green" pass dragEnter end dragEnter But the color doesn't change! I have tried this from the IDE and the only Color I seem to be able to change and have it show it the Foreground Color? Best Regards from Paris, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Setting the Border Color
Hi, How do I set the Border Color for a Field? I have the following code on a field: on dragEnter set the dropAccept to true set the borderColor of the target to "green" pass dragEnter end dragEnter But the color doesn't change! I have tried this from the IDE and the only Color I seem to be able to change and have it show it the Foreground Color? Any ideas? Thanks a lot and have a Great Weekend! All the Best Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: parse a line into fields
Quoting [EMAIL PROTECTED]: How do you copy the text of a field to the clipboard. I can then paste it into the next mail and show you the text. Only 6 lines long. Cheers Bob Quoting Eric Chatonet <[EMAIL PROTECTED]>: Hi Bob, Hi Eric I would first check that the squares mean all the same char: Yes I'm certain it is the same char. In the message box: put charToNum("9") with some "9" picked here and there. If it's the same char (I think so): it's the delimiter (when you have 1, 2 or 3 "9", it probably means that the data are empty): replace "9" with tab in tDataOutput put tDataOutput into fld "I want to see it" set the tabstops of the field according to its contents :-) :-) I'm afraid I'm completely lost. Been working in a hospital for the past while and my brain is not xtalking. :-) I'll need to work on this I think. :-) Thanks Bob Hope this helps. Le 26 août 05 à 15:31, [EMAIL PROTECTED] a écrit : I've read a binary file containing entries in a database and put each record on a line in a field. I dont know how to write in a wee square so imagine the 9 is a square. The fields has records in it like this 999oppndatelocarsltfltrnoterec1999rec2 999rec399rec4999rec599rec6 Now the number of squares can be variable (normally from 2->4) and the line can have blank spaces in it (not in amongst the squares) It seems like the squares are the delimiters. The first entries are the field names (eg 6 entries) the later ones (again 6 entries) are the data. So I could get my data by counting the number of entries in the line, divide by two, put the result into a variable varentries --and put the entries into a field via put item varentries+1 into firstitem put firstitem into field 1 put firstitem+1 into firstitem etc etc But how do I ignore the squares and have them as an entry delimiter. Best Regards from Paris, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: parse a line into fields
Quoting Eric Chatonet <[EMAIL PROTECTED]>: Hi Bob, Hi Eric I would first check that the squares mean all the same char: Yes I'm certain it is the same char. In the message box: put charToNum("9") with some "9" picked here and there. If it's the same char (I think so): it's the delimiter (when you have 1, 2 or 3 "9", it probably means that the data are empty): replace "9" with tab in tDataOutput put tDataOutput into fld "I want to see it" set the tabstops of the field according to its contents :-) :-) I'm afraid I'm completely lost. Been working in a hospital for the past while and my brain is not xtalking. :-) I'll need to work on this I think. :-) Thanks Bob Hope this helps. Le 26 août 05 à 15:31, [EMAIL PROTECTED] a écrit : I've read a binary file containing entries in a database and put each record on a line in a field. I dont know how to write in a wee square so imagine the 9 is a square. The fields has records in it like this 999oppndatelocarsltfltrnoterec1999rec2 999rec399rec4999rec599rec6 Now the number of squares can be variable (normally from 2->4) and the line can have blank spaces in it (not in amongst the squares) It seems like the squares are the delimiters. The first entries are the field names (eg 6 entries) the later ones (again 6 entries) are the data. So I could get my data by counting the number of entries in the line, divide by two, put the result into a variable varentries --and put the entries into a field via put item varentries+1 into firstitem put firstitem into field 1 put firstitem+1 into firstitem etc etc But how do I ignore the squares and have them as an entry delimiter. Best Regards from Paris, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: parse a line into fields
Hi Bob, I would first check that the squares mean all the same char: In the message box: put charToNum("9") with some "9" picked here and there. If it's the same char (I think so): it's the delimiter (when you have 1, 2 or 3 "9", it probably means that the data are empty): replace "9" with tab in tDataOutput put tDataOutput into fld "I want to see it" set the tabstops of the field according to its contents :-) Hope this helps. Le 26 août 05 à 15:31, [EMAIL PROTECTED] a écrit : I've read a binary file containing entries in a database and put each record on a line in a field. I dont know how to write in a wee square so imagine the 9 is a square. The fields has records in it like this 999oppndatelocarsltfltrnoterec1999rec2 999rec399rec4999rec599rec6 Now the number of squares can be variable (normally from 2->4) and the line can have blank spaces in it (not in amongst the squares) It seems like the squares are the delimiters. The first entries are the field names (eg 6 entries) the later ones (again 6 entries) are the data. So I could get my data by counting the number of entries in the line, divide by two, put the result into a variable varentries --and put the entries into a field via put item varentries+1 into firstitem put firstitem into field 1 put firstitem+1 into firstitem etc etc But how do I ignore the squares and have them as an entry delimiter. Best Regards from Paris, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
parse a line into fields
Hi All. I've read a binary file containing entries in a database and put each record on a line in a field. I dont know how to write in a wee square so imagine the 9 is a square. The fields has records in it like this 999oppndatelocarsltfltrnoterec1999rec2 999rec399rec4999rec599rec6 Now the number of squares can be variable (normally from 2->4) and the line can have blank spaces in it (not in amongst the squares) It seems like the squares are the delimiters. The first entries are the field names (eg 6 entries) the later ones (again 6 entries) are the data. So I could get my data by counting the number of entries in the line, divide by two, put the result into a variable varentries --and put the entries into a field via put item varentries+1 into firstitem put firstitem into field 1 put firstitem+1 into firstitem etc etc But how do I ignore the squares and have them as an entry delimiter. Help :-) Cheers Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Transparent Images
Hi Scott, the best way is to import images that have an alpha channel. e.g. png or .gif files. I prefer png files, as gif has many disadvantages. You might be interested in this small tutorial: http://www.derbrill.de/revstack/pngvsgif.rev.zip or in the messagebox: go stack URL "http://www.derbrill.de/revstack/pngvsgif.rev"; If it is for existing images, you could try playing around with ink (see ink in the dictionary) However, preparing the images in an image editor gives better results. Hope that helps, Malte >Hi folks, >I've tried in vain to get image transparency >on buttons in Rev. The pink color used in >other IDE's are not transparent in Rev. Nor >is a white background. Can anybody suggest >a way to set the transparency color in images >imported into Rev? ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum Help flood victims from Switzerland: http://www.derbrill.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Transparent Images
Hi folks, I've tried in vain to get image transparency on buttons in Rev. The pink color used in other IDE's are not transparent in Rev. Nor is a white background. Can anybody suggest a way to set the transparency color in images imported into Rev? Kind Regards, Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: use-revolution Digest, Vol 23, Issue 49
1. Have any of you done an implementation of the Prisoner's Dilemma in Rev? Richard, There is a web-based version of it: http://serendip.brynmawr.edu/playground/pd.html And some reference material: http://serendip.brynmawr.edu/playground/pdref.html Marielle ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: label : set a string as the label of a label
Hi Adrian and all, Hi Adrian Friday, August 26, 2005 1:08:22 PM (GMT +02:00) Hi, how do I set a string as a label of a label? 10x set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" this is 10 times rubbish :-) Sorry, but i mixed fields with buttons, which can have labels... Fields do NOT have a label property. Simply write: put "New label text here..." into fld "your label field here" I'm getting old... Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Disclosure Triangles in Fields
Hello Everyone, How do you provide disclosure triangles in a field? Have a look at: http://revolution.lexicall.org/stacks_education.php (the education stacks gallery) Last item in the list: treeview. or go to stack url (http://revolution.lexicall.org/stacks/education/ tools_plugins/tree_view.rev) (make sure it is in one line) Best, Marielle Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2
> > repeat while(x+1) < 10 > > put word(x+1) of "This is a test" > > > >Although this is consistent, it still *looks* wrong to me... it looks like > >"while" and "word" are functions in the example above. Is it just me, or is > >this a bug that has been in the engine for a long time? > > Well, it's been in the engine a long time. I'm not sure I'd > categorize it as a bug, per se... more of a "forgiveness" feature of > the parser. This kind of forgiveness appears in other areas too - for > example, you can write "firstVar&&secondVar" with no spaces, or "get > rect of field 1" (with no "the") and it will work. Indeed, the engine is a little too forgiving in places but there are actually two separate issues here - one related to tokenisation and one related to parsing. In regards to things such as "firstVar&&secondVar" and "word(x+1)" then this is quite standard in the way the first step of parsing (tokenisation) is performed. In any language's character-set a certain set of characters will be defined as 'delimiters' that always terminate a previous token and begin a new one. In transcript the delimiters are (more or less): { | } ~ ^ [ \ ] ; : < = > / * ( ) & % # " ! [ + plus a few high bit-set 'Mac' characters which I can't type in Linux ] All of these delimiter characters are considered tokens in their own right except: - " which starts a string - # which starts a comment until the end of line - '--' which starts a comment until the end of line - /* which starts a comment until */ After splitting up by these delimiters the engine throws away all white- space (, and ) and comments and is then left with a sequence of tokens. This means that a string such as: word(1+tVar[100])of("abc def ghi") is split up as: 'word' '(' '1' '+' 'tVar' '[' '100' ']' ')' 'of' '(' '"abc def ghi"')' The 'the' issue is slightly different as this is do with a later stage of processing - that of parsing (where the stream of tokens is built into the actual commands and functions to be executed). This is a particular case where the engine is a little lapse in making a noise (historically this was to help enable porting SuperCard and HyperCard stacks to Revolution). Indeed, I am reliably informed that Scott Raney always used to periodically remind people to always use 'the' as a prefix for property accesses and I will continue this trend: please always use 'the'. Indeed, caveat-those-that-do-not-use-the-the :o) Just to clarify, 'the' should always be used when accessing properties (it is already mandatory when using the property syntax form of engine functions). So you should write: set the cCustomRect of me to the rect of me *not* set cCustomRect of me to rect of me And you should write: put the dontUseQT *not* put dontUseQT > I think the upside is that the syntax is a little looser, but the > downside is that someone may get used to an erroneous way of writing > code, only to get into trouble if it gets tightened up down the > line As Jeanne looks into her crystal ball ;o) Overall, the engine at present is quite forgiving in what syntax you give it and this is as much a curse as it is a blessing. My general advice is to always follow the syntax as specified in the documentation *including* making sure you use appropriate connecting keywords. [ I'd also hope to convince people to stop using the shortened form of control type keywords over time but I fear that if I am too vocal about this I might run the risk of being pummeled with fruit ;o) ] The motivation for giving this advice is a very pragmatic one: the tighter the syntax of Transcript becomes, the more powerful it can be in the future. The eventual result being a great reduction in the number of lines of code you need to write to solve a particular problem. Warmest Regards, Mark. -- Mark Waddingham ~ [EMAIL PROTECTED] ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Two very simple questions
Sorry, previous message, was a mistake. Jose ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where to put the ( ) ?
Jason Vickers wrote: > Alex, > I now have the code correct, but it is not returning the line number > of the > field - it returns the text in that line. I thought clickLine was > supposed > to return the line number. Did I misread that part in the "help" > section? But this happens when I run it from Revolution. > > When I build my standalone and get the clickLine of the field, my > variable is empty. > > It is frustrating because the app worked a couple of days ago and just > stopped working. I just put in the <> this today > because everything had stopped working. > clickLine() gives a chunk expression describing the selected line value of clickLine() therefore is the content of that line As Mark said - it sounds like you want "word 2 of clickLine()" -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Two very simple questions
Hi Csaba, unfortunately I can't help you, I have no experience whit those tools. Thanks, Jose > > > Btw. while we're at the subject of bugs, I took a screenshot of another > one: > > http://upl.silentwhisper.net/uplfolders/upload9/screenshot_65812.gif > > That text box and the revDocLibrary button appears "after some time". I > don't know how to reproduce it, but it happenned to me on more than > just one occasion. Usually I have some application that I'm writing, and > I switch over to the browser to see something, then perhaps switch to > playing some music, then I switch back to Revolution and there it is. And > it can't be removed, the button remains there above the dictionary list > box, and to see what's underneath the button I have to click on a list > item to select it, and then it will display its text. > > ___ > [freemail] extra 1GB-os postafiókkal, Önnek már van? http://freemail.hu > > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: label : set a string as the label of a label
Hi Adrian Friday, August 26, 2005 1:08:22 PM (GMT +02:00) Hi, how do I set a string as a label of a label? 10x set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" ;-) A "Label" field is just an ordinary field which is not editable and has some more properties (showborder etc...) "pre"-set. I'm a newbie, so, sorry. No need to excuse! regards, Adrian C. Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Two very simple questions
Jó napot Gajo, Btw. while we're at the subject of bugs, I took a screenshot of another one: http://upl.silentwhisper.net/uplfolders/upload9/screenshot_65812.gif That text box and the revDocLibrary button appears "after some time". I don't know how to reproduce it, but it happenned to me on more than just one occasion. Usually I have some application that I'm writing, and I switch over to the browser to see something, then perhaps switch to playing some music, then I switch back to Revolution and there it is. And it can't be removed, the button remains there above the dictionary list box, and to see what's underneath the button I have to click on a list item to select it, and then it will display its text. this only happens when you select "Show invisbile objects" from the "View" menu. And this will of course show ALL invisible objects in the docs etc.., too :-) Already in BugZilla! Szervusz from germany Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
label : set a string as the label of a label
Friday, August 26, 2005 1:08:22 PM (GMT +02:00) Hi, how do I set a string as a label of a label? 10x I'm a newbie, so, sorry. regards, Adrian C. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Two very simple questions
Btw. while we're at the subject of bugs, I took a screenshot of another one: http://upl.silentwhisper.net/uplfolders/upload9/screenshot_65812.gif That text box and the revDocLibrary button appears "after some time". I don't know how to reproduce it, but it happenned to me on more than just one occasion. Usually I have some application that I'm writing, and I switch over to the browser to see something, then perhaps switch to playing some music, then I switch back to Revolution and there it is. And it can't be removed, the button remains there above the dictionary list box, and to see what's underneath the button I have to click on a list item to select it, and then it will display its text. ___ [freemail] extra 1GB-os postafiókkal, Önnek már van? http://freemail.hu ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Dan's new ebook
G'day Pat, > A very happy customer. (normally a grumpy old woman - bitching about > everything) Looks like I'll have to save some pocket money then... Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Dan's new ebook
I think I must have been the first to try out the new way to buy Dan's book and had a slight prob, so if you have been reading the prev emails this is to let you know that everything now is working fine. But, more importantly, to tell you if you don't have this book yet - then buy it now. I don't know what the equivalent is of "can't put it down" (maybe "can't click the close box"). There's not only a great deal of information, but it's great reading too. Well worth every cent. Great for newbies, in-betweens and oldies. A very happy customer. (normally a grumpy old woman - bitching about everything) Pat [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Saluting the Menu Maven
On 8/26/05 12:42 AM, "Jeanne A. E. DeVoto" <[EMAIL PROTECTED]> wrote: > there are a lot of tips and tricks that I didn't include > in order to make sure the basic information got through > without overloading people Tantalizing! Please, Jeanne, would you share the rest of tips and tricks too? -- Dick ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Saluting the Menu Maven
At 11:11 PM -0500 8/25/2005, Ken Ray wrote: BTW: The only addition I'd make to what Jeanne said is that when you want to find out what the currently selected menu item is for a menu button, you should probably check the 'selectedText' property of the button instead of the 'label' property. The reason I say this is that the label of a button can be changed (for example, to truncate the selected menu item and add an ellipsis to it so it doesn't overlap the width of the button), but the selectedText doesn't change. Of course if you're not doing anything that changes the label, checking the label is just as good... You're right, this is an excellent tip (so much I repeat the whole thing to make sure everyone reads it at least once ;-). Per Jacque's suggestion, I tried to keep the stuff in the stack to fairly basic things - for new developers, who've created some objects and have a basic knowledge of Revolution, but aren't necessarily experts. (I'm flattered that expert users found something new/valuable in it!) So there are a lot of tips and tricks that I didn't include in order to make sure the basic information got through without overloading people. -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Saluting the Menu Maven
At 10:55 PM -0400 8/25/2005, [EMAIL PROTECTED] wrote: I was out of town last Saturday when Jeanne DeVoto presented the menu tutorial and have just finished reading the chat log and reviewing the demos. My first impression was "WOW!" Thanks . Jacque really deserves 90% or better of the credit here - she made it all easy, prepared the templates and project-managed the whole thing, not to mention hosting the online conf. -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Two very simple questions
Chip, I was using /* */ for the comments in the script. I've changed back to -- to make the comments. I liked that /**/ because it was so much simpler... I'll check out your suggestion. I do like easy... Thanks for the response, Jason - Original Message - From: "Chipp Walters" <[EMAIL PROTECTED]> To: "How to use Revolution" Sent: Friday, August 26, 2005 11:24 AM Subject: Re: Two very simple questions Try this instead: Select the lines you wish to comment out, then under the Script menu of the script editor, choose 'Comment.' You can uncomment the same way. It's quick and colors correctly. Jason Vickers wrote: I am having the same issue with all the text turning purple when I put /* */ in the code. Jason ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where to put the ( ) ?
Mark, I'll write this one down in case I need it in the future. I didn't use it, though. I rewrote the code for my other buttons changing some of the IF statement orders and it works. It is kind of strange, really, because I tested the application a few days ago and it all worked fine. I made some cosmetic changes to the card yesterday and nothing worked. Like I said, after I rewrote the code for each button it all worked. Jason - Original Message - From: "Mark Smith" <[EMAIL PROTECTED]> To: "How to use Revolution" Sent: Friday, August 26, 2005 9:09 AM Subject: Re: Where to put the ( ) ? You want 'word 2 of the clickline'. The clickline will be something like 'line 4 of fld "myField"'. Cheers, Mark On 26 Aug 2005, at 01:45, Jason Vickers wrote: ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution