Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
Pages: Previous12
Current Page: 2 of 2
Re: luamacro plugin 0.4-
Posted by: JujuLand
Date: November 16, 2007 09:22PM

@mark307,

About SpellTest,

I'm now able to use it correctly, but I found some problems:

1)With accents. For example, I enter soiree instead of soirée. When I check spell, é is replaced by , but when correcting, the word in the textbox is correctly displayed

Do you think it's due to Seamonkey spellchecker, or to spelltest ?

2) Are the spell checker menus made by spellChecker or SpellTest ? in the second case, could-you make them translatable (by using kml file) ?

Thanks

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Attachments: SpellChecker.png (5.4 KB)  
Options: ReplyQuote
Re: luamacro plugin 0.4-
Posted by: Hao Jiang
Date: November 17, 2007 06:18AM

@Mark307,

Is that possible kmplus can set the initial position when openning the propertypage, like in the middle of the whole screen?

Hao

Options: ReplyQuote
Re: luamacro plugin 0.4-
Posted by: desga2
Date: November 18, 2007 08:09PM

@ Hao:

Are you tried with 'top' & 'left' values? (I know, it is a stupid question) smiling smiley

You must refferer to a constant with resolution (total pixels) of screen value.

In AutoIt is used constant as: '@DesktopWidth' & '@DesktopHeight'
@ = indicate a system constant value.
This values are the total of pixels of screen in desktop, when you like generate the window in the middle of screen use a relative value as @DesktopWidth/2 and @DesktopHeight/2.

But LUA macros isn't AutoIt script (but both have similar concepts).

K-Meleon in Spanish



Edited 2 time(s). Last edit at 11/18/2007 08:11PM by desga2.

Options: ReplyQuote
Re: luamacro plugin 0.4-
Posted by: mark307
Date: November 19, 2007 02:29PM

I took centering of property sheet in parent window to kmplus.
kmplus-0.0.6.zip (113k)

* w32dlg: an issue that style and exstyle was ignored was fixed.
* w32dlg: showing property sheet to center of parent window was added.
* w32mnu: TrackPopupMenu was added.

When DS_CENTER style is set in a page, a property sheet will be centered.
create_propertysheet({
{width = width, height = height,
style = w32dlg.DS_CENTER, -- style
(snip)
}
(snip)
})

@JujuLand
I made a new topic about spell checker, and wrote a reply there.

Thanks.

Options: ReplyQuote
Re: luamacro plugin 0.4-
Posted by: Hao Jiang
Date: November 21, 2007 02:32AM

@mark307,

The new kmplus works smoothly and centering the property page is nice. Thank you for your work.

Regards,

Hao

Options: ReplyQuote
Re: luamacro plugin 0.4-
Posted by: Hao Jiang
Date: January 11, 2008 07:34PM

@mark307,

Is it possible using lua to get a list of all subfolders in one folder. I need to implement a function to read all the skin list from K-Meleon.

Options: ReplyQuote
Re: luamacro plugin 0.4-
Posted by: mark307
Date: January 12, 2008 02:51PM

@Hao

luafilesystem library does it. The pre-built package is on my page, and autoload.lua example uses it.
Thanks.

Options: ReplyQuote
Re: luamacro plugin 0.4-
Posted by: Hao Jiang
Date: January 13, 2008 07:45AM

@mark307,

lfs does help and I got the version from your website works ok although the one from their original built version is not working well.

Options: ReplyQuote
Re: luamacro plugin 0.4-
Posted by: mark307
Date: January 13, 2008 02:08PM

@Hao,

The official dll expects lua5.1.dll. My build is linked statically, and is compiled by same compiler with luamacro.
Thanks.

Options: ReplyQuote
Re: luamacro plugin 0.4-
Posted by: Hao Jiang
Date: January 16, 2008 05:46PM

@Mark307,

There're two more things.

1. Is it possible to use lua macros to bind one function with one keystroke like 'pageup' or 'pagedown', so could be used to fullfill the function of combine gestures with pageup or pagedown...

2. Is it possible to use lua macros to save the webpage silently, since GetDocument() can get the url and title of the current page, could it be possible to save the current webpage silent without poping up the save dialog... which could be used as the first stepstone as the function of things like 'scrapbook' in Firefox extension.

Regards,

Hao

Options: ReplyQuote
Re: luamacro plugin 0.4-
Posted by: mark307
Date: January 20, 2008 09:35AM

I agree the sending keystroke function is useful in sometimes (but it often causes a trouble).

luamacro-0.4.1.zip (136k)

* Fix: Processes of C++ Exceptions and lua errors is safely.
* Add: sendkey function
* Add: exec function accepts negative timeout value to wait a called application can accept inputs.

I remember request of save pages and that I saw it difficult. I continue to study. By the way, in 1.5, CBrowserWrapper:confused smileyaveDocument and CBrowserWrapper:confused smileyaveURL have filename parameter, so I expect that coming 1.5 will have save page api.

Thanks.

Options: ReplyQuote
Re: luamacro plugin 0.4-
Posted by: Hao Jiang
Date: January 22, 2008 04:21PM

@mark307,

Thanks for the updates. The sendkey function is great!
And Dorian is going ot implement those savedocument API in 1.5 later so I think we get it covered. Thanks.


To all:

I made a small modifications to make the luamacro work on K-Meleon 1.5 with NavigateTo() support newtab and newbackgroundtab and you can download it from:

http://kmeleon.et8.net/luamacro.dll

Options: ReplyQuote
Re: luamacro plugin 0.4-
Posted by: guenter
Date: January 23, 2008 12:09AM

thx mark307 & Hao plus nice that many ppl & fom many nations nations are involved.

Options: ReplyQuote
Pages: Previous12
Current Page: 2 of 2


K-Meleon forum is powered by Phorum.