Development
: K-Meleon Forum
K-Meleon development related discussions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=siria] [quote=JamesD][quote=siria]InjectJS now return the result of the script (when applicable).[/quote] I have updated MacroLanguage2 to reflect the new capability. http://kmeleon.sourceforge.net/wiki/MacroLanguage2#injectJS()[/quote] AARGH... There I was SO happy to finally get a chance to get some javascript-variable returned back into a macro, for further processing, and now I'm finding this new function seems to [color=blue]crop all values after max 127 characters??[/color] *sniff* :-( Or is it just me?? How in the world can one get back something longer into a macro variable? Via clipboard wouldn't help, find no way to put something in it by JS in gecko, but generally, it seemed to me that macros just start scripts and jump immediately to the next macro line, they don't wait until the script is finished, or something like that, was my impression lately after much experimenting around. Then again, returning at least this cropped variable seems to wait a bit. No idea. The most re-occuring injectJS prob for me has always been that there's no pause-command in macros (and no, awhile back I tried with utils.dll, and for whatever I tried that, the pause didn't work right) Just wanna return some longer text from a javascript variable into a macro variable, and use it further. When I use "document.write" in the script, just for testing, there appears the full text. Yet when I return the very same JS variable to the macro and put it in a macro "alert", it's cropped after 127 signs.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development