Lazycat Posted November 10, 2005 Share 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]) Link to comment Share on other sites More sharing options...
MHz Posted November 10, 2005 Share 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. Link to comment Share on other sites More sharing options...
DaveF Posted November 10, 2005 Share 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. Link to comment Share on other sites More sharing options...
CyberSlug Posted November 10, 2005 Share 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! Link to comment Share on other sites More sharing options...
wiredbits Posted November 10, 2005 Share 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 Link to comment Share on other sites More sharing options...
layer Posted November 10, 2005 Share Posted November 10, 2005 YAY ! This is great LazyCat, this should open a whole new path to the GUI ! Thanks. FootbaG Link to comment Share on other sites More sharing options...
GaryFrost Posted November 19, 2005 Share 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. Link to comment Share on other sites More sharing options...
busysignal Posted November 19, 2005 Share 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.. Link to comment Share on other sites More sharing options...
MHz Posted November 19, 2005 Share 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. Link to comment Share on other sites More sharing options...
Lazycat Posted November 19, 2005 Author Share 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]) Link to comment Share on other sites More sharing options...
GaryFrost Posted November 19, 2005 Share 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. Link to comment Share on other sites More sharing options...
busysignal Posted November 20, 2005 Share 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.. Link to comment Share on other sites More sharing options...
phoenix73 Posted November 23, 2005 Share 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 Link to comment Share on other sites More sharing options...
GaryFrost Posted November 23, 2005 Share 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. Link to comment Share on other sites More sharing options...
layer Posted November 23, 2005 Share 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 Link to comment Share on other sites More sharing options...
GaryFrost Posted November 23, 2005 Share 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. Link to comment Share on other sites More sharing options...
layer Posted November 24, 2005 Share Posted November 24, 2005 I knew about that, was asking about lazycat's plug-in (that i'm already using)sorry FootbaG Link to comment Share on other sites More sharing options...
Adam1213 Posted December 4, 2005 Share 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 Link to comment Share on other sites More sharing options...
Fuzzy Posted December 25, 2005 Share 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. :"> Link to comment Share on other sites More sharing options...
GaryFrost Posted March 19, 2006 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now