|
|
| Applications and Utilities Talk about apps and utilities for Windows Mobile and PPC |
|
01-05-07, 07:18 AM
|
#1 (permalink)
|
|
Aximsite Rookie
Join Date: Dec 2006
Posts: 27
Thanked 0 Times in 0 Posts
|
minimo file association
Hi,
does anyone know how to get minimo as the default browser when clicking on a .html file with file explorer? I've tried changing the registry setting for htmlfile, to point to the minimo_runner.exe but doesn't work, says the file is unsigned or something...
Any help?
Thanks...
|
|
|
|
01-05-07, 09:37 AM
|
#2 (permalink)
|
|
Aximsite Veteran
Join Date: Jun 2006
Posts: 1,173
Device: Nokia 5310
Thanked 5 Times in 5 Posts
|
I've tried the same thing without success.
Did you use "\Program Files\Minimo\minimo_runner.exe" "%1"
as the "open" value?
I've also used SetSecurity.exe (I don't know if it will resolve your "unsigned"-issue, and I might have tweaked alot more on my pda).
For me minimo starts, but doesn't read the file, so something is wrong with the "%1".
Either Minimo doesn't take arguments or something else is wrong.
I use a somewhat old version(late november or early december).
__________________
- Be Kind.
- Have fun.
|
|
|
|
01-05-07, 09:53 AM
|
#3 (permalink)
|
|
Aximsite Rookie
Join Date: Dec 2006
Posts: 27
Thanked 0 Times in 0 Posts
|
I had tried:
\Program Files\Minimo\minimo_runner.exe -file %1
(I noticed that for http, it had -url %1, so thought maybe -file would do it for a file...).
That might work for you - let me know if it does...
I've not tried the setSecurity.exe - will have a go when I'm next on a windoze pc...
|
|
|
|
01-05-07, 10:10 AM
|
#4 (permalink)
|
|
Aximsite Veteran
Join Date: Jun 2006
Posts: 1,173
Device: Nokia 5310
Thanked 5 Times in 5 Posts
|
That looks like an ordinary argument (iexplore.exe needs to know what kind of argument is being sent to the application), so it might not be generic. I'm trying to get a hold of the minimo source code without using CVS.
Anyone got info on that?
__________________
- Be Kind.
- Have fun.
|
|
|
|
01-05-07, 10:24 AM
|
#5 (permalink)
|
|
Aximsite Rookie
Join Date: Dec 2006
Posts: 27
Thanked 0 Times in 0 Posts
|
iexplore.exe uses file:%1
minimo uses -url %1 for http... it was just a guess that it used -file %1 for files...
|
|
|
|
01-05-07, 11:00 AM
|
#6 (permalink)
|
|
Aximsite Veteran
Join Date: Jun 2006
Posts: 1,173
Device: Nokia 5310
Thanked 5 Times in 5 Posts
|
Yeah, I can see that. Looking at the source now.
The argument switch is indeed -url, and without spaces in the file path this worked:
"\Program Files\Minimo\minimo_runner.exe" -url %1
I want this to work:
"\Program Files\Minimo\minimo_runner.exe" -url "%1"
So I can have spaces in the file path. minimo_runner.exe checks if the first argument to that application is "-url", and then looks at the next argument. If that argument isn't a string without spaces (like an url), it doesn't seem to work.
That's why putting quotation marks around the string might have worked ("%1"), but it seems like minimo_runner.exe doesn't read quotation marks as start and end of a string.
Delving further into the source...
__________________
- Be Kind.
- Have fun.
|
|
|
|
01-05-07, 11:17 AM
|
#7 (permalink)
|
|
Aximsite Rookie
Join Date: Dec 2006
Posts: 27
Thanked 0 Times in 0 Posts
|
Getting there...
for filenames without a space in (eg \myfile.html) you can use:
"\Program Files\Minimo\minimo_runner.exe" -url file:///%1
Not figured out what to do about a space yet though...
|
|
|
|
01-05-07, 12:21 PM
|
#8 (permalink)
|
|
Aximsite Veteran
Join Date: Jun 2006
Posts: 1,173
Device: Nokia 5310
Thanked 5 Times in 5 Posts
|
I believe the minimo developers might have skipped changing spaces to %20 for now, since url's never have spaces, but I'd be happy to be proven wrong.
__________________
- Be Kind.
- Have fun.
Last edited by DaLabrador; 01-05-07 at 12:26 PM.
|
|
|
|
01-07-07, 10:12 PM
|
#9 (permalink)
|
|
Aximsite Veteran
Join Date: Jun 2006
Posts: 1,173
Device: Nokia 5310
Thanked 5 Times in 5 Posts
|
I wrote a tiny thingy.
You have to use
"\Program Files\Minimo\minimo_loader.exe" -url %1
as the registry value. Don't add the "file://" before the %1.
I haven't tested it extensively, but it worked for me.
Edit: You can place minimo_loader.exe anywhere, the path to
the minimo executable is fixed, so it might not work on future minimo versions and
it might not work on every path name (I would be surprised if it did).
__________________
- Be Kind.
- Have fun.
Last edited by DaLabrador; 01-07-07 at 10:20 PM.
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:03 PM.
Powered by vBulletin® Version 3.8.2 Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-10 LeckMedia, LLC
|
| |