Search found 313 matches

by ahklearner
12 Nov 2016, 05:30
Forum: Ask for Help (v1)
Topic: RichEdit.ahk (caret position, readonly, SetBgColor) Topic is solved
Replies: 4
Views: 1464

RichEdit.ahk (caret position, readonly, SetBgColor) Topic is solved

Hi Community :wave: Please help me :) What I need and what I tried: ;--------------------------------------------- For background change: MyRichEdit.SetBgColor(a9f874) ;--------------------------------------------- Positioning caret at 0 character MyRichEdit.ScrollPos(PosString=0) MyRichEdit.ScrollP...
by ahklearner
10 Nov 2016, 01:01
Forum: Ask for Help (v1)
Topic: RichEdit.ahk HyperLink Help :crazy: Topic is solved
Replies: 5
Views: 1193

Re: RichEdit.ahk HyperLink Help :crazy: Topic is solved

would this help: http://maul-esel.github.io/FormsFramework/files/Form/inc/HLink-ahk.html HLink HyperLink control. HLink HyperLink control. Add Creates hyperlink control. HLink_Add( hGui, X, Y, W, H, Handler = "", Text = "'HLink Control':" ) Creates hyperlink control. Parameters hGui Handle of the p...
by ahklearner
09 Nov 2016, 23:07
Forum: Ask for Help (v1)
Topic: RichEdit.ahk HyperLink Help :crazy: Topic is solved
Replies: 5
Views: 1193

Re: RichEdit.ahk HyperLink Help :crazy: Topic is solved

Thanks "just me" One more thing, my links will be local files on the same computer from search result(A_LoopFileFullPath). Did you mean this way ? :roll: #include %A_ScriptDir%\Class_RichEdit.ahk Gui, +Hwnd%appname% Gui, Add, Text, Hello MyRichEdit.WordWrap(false) MyRichEdit := NEW RICHEDIT(%appname...
by ahklearner
09 Nov 2016, 06:55
Forum: Ask for Help (v1)
Topic: RichEdit.ahk HyperLink Help :crazy: Topic is solved
Replies: 5
Views: 1193

RichEdit.ahk HyperLink Help :crazy: Topic is solved

Hi Community :wave: The below code is appearing fine in richedit but link upon click is not working. MyRichEdit.SetText("{\rtf1{\field{\*\fldinst{ HYPERLINK ” http://www.msn.com”}}{\fldrslt{ MSN} }}}") Direct Download Link for #include Class_RichEdit.ahk https://codeload.github.com/AHK-just-me/Class...
by ahklearner
07 Nov 2016, 07:10
Forum: Ask for Help (v1)
Topic: RichEdit.ahk highlight help bold and red color Topic is solved
Replies: 9
Views: 3122

Re: RichEdit.ahk highlight help bold and red color Topic is solved

Thanks a lot, I will try and figure out. :thumbup: If you want to mark the phrases before you add the text to the control you have to add the appropriate RTF tags to the text. This is not a task of the RichEdit class. I didn't care much about RTF syntax when creating the class, so someone else has t...
by ahklearner
07 Nov 2016, 05:56
Forum: Ask for Help (v1)
Topic: RichEdit.ahk highlight help bold and red color Topic is solved
Replies: 9
Views: 3122

Re: RichEdit.ahk highlight help bold and red color Topic is solved

