View Single Post
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#8
Originally Posted by debernardis View Post
Something whispers in my ear that with an appropriate javascript one-liner it's possible to open a file && close the microb window...
Someway I know it can be done, but have no clue at how
Anybody has ideas?
Maybe You shall try another approach - create .sh script, that open Your desired file on browser, then, later on the .sh script, close microB? Then, creating a desktop file pointing to that .sh. Should be much more easier than javascripting voodoo.

Advantage of this method is that You can set every icon You want for every file You wan't - via .desktop file.
Disadvantage is that You need .sh script for every file You want to have @ hildon-home, and You can't delete that .sh after. no big deal, thought - and, You can keep also "template-like" .sh script, where You only need to input path/to/your/file and (optional) icon - setting this would be much faster than bookmarking every file we want.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post: