Re: luamacro plugin 0.4-
Posted by: JujuLand
Date: November 17, 2007 04:22AM

@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:31.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/75.0

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




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

@Mark307,

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

Hao

Re: luamacro plugin 0.4-
Posted by: desga2
Date: November 19, 2007 03:09AM

@ 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/19/2007 03:11AM by desga2.

Re: luamacro plugin 0.4-
Posted by: mark307
Date: November 19, 2007 09: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.

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

@mark307,

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

Regards,

Hao

Re: luamacro plugin 0.4-
Posted by: Hao Jiang
Date: January 12, 2008 02:34AM

@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.

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

@Hao

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

Re: luamacro plugin 0.4-
Posted by: Hao Jiang
Date: January 13, 2008 02:45PM

@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.

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

@Hao,

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

Re: luamacro plugin 0.4-
Posted by: Hao Jiang
Date: January 17, 2008 12:46AM

@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

Re: luamacro plugin 0.4-
Posted by: mark307
Date: January 20, 2008 04:35PM

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::SaveDocument and CBrowserWrapper::SaveURL have filename parameter, so I expect that coming 1.5 will have save page api.

Thanks.

Re: luamacro plugin 0.4-
Posted by: Hao Jiang
Date: January 22, 2008 11: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

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

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

K-Meleon forum is powered by Phorum.