Thanks for the above :) I was wondering, what I actually need is: after searching for SearchStrings in files, I get A_LoopReadLine I need to highlight SearchString s in "A_LoopReadLine" Then append it to RichEdit. (We can also append all the results and then run the highlight, but it would be very l...
by ahklearner
07 Nov 2016, 04:12
Forum: Ask for Help (v1)
Topic: RichEdit.ahk highlight help bold and red color Topic is solved
Replies: 9
Views: 3122

Re: RichEdit.ahk highlight help bold and red color Topic is solved

Thanks a lot "just me" :salute: :rainbow: Cant express my happiness. :rainbow: :clap: Thanks a lot again. :clap: ; Mark search phrases red and bold f3:: CurrentSel := MyRichEdit.GetSel() ; get the current selection CF2 := MyRichEdit.GetCharFormat() ; retrieve a CHARFORMAT2 object CF2.Mask := 0x40000...
by ahklearner
07 Nov 2016, 01:12
Forum: Ask for Help (v1)
Topic: RichEdit.ahk highlight help bold and red color Topic is solved
Replies: 9
Views: 3122

Re: RichEdit.ahk highlight help bold and red color Topic is solved

thanks "just me" I am sorry, but I could not figure out how to use the above, as my programing knowledge is very limited. I am learning & I know only AHK. ... (i tried to modify you code to fit my need, but failed) Could you please show it in a working example (f3). One more request, one with only b...
by ahklearner
05 Nov 2016, 02:27
Forum: Ask for Help (v1)
Topic: RichEdit.ahk highlight help bold and red color Topic is solved
Replies: 9
Views: 3122

Re: RichEdit.ahk highlight help bold and red color Topic is solved

Thanks Test text=this is some text with high1 this is some text with high2 I just need to convert normal text to highlighted text. That is it. The above image is from my original script. Results in HTML I want it to be in rich edit. That is it. If loop takes more time, please help me simplyfy the F3...
by ahklearner
04 Nov 2016, 05:35
Forum: Scripts and Functions (v1)
Topic: Class RichEdit - update on 2015-04-14 (v0.1.05.00)
Replies: 204
Views: 81209

Re: Class RichEdit - update on 2015-04-14 (v0.1.05.00)

Hi BGM :salute: Could you please help me with this. RichEdit.ahk highlight help bold and red color https://autohotkey.com/boards/viewtopic.php?f=5&t=24339 Thank You Okay! Here is a working SIMPLE example of using the RichText Class for folks who just want the basics. It demonstrates: How to add the ...
by ahklearner
04 Nov 2016, 04:20
Forum: Ask for Help (v1)
Topic: RichEdit.ahk highlight help bold and red color Topic is solved
Replies: 9
Views: 3122

RichEdit.ahk highlight help bold and red color Topic is solved

Hi Community :wave: PLEASE HELP ME WITH: I need something like highlighting some words in a line (bold and red colored) in loop , other text normal font. Searching line by line and highlighting “search strings” . Adding link(local file link) to the file for opening the file once search results are s...
by ahklearner
15 Oct 2016, 05:34
Forum: Ask for Help (v1)
Topic: combobox adding at top without deleting entire control text Topic is solved
Replies: 6
Views: 1143

Re: combobox add without selecting using "||" OR add to top Topic is solved

I need it at the top of the list as well as the text entered into the edit control should not get deleted and if we add it later with two pipes "||" the text gets in to the edit control but also gets selected, the text should not get selected if added later. as the user will be continuously typing t...
by ahklearner
15 Oct 2016, 04:48
Forum: Ask for Help (v1)
Topic: combobox adding at top without deleting entire control text Topic is solved
Replies: 6
Views: 1143

combobox adding at top without deleting entire control text Topic is solved

Hi Community :wave: Using this "GuiControl,, test, %A_Now%" would add it to end of the list , I want it at the top of the list without deleting what is already present in the editcontrol of combobox. If the solution is to adding two pipes "||" and would show it in edit control of combobox, it will d...
by ahklearner
12 Oct 2016, 01:38
Forum: Ask for Help (v1)
Topic: combobox add function n improvement
Replies: 2
Views: 803

Re: combobox add function n improvement

* GuiControl, , Edit1,%NewSearchedText%||%Display_SearchList% dont want "NewSearchedText" selected and get highlighted * when adding the newtext to combobox, if two pipes "||" are used the text get selected and if the user is typing continously the selected text will get deleted. * newly added item ...
by ahklearner
09 Oct 2016, 03:19
Forum: Ask for Help (v1)
Topic: combobox add function n improvement
Replies: 2
Views: 803

combobox add function n improvement

Hi Community :wave: need help with combobox :crazy: GuiControl, , Edit1,%NewSearchedText%||%Display_SearchList% dont want "NewSearchedText" selected and get highlighted when adding the newtext to combobox, if two pipes "||" are used the text get selected and if the user is typing continously the sel...
by ahklearner
24 Sep 2016, 03:55
Forum: Scripts and Functions (v1)
Topic: AutoXYWH() - Move control automatically when GUI resized
Replies: 107
Views: 86915

Re: AutoXYWH() - Move control automatically when GUI resized

Code: Select all

    AutoXYWH("w0.5", "e1")
    AutoXYWH("x0.5w0.5", "e2")
    AutoXYWH("y+10.5w0.5h0.5", "e3")
    AutoXYWH("*y", "b1")
for height i tried this, but the next control is not Y+10.

a lil explanation would be very helpful.
by ahklearner
24 Sep 2016, 03:18
Forum: Scripts and Functions (v1)
Topic: AutoXYWH() - Move control automatically when GUI resized
Replies: 107
Views: 86915

Re: AutoXYWH() - Move control automatically when GUI resized

ahklearner wrote:but not changing height of 1st and 2nd edit box.
Wondering :bravo:
by ahklearner
24 Sep 2016, 02:45
Forum: Scripts and Functions (v1)
Topic: AutoXYWH() - Move control automatically when GUI resized
Replies: 107
Views: 86915

Re: AutoXYWH() - Move control automatically when GUI resized

i am wondering why it is not positioning y of edit boxes, when i have added multiple boxes, it should be like y+10 once height and width are resized. #Include, AutoXYWH.ahk Gui, +Resize Gui, Add, Edit, ve1 w150 h30 Gui, Add, Edit, ve2 x+10 w150 h30 Gui, Add, Edit, ve3 x10 w150 h30 Gui, Add, Button,...
by ahklearner
20 Sep 2016, 12:46
Forum: Ask for Help (v1)
Topic: Word\Excel Fastest way to read Topic is solved
Replies: 13
Views: 2934

Re: Word\Excel Fastest way to read Topic is solved

The below is a DLL method, so please download DLL, and save it in the same script dir, and you will be amazed to see the results. hope this helps :) Interesting. How can I use "xd2txlib\ExtractText" ? I've downloaded "xd2tx2161" version. There is no "xd2txlib" in it. Thanks. ;It's not working code....

Go to advanced search