I am attempting to create menu items for various specific web pages in the PortableApps menu. All the information on what I'm doing should be here:
\PortableApps\FirefoxPortable\App\AppInfo\appinfo.ini
[Format] Type=PortableApps.comFormat Version=0.9.8 [Details] Name=Mozilla Firefox, Portable Edition Publisher=Mozilla & PortableApps.com Homepage=PortableApps.com/FirefoxPortable Category=Internet Description=Mozilla Firefox, Portable Edition is the popular Mozilla Firefox web browser packaged with a PortableApps.com Launcher as a portable app, so you can take your bookmarks, extensions and saved passwords with you. [License] Shareable=true OpenSource=true Freeware=true CommercialUse=true [Version] PackageVersion=3.0.7.0 DisplayVersion=3.0.7 (English) [Control] Icons=3 Start=FirefoxPortable.exe Start1=FirefoxPortable.exe Name1=Mozilla Firefox, Portable Edition Start2=FirefoxPortable.exe cisco.netacad.net Name2=Cisco Network Academy Start3="FirefoxPortable.exe 203\index.html" Name3=Cisco - LAN Switching and Wireless Curriculum Start4="FirefoxPortable.exe 204\index.html" Name4=Cisco - Accessing The WAN Curriculum
The problem I have is links 2, 3 and 4 do nothing. If I remove the command line switches, they run FirefoxPortable just fine. Anyone know how/why?
Just to make things more fun, if I try and call the command with switches in the Windows command prompt, it behaves exactly as it should.
(Note: Yes I know the fourth icon isn't active. This is intentional)
[Use <pre> for blocks of code - mod Chris]
That's not what you're meant to do. For starters, AppInfo will be completely purged during upgrade and so this is only a temporary solution.
Then, StartN is not meant to contain command line arguments. The way the execution is handled in the program, it will be trying to execute an executable named
X:\PortableApps\FirefoxPortable\FirefoxPortable.exe cisco.netacad.net
- as with most programming languages, you can't just append arguments, they come as a different value.(This issue was then solved in IRC. See the logs for more info.)
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
how about a link for the lazy
Or those who just plain don't know what you're talking about.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
Here are the logs. They don't really contain anything useful though.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1