I looked around and didnt find anything specific on this. I'm sure it's here somewhere but couldnt find anything clear.
PAM searches for .exe to list items in the menu. Is there a way to link to any other type of document? I use StickWiki which is a single .html and I'd like to be able to access it from PAM. The way I access now is through a shortcut on the root of the drive to point to the wiki which is in /documents/wiki/stickwiki.html
"There is a computer disease that anybody who works with computers knows about. It's a very serious disease and it interferes completely with the work. The trouble with computers is that you 'play' with them!" - Richard Feynman
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Well then... I guess throw this in the REQUEST pile.
The only way is to make an exe to open the html. For example, a bat converted to exe with the line ".\FirefoxPortable.exe ..\Documents\Wiki\Stickwiki.html"
and put the new exe next to FirefoxPortable. If that doesn't work, there are other ways to do an exe.
---------------
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
"Sometimes I worry about being a success in a mediocre world." -- Lily Tomlin
"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin
Any tips there? I've never done that. I found a bat to executable converter, but it converted it to .com for command line. (booo).
Also, the bat was in the same dir as wiki.html, so all I needed was a line with wiki.html. Is that all I'll need in the bat (doubt it, Im sure there's more)?
**EDIT
I got it to work with this app
http://www.battoexe.com/?gclid=CLv21sSB3IsCFRK1YgoduxFAcg
but its a trial version and I have to Press Any Key on the cmd prompt when it executes. Know of any open source or freeware?
http://cubegames.net/downloads/Stickwiki.exe
It should work. (For the interested, see the source)
Save it into the same folder as FirefoxPortable.exe
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.
"If you're not part of the solution, you're part of the precipitate."
You're such a wonderful person, that launcher's HUGE ust have taken you HOURS. :
Edit:Ryan, the setup won't executs. I re downloaded too. :S
And um, what installer do you use?
_____________________________
I felt so different without a signature.
It's the raw EXE. "Save as" it into your FirefoxPortable directory.
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.
"If you're not part of the solution, you're part of the precipitate."
Thanks Ryan. That sorta works.
It works fine if I use Firefox Portable from my USB, but I usually use it at work and use the Firefox on the PC. Since that's already running, I can't run the portable Firefox. The source specifies Firefox portable. I grabbed NSIS to see what I can do, but I'm not sure how to specify the systems Firefox (if its running) OR portable Firefox. I also tried to see if I can just have it open the document with the default app, but my attempts failed (because I didn't know what I was doing).
I also tried a trick to use iexpress.exe that I found while searching. It creates the exe based on my batch file, but it doesn't work (again, probably because I don't know what I'm doing).
w00000t!!
Got it! Just a small modification. Gotta love it when an app has good documentation. Here' the code btw.
---
Name "Launch StickWiki"
OutFile "Stickwiki.exe"
SilentInstall silent
Section
ExecShell "open" "..\..\Documents\Wiki\stickwiki.html"
SectionEnd
That won't open FFP. That opens the default browser, which on some systems would be Internet Explorer. Unless, of course, that's what you want.
Firefox Portable should pass the URL along to Firefox if it's already running anyway.
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.
"If you're not part of the solution, you're part of the precipitate."
Yea that works though. That's how I'd like to have it. I use Portable Menu on my USB while at work. We're on Win2k right now so it can be rather slow. I'd prefer it to open in the default browser since I dont use FFP as much (take too long to launch at work).
Thanks for the help man.
http://www.f2ko.de/English/b2e/b2e.html
I have used it to convert several bat files to open documents and/or applications, although I haven't yet needed to specify the program that opens a document, I've always gone with default associations.
This little converter has options, to assign a custom icon (from a stand-alone ico file), and create either console or "Ghost" application to hide the console.
Hope this helps.
1) so i copied a html-file of the website "atoolo" into the firefox-folder
2) i created a bat-file with the content as discribed above:
Name "Launch atoolo"
OutFile "atoolo.exe"
SilentInstall silent
Section
Exec `"$EXEDIR\FirefoxPortable.exe" "PAM R31 Mod\PortableApps\FirefoxPortable\atoolo.html"`
SectionEnd
3) i converted this to an exe-file called "atoolo.exe" with a bat-converter
4) but when i start now this exe-file, nothing happens; the firefox-browser doesn't start and search the atoolo-website.
what do i wrong???
That is NSIS, not BAT.
You'll need NSIS to compile the script.
@John: I think there should be a wizard that let's you make your own launcher for an important non-exe file. I can make the script if you want. (Man, I'm getting good at NSIS :))
Insert original signature here with Greasemonkey Script.
but when you will create a batch file (and then convert it to an exe)
then please take a look here for creating exe´s that open a website in FF Portable:
https://portableapps.com/node/11891#comment-69084
look at point 2 (create LINK.BAT)
regards
NeoRame
Hell was full, so I came back!!!
Sorry for my lousy English!!!
unfortunately it doesn't work again...
i created now a bat-file with the path to my firefox:
START PAM R31 Mod\PortableApps\FirefoxPortable\FirefoxPortable.exe -url atoolo.de
an converted it to an exe called "Link".
but when i open it, i only get an error "PAM konnte nicht gefunden werden..." (in english: "PAM couldn't be found")
even when i paste the current path to my usb-stick in the commandline:
F:\START PAM R31 Mod\PortableApps......
i only get this error (although i rather want a relative path to firefox as the path "F:" changes sometimes.
??? ...thanks again for help
o sorry i forgot that you start your bat from your app folder (the bat in my tutorial was for the theme folder) here the right code:
START ./../FirefoxPortable/FirefoxPortable.exe -url atoolo.de
and when you have compile your bat to an exe, store your file in:
F:\START PAM R31 Mod\PortableApps\Foldername_of_your_choise\Link.exe
kind regards
NeoRame
Hell was full, so I came back!!!
Sorry for my lousy English!!!
only when i paste the "F:" in the command line. as i don't have any idea about all that, my question: is there a way to start the browser by using a realtive path in the bat/ exe-file because when i connect my usb-stick on an other computer, it gets maybe an other device-letter and my exe won't work any more.
wenn die exe/bat in einem beliebigen Ordner unter PortableApps liegen soll, dann
lautet der Text in der bat
wenn aus der bat dann eine .exe wird, dann kann sie in einen beliebig benannten Ordner unter /PortableApps/Dein Ordner/ (wird von Pam erkannt)oder sogar in Documents/Dein Ordner abgelegt werden (muß dann über Documents/ Dein Ordner aufgerufen werden).
Wenn die exe/bat im gleichen Ordner wie FirefoxPortable liegt, dann mußt Du einfach ein paar Pünktchen, Schrägstriche streichen.
Einfachster Weg zum Ausprobieren: bat mit notepad creieren, Pfad wie schon von Neorame angegeben einfügen. Bat in den FirefoxOrdner speichern, anklicken, ggf weitere relative Pünktchen wegnehmen, hinzufügen,bis es funktioniert fertig
EDIT:Das funktioniert allerdings nur mit der onlineVerbindung, wenn die website auch als offline Startseite verwendet werden soll, dann kann man sie über die Verwendung der FFPortable.ini aus dem other/source Ordner einbinden. Möglicherweise geht es neuerdings sogar auch mit Aufrufen der Html und festlegen als Standardseite im Firefox..
"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda
wie gesagt der code war für den theme ordner der ja zwei ebenen tiefer liegt
START ./../FirefoxPortable/FirefoxPortable.exe -url atoolo.de
sollte eigentlich klappen, bei mir hat es jedenfalls (auf zwei rechnern)
wenn die link exe/bat im gleichen ordner wie firefox liegt dann sollte auch dieser code reichen:
START FirefoxPortable.exe -url atoolo.de
grüsse
NeoRame
Hell was full, so I came back!!!
Sorry for my lousy English!!!
dass unter der bei mir aufgelisteten url jede Menge Themes für Mod 31 mit buttons zu finden sind, bei denen die vorgefertigte url in der entsprechenden button bat einfach ausgetauscht werden kann, z.B.
http://ptc.kain-planet.de/details.php?file=131 oder
http://ptc.kain-planet.de/details.php?file=214 ..
nur so, um das Gefühl für die relativen Pfade zu bekommen...
"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda
this is the a relative path... i have test it on my pc´s with your structure, look HERE
how looks your folder structure?
F:
-[START PAM R31 Mod]
---[PortableApps]
-------[FirefoxPortable]
-----------FirefoxPortable.exe
-----------[App]
-----------[Data]
-----------[Other]
-------[YourFolderName]
-----------Link.exe
When you have this structure and the code wont work, try this:
START ../FirefoxPortable/FirefoxPortable.exe -url atoolo.de
Hell was full, so I came back!!!
Sorry for my lousy English!!!