Trouble with Script

2007-03-25 Thread Charles Szasz
I finally worked out my placeholder problem by enclosing numbers in parenthesis. Again, thanks to everyone who helped me on this problem!! Charles Szasz [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit

Trouble with script

2007-03-25 Thread Charles Szasz
The file's icon is a generic icon and when you click on Information, it does not list the extension. It is retaining the formating! The problem I have now is that the "placeholders" I am using such as 1#, 2#, #3, etc., worked for the first seven placeholders but they are giving me weird re

Re: Trouble with script

2007-03-25 Thread Sarah Reichelt
On 3/26/07, Charles Szasz <[EMAIL PROTECTED]> wrote: Thanks to Eric and everybody else, especially Sarah Reichelt, who help me with my scripting problem. The script now works but unfortunately the RTF template file becomes a text file when Rev saves it after replacing the placeholders for the dat

Re: Trouble with script

2007-03-25 Thread Mark Smith
Charles, if you use 'binfile' to read and write the file, it should remain a .rtf. So put URL ("binfile:" & tFileName) into tRtfData modify the data... put tRtfData into URL ("binfile:" & tFileName) Best, Mark On 26 Mar 2007, at 00:46, Charles Szasz wrote: Thanks to Eric and everybody els

Trouble with script

2007-03-25 Thread Charles Szasz
Thanks to Eric and everybody else, especially Sarah Reichelt, who help me with my scripting problem. The script now works but unfortunately the RTF template file becomes a text file when Rev saves it after replacing the placeholders for the data from a Rev file. Charles Szasz [EMAIL PROTEC

Re: Trouble with script

2007-03-25 Thread Eric Chatonet
Hi Charles, Docs are not clear enough about this I think. Prefer something like this that treats url as a function: local tDefaultFolder, tRTFdata - put the defaultFolder into tDefaultFolder set the itemDelimiter to slash set the defaultFolder to item 1 to -2 of the filename of this stack &

Trouble with script

2007-03-25 Thread Charles Szasz
I have a project that requires one screen or one card to be exported as a RTF file. Since this is not possible at this time in Rev, I created a template in the Pages word processor of the card that I want to export and saved it as Template.rtf. Then I use symbols such as a 1#, 2#, 3#,. etc