From Ray at LinkIt.Com Mon Feb 9 11:46:22 2009 From: Ray at LinkIt.Com (Ray Horsley) Date: Mon Feb 9 08:48:03 2009 Subject: Span Tags in HTML Message-ID: <85734CE0-6B03-48AD-B082-CD9C413C4D94@LinkIt.Com> Greetings, Anyone with any ideas on how to use tags when setting the htmlText of a fld? Example:

My mother has light blue eyes and my father has dark green eyes.

This works fine in any browser, but setting the htmlText of a fld ignores the tags. Thanks, Ray Horsley LinkIt! Software -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.runrev.com/pipermail/metacard/attachments/20090209/b22a9a5f/attachment.html From scott at tactilemedia.com Mon Feb 9 09:44:02 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Feb 9 09:44:06 2009 Subject: Span Tags in HTML In-Reply-To: <85734CE0-6B03-48AD-B082-CD9C413C4D94@LinkIt.Com> Message-ID: Recently, Ray Horsley wrote: > Anyone with any ideas on how to use tags when setting the htmlText of a > fld? Example: > >

My mother > has light blue eyes and my father has class="green">dark green eyes.

> This works fine in any browser, but setting the htmlText of a fld ignores the > tags. Rev's support of HTML/CSS is a very limited subset of the full range of text styling/formatting. To produce colorized text, I believe you need to use the font tag.

This is green text.

Or you could use RevBrowser to display fully formatted HTML/CSS (does RevBrowser work in MetaCard?). Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From kray at sonsothunder.com Mon Feb 9 10:08:21 2009 From: kray at sonsothunder.com (Ken Ray) Date: Mon Feb 9 10:08:32 2009 Subject: Span Tags in HTML In-Reply-To: <85734CE0-6B03-48AD-B082-CD9C413C4D94@LinkIt.Com> Message-ID: > Anyone with any ideas on how to use tags when setting the > htmlText of a fld? Example: > > > > > > >

My mother has light blue eyes and my > father has dark green eyes.

> > > > This works fine in any browser, but setting the htmlText of a fld > ignores the tags. Sorry, Ray... the htmlText of a field only has limited HTML support, and tags aren't one of them, nor is any CSS. You'd have to replace your tags with old-style tags in order to get what you want, so you could do something like this (assuming field 1 contains the actual HTML and you want to render it into field 2): -- watch line wraps on mouseUp put fld 1 into tData put replaceText(tData,"","") into tData replace format("") with format("") in tData replace format("") with format("") in tData replace "" with "" in tData set the htmlText of fld 2 to tData end mouseUp HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Mon Feb 9 10:08:50 2009 From: kray at sonsothunder.com (Ken Ray) Date: Mon Feb 9 10:09:03 2009 Subject: Span Tags in HTML In-Reply-To: Message-ID: > Or you could use RevBrowser to display fully formatted HTML/CSS (does > RevBrowser work in MetaCard?). Yup! Have it working on a daily basis here... :-D Ken Ray Sons of Thunder Software, Inc. Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From Ray at LinkIt.Com Mon Feb 9 18:08:44 2009 From: Ray at LinkIt.Com (Ray Horsley) Date: Mon Feb 9 15:10:26 2009 Subject: Span Tags in HTML In-Reply-To: References: Message-ID: <809A860A-9734-4637-971A-4FD206C2B9FD@LinkIt.Com> Excellent ideas! My many thanks! I haven't used this list in a long time. It's nice to know it's still here. Ray Horsley LinkIt! Software On Feb 9, 2009, at 8:08 AM, Ken Ray wrote: > > >> Or you could use RevBrowser to display fully formatted HTML/CSS (does >> RevBrowser work in MetaCard?). > > Yup! Have it working on a daily basis here... > > :-D > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray@sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > metacard mailing list > metacard@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/metacard From klaus at major-k.de Mon Feb 9 15:16:48 2009 From: klaus at major-k.de (Klaus Major) Date: Mon Feb 9 15:16:51 2009 Subject: Span Tags in HTML In-Reply-To: References: Message-ID: Hi Scott, > Recently, Ray Horsley wrote: > >> Anyone with any ideas on how to use tags when setting the >> htmlText of a >> fld? Example: >> >>

My mother >> has light blue eyes and my father has > class="green">dark green eyes.

>> This works fine in any browser, but setting the htmlText of a fld >> ignores the >> tags. > > Rev's support of HTML/CSS is a very limited subset of the full range > of text > styling/formatting. To produce colorized text, I believe you need > to use > the font tag.

This is green text.

