![Smile :)](./images/smilies/icon_e_smile.gif)
AHK HTML Editor test (W.I.P.)
Re: AHK HTML Editor test (W.I.P.)
I know it's old but this script is GREAT! Almost ready to be used as a Html edit control.
Any idea why copy and paste shortcuts (Ctrl+C and Ctrl+V) don't work?
Any idea why copy and paste shortcuts (Ctrl+C and Ctrl+V) don't work?
Re: AHK HTML Editor test (W.I.P.)
@m3user, it's been several years since I looked at it. I'll take a look, I seem to remember that problem.
Regards,
burque505
Regards,
burque505
Re: AHK HTML Editor test (W.I.P.)
@m3user, I have kludgy fix. The code changed is below, full new version is attached to OP. No 'Paste' button yet, though it should be *relatively* (famous last words) to add.
Regards,
burque505
Code: Select all
^x::
ButtonCut:
doc.execCommand("Cut", false, null)
Gui, Submit, NoHide
return
^c::
ButtonCopy:
doc.execCommand("Copy", false, null)
Gui, Submit, NoHide
return
^v::
doc.execCommand("Paste")
Gui, Submit, NoHide
return
burque505
Re: AHK HTML Editor test (W.I.P.)
Bug fixes and re-add 'Paste' button. April 15, 2022. Version 0.0.4 attached to first post in thread.
Regards,
burque505
Regards,
burque505
Re: AHK HTML Editor test (W.I.P.)
Thanks burque505, this is great!
I think the same easy fix could be made for Undo/Redo. Also it would make sense to disable the right click context menu as choosing some of the options disables the focus.
I also noticed that delete key sometimes doesn't delete the selected text, not sure why, I'll test it further.
Is there a way to save the html source to a variable? I see you can view the source by using a context menu (View source).
I think the same easy fix could be made for Undo/Redo. Also it would make sense to disable the right click context menu as choosing some of the options disables the focus.
I also noticed that delete key sometimes doesn't delete the selected text, not sure why, I'll test it further.
Is there a way to save the html source to a variable? I see you can view the source by using a context menu (View source).
Re: AHK HTML Editor test (W.I.P.)
@m3user, thanks for your input. I'll try to work on your requests this weekend.
Regards,
burque505
Regards,
burque505
Re: AHK HTML Editor test (W.I.P.)
Just checking if there was any further improvement made on this great script. Thanks. ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
Return to “Scripts and Functions (v1)”
Who is online
Users browsing this forum: fertalizer and 151 guests