I also posted the question to the help forum at
http://www.google.com/support/forum/p/Chrome/thread?tid=5dfc7bf86ce9c8c5&hl=en
I'm hoping to get a faster response here.
What are the possible ways for an Operating System (Windows) to
interact with an extension (to pass any parameters or data)?
Since accessing the file system from an extension is not allowed, I
can only think of opening an extension (options) page with the passed
parameters in the URL (i.e. open a new tab/window at chrome-
extension://kkmbodalobogbnejmcdghkfimhodifol/options.html?param1=value&p2=b&data=ccc;aaa;ddd;bbb)
Is there a better way of doing it?
The available message passing methods and content scripts run inside
the browser sandbox, but I need to pass a message (programmatically,
not by user input) from OS to extension. More specifically, I have
simple text data in a file and want to pass it to the extension. I
guess one way of doing it could be using plugins, but i don't want to
make things so complicated since I'm not familiar with NPAPI and
dll's. I can run scripts on the machine though...
Ideally a simple extension is enough. Again, the only way I see it
doable is by running a simple script in Windows that reads the file
and opens the "listener" extension page and passes the contents of the
file through the URL.
Rots