Lazycat 8 Report post Posted November 10, 2005 Here the result of playing with RichEdit control - early (let it be alpha) version of RTF plugin. This create control in GUI and allow load/save from/to file or variable. No editing functions at the moment, maybe when will have free time. Sorry for lame example rtfplugin.zip Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Share this post Link to post Share on other sites
MHz 72 Report post Posted November 10, 2005 Another great plugin. This may put a smile on a few faces with this colourful text in an edit control. The example is not too bad at all. Only alpha, then definitely keep it progressing Lazycat. Share this post Link to post Share on other sites
DaveF 0 Report post Posted November 10, 2005 Very cool, thanks for sharing this! Yes yes yes, there it was. Youth must go, ah yes. But youth is only being in a way like it might be an animal. No, it is not just being an animal so much as being like one of these malenky toys you viddy being sold in the streets, like little chellovecks made out of tin and with a spring inside and then a winding handle on the outside and you wind it up grrr grrr grrr and off it itties, like walking, O my brothers. But it itties in a straight line and bangs straight into things bang bang and it cannot help what it is doing. Being young is like being like one of these malenky machines. Share this post Link to post Share on other sites
CyberSlug 3 Report post Posted November 10, 2005 I've been waiting for rtf support! Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Share this post Link to post Share on other sites
wiredbits 0 Report post Posted November 10, 2005 Here the result of playing with RichEdit control - early (let it be alpha) version of RTF plugin. This create control in GUI and allow load/save from/to file or variable. No editing functions at the moment, maybe when will have free time.Sorry for lame example Hi, Great! I will try it out today, maybe Koda will be able to have RIchEdit controls now... . Speaking of , you guys did a great job on that...thanks. Jim Share this post Link to post Share on other sites
layer 2 Report post Posted November 10, 2005 YAY ! This is great LazyCat, this should open a whole new path to the GUI ! Thanks. FootbaG Share this post Link to post Share on other sites
GaryFrost 11 Report post Posted November 19, 2005 I like it Can you make it so that the read-only style can be used on it? Would work great for a project I'm working on but need that to be read-only and it still scrolls. Gary SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Share this post Link to post Share on other sites
busysignal 0 Report post Posted November 19, 2005 @Lazycat, a little help here. I ran your test_plugin.au3 but ran into an unexpected errors.C:\Download\!Project\PrgLang\AutoIt-v3\Examples\RTF-plugin\test_plugin.au3(2,37) : ERROR: PluginOpen(): undefined function.$hPlug = PluginOpen ("rtfplugin.dll")~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\Download\!Project\PrgLang\AutoIt-v3\Examples\RTF-plugin\test_plugin.au3(4,66) : ERROR: GUICtrlCreateRTFEdit(): undefined function.$hEdit = GUICtrlCreateRTFEdit ($hGUI, 0, 0, 600, 300, -1, 0x20000)~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\Download\!Project\PrgLang\AutoIt-v3\Examples\RTF-plugin\test_plugin.au3(53,32) : ERROR: GUICtrlRTFGet(): undefined function. $str = GUICtrlRTFGet ($hEdit) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\Download\!Project\PrgLang\AutoIt-v3\Examples\RTF-plugin\test_plugin.au3(57,23) : ERROR: PluginClose(): undefined function. PluginClose ($hPlug) ~~~~~~~~~~~~~~~~~~~^C:\Download\!Project\PrgLang\AutoIt-v3\Examples\RTF-plugin\test_plugin.au3(64,35) : ERROR: GUICtrlRTFSet(): undefined function. GUICtrlRTFSet ($hEdit, $temp, 1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\Download\!Project\PrgLang\AutoIt-v3\Examples\RTF-plugin\test_plugin.au3 - 5 error(s), 0 warning(s)I am running the {.87} version any ideas? Anyone?Cheers.. Share this post Link to post Share on other sites
MHz 72 Report post Posted November 19, 2005 I only get 3 errors, only as they are functions defined in the plugin rather then the script. Those errors can be expected currently with plugins and you should be able to press continue. The other errors you get with PluginOpen and PluginClose seems like you are not using the beta to run it. Share this post Link to post Share on other sites
Lazycat 8 Report post Posted November 19, 2005 I like it Can you make it so that the read-only style can be used on it?Would work great for a project I'm working on but need that to be read-only and it still scrolls.You can do this now, just add BitOr($ES_READONLY, $ES_DISABLENOSCROLL, $WS_VSCROLL)as style. Now control have forced styles: WS_CHILD, WS_VISIBLE, WS_TABSTOP, ES_MULTILINE, so you have to add other styles explicitly. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Share this post Link to post Share on other sites
GaryFrost 11 Report post Posted November 19, 2005 Thanks, perfect. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Share this post Link to post Share on other sites
busysignal 0 Report post Posted November 20, 2005 I only get 3 errors, only as they are functions defined in the plugin rather then the script. Those errors can be expected currently with plugins and you should be able to press continue.The other errors you get with PluginOpen and PluginClose seems like you are not using the beta to run it.@MHz, I continue and it seemed to work as Lazycat has scripted it to do. But strange that I am using the 3.1.1.87 Beta version. The only way to know is the do Alt-F1 which brings up the start help file show the current release. It is strange that the error show that the "PluginOpen" show as "Undefined Function". Cheers.. Share this post Link to post Share on other sites
phoenix73 0 Report post Posted November 23, 2005 @LazycatYour "RTF plugin" is simply great! I tried to work about the RTF generator, because I'm interested to build up the reports for my GIS applications and I discovered that is not a simple matter without studying RTF specifications. Suddendly, after numerous researchs, I found "KCRtfCreator.dll" that solved my problems. Some details about this DLL are at this post: http://www.autoitscript.com/forum/index.php?showtopic=18276I hope it is useful for all.Best regards.Pho Share this post Link to post Share on other sites
GaryFrost 11 Report post Posted November 23, 2005 Is there a way to insert a graphic into the control on the gui? SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Share this post Link to post Share on other sites
layer 2 Report post Posted November 23, 2005 Is there a way to insert a graphic into the control on the gui?http://www.autoitscript.com/forum/index.php?showtopic=18276 FootbaG Share this post Link to post Share on other sites
GaryFrost 11 Report post Posted November 23, 2005 http://www.autoitscript.com/forum/index.php?showtopic=18276 I knew about that, was asking about lazycat's plug-in (that i'm already using) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Share this post Link to post Share on other sites
layer 2 Report post Posted November 24, 2005 I knew about that, was asking about lazycat's plug-in (that i'm already using)sorry FootbaG Share this post Link to post Share on other sites
Adam1213 1 Report post Posted December 4, 2005 If hyperlinks worked it would be so much better!!! Please add hyperlinks. Once it has hyperlinks in it I think it should come with autoit. But colour text support even by itself is great!!!!!!!!!!!!! :) IRC Client - 75 pages 3728 lines. Blob crumbler (game)Backup (drag to backup + cmd line)RS232 Share this post Link to post Share on other sites
Fuzzy 0 Report post Posted December 25, 2005 I have been trying to use your Plug-in to display results in the GUICtrlCreateTab. It seems it isnt support can you confirm this. :"> Share this post Link to post Share on other sites
GaryFrost 11 Report post Posted March 19, 2006 I have been trying to use your Plug-in to display results in the GUICtrlCreateTab. It seems it isn't support can you confirm this. '> Try creating a child gui, put the rtf control on that gui, hide/show the child with the tab control SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Share this post Link to post Share on other sites