> > Or you could use RevBrowser to display fully formatted HTML/CSS (does > RevBrowser work in MetaCard?). ALL of the Rev externals work with MetaCard! > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design Best Klaus -- Klaus Major klaus@major-k.de http://www.major-k.de From Ray at LinkIt.Com Mon Feb 9 22:40:17 2009 From: Ray at LinkIt.Com (Ray Horsley) Date: Mon Feb 9 19:41:59 2009 Subject: Span Tags in HTML In-Reply-To: References: Message-ID: <67E7EC35-4E4F-4E59-86CC-9D545D1D534F@LinkIt.Com> Greetings again, The RevBrowser external works great in Metacard, even as far back as 2.7.4. Nonetheless, I'm trying to pass in my own html document instead of a real web page and it doesn't respond. So, this works fine: put revBrowserOpen(tWinID,"http://www.google.com") into sBrowserId set the BrowserId of image "BrowserImage" to sBrowserId But this doesn't: put "

This is an example.

" into myHtmlDoc put revBrowserOpen(tWinID, myHtmlDoc) into sBrowserId set the BrowserId of image "BrowserImage" to sBrowserId Any ideas? Thanks, Ray Horsley LinkIt! Software On Feb 9, 2009, at 8:08 AM, Ken Ray wrote: > >> Anyone with any ideas on how to use tags when setting the >> htmlText of a fld? Example: >> >> >> >> >> >> >>

My mother has light blue eyes and my >> father has dark green eyes.

>> >> >> >> This works fine in any browser, but setting the htmlText of a fld >> ignores the tags. > > Sorry, Ray... the htmlText of a field only has limited HTML support, > and > tags aren't one of them, nor is any CSS. You'd have to > replace your > tags with old-style tags in order to get what you > want, so you > could do something like this (assuming field 1 contains the actual > HTML and > you want to render it into field 2): > > -- watch line wraps > on mouseUp > put fld 1 into tData > put replaceText(tData,"","") into tData > replace format("") with format(" color=\"lightblue\">") in tData > replace format("") with format(" color=\"darkolivegreen\">") in tData > replace "" with "" in tData > set the htmlText of fld 2 to tData > end mouseUp > > HTH, > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray@sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > metacard mailing list > metacard@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/metacard -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.runrev.com/pipermail/metacard/attachments/20090209/70fbfd31/attachment.html From briany at qldlearning.com Mon Feb 9 23:30:28 2009 From: briany at qldlearning.com (Brian Yennie) Date: Mon Feb 9 23:30:38 2009 Subject: Span Tags in HTML In-Reply-To: <67E7EC35-4E4F-4E59-86CC-9D545D1D534F@LinkIt.Com> References: <67E7EC35-4E4F-4E59-86CC-9D545D1D534F@LinkIt.Com> Message-ID: Ray, What happens if you include body tags? Your HTML probably won't render without them: put "

This is an example.

" into myHtmlDoc > Greetings again, > > The RevBrowser external works great in Metacard, even as far back as > 2.7.4. Nonetheless, I'm trying to pass in my own html document > instead of a real web page and it doesn't respond. So, this works > fine: > > put revBrowserOpen(tWinID,"http://www.google.com") into > sBrowserId > set the BrowserId of image "BrowserImage" to sBrowserId > > But this doesn't: > > put "

This is an example.

" into myHtmlDoc > put revBrowserOpen(tWinID, myHtmlDoc) into sBrowserId > set the BrowserId of image "BrowserImage" to sBrowserId > > Any ideas? > > Thanks, > > Ray Horsley > LinkIt! Software -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.runrev.com/pipermail/metacard/attachments/20090209/9b1a2b9d/attachment.html From Ray at LinkIt.Com Tue Feb 10 09:06:09 2009 From: Ray at LinkIt.Com (Ray Horsley) Date: Tue Feb 10 06:07:53 2009 Subject: Span Tags in HTML In-Reply-To: References: <67E7EC35-4E4F-4E59-86CC-9D545D1D534F@LinkIt.Com> Message-ID: <94CD3F57-8345-4459-9EC1-CF622F7A3F3B@LinkIt.Com> Thanks Brian but I'm afraid including the tags doesn't render anything either. I've also tried including a document declaration as in the example below but I'm still getting nothing rendered. (That's the trouble when working with externals. You can't open them up to see what's going on.) Any other ideas are welcome. Thanks, Ray Horsley LinkIt! Software Example: Title of the document The content of the document...... On Feb 9, 2009, at 9:30 PM, Brian Yennie wrote: > Ray, > > What happens if you include body tags? Your HTML probably won't > render without them: > > put "

This is an example.

" into > myHtmlDoc > >> Greetings again, >> >> The RevBrowser external works great in Metacard, even as far back >> as 2.7.4. Nonetheless, I'm trying to pass in my own html document >> instead of a real web page and it doesn't respond. So, this works >> fine: >> >> put revBrowserOpen(tWinID,"http://www.google.com") into >> sBrowserId >> set the BrowserId of image "BrowserImage" to sBrowserId >> >> But this doesn't: >> >> put "

This is an example.

