Help - defaultFolder path
Sorry - Newbee again I'm building standalones for both Windows OSX of an app that overwrites a stack in the folder for the standalone. I'm developing on windows and everything works fine on the windows standalone. My issue is with the OSX standalone. My problem seems to be that when the OSX standalone is created, the defaultFolder path is set to the folder that contains the application bundle - NOT the folder containing the stacks. Therefore, when the app performs a 'save as' function, the original is not overwriten. How do I change the the defaultFolder path for OSX and leave Windows unchanged - is there a call to get the OS being used? Thanks Kevin Stallibrass ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Help - defaultFolder path
Kind of a newbee myself so this might be a case of the blind leading the (Bblind but... (B (BTry working with the "effective filename" of the stack instead of the (B"defaultFolder". This resolved a stack filepath confusion problem for a (B(Win-only) stack of mine. (B (BCheers, (BNicolas Cueto (B (B___ (Buse-revolution mailing list (Buse-revolution@lists.runrev.com (Bhttp://lists.runrev.com/mailman/listinfo/use-revolution
Re: Help - defaultFolder path
You can use the function the platform to get the OS. the platform platform() the platform if the platform is MacOS then set the activatePalettes to true The platform function returns one of the following strings: MacOS any Mac OS, OS X, or Darwin system Linux Linux for Intel or PowerPC architecture Win32Windows (any version post-3.1) HTH, Chris On 10 May 2005, at 09:34, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sorry - Newbee again I'm building standalones for both Windows OSX of an app that overwrites a stack in the folder for the standalone. I'm developing on windows and everything works fine on the windows standalone. My issue is with the OSX standalone. My problem seems to be that when the OSX standalone is created, the defaultFolder path is set to the folder that contains the application bundle - NOT the folder containing the stacks. Therefore, when the app performs a 'save as' function, the original is not overwriten. How do I change the the defaultFolder path for OSX and leave Windows unchanged - is there a call to get the OS being used? Thanks Kevin Stallibrass ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Help - defaultFolder path
Ah yes, this is true. On OS X, the application root is it's position in the bundle. An OS X application is actually a sort of folder. If you select the app in the finder with the control key down you can Show Package Contents to see what I mean... C On 10 May 2005, at 09:51, Nicolas Cueto wrote: Kind of a newbee myself so this might be a case of the blind leading the blind but... Try working with the effective filename of the stack instead of the defaultFolder. This resolved a stack filepath confusion problem for a (Win-only) stack of mine. Cheers, Nicolas Cueto ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Table Field Docs?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On May 9, 2005, at 8:24 PM, Peter Reid wrote: I'm very keen to use table fields but need to know how to load and unload a complete table field quickly and efficiently. I've seen some of the earlier messages which mention revReadCellValue, revWriteCellValue, cREVTable[], revDisplayFormattedData, but NO complete documentation for how to manipulate and display table fields. It is somewhat of a cheat to claim that Rev supports Spreadsheet fields (see http://revolution.runrev.com/section/features.php for the claims) but then doesn't provide ANY documentation for how to actually use them apart from when attached to database queries!! Moreover, if you try to apply general field manipulation techniques things go really weird with edited cells still containing old values, etc. Specifically, I want to be able to: - load/unload a complete table in one go put tableContent into field Table Field -- put data into complete table put field Table Field into tableContent -- get complete table data - clear a table put empty into field Table Field - address individual cells for reading/writing set the itemDelimiter to tab -- the lines in a table field have the columns separated by tabs put 6 into item 5 of line 7 of field Table Field -- row 7, column 5 put item 3 of line 2 of field Table Field into mycell -- row 2, column 3 - fix the number of columns when tabbing across not sure what you mean by this one? - have table column headings that scroll as the data table scrolls Hmm, you could put the headings in another table immediately above the one they belong to, set the tabStops the same, eliminate the scrollbars, make it non-editable, and put a bit of code in the main field (Table Field) to keep the horizontal scrolling in sync. I did something like this with an experimental stack I had started at one point. Then you could format the other table field however you want. and I need proper documentation (or even SOME documentation!!) in order to do this. Is there anyone on the list (or better still from RunRev) who can provide more comprehensive documentation for table fields, so I can REALLY use them?! Cheers Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK E-mail: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCgJNm7aqtWrR9cZoRAqARAJ0by0DNM6XTJ+ER1xnqcZi+TWA6XACeMfyR ygo54e8UN2rsiBHM3FsEKDQ= =SxNU -END PGP SIGNATURE- ___ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
File types filter
newbee again Thanks for previous help with defaultFolder path New question.. My standalone (Windows) saves a copy of a stack as a backup. I'm naming the backup file .bkp so that I can filter for these files when I want to restore them. I then use answer file Select a backup file to restore of type *.bkp to view only these file types This works in rev but not when I create a standalone Am I being stupid or did I miss something? Kevin Stallibrass ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode
Pamela, Thanks for the sympathy, I have not yet come up with a workable solution either. I have decided to try a similar approach on the Mac that you describe with using markers in my english text pointing to the chinese/asian which I can then keep as just chinese instead of being mixed. I also think that filter doesn't work so I will have to rewrite using a find structure. I haven't tested my stuff on windows yet since I couldn't even get it to work on the Mac. Please keep me informed to what you discover. Thank you Tom On May 9, 2005, at 10:44 PM, pkc wrote: Many thanks to Devin for his wonderful site. I am still hung up on a problem very closely related to Thomas McGrath's, however. Like him, I am working on a project that calls for mixing Asian (in my case, Chinese) characters with English text. Both the English and the Chinese elements are fixed, so I hit on the strategy of downloading the English text as an English text with markers for Chinese characters, then getting the client to feed characters from the Chinese text into the English text; then the client identifies the imported elements through reference to the list they came from and setting the textFont of the foundChunk to ,chinese. This works extremely well on my machine (OS X). In fact, it works perfectly. However, nobody using it on a Windows machine gets the right characters (they get about 40% correct characters and the rest is junk). this is very perplexing, since the whole point of Unicode is supposed to be that the characters are unique and will render correctly in either Mac or Windows. But they don't. One thing I discovered in experimentation was that if I moved a Chinese file line by line into a new field I could get the same junk that Windows users are getting (the boxes --light or dark-- and random character elements in a meaningless string). (this was not a paste, which reproduces the textFont perfectly, as previously noted). It seemed to me that I was transferring not only the characters but also carriage-returns (is this possible??). When I manually removed the spaces between characters, everything straightened up. The problem was that I was left with a field that the computer thinks has one character in it. That won't work with my strategy --all the characters will go into the marker for the first character. I think that could have been a blind alley, and now I am interested in the idea that Mac and Windows systems reverse the placement of the null character when dealing with UTF-16. That could be why Windows users are picking up the carriage returns and Mac users are not. The problem is I don't see a way in Revolution to tell the computer to put the null characters where WIndows expects it to be. Oh, one thing I just thought of experimenting with... I have so far been making the editing software remove all empty spaces (they produce those weird cross things in Unicode). But maybe it would be healthier to make sure the empty spaces are there, in order to keep the character returns out of the WIndows character renderings? No idea, will experiment and see if the results are any better. If there is no Revolution trick that will fix this, I would like to know if there is a setting Windows users can use to get their Unicode to work the way Mac works. A bit frustrating. I have the basis for a research portal that works very pleasantly on the Mac and looks insane on Windows. Despite it all being in Unicode! I'm still reading and still experimenting, but have sort of plateaued here. Quite a while since I had a breakthrough. Anyway, Tom, I sympathize. Pamela Crossley ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
MySQL client libraries
I have a big problem that I need to figure out ASAP one way or another. I installed the latest version of MySQL on my Mac OS X Tiger machine (MySQL version 4.1.11 I believe). Now my application isn't working. Upon trying to connect to my database I'm getting an error that says, Client does not support authentication protocol requested by server; consider upgrading MySQL client. I remember running into this at one point in the past, but I don't remember if I got around it somehow or if it was just with the release of Rev 2.5.1 that it was fixed. So my first question is, is it possible to update the MySQL client libraries (dll's, OS X bundles, etc.) that come with Revolution? Can they be downloaded somewhere? If not, does anyone know of a way to completely uninstall MySQL from OS X and reinstall an older version? I've tried following the downgrading instructions in the MySQL manual, and all they say is to just install the older version right over the top of the newer version, so long as it's the same release (4.x in this case). But when I try to do that, the installer tells me I can't install because a newer version already exists. Any way to trick the OS X installer into letting me install the older version? Sorry for the slightly off-topic-ness of this post, but I need a fix fast, and I thought this would be the best place to get one. Thanks, Chris Sheffield Read Naturally ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: File types filter
Hi Kevin, newbee again Thanks for previous help with defaultFolder path New question.. My standalone (Windows) saves a copy of a stack as a backup. I'm naming the backup file .bkp so that I can filter for these files when I want to restore them. I then use answer file Select a backup file to restore of type *.bkp to view only these file types This works in rev but not when I create a standalone ??? It works in Rev? Anyway try this one, this is the correct syntax for windows: answer file Select a backup file to restore with filter *.bkp See the docs for more info about filtering in - answer file... Am I being stupid or did I miss something? That one above is the official sytax and should work... ;-) Kevin Stallibrass Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode
Pamela, I rechecked my code again and I can now get the asian chars to show up but since I use Lines (with cr's) and also : as my item delimiter I am noticing that sometimes my code ignores the : and puts the rest of the items on the line. I am also noticing that ome of the whole lines are not available hinting to me that you are probably right on track about the CRs. I copy pasted a few itemdelimiters : to replace the ones in between the asian items and now the items show up. I have yet to figure out the line endings - I don't know how to copy paste a line ending I am assuming that either the itemdelimiters are in unicode and won't work with the put item 2 stuff or they are not in unicode and the code can't see them. I am copying what I think are non-unicode delimiters in between the items and now they show up correctly. HHM I will write when I figure out the line endings. I hope. Tom On May 9, 2005, at 10:44 PM, pkc wrote: One thing I discovered in experimentation was that if I moved a Chinese file line by line into a new field I could get the same junk that Windows users are getting (the boxes --light or dark-- and random character elements in a meaningless string). (this was not a paste, which reproduces the textFont perfectly, as previously noted). It seemed to me that I was transferring not only the characters but also carriage-returns (is this possible??). When I manually removed the spaces between characters, everything straightened up. The problem was that I was left with a field that the computer thinks has one character in it. That won't work with my strategy --all the characters will go into the marker for the first character. I think that could have been a blind alley, and now I am interested in the idea that Mac and Windows systems reverse the placement of the null character when dealing with UTF-16. That could be why Windows users are picking up the carriage returns and Mac users are not. The problem is I don't see a way in Revolution to tell the computer to put the null characters where WIndows expects it to be. Oh, one thing I just thought of experimenting with... I have so far been making the editing software remove all empty spaces (they produce those weird cross things in Unicode). But maybe it would be healthier to make sure the empty spaces are there, in order to keep the character returns out of the WIndows character renderings? No idea, will experiment and see if the results are any better. Anyway, Tom, I sympathize. Pamela Crossley ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Scripting 101 stack available
If you haven't discovered it already, the downloadable conference stack for this week's Revolution Scripting Conference is available at http://support.runrev.com/scriptingconferences/. This week's conference is Script Anatomy 101, a basic introduction to handlers, scripts, the script editor, and how it all works. The stack was written and will be presented by Mark Talluto. More details about these beginner conferences in general are at the above web page. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
revGoURL and AOL's browser
One of my Rev-based products uses a variant of RevGoURL to open its HTML Help page in the user's default browser. I have a customer running XP who has set his default browser to AOL, and reports that his Help page isn't loading as expected. Have any of you encountered this? Know of a solution? -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: TAOO's action list
Impressive list, Xavier. Is it your intent that TAOO language be a strict superset of Transcript, with no duplicated functionality, or are you going to reproduce all or most of Transcript's commands. It was hard to tell because some of the handlers in the list sound a bit like existing commands but perhaps are designed to behave somewhat differently (e.g., operate on formal objects). On May 9, 2005, at 9:17 PM, MisterX wrote: Part of writing your own language, system or framework consists of making a wide number of objects and verbs available for application use. I just posted an auto-generated list from taoo' libraries. It's the second list I publish (since the HyperCard XOS). http://www.monsieurx.com/modules.php?name=Forumsfile=viewtopict=15 There's over a 1000 handlers although a few are just abbreviated or alternative commands. Some verbs are irrelevant, and there's a few breakdowns possible (per verb, per object, per library or context, alphabetically, etc) to be reformated nicely in the future in the TAOO Documentation currently under scripting. Note also the new PHP array commands popping in (python will be next, the Moft NT library is not included in this list). I just wanted to show you the breath of the environment. Im sure there's a cool function for everyone in it. This list doesnt' have the 1000+ list of calls and handlers in the HyperScriptLibrary. Making it all available under one roof without any scripting required is what I aim to do... So far it is coming very smoothly and faster every day! Comments welcome in the forums! Requests and suggestions too naturally ;) cheers Xavier http://monsieurx.com/taoo ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MySQL client libraries
On 10 May 2005, at 16:00, Chris Sheffield wrote: I have a big problem that I need to figure out ASAP one way or another. I installed the latest version of MySQL on my Mac OS X Tiger machine (MySQL version 4.1.11 I believe). Now my application isn't working. Upon trying to connect to my database I'm getting an error that says, Client does not support authentication protocol requested by server; consider upgrading MySQL client. I remember running into this at one point in the past, but I don't remember if I got around it somehow or if it was just with the release of Rev 2.5.1 that it was fixed. So my first question is, is it possible to update the MySQL client libraries (dll's, OS X bundles, etc.) that come with Revolution? Can they be downloaded somewhere? If not, does anyone know of a way to completely uninstall MySQL from OS X and reinstall an older version? I've tried following the downgrading instructions in the MySQL manual, and all they say is to just install the older version right over the top of the newer version, so long as it's the same release (4.x in this case). But when I try to do that, the installer tells me I can't install because a newer version already exists. Any way to trick the OS X installer into letting me install the older version? I got round this by resetting the user passwords on the newer server using the OLD_PASSWORD function. SET PASSWORD FOR 'some_user'@'some_host' = OLD_PASSWORD('mypass'); Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Table Field Docs?
Hi Frank Thanks for the response. Unfortunately your recommendations only work for ordinary fields not table ones. The problem is that when you start editing into cells, the field text property is clearly NOT being used to hold the edited cells. From other messages on the list it seems that hidden data structures are used for this. This is why I'm after some documentation - how to I get at the hidden data structure to read/write/empty under script control? put tableContent into field Table Field -- put data into complete table put field Table Field into tableContent -- get complete table data - clear a table put empty into field Table Field - address individual cells for reading/writing set the itemDelimiter to tab -- the lines in a table field have the columns separated by tabs put 6 into item 5 of line 7 of field Table Field -- row 7, column 5 put item 3 of line 2 of field Table Field into mycell -- row 2, column 3 - fix the number of columns when tabbing across not sure what you mean by this one? - have table column headings that scroll as the data table scrolls Hmm, you could put the headings in another table immediately above the one they belong to, set the tabStops the same, eliminate the scrollbars, make it non-editable, and put a bit of code in the main field (Table Field) to keep the horizontal scrolling in sync. I did something like this with an experimental stack I had started at one point. Then you could format the other table field however you want. Yep, I've done this use-another-table-for-the-headings trick but it's clunky and I hoped that a spreadsheet like object might actually support proper column headings?! Cheers Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] Web: http://www.reidit.co.uk http://www.reidit.demon.co.uk ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode
On May 10, 2005, at 9:38 AM, Thomas McGrath III wrote: I have yet to figure out the line endings - I don't know how to copy paste a line ending Does this do what your want? constant unicodeLF = 0x000A set the useUnicode to true put numToChar(10) after myUnicodeString (BTW: Though, some encodings, even wide encodings, might allow them to work, for general Unicode, you can't use item or line, or even word.) Dar -- ** DSC (Dar Scott Consulting Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ** ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode
On May 10, 2005, at 10:48 AM, Dar Scott wrote: constant unicodeLF = 0x000A set the useUnicode to true put numToChar(10) after myUnicodeString Now that is embarrassing. The last line will work, but this might be more clear: put numToChar(unicodeLF) into charUncodeLF put charUnicodeLF after myUnicodeString -- ** DSC (Dar Scott Consulting Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ** ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revGoURL and AOL's browser
Recently, Richard Gaskin wrote: One of my Rev-based products uses a variant of RevGoURL to open its HTML Help page in the user's default browser. I have a customer running XP who has set his default browser to AOL, and reports that his Help page isn't loading as expected. Have any of you encountered this? Know of a solution? Isn't AOL's browser Netscape? If AOL is using a modified version of Netscape that might be an issue. This might be way off, but before there was a RevGoURL command, I had a situation where folks had Earthlink as their default browser. Earthlink's browser was (at that time) a modified version of IE, and yet the engine refused to launch URLs. The only workaround I could find was to check for the presence of acceptable browser entries in the registry (Netscape, Internet Explorer) and if none was listed, then write a temp file with a META refresh tag to launch the needed document. If you don't have this script, check the mail archives -- I think I posted something along these lines way back. Not sure if this helps... 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 http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Table Field Docs?
Peter, I for one maintain a variable (tab / return) that duplicates the content of the table field, and every user action first targets that variable and then I refresh the table (put myVar in fld myTable). This is the safest quickest way I've found to bypass all possible problems that can arise from the unfinished table field in the few last Rev versions. It runs pretty quick, even for large tables (for instance : 500 rows 40 cols). I haven't tried with huge data structures... JB Hi Frank Thanks for the response. Unfortunately your recommendations only work for ordinary fields not table ones. The problem is that when you start editing into cells, the field text property is clearly NOT being used to hold the edited cells. From other messages on the list it seems that hidden data structures are used for this. This is why I'm after some documentation - how to I get at the hidden data structure to read/write/empty under script control? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode Chinese Mac
Hello Thomas, here is my strategy, which on the basis of my experience so far I believe won't render all correct characters on Windows. But, see what you can make of it. This is the critical part of the script: put the number of words in fld chinese into charCount put 1 into lineCount repeat find string = in fld window if the result is not found then exit repeat put the foundChunk into thisInsert put (word lineCount of fld chinese) into the foundChunk set the textFont of thisInsert to Taipei,Chinese add 1 to lineCount end repeat I suppose it is self-explanatory. The field chinese contains a series of characters, one on each line, that are fed in order into the English text. I tried various markers, but for some reason this one (not very intuitive) works best. I found by trial and error that not using a variable like thisInsert and just relying on floating foundChunks produced a lot of errors. With this script, I have NO errors on the Macintosh that cannot be traced to Unicode ambiguities. However, in Windows there is more junk than sense in the characters. I still think that Windows is picking up the carriage returns in the chinese source file and feeding them into the English file, which with the font change at the foundChunk renders a lot of nonsense. I don't know how to get the program to stop it. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Table Field Docs?
at this address below is a collection of notes I put together on doing tables. it is not exhaustive but will get you going. http://www.christophercomputers.com/rev/tablefun.rev.sit or go stack url http://www.christophercomputers.com/rev/tablefun.rev; i think the key thing is knowing when you must use the rev functions (hidden in the frontscript) to access the table versus accessing the field directly i wrote this a few years ago and apologize for the lazy scripting conventions :) BTW the other way to do tables is to use the AltBrowser (see www.altuit.com) and do it in good ol' HTML ! http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm In a message dated 5/10/05 2:46:58 AM, [EMAIL PROTECTED] writes: Is there anyone on the list (or better still from RunRev) who can provide more comprehensive documentation for table fields ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Table Field Docs?
Hi Peter, You are right and, for instance, have to clear some properties set by the engine to store the table contents when you want to clear a table field. I'm working on a How-To stack about table fields including some answers you requested like fixing the number of columns when tabbing across and much more :-) I hope it will be ready at the end of this week. on ClearTable pLongID -- pLongID parameter is the long ID or the long name of the table field do put empty into pLongID do set the cRevTable[currentView] of pLongID to empty do set the cRevTable[formattedView] of pLongID to empty end ClearTable Le 10 mai 05, à 18:42, Peter Reid a écrit : Hi Frank Thanks for the response. Unfortunately your recommendations only work for ordinary fields not table ones. The problem is that when you start editing into cells, the field text property is clearly NOT being used to hold the edited cells. From other messages on the list it seems that hidden data structures are used for this. This is why I'm after some documentation - how to I get at the hidden data structure to read/write/empty under script control? put tableContent into field Table Field -- put data into complete table put field Table Field into tableContent -- get complete table data - clear a table put empty into field Table Field - address individual cells for reading/writing set the itemDelimiter to tab -- the lines in a table field have the columns separated by tabs put 6 into item 5 of line 7 of field Table Field -- row 7, column 5 put item 3 of line 2 of field Table Field into mycell -- row 2, column 3 - fix the number of columns when tabbing across not sure what you mean by this one? - have table column headings that scroll as the data table scrolls Hmm, you could put the headings in another table immediately above the one they belong to, set the tabStops the same, eliminate the scrollbars, make it non-editable, and put a bit of code in the main field (Table Field) to keep the horizontal scrolling in sync. I did something like this with an experimental stack I had started at one point. Then you could format the other table field however you want. Yep, I've done this use-another-table-for-the-headings trick but it's clunky and I hoped that a spreadsheet like object might actually support proper column headings?! 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 Web sitehttp://www.sosmartsoftware.com/ Email [EMAIL PROTECTED]/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Undelete deleted .rev file on MacOSX
I think the major disk repair utilities, Norton and Disk Warrior, have unerase features. Devin On May 9, 2005, at 9:29 PM, scott Yang wrote: big problem. deleted a sacred .rev file. Now on OSX, not easy to recover. Afraid to even use this computer for fear of over writing file. Any suggestions on recovering .rev files on the Mac OS X 1.3.9 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Error saving standalone -- revisited yet again
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 NO!! I just backtracked to an older version of my stack (from a backup) and tried with that, and it worked! It looks like my stack file became corrupt somewhere down the line. I guess I need to start going back through backups until I find the newest one that doesn't have a problem, then try to patch it to match the current version. Well, at least it seems solvable now... On May 4, 2005, at 9:58 AM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I never use the single-byte , = or = versions in any of my scripts. I just checked the only other script I may have added from an outside source since this last worked, and they are clean. I tried suppress messages and save standalone, no good. I then made an exact copy of the stack (using the Finder), opened that copy in Rev, tried saving that as a standalone. Still not working. Next, I tried commenting out the savingStandalone, preOpenStack, openStack, closeStackRequest, shutdownRequest, and closeStack handlers in my mainstack, along with the preOpenCard and openCard handlers in the first card of that stack (I'm working with the copy). I then saved the stack, quit Rev, reopened the stack, turned on Supress Messages, and tried saving the standalone. Same unhelpful error. Needless to say, this is getting rather frustrating. The stack represents several months worth of work. There are 40 substacks, one of which has 42 cards (the mainstack has 8 cards). The mainstack's script got to be so long I broke it down by adding a backscript via a field on the first card (it is added by the preOpenStack script which I commeted out -- that's why I quit Rev before trying to build again). That backscript got to be so long I forked off a *second* backscript, so that there are now two backscripts: one with 838 lines, and one with 803 lines. The mainstack script still has 473 lines , and some of the cards on my mainstack have scripts with line counts like 889 and 807... some of the substacks have scripts of over 200 lines, and a few of their cards have scripts on the order of 100+ lines. And these are just the stacks and cards! Some of the controls also have scripts of several hundred lines each. Needless to say, I can't really afford to lose this stack. I have backup copies, but with this level of complexity, backing up even a step or two could be rather costly, and if the same problems occur... Okay, one more thing I thought to try: I have a number of externals I'm using, some of them are custom ones (that I built). Rev crashes every time I build a standalone from a stack using certain externals (after displaying the message that the standalone was successfully saved, or now this error), and this is one of those stacks. I tried setting the externals of the copy (the one with all of the handlers commented out) to empty, quitting Rev, and repeating the process. Rev thinks about it a little longer now, but still comes back to the same error message. At least this time it didn't crash afterwords ;-) The destination folder (the folder created during the save process) is still not created. On May 3, 2005, at 10:50 PM, Chipp Walters wrote: Hi Frank, Here are a couple of other suggestions. 1) If you're using a Mac, make sure = is two characters not one. 2) Try commenting out all preOpenStack/preOpenCard openStack/openCard handlers and then build the standalone. If it works, then you can assume you're doing something in the handlers which is creating problems. Enable one at a time and locate the problem handler, then debug from there. Let us know what you find. best, Chipp ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCeNUO7aqtWrR9cZoRAgsSAJ4iaTIN/UNPxIuh9vN3OmUtrIcGRgCgjokC j4SxZFX+djDVmdVFfwhNQjs= =L6sI -END PGP SIGNATURE- ___ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his
Re: Table Field Docs?
Peter, I agree with you about the weirdness of the table fields. There seems to be 'data behind data' and it's frustrating to work with. One can set one cell at a time, but how do we load all the cells at once? Putting a tab/return delimited text string in there goes into another dimension. At 5:42 PM +0100 5/10/05, Peter Reid wrote: Hi Frank Thanks for the response. Unfortunately your recommendations only work for ordinary fields not table ones. The problem is that when you start editing into cells, the field text property is clearly NOT being used to hold the edited cells. From other messages on the list it seems that hidden data structures are used for this. This is why I'm after some documentation - how to I get at the hidden data structure to read/write/empty under script control? put tableContent into field Table Field -- put data into complete table put field Table Field into tableContent -- get complete table data - clear a table put empty into field Table Field - address individual cells for reading/writing set the itemDelimiter to tab -- the lines in a table field have the columns separated by tabs put 6 into item 5 of line 7 of field Table Field -- row 7, column 5 put item 3 of line 2 of field Table Field into mycell -- row 2, column 3 - fix the number of columns when tabbing across not sure what you mean by this one? - have table column headings that scroll as the data table scrolls Hmm, you could put the headings in another table immediately above the one they belong to, set the tabStops the same, eliminate the scrollbars, make it non-editable, and put a bit of code in the main field (Table Field) to keep the horizontal scrolling in sync. I did something like this with an experimental stack I had started at one point. Then you could format the other table field however you want. Yep, I've done this use-another-table-for-the-headings trick but it's clunky and I hoped that a spreadsheet like object might actually support proper column headings?! Cheers Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] Web: http://www.reidit.co.uk http://www.reidit.demon.co.uk ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Table Field Docs?
I obviously posted too soon without reading the most recent posts.. Eric: It's starting to look like the mysterious table fields work like 'visible arrays'. Am I getting warm? If so, this could be very cool. At 7:32 PM +0200 5/10/05, Eric Chatonet wrote: Hi Peter, You are right and, for instance, have to clear some properties set by the engine to store the table contents when you want to clear a table field. I'm working on a How-To stack about table fields including some answers you requested like fixing the number of columns when tabbing across and much more :-) I hope it will be ready at the end of this week. on ClearTable pLongID -- pLongID parameter is the long ID or the long name of the table field do put empty into pLongID do set the cRevTable[currentView] of pLongID to empty do set the cRevTable[formattedView] of pLongID to empty end ClearTable ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Table Field Docs?
You can also create a table by having a group with lots of fields arranged to look like a table. This way is more cumbersome, but allows excellent control. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 1:29 PM To: use-revolution@lists.runrev.com Subject: Re: Table Field Docs? at this address below is a collection of notes I put together on doing tables. it is not exhaustive but will get you going. http://www.christophercomputers.com/rev/tablefun.rev.sit or go stack url http://www.christophercomputers.com/rev/tablefun.rev; i think the key thing is knowing when you must use the rev functions (hidden in the frontscript) to access the table versus accessing the field directly i wrote this a few years ago and apologize for the lazy scripting conventions :) BTW the other way to do tables is to use the AltBrowser (see www.altuit.com) and do it in good ol' HTML ! http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm In a message dated 5/10/05 2:46:58 AM, [EMAIL PROTECTED] writes: Is there anyone on the list (or better still from RunRev) who can provide more comprehensive documentation for table fields ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode
On May 9, 2005, at 8:44 PM, pkc wrote: Many thanks to Devin for his wonderful site. I am still hung up on a problem very closely related to Thomas McGrath's, however. Like him, I am working on a project that calls for mixing Asian (in my case, Chinese) characters with English text. Both the English and the Chinese elements are fixed, so I hit on the strategy of downloading the English text as an English text with markers for Chinese characters, then getting the client to feed characters from the Chinese text into the English text; then the client identifies the imported elements through reference to the list they came from and setting the textFont of the foundChunk to ,chinese. This works extremely well on my machine (OS X). In fact, it works perfectly. However, nobody using it on a Windows machine gets the right characters (they get about 40% correct characters and the rest is junk). this is very perplexing, since the whole point of Unicode is supposed to be that the characters are unique and will render correctly in either Mac or Windows. But they don't. We have found this problem also with cross platform applications that must display unicode in fields. We finally arrived at a workaround in which we use html text with unicode entities. That seems to be the most reliable way to get two-byte characters to show up reliably cross platform. This is what we did: - Type the text into a field using Mac OS X's native input methods for Chinese (in this example.) - put the htmlText of that field into some container, or into an external file. When you do this, every unicode character is converted to html unicode entities. These seem to be reliably rendered cross platform. - When you need to display the text, set the htmlText of the field to the previously-saved htmltext. Yeah, I know, kludgey but reliable. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Table Field Docs?
I've tried than (before table fields became available) and it isn't very handy when the number of cells become important... On the other hand, it allows full independent control of each property of each cell.. JB You can also create a table by having a group with lots of fields arranged to look like a table. This way is more cumbersome, but allows excellent control. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Increase text size in message box?
Can I do this? Too small for my eyes. -- Kaveh Bazargan http://www.river-valley.com/ http://www.holographer.org/ ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MySQL client libraries
That was it! Thanks, Dave. I knew there was some trick. I just couldn't remember what. After I already uninstalled the new version and installed an older version. What a mess. Next time I'll learn to document all these tricks. Thanks again, Chris On May 10, 2005, at 10:29 AM, Dave Cragg wrote: On 10 May 2005, at 16:00, Chris Sheffield wrote: I have a big problem that I need to figure out ASAP one way or another. I installed the latest version of MySQL on my Mac OS X Tiger machine (MySQL version 4.1.11 I believe). Now my application isn't working. Upon trying to connect to my database I'm getting an error that says, Client does not support authentication protocol requested by server; consider upgrading MySQL client. I remember running into this at one point in the past, but I don't remember if I got around it somehow or if it was just with the release of Rev 2.5.1 that it was fixed. So my first question is, is it possible to update the MySQL client libraries (dll's, OS X bundles, etc.) that come with Revolution? Can they be downloaded somewhere? If not, does anyone know of a way to completely uninstall MySQL from OS X and reinstall an older version? I've tried following the downgrading instructions in the MySQL manual, and all they say is to just install the older version right over the top of the newer version, so long as it's the same release (4.x in this case). But when I try to do that, the installer tells me I can't install because a newer version already exists. Any way to trick the OS X installer into letting me install the older version? I got round this by resetting the user passwords on the newer server using the OLD_PASSWORD function. SET PASSWORD FOR 'some_user'@'some_host' = OLD_PASSWORD ('mypass'); Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Table Field Docs?
I think I'll lean to the future. I like this table-array thing. Obviously there are MANY undocumented properties regarding table fields and others, and we don't have a scorecard... yet. Thanks, Eric, for checking into this. At 2:02 PM -0400 5/10/05, Lynch, Jonathan wrote: You can also create a table by having a group with lots of fields arranged to look like a table. This way is more cumbersome, but allows excellent control. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Undelete deleted .rev file on MacOSX
On 5/9/05, scott Yang [EMAIL PROTECTED] wrote: big problem. deleted a sacred .rev file. Now on OSX, not easy to recover. Afraid to even use this computer for fear of over writing file. Any suggestions on recovering .rev files on the Mac OS X 1.3.9 File recovery under OSX is much more difficult than it was under OS 9. If you don't already have file recovery software in place before you lose something, it will be very difficult to recover the file, determine its place in the file hierarchy, recover metadata about the file (creation date, etc.). However, I have had some success with a couple of programs. Subrosa's FileSalvage works pretty well, but it only recovers a pre-set group of file types (JPG, TIF, MOV, AVI, Word, etc.). Rev files are not included in this list. Norton Ultilite's UnErase lets you specify your own filetypes to search for. I just set up a search for Rev file types and it was able to find and recover previously erased files. It doesn't provide any information about where in the file hierarchy the recoveried file was, nor does it even recover the file name. You only have file size to go by. If you haven't used your hard disk since you erased the file, you probably have a good chance of recoverying it. Note that many people feel that Norton has blown it with OSX support and that it often causes more problems than it fixes. YMMV. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
[OT] More on Tiger...
http://www.eweek.com/article2/0,1759,1813718,00.asp?kc=ewnws050905dtx1k599 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: File types filter
Anyway try this one, this is the correct syntax for windows: answer file Select a backup file to restore with filter *.bkp That one above is the official sytax and should work... ;-) Sigh. This STILL doesn't work on the Mac. Since it's been marked FIXED for over six months, maybe it'll make it into the next release. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode
Dar, Since I am delimiting both by line and item (:) I don't know if I need regular chars for the search/filtering that I am doing or if they need to be unicode. I get from what you are saying that if they were unicode then they won't work with line, item, word. It sometimes works though. right now I am getting chinese words from a mixed english/chinese field by filtering by line and then put item x into field y. And they are the right characters. I am still holding out a little help. THanks Tom On May 10, 2005, at 12:54 PM, Dar Scott wrote: On May 10, 2005, at 10:48 AM, Dar Scott wrote: constant unicodeLF = 0x000A set the useUnicode to true put numToChar(10) after myUnicodeString Now that is embarrassing. The last line will work, but this might be more clear: put numToChar(unicodeLF) into charUncodeLF put charUnicodeLF after myUnicodeString -- ** DSC (Dar Scott Consulting Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ** ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode Chinese Mac
I feel like I am reading a foreign language (grin) dealing with unicode. I would like to know what Unicode does work with. line, item, word, foundchunk, filter, find, etc. Thanks Tom On May 10, 2005, at 1:24 PM, pkc wrote: Hello Thomas, here is my strategy, which on the basis of my experience so far I believe won't render all correct characters on Windows. But, see what you can make of it. This is the critical part of the script: put the number of words in fld chinese into charCount put 1 into lineCount repeat find string = in fld window if the result is not found then exit repeat put the foundChunk into thisInsert put (word lineCount of fld chinese) into the foundChunk set the textFont of thisInsert to Taipei,Chinese add 1 to lineCount end repeat I suppose it is self-explanatory. The field chinese contains a series of characters, one on each line, that are fed in order into the English text. I tried various markers, but for some reason this one (not very intuitive) works best. I found by trial and error that not using a variable like thisInsert and just relying on floating foundChunks produced a lot of errors. With this script, I have NO errors on the Macintosh that cannot be traced to Unicode ambiguities. However, in Windows there is more junk than sense in the characters. I still think that Windows is picking up the carriage returns in the chinese source file and feeding them into the English file, which with the font change at the foundChunk renders a lot of nonsense. I don't know how to get the program to stop it. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode
Now you tell me. Just kidding... I will look into this. too. Thank you Devin, Tom On May 10, 2005, at 2:12 PM, Devin Asay wrote: - Type the text into a field using Mac OS X's native input methods for Chinese (in this example.) - put the htmlText of that field into some container, or into an external file. When you do this, every unicode character is converted to html unicode entities. These seem to be reliably rendered cross platform. - When you need to display the text, set the htmlText of the field to the previously-saved htmltext. Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] More on Tiger...
I'm with those who suggest in comments to your cited article that the fault lies with vendors who create products that claim compatibility with OS X and then don't apparently bother to update their products despite six months' lead time on pre-release versions of the OS. As for secrecy, nobody beats M$ in that respect. On May 10, 2005, at 11:37 AM, Chipp Walters wrote: http://www.eweek.com/article2/0,1759,1813718,00.asp? kc=ewnws050905dtx1k599 ~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode
On May 10, 2005, at 12:46 PM, Thomas McGrath III wrote: I get from what you are saying that if they were unicode then they won't work with line, item, word. The two-byte codes might contain a one-byte character used in these chunks in either the upper or lower half of the code. Consider these from the first page of the Unicode CJK Unified Ideographs: U+4E0A contains a line end. (above?) U+4E20 contains a space. U+4E09 contains a tab. (three?) U+4E2C contains a comma. Multiply that by 82 pages in Unicode CJK Unified Ideographs and all the support pages and you have lots of candidates for clashes. Try this: on mouseUp set useUnicode to true get numtoChar(0x4e0a) -- above? put the number of lines in (it it it it) end mouseUp On OS X, I get 4. Almost all the CJK pages are filled, so you can't even do something clever with special codes. Dar -- ** DSC (Dar Scott Consulting Dar's Lab) http://www.swcp.com/dsc/ Programming and software ** ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Useless ToolTips in the property Inspector
Hi All, Just a note: - for label field in property inspector I point check boxes. I point Locked Text and see tooltip Locked Text I point Don't Wrap and see tooltip Don't wrap IMHO this is useless help. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode Chinese Mac
On May 10, 2005, at 12:53 PM, Thomas McGrath III wrote: I feel like I am reading a foreign language (grin) dealing with unicode. I would like to know what Unicode does work with. line, item, word, foundchunk, filter, find, etc. 'a b' works if both a and b are unicode. 'char 2n-1 to 2n of s' will get the nth unicode char. numToChar and charToNum work. uniDecode() uniEncode() work. And 'the unicodeText' usually works. You can use replaceText(), matchText() and matchChunk() if you write awfully contorted regex and then that requires prayer and fasting. You can use unicode in an element of an array, but not in a key. You can pass Unicode to a function or command and return Unicode. You can 'get' and 'put into/after/before'. You can read and write files as binary and they should usually be UTF8 or UTF16 with BOM at the front. If you know you have no suragates, then length(s)/2 will give you the number of Unicode characters in s. That's about it for what works. You can't use =, is a number, contains, line, item, foundchunk, filter (except for a trick), find, +, -, /, *, add, subtract, offset (except with extra scripting), and just about anything. You can't save Unicode in a custom property on one OS and expect it to work on another. You need to write helper functions for all these things. Dar -- ** DSC (Dar Scott Consulting Dar's Lab) http://www.swcp.com/dsc/ Programming and software ** ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Useless ToolTips in the property Inspector
Hi Ruslan, Hi All, Just a note: - for label field in property inspector I point check boxes. I point Locked Text and see tooltip Locked Text I point Don't Wrap and see tooltip Don't wrap IMHO this is useless help. Sure! Don't get me wrong, but if that are your only problems with Rev, then you must be a very happy man :-) Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Useless ToolTips in the property Inspector
Ruslan Zasukhin wrote: Hi All, Just a note: - for label field in property inspector I point check boxes. I point Locked Text and see tooltip Locked Text I point Don't Wrap and see tooltip Don't wrap IMHO this is useless help. There is a preference setting (Edit / Preferences / General) for Property Labels to be either Description of option or Name of Transcript property. Whichever one is chosen, the tooltip shows the other one - so I see Lock Text and tooltip islockText autoTab and tooltip isTab on return etc. They are often similar - but I don't see them exactly the same. You might want to try changing the preference and see if it settles back to showing one or other ... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 10/05/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Table Field Docs?
Hi All Thanks for all the responses to this. Looking at Chris' stuff below it seems clear that the table field is very much a project in progress! I think I'll keep well away from it for now as it looks far too flaky for reliable use. Once RunRev have a fully worked out table object, then I'll jump back in again as it's something I'd really like to take advantage of - but it's got to be solid and require no more than a reasonable amount of coding support as well. Cheers for now (watching this space...) Peter at this address below is a collection of notes I put together on doing tables. it is not exhaustive but will get you going. http://www.christophercomputers.com/rev/tablefun.rev.sit or go stack url http://www.christophercomputers.com/rev/tablefun.rev; i think the key thing is knowing when you must use the rev functions (hidden in the frontscript) to access the table versus accessing the field directly i wrote this a few years ago and apologize for the lazy scripting conventions :) BTW the other way to do tables is to use the AltBrowser (see www.altuit.com) and do it in good ol' HTML ! http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm In a message dated 5/10/05 2:46:58 AM, [EMAIL PROTECTED] writes: Is there anyone on the list (or better still from RunRev) who can provide more comprehensive documentation for table fields -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK E-mail: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Useless ToolTips in the property Inspector
Hi Ruslan, You are right :-( You might check the Property labels are: option in the General pane in Rev preferences to display the description of an option or the name of the corresponding property with Transcript. Unfortunately, the tooltip does not change according to the chosen option :-( Best regards, Le 10 mai 05, à 21:49, Ruslan Zasukhin a écrit : Hi All, Just a note: - for label field in property inspector I point check boxes. I point Locked Text and see tooltip Locked Text I point Don't Wrap and see tooltip Don't wrap IMHO this is useless help. Amicalement, 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 Web sitehttp://www.sosmartsoftware.com/ Email [EMAIL PROTECTED]/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Useless ToolTips in the property Inspector
On 10 May 2005, at 20:49, Ruslan Zasukhin wrote: Hi All, Just a note: - for label field in property inspector I point check boxes. I point Locked Text and see tooltip Locked Text I point Don't Wrap and see tooltip Don't wrap IMHO this is useless help. Hi Ruslan I don't want to doubt you, but are you sure you didn't see lockText and dontWrap in the tooltips. In the Preferences you can set the Property Inspector to display descriptive labels or the actual (scriptable) name of the property being set. Whichever you choose as a preference, the other will be shown as a tooltip. If you're seeing something different, then I think it's a bug. Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Useless ToolTips in the property Inspector
On 5/10/05 11:02 PM, Klaus Major [EMAIL PROTECTED] wrote: Hi Ruslan, Hi All, Just a note: - for label field in property inspector I point check boxes. I point Locked Text and see tooltip Locked Text I point Don't Wrap and see tooltip Don't wrap IMHO this is useless help. Sure! Don't get me wrong, but if that are your only problems with Rev, then you must be a very happy man :-) :-) I only have start develop Examples for Valentina 2 for Revolution. I already have see 2 times hard crash of revolution, that I was need shutdown the whole system. Also annoy me the dialog each time when I SAVE project. It write: project saved click, or go away 2 seconds later Very annoying. I am used to press cmd+S very often, And this slow down me. I have not found option to disable this splash -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Table Field Docs?
I don't know if would be correct to call it flaky as much as undocumented. It might work incredibly well. It might work perfectly if we knew how to do it right. So I'll wait for Eric's demo stack. At 9:12 PM +0100 5/10/05, Peter Reid wrote: Hi All Thanks for all the responses to this. Looking at Chris' stuff below it seems clear that the table field is very much a project in progress! I think I'll keep well away from it for now as it looks far too flaky for reliable use. Once RunRev have a fully worked out table object, then I'll jump ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Useless ToolTips in the property Inspector
On May 10, 2005, at 1:49 PM, Ruslan Zasukhin wrote: I point Locked Text and see tooltip Locked Text I see lockText, the actual name of the property controlled. I point Don't Wrap and see tooltip Don't wrap I see dontWrap, the actual name of the property controlled. IMHO this is useless help. I find the property names useful. Maybe something is out of sync on your preferences for this (top of general pane). Dar -- ** DSC (Dar Scott Consulting Dar's Lab) http://www.swcp.com/dsc/ Programming and software ** ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Useless ToolTips in the property Inspector
On 5/10/05 11:10 PM, Alex Tweedly [EMAIL PROTECTED] wrote: Just a note: - for label field in property inspector I point check boxes. I point Locked Text and see tooltip Locked Text I point Don't Wrap and see tooltip Don't wrap IMHO this is useless help. There is a preference setting (Edit / Preferences / General) for Property Labels to be either Description of option or Name of Transcript property. Whichever one is chosen, the tooltip shows the other one - so I see Lock Text and tooltip islockText autoTab and tooltip isTab on return etc. They are often similar - but I don't see them exactly the same. You might want to try changing the preference and see if it settles back to showing one or other ... I see, but even in such Lock Text and tooltip islockText Tooltip show tell me WHAT this option do. Assume I do not know that is Lock Text (and I do not know now :-) So tooltip do not help me. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Table Field Docs?
I do agree with Stephen. Table fields can be used in professional applications, and Rev is rich flexible enough to provide simple workarounds for each undocumented or unfinished feature... JB I don't know if would be correct to call it flaky as much as undocumented. It might work incredibly well. It might work perfectly if we knew how to do it right. So I'll wait for Eric's demo stack. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Useless ToolTips in the property Inspector
On 5/10/05 11:15 PM, Dave Cragg [EMAIL PROTECTED] wrote: Hi Dave, I don't want to doubt you, but are you sure you didn't see lockText and dontWrap in the tooltips. In the Preferences you can set the Property Inspector to display descriptive labels or the actual (scriptable) name of the property being set. Whichever you choose as a preference, the other will be shown as a tooltip. If you're seeing something different, then I think it's a bug. I have play with prefs. This still not good. Prefs just switch Tab On Return = autoTab I want to see description: what it do: For example: Lock Text = lock text from future changes. you still can change it programmatically. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Table Field Docs?
I think flaky is right if you look at Chris' stuff - you can see that the bottom right corner cells are unusable since clicking into them causes unwanted scrolling down and/or right! I don't know if would be correct to call it flaky as much as undocumented. It might work incredibly well. It might work perfectly if we knew how to do it right. So I'll wait for Eric's demo stack. At 9:12 PM +0100 5/10/05, Peter Reid wrote: Hi All Thanks for all the responses to this. Looking at Chris' stuff below it seems clear that the table field is very much a project in progress! I think I'll keep well away from it for now as it looks far too flaky for reliable use. Once RunRev have a fully worked out table object, then I'll jump ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] Web: http://www.reidit.co.uk http://www.reidit.demon.co.uk ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
cRev calls; was Re: Table Field Docs?
... and furthermore, I've never poked around in the IDE and support stacks. I would imagine all those cRevtable calls are there for the spelunkingand the curious. I see those messages in the watcher. sqb At 10:29 PM +0200 5/10/05, jbv wrote: I do agree with Stephen. Table fields can be used in professional applications, and Rev is rich flexible enough to provide simple workarounds for each undocumented or unfinished feature... JB I don't know if would be correct to call it flaky as much as undocumented. It might work incredibly well. It might work perfectly if we knew how to do it right. So I'll wait for Eric's demo stack. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripting 101 stack available
I just checked out the latest pre-conference stack. Excellent. This is a really good thing! Bit by bit, the DETAILED tutorial about Rev and Transcript and its use is evolving through this series of scripting conferences. I've been x-scripting since 1987 but I still find a few tips and syntax things - I've learned something. Moreover, this is the stuff many new to the culture can get their teeth into, in an organized, educational way. And created by Multimedia experts using Rev to do it! Eating one's own dog food, indeed. Kudos, Bravo, Jackie, Kevin, Mark, and all involved. sqb At 10:53 AM -0500 5/10/05, J. Landman Gay wrote: If you haven't discovered it already, the downloadable conference stack for this week's Revolution Scripting Conference is available at http://support.runrev.com/scriptingconferences/. This week's conference is Script Anatomy 101, a basic introduction to handlers, scripts, the script editor, and how it all works. The stack was written and will be presented by Mark Talluto. More details about these beginner conferences in general are at the above web page. -- Jacqueline Landman Gay | [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Table Field Docs?
Hi Stephen, Thanks for your confidence :-) But I have to say I think that tables fields are not really correctly implemented nor explained at the moment: may be, both things go together... For instance, some handlers as revWriteCellValue, revReadCellValue or revEmptyTable seem to have disapeared in the last versions of DreamCard/Revolution: this shows that the work is in progress ;-) Nevertheless there are about 25 properties in a specific custom property set named cREVTable I shall try to detail and say how to use them to popup an editing field on a chosen cell, fix the number of columns when tabbing across, import a spreadsheet, get or set a specific cell value, clear all cells and so on. It will not be perfect but I hope it will help. Here it's time to go to bed :-) Best regards from Paris, Eric Chatonet. Le 10 mai 05, à 22:17, Stephen Barncard a écrit : I don't know if would be correct to call it flaky as much as undocumented. It might work incredibly well. It might work perfectly if we knew how to do it right. So I'll wait for Eric's demo stack. 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 Web sitehttp://www.sosmartsoftware.com/ Email [EMAIL PROTECTED]/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
unreliable file deletion via script
I have a group of 950 small (25k) record stacks, each of which contains a separate business account. I have 2 shared stacks PPR.rev and paymentReceipt.rev, as well as two anchor standalones. The standalones serve only as navigational tools to open up PPR and paymentReceipt. From PPR, it is possible to open any of the 950 record stacks. Whenever any stack is opened, it creates (from a preopencard script) a Busy*.txt file, such as BusypaymentReceipt.txt. This is to prevent more than one person accessing a stack at a time. All of the stacks have in their closestack script that which deletes the Busy file, for instance: if there is a file BusypaymentReceipt.txt then delete file BusypaymentReceipt.txt This almost always works perfectly, but sometimes, a closing stack for some reason fails to delete its Busy file. I can manually delete the file if needed, but that's obviously not what I intended, and I certainly don't want to ask anyone else to do so! Does anyone have any ideas why the busy file deletion is not entirely reliable? Script problem? I have this app in operation on WinXP Pro, and the stacks and standalones were built using Rev 2.02. I do have Rev 2.5.1 on Mac OSX, so I suppose I could recreate the standalones and the two shared stacks on the Mac and move them over to the Windows network...that is, if there is a known issue affecting Rev 2.02 on Windows that might cause this problem. TIA, Kurt ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Useless ToolTips in the property Inspector
Ruslan Zasukhin wrote: I see, but even in such Lock Text and tooltip islockText Tooltip show tell me WHAT this option do. Assume I do not know that is Lock Text (and I do not know now :-) So tooltip do not help me. I can certainly see your argument - but I personally prefer the brief reminders such as Tab on Return - that reminds me what it does; I would find the long-winded (or maybe I should say more informative) style a bit cumbersome. Given that I have a good idea what most of these do, short reminders are better for me than a (bound to fail) attempt to provide full documentation in an over-constrained space; for the ones I don't already know, I *should* read the full page of documentation (or have the chance to read it). You can look up the property name in the Documentation (which is not true of the brief description - so it's useful to have both description and propertyName available). Clearly, it would be quite easy to take the summary description out of the propertyName's documentation and use it for the tooltip - so this would be a great enhancement suggestion. I think your version would be better for most people - who don't approach documentation in the same way I do. If you haven't yet used Bugzilla, I'd suggest you enter this suggestion as an enhancement request. -- Alex Tweedly http://www.tweedly.net No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 10/05/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: unreliable file deletion via script
On May 10, 2005, at 2:19 PM, Kurt Kaufman wrote: I have a group of 950 small (25k) record stacks, each of which contains a separate business account. I have 2 shared stacks PPR.rev and paymentReceipt.rev, as well as two anchor standalones. The standalones serve only as navigational tools to open up PPR and paymentReceipt. From PPR, it is possible to open any of the 950 record stacks. Whenever any stack is opened, it creates (from a preopencard script) a Busy*.txt file, such as BusypaymentReceipt.txt. This is to prevent more than one person accessing a stack at a time. All of the stacks have in their closestack script that which deletes the Busy file, for instance: if there is a file BusypaymentReceipt.txt then delete file BusypaymentReceipt.txt This almost always works perfectly, but sometimes, a closing stack for some reason fails to delete its Busy file. I can manually delete the file if needed, but that's obviously not what I intended, and I certainly don't want to ask anyone else to do so! Does anyone have any ideas why the busy file deletion is not entirely reliable? Script problem? I have this app in operation on WinXP Pro, and the stacks and standalones were built using Rev 2.02. I do have Rev 2.5.1 on Mac OSX, so I suppose I could recreate the Hi Kurt, You might try deleting as you have. On the very next line, try: wait 10 ticks. This will cause Rev to do its thing and wait for a moment. My might try adjusting that value to better suit your needs. This is just a guess. It is what I would try first at least. Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Useless ToolTips in the property Inspector
On May 10, 2005, at 3:20 PM, Alex Tweedly wrote: Assume I do not know that is Lock Text (and I do not know now :-) So tooltip do not help me. I can certainly see your argument Me, too. Besides, Alex's idea, another approach might be a help button. Nice enhancement ideas don't help someone struggling to learn Revolution, though. Dar ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
File Associations Auto-Open with OS X
I've got a standalone developed with Rev 2.5.1 that I want to associate with a particular file extension for both OS X and Windows. On both platforms I can specify that all files with the extension .xyz is to be opened by a particular program. This works fine with Windows, but not with OS X (v10.3.9 by the way, in case it's relevant). In my preOpenStack handler I'm looking at the $0, $1 parameters and find that $1 is set to the name of the file I double-clicked on (.xyz) for Windows but is empty for OS X. So with OS X when the user double-clicks a .xyz data file, it opens my standalone OK but not the file itself. Is there a known solution for this for OS X so my users can simply double-click a file to cause it to open my standalone AND THEN the file they clicked on? Thanks Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK E-mail: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Increase text size in message box?
Can I do this? Too small for my eyes. -- Sure - as with all the Rev IDE elements, it is written in Rev so you can change it as much as you like. First go to the Rev folder and look in Components - Tools for the revmessagebox.rev file. Duplicate it so you have a backup if anything goes wrong :-) Back in Rev, turn on Revolution UI Elements in Lists from the View menu. Open the Application Browser and find the Message Box stack. Expand it's stack display and you will see a series of cards. The ones you are interested in are the first two: Single Line Multiple Lines. For each of them, there are 2 fields you want to change: Message Field and Results. Double click on each of them them to get the Inspector and change the font size to whatever you want. Then in Application Browser, right-click or control-click on the Message Box stack and choose Save. That's it :-) HTH, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: unreliable file deletion via script
Whenever any stack is opened, it creates (from a preopencard script) a Busy*.txt file, such as BusypaymentReceipt.txt. This is to prevent more than one person accessing a stack at a time. All of the stacks have in their closestack script that which deletes the Busy file, for instance: if there is a file BusypaymentReceipt.txt then delete file BusypaymentReceipt.txt This almost always works perfectly, but sometimes, a closing stack for some reason fails to delete its Busy file. I can manually delete the file if needed, but that's obviously not what I intended, and I certainly don't want to ask anyone else to do so! Does anyone have any ideas why the busy file deletion is not entirely reliable? Script problem? I don't know why it isn't working, but if you check the result after deleting, you might be able to see why. Then if it has failed, your script could wait a few ticks and try again. Are you sure the default folder is set correctly? Maybe it is looking for the file in the wrong place? Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RevSpeech Mac OS 10.4
On May 7, 2005, at 8:15 AM, Kurt Kaufman wrote: Are the [[rate]], [[pbas]], and [[pmod]] embedded commands working as specified by Apple in 10.4? I was informed by a member of the Apple speech technologies team that the commands are fixed in Tiger. :-) KK ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode mixd fonts Windows
Many thanks, Devin, for the suggestion. I was very attracted to it because the client I have built displays its English text entirely in HTML. I also thought that displaying Chinse characters in such a field should work across platforms. In practice, the problmes I had were that setting text properties for the field tended to reset font properties, and vice versa. I did not finish experimenting with the order of these commands, so I cannot be sure that there was no way to get them to work. So far following the suggestions you made regarding the use of htmlText has not produced accurate results for me on Macintosh (though, ironies being what they are, if I were working in Windows maybe it would look very successful to me). there are a few things I think I still don't undrstand about this: 1) are you referring to fields showing mixed fonts? Some in English and some in Chinese or other Asian scripts? On reading the account it seems to me it might refer to whole fields in a single Unicode font. 2) In our case, the files are already created, as it happened in Windows, but with Unifont code for the Chinese characters. They files go between a server and a client, so they go in ascii format (as I say, in OS X this works perfectly). The characters and English text have to be recreated at the user end. It seems to me that this shhould make no difference, if the files are put into htmlText before being sent and then put back into htmlText once they are received from the client, does that seem right? I'm still experimenting with this general idea, and it might work (with some redundancy in the script. I just wanted to make sure that this is a strategy for working with mixed English and Asian characters. Sincerely, Pamela Crossley Dartmouth USA [EMAIL PROTECTED] on 5/10/05 wrote:[EMAIL PROTECTED] We have found this problem also with cross platform applications that must display unicode in fields. We finally arrived at a workaround in which we use html text with unicode entities. That seems to be the most reliable way to get two-byte characters to show up reliably cross platform. This is what we did: - Type the text into a field using Mac OS X's native input methods for Chinese (in this example.) - put the htmlText of that field into some container, or into an external file. When you do this, every unicode character is converted to html unicode entities. These seem to be reliably rendered cross platform. - When you need to display the text, set the htmlText of the field to the previously-saved htmltext. Yeah, I know, kludgey but reliable. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode Chinese Mac
On May 10, 2005, at 1:53 PM, Dar Scott wrote: You can't use =, is a number, contains, line, item, foundchunk, filter (except for a trick), find, +, -, /, *, add, subtract, offset (except with extra scripting), and just about anything. But as was pointed out earlier, you get some gain by using htmlText instead of unicodeText. Also, UTF8 will work OK for words (usually), items and lines. Not chars; you have to remember that all characters outside of the ASCII range are represented by multiple bytes. The cool thing is that ASCII characters cannot be in those multiple bytes. All of the syntactically significant characters in words, items and lines are ASCII and thus the coding cannot be embedded in those characters. You can use (null-free) UTF8 as a key in arrays. You can use it with '=', offset and 'contains', I think, as long as the strings are correct UTF8. If caseSensitive applies to only ASCII characters, then that can be true or false. But since each char is 1 to 4 bytes, the easiest way to get the char count is to assume BMP (no surrogates) and convert to UTF16 and half the length. UTF8 has no byte-order, so it can move among OSes without BOM consideration. So, for some types of processing, using UTF8 might be better than host UTF16. Dar -- ** DSC (Dar Scott Consulting Dar's Lab) http://www.swcp.com/dsc/ Programming and software ** ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
How?- is the chunk a date?
I'm trying to check if a certain chunk in a line is a date. All the dates will be in the short date format. I have been able to do it with this -- if (char -3 of item -2 of tCurrentRec) = / then But it doesn't seem very elegant. Is there a better way? ? Can I do something like: if item -2 of tCurrentRec is a date then... Thanks, Rich ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Best resizeQuality
Hello, How can I set the best resizeQuality of an image via script? There's a checkbox in the properties, but the property name is two words which is strange and I can't find it in the dictionary. Thanks ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How?- is the chunk a date?
? Can I do something like: if item -2 of tCurrentRec is a date then... Yes :-) That is provided your dates are in US format. If you use any other format, you will need: set the useSystemDate to true if item -2 of tCurrentRec is a date then ... This works for long short dates. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripting 101 stack available
On May 10, 2005, at 1:37 PM, Stephen Barncard wrote: I just checked out the latest pre-conference stack. Excellent. This is a really good thing! Bit by bit, the DETAILED tutorial about Rev and Transcript and its use is evolving through this series of scripting conferences. I've been x-scripting since 1987 but I still find a few tips and syntax things - I've learned something. Moreover, this is the stuff many new to the culture can get their teeth into, in an organized, educational way. And created by Multimedia experts using Rev to do it! Eating one's own dog food, indeed. Kudos, Bravo, Jackie, Kevin, Mark, and all involve Thanks Stephen! I appreciate your comments. :) Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Best resizeQuality
On May 10, 2005, at 6:40 PM, David Kwinter wrote: Hello, How can I set the best resizeQuality of an image via script? There's a checkbox in the properties, but the property name is two words which is strange and I can't find it in the dictionary. Hi David, set the resizeQuality of image image name to best Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
just a test - please disregard
Lotto: a tax on people who are bad at math. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Taoo's Action List
Hi Dan, The many functions that may look like some RunRev transcript usually do a bit more. For example GoStack will ask you where the stack is or will try to find it in TAOO's known path (you can program it to search the whole computer or internet but that's a bit overkill today compared to good old macos times ;) It also doesn't limit itself to rev files but mc and hc files too. Usually the handlers verify their info too and will adapt or infeer depending on different object types. Outside of the GIM context, most mentions of groups is in reference to object groups - stacks or folders. An object is usuall a card in a stack but you can make it anything you want! Cheers Xavier -- sorry, im having email problems and lost most of yesterday's emails. so im copypasting from the archives... -- Impressive list, Xavier. Is it your intent that TAOO language be a strict superset of Transcript, with no duplicated functionality, or are you going to reproduce all or most of Transcript's commands. It was hard to tell because some of the handlers in the list sound a bit like existing commands but perhaps are designed to behave somewhat differently (e.g., operate on formal objects). On May 9, 2005, at 9:17 PM, MisterX wrote: Part of writing your own language, system or framework consists of making a wide number of objects and verbs available for application use. I just posted an auto-generated list from taoo' libraries. It's the second list I publish (since the HyperCard XOS). http://www.monsieurx.com/modules.php?name=Forumsfile=viewtopict=15 There's over a 1000 handlers although a few are just abbreviated or alternative commands. Some verbs are irrelevant, and there's a few breakdowns possible (per verb, per object, per library or context, alphabetically, etc) to be reformated nicely in the future in the TAOO Documentation currently under scripting. Note also the new PHP array commands popping in (python will be next, the Moft NT library is not included in this list). I just wanted to show you the breath of the environment. Im sure there's a cool function for everyone in it. This list doesnt' have the 1000+ list of calls and handlers in the HyperScriptLibrary. Making it all available under one roof without any scripting required is what I aim to do... So far it is coming very smoothly and faster every day! Comments welcome in the forums! Requests and suggestions too naturally ;) cheers Xavier http://monsieurx.com/taoo ___ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution http://lists.runrev.com/mailman/listinfo/use-revolution ~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest Lotto: a tax on people who are bad at math. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
bad word checker
Here is any interesting user request. We make a product that generates random letters for vision testing. We have been asked to make sure that the software does not accidentally create a vulgar word. I am sure I can come of with some of the basics, but I really need a list of vulgar words. I must admit that it bothers me to know my program will have such language in its bowls. The request is valid and needs to be done. I have already created a small app that has made thousands of permutations of the range of letters available. I just need to quickly run my list against as complete a list of vulgar words as possible. Anyone of any ideas on the list? Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: bad word checker
On May 10, 2005, at 10:17 PM, Mark Talluto wrote: Anyone of any ideas on the list? For a product-key task, recently, I omitted vowels from the set of allowed characters to avoid bad words. The set also had digits. In that approach you still might have things show up that look bad, but in my tests that didn't seem to be happening. Another approach would be to omit all words, bad or not, by using some sort of spell checker library includes bad words. I'm with you about maintaining the bad word list. I once managed a discussion email list and had to set up my bad word filters. Blach! It's worse than searching through the spam bucket for missed mail. Since I'm naive, there are probably lots of words I don't know and I'm upset about the ones I do know. Dar -- ** DSC (Dar Scott Consulting Dar's Lab) http://www.swcp.com/dsc/ Programming and software ** ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: bad word checker
On May 10, 2005, at 9:17 PM, Mark Talluto wrote: Here is any interesting user request. We make a product that generates random letters for vision testing. We have been asked to make sure that the software does not accidentally create a vulgar word. I am sure I can come of with some of the basics, but I really need a list of vulgar words. I must admit that it bothers me to know my program will have such language in its bowls. The request is valid and needs to be done. I have already created a small app that has made thousands of permutations of the range of letters available. I just need to quickly run my list against as complete a list of vulgar words as possible. Anyone of any ideas on the list? It has been a long and busy day. I just realized that I probably will not get much a response for this. If you google abilities are better than mine and you do find such a list, please e-mail any info you can offlist. Anonymous responses are just fine. -Mark ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: replace text in XML Node
Thanks Sarah.. I must have been working late and missed that one... it is there in the docs though there is an odd anomaly revXMLPutIntoXMLNode ?? but, yes it works Sets the contents of a node in an XML tree. revXMLPutIntoXMLNode treeID,node,newContents revPutIntoXMLNode 12,/Article/Author,Jane Li revPutIntoXMLNode myCurrentNode,dataPaths[current],field Data On May 8, 2005, at 1:58 PM, Sarah Reichelt wrote: Try the revPutIntoXMLNode command. You might like to have a look at my XML demo stack which shows how to do all the basics: http://www.troz.net/Rev/RevProjects/XMLdemo1.rev.gz [he digs in his hard drive...} ah ha.. yes, I seem to have downloaded that some time ago and forgot about it... very nice just the entry level elucidation I need. Thanks Aloha Sivakatirswami Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: bad word checker
On May 10, 2005, at 9:52 PM, Dar Scott wrote: On May 10, 2005, at 10:17 PM, Mark Talluto wrote: Anyone of any ideas on the list? For a product-key task, recently, I omitted vowels from the set of allowed characters to avoid bad words. The set also had digits. In that approach you still might have things show up that look bad, but in my tests that didn't seem to be happening. Another approach would be to omit all words, bad or not, by using some sort of spell checker library includes bad words. I'm with you about maintaining the bad word list. I once managed a discussion email list and had to set up my bad word filters. Blach! It's worse than searching through the spam bucket for missed mail. Since I'm naive, there are probably lots of words I don't know and I'm upset about the ones I do know. Thanks Dar, Removing vowels is a good solution, but will not work as there are required vowels on the letters to be generated. I do have to make sure the software does not generate good words as well as the bad. Turns out that a spell checker list that was created for MC some years ago by some good soul has what I am looking for. With the good and the bad mixed together, I will never have to focus on them. Thanks for your thoughts. -Mark ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: bad word checker
Here is any interesting user request. We make a product that generates random letters for vision testing. We have been asked to make sure that the software does not accidentally create a vulgar word. I am sure I can come of with some of the basics, but I really need a list of vulgar words. In what languages? ;-) ras ta'gidra! ciao, sims ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: bad word checker
On May 10, 2005, at 10:10 PM, sims wrote: In what languages? English is the only language at this time. I am sure the language list will grow one day. Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution