Neosoft Support wrote:Local storage is stored under the website address isn't it? So can this even be used with local content (which sounds like what you're trying to do with NeoBook)?

What I am trying to do is this:

To get a page title with javascript (window.document.title) and set it as a text field value in a form of another WebBrowser object. Because it is a foreign text title I cannot use the standard Neobook actions. The only method that works for me is window.clipboardData.setData ("Text", info);. But I don't want to mess with the user's clipboard for security reasons. Can it be done with VB or something else?

Perhaps you can pass encoded text from one BrowserObject to a NeoBook variable ... then pass the NeoBook variable content to the other BrowserObject and decode it over there.

That is exactly what I am trying to do... but how do I encode text in a WebBrowser object in the first place without using a Neobook action? I can't bring it into Neobook before it is encoded because Neobook doesn't support Unicode and may hang trying to read foreign language characters (??? ?? ?). If I use Javascript I can't save it as a file or pass it to other WebBrowser objects due to Javascript limitations (JS only works within its own WebBrowser object window) ... That's why I was thinking about VBscript or Pascal... I think they can encode text and save results to file, after which Neobook can then open and read as a numeric code... It is funny that the clipboard can easily do it transparently but nothing else seems to work for now...

I am stuck trying to pass a Javascript variable between two WebBrowser objects and I can't use Neobook actions for that.... If they were two pages in the same WebBrowser object, I could pass variables by appending them to the url from one page to another. But I have pages contained within different WebBrowser objects and Javascript cannot communicate without using Neobook actions, which will chew up the foreign language characters before they get encoded...

I want to get the title of a page and display it in a text field. Rather easy it seems, except I don't know in advance if the title is in English or a foreign language. Let's assume it is a foreign language, so it will have to be encoded. Javascript can do that, but then what? The text field is in a different WebBrowser object and it is impossible for Javascript to access that object or save the title as a file.

Let's assume it is a foreign language, so it will have to be encoded. Javascript can do that, but then what? The text field is in a different WebBrowser object and it is impossible for Javascript to access that object or save the title as a file.

When you want to perform this task ...

1) Invoke a BrowserExecScript on the first WebBrowser object

2) The passed (javascript) commands would do the encoding ... and then pass the encoded value back to a (NeoBook) variable ... finally, the (javascript) command (nbExecAction) would be used to trigger a NeoBook subroutine ... something like ...

3) This NeoBook soubroutine would invoke another BrowserExecScript on the second WebBrowser object

4) The passed (javascript) commands would do the decoding ... and populating of the Text Field

You can do a simple "proof of concept" by doing a simple pass of the English (ascii) titles (or any other simple text) ... once that is proven, you can work on the more complex task of passing the afore mentioned encode/decode javascript commands.