" into myHtmlDoc >> put revBrowserOpen(tWinID, myHtmlDoc) into sBrowserId >> set the BrowserId of image "BrowserImage" to sBrowserId >> >> Any ideas? >> >> Thanks, >> >> Ray Horsley >> LinkIt! Software > _______________________________________________ > metacard mailing list > metacard@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/metacard -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.runrev.com/pipermail/metacard/attachments/20090210/e94d91e1/attachment-0001.html From david at openpartnership.net Tue Feb 10 06:40:34 2009 From: david at openpartnership.net (David Bovill) Date: Tue Feb 10 06:40:37 2009 Subject: Span Tags in HTML In-Reply-To: <94CD3F57-8345-4459-9EC1-CF622F7A3F3B@LinkIt.Com> References: <67E7EC35-4E4F-4E59-86CC-9D545D1D534F@LinkIt.Com> <94CD3F57-8345-4459-9EC1-CF622F7A3F3B@LinkIt.Com> Message-ID: 2009/2/10 Ray Horsley > Thanks Brian but I'm afraid including the tags doesn't render > anything either. I've also tried including a document declaration as in the > example below but I'm still getting nothing rendered. (That's the trouble > when working with externals. You can't open them up to see what's going > on.) > Any other ideas are welcome. > Hi Ray - did a bit of work on this recently. AFAIK the only way is to process the raw html, and create your own htmltext. Here are the handlers I've got so far: --> HTML | Span > - > /* Strip span tags > These functions replace html span tags such as those found in basic html / > jabber / im html with tags for rev htmltext > */ > > function html_BasicToRev someHtml > put html_BoldSpanToRev(someHtml) into someHtml > put html_ColourSpanToRev(someHtml) into someHtml > return someHtml > end html_BasicToRev > > function html_RevToBasic someHtmlText > put html_RevToColourSpan(someHtmlText) into someHtml > return html_RevToBoldSpan(someHtml) > end html_RevToBasic > > function html_RevToColourSpan someHtml > replace quote with "'" in someHtml > put "(?miU)( someHtml > else > replace quote with "'" in someHtml > return someHtml > end if > end repeat > end html_RevToColourSpan > > function html_RevToBoldSpan someHtml > put "(?miU)().*()" into someReg > -- put "(?mi)()[^\<]*()" into someReg > repeat > if matchchunk(someHtml, someReg, oTagStart, oTagEnd, cTagStart, > cTagEnd) is true then > put "
" into char cTagStart to cTagEnd of someHtml > put "" into char oTagStart to > oTagEnd of someHtml > else > return someHtml > end if > end repeat > end html_RevToBoldSpan > > function html_ColourSpanToRev someHtml > -- U is for non-greedy > replace quote with "'" in someHtml > put "(?miU)()" into someReg > repeat > if matchchunk(someHtml, someReg, oTagStart, oTagEnd, cTagStart, > cTagEnd) is true then > put "" into char cTagStart to cTagEnd of someHtml > put " return someHtml > end if > end repeat > end html_ColourSpanToRev > > function html_BoldSpanToRev someHtml > put "(?miU)().*()" into someReg > -- put "(?mi)()[^\<]*()" into > someReg > repeat > if matchchunk(someHtml, someReg, oTagStart, oTagEnd, cTagStart, > cTagEnd) is true then > put "" into char cTagStart to cTagEnd of someHtml > put "" into char oTagStart to oTagEnd of someHtml > else > return someHtml > end if > end repeat > end html_BoldSpanToRev > If you improve them do post back. I'm interested in getting robust two way html "" to rev htmltext based style sheets working :) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.runrev.com/pipermail/metacard/attachments/20090210/712063c5/attachment.html From Ray at LinkIt.Com Tue Feb 10 11:23:01 2009 From: Ray at LinkIt.Com (Ray Horsley) Date: Tue Feb 10 08:33:16 2009 Subject: Span Tags in HTML In-Reply-To: References: <67E7EC35-4E4F-4E59-86CC-9D545D1D534F@LinkIt.Com> <94CD3F57-8345-4459-9EC1-CF622F7A3F3B@LinkIt.Com> Message-ID: <85A28D2B-16B2-4A77-8083-A9F8E2879DC7@LinkIt.Com> David, Thanks for the functions! I'll send you some if I go this route and write any of my own. I just can't believe that the RevBrowser external doesn't allow for the rending of a local html doc passed through. Ray Horsley LinkIt! Sofware On Feb 10, 2009, at 4:40 AM, David Bovill wrote: > > > 2009/2/10 Ray Horsley > Thanks Brian but I'm afraid including the tags doesn't render > anything either. I've also tried including a document declaration > as in the example below but I'm still getting nothing rendered. > (That's the trouble when working with externals. You can't open > them up to see what's going on.) > > Any other ideas are welcome. > > Hi Ray - did a bit of work on this recently. AFAIK the only way is > to process the raw html, and create your own htmltext. Here are the > handlers I've got so far: > > --> HTML | Span > - > /* Strip span tags > These functions replace html span tags such as those found in basic > html / jabber / im html with tags for rev htmltext > */ > > function html_BasicToRev someHtml > put html_BoldSpanToRev(someHtml) into someHtml > put html_ColourSpanToRev(someHtml) into someHtml > return someHtml > end html_BasicToRev > > function html_RevToBasic someHtmlText > put html_RevToColourSpan(someHtmlText) into someHtml > return html_RevToBoldSpan(someHtml) > end html_RevToBasic > > function html_RevToColourSpan someHtml > replace quote with "'" in someHtml > put "(?miU)( of someHtml > else > replace quote with "'" in someHtml > return someHtml > end if > end repeat > end html_RevToColourSpan > > function html_RevToBoldSpan someHtml > put "(?miU)().*()" into someReg > -- put "(?mi)()[^\<]*()" into someReg > repeat > if matchchunk(someHtml, someReg, oTagStart, oTagEnd, > cTagStart, cTagEnd) is true then > put "" into char cTagStart to cTagEnd of someHtml > put "" into char > oTagStart to oTagEnd of someHtml > else > return someHtml > end if > end repeat > end html_RevToBoldSpan > > function html_ColourSpanToRev someHtml > -- U is for non-greedy > replace quote with "'" in someHtml > put "(?miU)()" into someReg > repeat > if matchchunk(someHtml, someReg, oTagStart, oTagEnd, > cTagStart, cTagEnd) is true then > put "" into char cTagStart to cTagEnd of someHtml > put " return someHtml > end if > end repeat > end html_ColourSpanToRev > > function html_BoldSpanToRev someHtml > put "(?miU)().*()" into > someReg > -- put "(?mi)()[^\<]*()" > into someReg > repeat > if matchchunk(someHtml, someReg, oTagStart, oTagEnd, > cTagStart, cTagEnd) is true then > put "" into char cTagStart to cTagEnd of someHtml > put "" into char oTagStart to oTagEnd of someHtml > else > return someHtml > end if > end repeat > end html_BoldSpanToRev > > If you improve them do post back. I'm interested in getting robust > two way html "" to rev htmltext based style sheets working :) > > _______________________________________________ > metacard mailing list > metacard@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/metacard -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.runrev.com/pipermail/metacard/attachments/20090210/05ffdeba/attachment.html From klaus at major-k.de Tue Feb 10 08:45:18 2009 From: klaus at major-k.de (Klaus Major) Date: Tue Feb 10 08:45:22 2009 Subject: Span Tags in HTML In-Reply-To: <85A28D2B-16B2-4A77-8083-A9F8E2879DC7@LinkIt.Com> References: <67E7EC35-4E4F-4E59-86CC-9D545D1D534F@LinkIt.Com> <94CD3F57-8345-4459-9EC1-CF622F7A3F3B@LinkIt.Com> <85A28D2B-16B2-4A77-8083-A9F8E2879DC7@LinkIt.Com> Message-ID: Hi Ray, > David, > > Thanks for the functions! I'll send you some if I go this route and > write any of my own. > I just can't believe that the RevBrowser external doesn't allow for > the rending of a local html doc passed through. ??? rending ??? Do you mean that the browser external cannot diasplay a local HTML document? Of course it can! :-) Just don't forget to put a "file:/" before that path to your doc. > Ray Horsley > LinkIt! Sofware Regards Klaus -- Klaus Major klaus@major-k.de http://www.major-k.de From dave.cragg at lacscentre.co.uk Tue Feb 10 08:52:19 2009 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue Feb 10 08:52:23 2009 Subject: Span Tags in HTML In-Reply-To: <67E7EC35-4E4F-4E59-86CC-9D545D1D534F@LinkIt.Com> References: <67E7EC35-4E4F-4E59-86CC-9D545D1D534F@LinkIt.Com> Message-ID: <33A55567-D19C-4B96-8814-807F704487C9@lacscentre.co.uk> On 10 Feb 2009, at 04:40, Ray Horsley wrote: > But this doesn't: > > put "

This is an example.

" into myHtmlDoc > put revBrowserOpen(tWinID, myHtmlDoc) into sBrowserId > set the BrowserId of image "BrowserImage" to sBrowserId > Ray, try with revBrowserSet, using the "htmltext" property. E.g. put "

This is an example.

" into tHtml put revBrowserOpen(the windowID of this stack) into tBID put "0,0,200,100" into tRect revBrowserSet tBID, "rect", tRect revBrowserSet tBID, "htmltext", tHtml Cheers Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.runrev.com/pipermail/metacard/attachments/20090210/8e4bcf85/attachment-0001.html From Ray at LinkIt.Com Tue Feb 10 12:08:43 2009 From: Ray at LinkIt.Com (Ray Horsley) Date: Tue Feb 10 09:12:17 2009 Subject: Span Tags in HTML In-Reply-To: <33A55567-D19C-4B96-8814-807F704487C9@lacscentre.co.uk> References: <67E7EC35-4E4F-4E59-86CC-9D545D1D534F@LinkIt.Com> <33A55567-D19C-4B96-8814-807F704487C9@lacscentre.co.uk> Message-ID: <01E498D2-413B-4642-A914-79ED56CDF768@LinkIt.Com> Dave,Ken, Thanks for the boost. I've got it rendering now. Ray Horsley LinkIt! Software On Feb 10, 2009, at 6:52 AM, Dave Cragg wrote: > > On 10 Feb 2009, at 04:40, Ray Horsley wrote: >> But this doesn't: >> >> put "

This is an example.

" into myHtmlDoc >> put revBrowserOpen(tWinID, myHtmlDoc) into sBrowserId >> set the BrowserId of image "BrowserImage" to sBrowserId >> > > Ray, try with revBrowserSet, using the "htmltext" property. > > E.g. > > put "

This is an example.

" into tHtml > put revBrowserOpen(the windowID of this stack) into tBID > put "0,0,200,100" into tRect > revBrowserSet tBID, "rect", tRect > revBrowserSet tBID, "htmltext", tHtml > > Cheers > Dave > _______________________________________________ > metacard mailing list > metacard@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/metacard -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.runrev.com/pipermail/metacard/attachments/20090210/8d957dc7/attachment.html From ambassador at fourthworld.com Mon Feb 16 00:21:48 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Feb 16 00:21:52 2009 Subject: Gradient tool? Message-ID: <499905FC.7080300@fourthworld.com> Anyone make a gradient tool for MC 3.0? If not I'll see what I can whip up, but it sure would be handy if it were available right now. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador@FourthWorld.com http://www.FourthWorld.com From klaus at major-k.de Mon Feb 16 02:54:15 2009 From: klaus at major-k.de (Klaus Major) Date: Mon Feb 16 02:54:18 2009 Subject: Gradient tool? In-Reply-To: <499905FC.7080300@fourthworld.com> References: <499905FC.7080300@fourthworld.com> Message-ID: <64AFB3AA-9712-4815-B32D-F70D8CE6B4CF@major-k.de> Hi Richard, > Anyone make a gradient tool for MC 3.0? Not that I knew. > If not I'll see what I can whip up, but it sure would be handy if it > were available right now. :) Feel free to create one :-) > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador@FourthWorld.com http://www.FourthWorld.com Best Klaus -- Klaus Major klaus@major-k.de http://www.major-k.de From sanke at hrz.uni-kassel.de Mon Feb 16 17:15:38 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon Feb 16 17:15:45 2009 Subject: Gradient tool? Message-ID: <4999F39A.9050002@hrz.uni-kassel.de> On Mon, 16 Feb 2009, Klaus Major wrote: > Hi Richard, >> Anyone make a gradient tool for MC 3.0? > > Not that I knew. >> If not I'll see what I can whip up, but it sure would be handy if it >> were available right now. :) > > Feel free to create one :-) >> -- >> Richard Gaskin >> Fourth World Media Corporation >> ___________________________________________________________ > Best > > Klaus Depends what you mean by "gradient tools". Bernd Niggemann and myself we have integrated the Rev. 3 gradient tools into the sample stack "More about Mask Rev3" which uses some possibilities of the gradient tools to create gradient masks. See card "using gradient tools" of this stack.. But there are several other stacks and tools to be found in our Metacard/Rev community which deal with gradients in different ways. For my part, I might mention various algorithms contained in my "Imagedata Toolkits" that either transform photos into gradient patterns with varying widths and heights of the gradient elements inside a picture or where uni- and -bi-directional gradients are created from scratch. These latter "gradient tools" do not rely on the new Rev 3 features, but can be used with any version of Metacard. Regards, Wilhelm Sanke From h at FlexibleLearning.com Tue Feb 17 02:26:05 2009 From: h at FlexibleLearning.com (Hugh Senior) Date: Tue Feb 17 02:26:04 2009 Subject: Gradient tool? In-Reply-To: <20090216180006.2774E48A469@mail.runrev.com> Message-ID: Hi Richard I build a sampler stack to try it out. Will send you off-list. /H Richard asked... Anyone make a gradient tool for MC 3.0? If not I'll see what I can whip up, but it sure would be handy if it were available right now. :) From klaus at major-k.de Thu Feb 26 11:36:30 2009 From: klaus at major-k.de (Klaus Major) Date: Thu Feb 26 11:36:34 2009 Subject: revappversion() Message-ID: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> Hi friends, after reading and answering a mail form Malte (how to distinguish between MC and REV) I checked "revappversion()" after a very long time (since version 2.9 I think) and was VERY surprised that: answer revappversion() gives me: 2.5.1 2.5.1 ????? WTF??? I checked the script of one of the backscripts: button id 1043 of card id 1001 of stack "/Applications/MetaCard X/ mctools.mc" And there is the correct function: function revAppVersion return "0" end revAppVersion Then I commented this function out and still get NO error but: 2.5.1? Is there something built into the engine since version 3.x? Am I overlooking something obvious? Any hints? Best Klaus -- Klaus Major klaus@major-k.de http://www.major-k.de From mark at schonewille.cjb.net Thu Feb 26 12:09:24 2009 From: mark at schonewille.cjb.net (Mark Schonewille) Date: Thu Feb 26 12:09:27 2009 Subject: revappversion() In-Reply-To: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> References: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> Message-ID: <3AAE3CE5-C508-4517-B804-7EC977D6B85C@schonewille.cjb.net> Hi Klaus, What does "the version" return in MC? AFAIK it should return the engine version. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! On 26 feb 2009, at 18:36, Klaus Major wrote: > Hi friends, > > after reading and answering a mail form Malte (how to distinguish > between MC and REV) I checked "revappversion()" after a very long > time (since version 2.9 I think) and was VERY surprised that: > answer revappversion() > gives me: 2.5.1 > > 2.5.1 ????? > WTF??? > > I checked the script of one of the backscripts: > button id 1043 of card id 1001 of stack "/Applications/MetaCard X/ > mctools.mc" > > And there is the correct function: > function revAppVersion > return "0" > end revAppVersion > > Then I commented this function out and still get NO error but: 2.5.1? > > Is there something built into the engine since version 3.x? > Am I overlooking something obvious? > Any hints? > > > Best > > Klaus > > -- > Klaus Major > klaus@major-k.de > http://www.major-k.de From klaus at major-k.de Thu Feb 26 12:15:02 2009 From: klaus at major-k.de (Klaus Major) Date: Thu Feb 26 12:15:05 2009 Subject: revappversion() In-Reply-To: <3AAE3CE5-C508-4517-B804-7EC977D6B85C@schonewille.cjb.net> References: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> <3AAE3CE5-C508-4517-B804-7EC977D6B85C@schonewille.cjb.net> Message-ID: <356CB4AB-446F-470A-82A9-FE0D048D127C@major-k.de> Hi Mark, > Hi Klaus, > > What does "the version" return in MC? 3.0.0 which is correct. > AFAIK it should return the engine version. Yes, but that has really nothing to do with "revappversion()" :-) > -- > Best regards, > > Mark Schonewille Regards Klaus -- Klaus Major klaus@major-k.de http://www.major-k.de From mark at schonewille.cjb.net Thu Feb 26 12:18:05 2009 From: mark at schonewille.cjb.net (Mark Schonewille) Date: Thu Feb 26 12:23:56 2009 Subject: revappversion() In-Reply-To: <356CB4AB-446F-470A-82A9-FE0D048D127C@major-k.de> References: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> <3AAE3CE5-C508-4517-B804-7EC977D6B85C@schonewille.cjb.net> <356CB4AB-446F-470A-82A9-FE0D048D127C@major-k.de> Message-ID: <32637937-353D-4503-89D7-C4CC8FF53F4A@schonewille.cjb.net> Klaus, This changed at some point. When MC became Rev, the version was changed to return a version number that is equal for both the engine and the IDE, making revappversion obsolete. Hence the 0 in the MC function. Perhaps you need to supplement the version with a new MC function, e.g. mcVersion? Op 26-feb-2009, om 19:15 heeft Klaus Major het volgende geschreven: > Hi Mark, > >> Hi Klaus, >> >> What does "the version" return in MC? > > 3.0.0 which is correct. > >> AFAIK it should return the engine version. > > Yes, but that has really nothing to do with "revappversion()" :-) > >> -- >> Best regards, >> >> Mark Schonewille > > Regards > > Klaus > > -- > Klaus Major > klaus@major-k.de > http://www.major-k.de > From klaus at major-k.de Thu Feb 26 12:31:17 2009 From: klaus at major-k.de (Klaus Major) Date: Thu Feb 26 12:31:20 2009 Subject: revappversion() In-Reply-To: <32637937-353D-4503-89D7-C4CC8FF53F4A@schonewille.cjb.net> References: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> <3AAE3CE5-C508-4517-B804-7EC977D6B85C@schonewille.cjb.net> <356CB4AB-446F-470A-82A9-FE0D048D127C@major-k.de> <32637937-353D-4503-89D7-C4CC8FF53F4A@schonewille.cjb.net> Message-ID: <4464DE09-A942-4400-A733-3B5B47B9AF69@major-k.de> Hi Mark, > Klaus, > > This changed at some point. When did it change, that is the question! This has been working fine until at least engine 2.9! > When MC became Rev, the version was changed to return a version > number that is equal for both the engine and the IDE, making > revappversion obsolete. But revappversion() is still working in Rev. Maybe they mapped this function to "the version"? > Hence the 0 in the MC function. But it does NOT return 0 in MetaCard, so where the heck is "2.5.1" coming from? > Perhaps you need to supplement the version with a new MC function, > e.g. mcVersion? We added "revappversion()" to MC some time in the past to be compatible with Rev and to distinguish between the two IDEs. Any opinions/insights, fellow MetaCarders? Best Klaus -- Klaus Major klaus@major-k.de http://www.major-k.de From jacque at hyperactivesw.com Thu Feb 26 12:31:57 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Feb 26 12:32:00 2009 Subject: revappversion() In-Reply-To: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> References: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> Message-ID: <49A6E01D.6070703@hyperactivesw.com> Klaus Major wrote: > Hi friends, > > after reading and answering a mail form Malte (how to distinguish > between MC and REV) I checked "revappversion()" after a very long > time (since version 2.9 I think) and was VERY surprised that: > answer revappversion() > gives me: 2.5.1 > > 2.5.1 ????? > WTF??? I'm using the Rev 3.0 engine with the MC IDE 3.0 (Nov 2008) and I get back 0 as expected. So, something on your side? -- Jacqueline Landman Gay | jacque@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Thu Feb 26 12:33:49 2009 From: klaus at major-k.de (Klaus Major) Date: Thu Feb 26 12:33:53 2009 Subject: revappversion() In-Reply-To: <4464DE09-A942-4400-A733-3B5B47B9AF69@major-k.de> References: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> <3AAE3CE5-C508-4517-B804-7EC977D6B85C@schonewille.cjb.net> <356CB4AB-446F-470A-82A9-FE0D048D127C@major-k.de> <32637937-353D-4503-89D7-C4CC8FF53F4A@schonewille.cjb.net> <4464DE09-A942-4400-A733-3B5B47B9AF69@major-k.de> Message-ID: Hi all, just checked the Rev doc about revappversion(): ... The revAppVersion function is different from the version function! ... revappversion() = IDE the version = engine So there is something else going on... Best Klaus -- Klaus Major klaus@major-k.de http://www.major-k.de From klaus at major-k.de Thu Feb 26 12:35:54 2009 From: klaus at major-k.de (Klaus Major) Date: Thu Feb 26 12:35:57 2009 Subject: revappversion() In-Reply-To: <49A6E01D.6070703@hyperactivesw.com> References: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> <49A6E01D.6070703@hyperactivesw.com> Message-ID: <321F6B8C-1DAF-41E9-BF32-47FBCAE779BB@major-k.de> Hi Jacqueline, > Klaus Major wrote: >> Hi friends, >> after reading and answering a mail form Malte (how to distinguish >> between MC and REV) I checked "revappversion()" after a very long >> time (since version 2.9 I think) and was VERY surprised that: >> answer revappversion() >> gives me: 2.5.1 >> 2.5.1 ????? >> WTF??? > > I'm using the Rev 3.0 engine with the MC IDE 3.0 (Nov 2008) and I > get back 0 as expected. > So, something on your side? Maybe, but WHAT? I have no extra "revappversion" function anywhere in my stacks... Too funky :-) > -- > Jacqueline Landman Gay | jacque@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major klaus@major-k.de http://www.major-k.de From mark at schonewille.cjb.net Thu Feb 26 12:42:11 2009 From: mark at schonewille.cjb.net (Mark Schonewille) Date: Thu Feb 26 12:42:15 2009 Subject: revappversion() In-Reply-To: References: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> <3AAE3CE5-C508-4517-B804-7EC977D6B85C@schonewille.cjb.net> <356CB4AB-446F-470A-82A9-FE0D048D127C@major-k.de> <32637937-353D-4503-89D7-C4CC8FF53F4A@schonewille.cjb.net> <4464DE09-A942-4400-A733-3B5B47B9AF69@major-k.de> Message-ID: Hi Klaus, It looks like the docs need to be updated. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! On 26 feb 2009, at 19:33, Klaus Major wrote: > Hi all, > > just checked the Rev doc about revappversion(): > ... > The revAppVersion function is different from the version function! > ... > > revappversion() = IDE > the version = engine > > So there is something else going on... > > > Best > > Klaus > > -- > Klaus Major > klaus@major-k.de > http://www.major-k.de > From jacque at hyperactivesw.com Thu Feb 26 12:49:26 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Feb 26 12:49:30 2009 Subject: revappversion() In-Reply-To: References: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> <3AAE3CE5-C508-4517-B804-7EC977D6B85C@schonewille.cjb.net> <356CB4AB-446F-470A-82A9-FE0D048D127C@major-k.de> <32637937-353D-4503-89D7-C4CC8FF53F4A@schonewille.cjb.net> <4464DE09-A942-4400-A733-3B5B47B9AF69@major-k.de> Message-ID: <49A6E436.5030503@hyperactivesw.com> Mark Schonewille wrote: > Hi Klaus, > > It looks like the docs need to be updated. It still responds correctly for me in Rev. I get "3.0.0" in Rev, and "0" in MC. I hope it doesn't change, because I use it a lot of stacks. -- Jacqueline Landman Gay | jacque@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at schonewille.cjb.net Thu Feb 26 13:25:20 2009 From: mark at schonewille.cjb.net (Mark Schonewille) Date: Thu Feb 26 13:25:24 2009 Subject: revappversion() In-Reply-To: <49A6E436.5030503@hyperactivesw.com> References: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> <3AAE3CE5-C508-4517-B804-7EC977D6B85C@schonewille.cjb.net> <356CB4AB-446F-470A-82A9-FE0D048D127C@major-k.de> <32637937-353D-4503-89D7-C4CC8FF53F4A@schonewille.cjb.net> <4464DE09-A942-4400-A733-3B5B47B9AF69@major-k.de> <49A6E436.5030503@hyperactivesw.com> Message-ID: Hi Jacque, It changed already and this change shouldn't affect your projects, as revAppVersion() and the version now return the same number. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! On 26 feb 2009, at 19:49, J. Landman Gay wrote: >> > > It still responds correctly for me in Rev. I get "3.0.0" in Rev, and > "0" in MC. I hope it doesn't change, because I use it a lot of stacks. From klaus at major-k.de Thu Feb 26 15:20:08 2009 From: klaus at major-k.de (Klaus Major) Date: Thu Feb 26 15:20:12 2009 Subject: revappversion() In-Reply-To: <49A6E436.5030503@hyperactivesw.com> References: <3CE40838-60CD-4EC2-9E22-C9BF4BACBA81@major-k.de> <3AAE3CE5-C508-4517-B804-7EC977D6B85C@schonewille.cjb.net> <356CB4AB-446F-470A-82A9-FE0D048D127C@major-k.de> <32637937-353D-4503-89D7-C4CC8FF53F4A@schonewille.cjb.net> <4464DE09-A942-4400-A733-3B5B47B9AF69@major-k.de> <49A6E436.5030503@hyperactivesw.com> Message-ID: <0626E8BA-A3BA-4576-88A7-F6D9A3AEBAAC@major-k.de> Hi Jacqueline, > Mark Schonewille wrote: >> Hi Klaus, >> It looks like the docs need to be updated. > > It still responds correctly for me in Rev. I get "3.0.0" in Rev, and > "0" in MC. I just downloaded a "fresh" mctools stack from the Yahoo MC group and still get 2.5.1? Am I cursed again? :-) Best Klaus -- Klaus Major klaus@major-k.de http://www.major-k.de From tariel at mac.com Thu Feb 26 15:35:30 2009 From: tariel at mac.com (Tariel Gogoberidze) Date: Thu Feb 26 15:42:27 2009 Subject: revappversion() In-Reply-To: <20090226212013.AE89148BF42@mail.runrev.com> References: <20090226212013.AE89148BF42@mail.runrev.com> Message-ID: Klaus, I checked on my copies of MC 2.8.1, 2.9 and 3.9 and revappversion() returns 0 May be you should check the scripts in your Home stack? Tariel From klaus at major-k.de Thu Feb 26 16:01:20 2009 From: klaus at major-k.de (Klaus Major) Date: Thu Feb 26 16:01:23 2009 Subject: revappversion() In-Reply-To: References: <20090226212013.AE89148BF42@mail.runrev.com> Message-ID: Hi Tariel, > Klaus, > > I checked on my copies of MC 2.8.1, 2.9 and 3.9 and revappversion() > returns 0 > May be you should check the scripts in your Home stack? Been there, done that, nada... > Tariel Best Klaus -- Klaus Major klaus@major-k.de http://www.major-k.de From kray at sonsothunder.com Thu Feb 26 16:54:04 2009 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 26 16:54:11 2009 Subject: revappversion() In-Reply-To: <49A6E436.5030503@hyperactivesw.com> Message-ID: > It still responds correctly for me in Rev. I get "3.0.0" in Rev, and "0" > in MC. I hope it doesn't change, because I use it a lot of stacks. Same here, Jacque... I get "0" in MC. Ken Ray Sons of Thunder Software, Inc. Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From ambassador at fourthworld.com Fri Feb 27 22:25:14 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Feb 27 22:25:17 2009 Subject: MSG bug, w/fix Message-ID: <49A8BCAA.6030204@fourthworld.com> While making my own Message Box today I discovered a bug in MC's. This snippet appears about two-thirds of the way down in the returnInField handler in the field script: ------------------- if word 1 of the cs of stack "Message Box" is not among the lines of the commandNames then if word 1 of the cs of stack "Message Box" is "the" \ or word 1 of the cs of stack "Message Box" is a number \ or token 2 of the cs of stack "Message Box" is "(" then put value(the cs of stack "Message Box", this card) ------------------ The problem is this line: or word 1 of the cs of stack "Message Box" is a number Should be: or token 1 of the cs of stack "Message Box" is a number As written, this phrase will throw an error: 1+1 With this fix expressions like that will run okay. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador@FourthWorld.com http://www.FourthWorld.com