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

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.

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

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.