It´seems a bit outdated - the official PAM coming sooner than ever-,
but I wonder if a custum button leading to a website could use the non default portable Firefox instead of the default browser. I checked the readmes and the posts on R3x on this site, but I found no hints. Is there a chance to edit the theme.ini without touching the menu itself(as is done for the search button to the web)? The setting
[BTN_XY]... PathToApp=http://xyz.de/
always directs to the default browser. Any suggestions? Hints, code lines are welcome..:)
You are here
MOD R3x Custom buttons - theme.ini help needed
i work on it. you need a button code that open a spec url in firefoxportable??? i create a batch for you...
ok, i´m done.
i use for example the Search button...
1. first disable the Search button (when u are using an own icon disable the search icon,too!)
2. create a new button:
[CustomButtons] 0=BTN_Search [BTN_Search] Height=30 Width=120 Left=271 Top=341 Font=Tahoma Margin=33 ColorR=255 ColorG=255 ColorB=255 Bold=1 Italic=0 Underline=0 StrikeOut=0 Caption=Search PathToApp={THEME}\Link.bat
1.a: for an own icon (when you are disable the original):
[CustomImages] 0=IMG_Search [IMG_Search] Height=24 Width=24 Left=274 Top=344 Path=IconTheme\Search_NEW.ico
2. Now creating a batch file called Link.bat with this line in there, place the Link.bat in the same folder where your theme.ini is:
START ./../../../../FirefoxPortable/FirefoxPortable.exe -url PTC.Kain-Planet.de
Change PTC.Kain-Planet.de to a URL of your choise and Enjoy!!!
when you won´t have the ugly DOS window, go to http://www.f2ko.de/English/index.php and download "Bat To Exe Converter". With this App you can convert your BAT to an Exe. But dont forget to set the option "Hidden application" (or what ever...)!
And edit the button line :
PathToApp={THEME}\Link.bat
to:
PathToApp={THEME}\Link.exe
I hope that is a help for you.
regards
NeoRame
the bat file solution I discovered yesterday, but I thought there would be a shorter way, just modifying the ini code. So I´ll try with the link exe ..and give feedback
the problem is you cant give variables whit the button to a program.
would this option possible you could give the variable -url exampleURL.html directly to FFP...
by the way this way is ok,too.
suggested with ejectscript.exe in R31.
Edit: used the bat converter, works nice , now I have a link.exe with a nice icon.
Some irritation though: when I ran the converter for the first time I got a trojan alert by avira, ignored it and couldn´t reproduce the alert with a second try nor with clamscan ??
mhhh..... i take a look to another bat converter. i have test it my first compiles was ok, but now i compile the same file and it shows me a virus alert. mhhh...
as stated temp file has gone after virus alert and blocking, but today I had my first virus alert with automemscan...very impressive, seems to work and here´s the log
*** Scanning Programs in Computer Memory ***
E:\WINDOWS\Explorer.EXE: Trojan.Patched-6 FOUND
*** Scanned 39 processes - 352 modules ***
*** Computer Memory Scan Completed ***
with AntivirAV no detection,
so I simply put explorer.exe to a quarantain folder and replaced it by another explorer.exe I still had in a broken windows folder.
Alert has gone now, deleted the infected folder, everythings fine again, so maybe the infectious link should be removed ...
OK WK call me a hero....
use this prog to compile, i have test it and it work great.
http://www.abyssmedia.com/quickbfc/index.shtml
*edit*
i see it is a Demo BUT (muhahahaha), when you set in the option menu "Ghost Application" then get no DEMO blabla message ....
Edit: have done a complete systemcheck, found no virus. Alert pointed to a temp file that isn´t there anymore, so ,perhaps, it was created during the conversion process and deleted thereafter?. the second converter has to be installed which makes it less convenient, but I´m going to check it.Btw some thoughts on the link.exe, for a theme designed to be distributed a bat file would do better, because everyone can edit the bat without problems, but the .exe is nicer to look at...
second: someone here thought of using links with standard PAM, creating bat to exe and putting them into the PAM might provide a solution ..