I'm having some problems with the shell buttons. I know they work, because it will launch Editor, but for the others I make, it just kills PWB. I tried the same thing with another setup, and it froze the software instead. Am I doing something terribly wrong?
[Button1]
Caption=Editor
ToolTip=Editor
CommandLine=c:\progra~1\Editor\Editor.exe
;WorkingDirectory=
ImageEnabled=c:\progra~1\Editor\Editor.bmp
ImageDisabled=c:\progra~1\Editor\Editor.bmp
ImageHot=c:\progra~1\Editor\Editor.bmp
. . .
[Button3]
Caption=Databases
ToolTip=Databases
CommandLine=c:\databases\databases.html
;WorkingDirectory=
ImageEnabled=C:\Program Files\PublicBrowser\WorldRotate.bmp
ImageDisabled=C:\Program Files\PublicBrowser\WorldRotate.bmp
ImageHot=C:\Program Files\PublicBrowser\WorldRotate.bmp
Thanks.
Jesse
-----
shell buttons kill PWB
unfortunately not...
Thanks for the assist. It doesn't seem to have solved the problem, though.
The full button text of the file is this:
[Button1]
Caption=Editor
ToolTip=Editor
CommandLine=c:\progra~1\Editor\Editor.exe
;WorkingDirectory=
ImageEnabled=c:\progra~1\Editor\Editor.bmp
ImageDisabled=c:\progra~1\Editor\Editor.bmp
ImageHot=c:\progra~1\Editor\Editor.bmp
[Button2]
Caption=Lytle
ToolTip=Lytle
CommandLine=c:\LytleCD\lytlecd.qi1
;WorkingDirectory=
ImageEnabled=c:\LytleCD\lytlepic.bmp
ImageDisabled=c:\LytleCD\lytlepic.bmp
ImageHot=c:\LytleCD\lytlepic.bmp
[Button3]
Caption=Databases
ToolTip=Databases
CommandLine=c:\databases\databases.html
;WorkingDirectory=
ImageEnabled="C:\progra~1\PublicBrowser\WorldRotate.bmp"
ImageDisabled="C:\progra~1\PublicBrowser\WorldRotate.bmp"
ImageHot="C:\progra~1\PublicBrowser\WorldRotate.bmp"
For button 2, the directory is under 8 chars and there are no spaces, but it has the same problem...
Jesse
-----
The full button text of the file is this:
[Button1]
Caption=Editor
ToolTip=Editor
CommandLine=c:\progra~1\Editor\Editor.exe
;WorkingDirectory=
ImageEnabled=c:\progra~1\Editor\Editor.bmp
ImageDisabled=c:\progra~1\Editor\Editor.bmp
ImageHot=c:\progra~1\Editor\Editor.bmp
[Button2]
Caption=Lytle
ToolTip=Lytle
CommandLine=c:\LytleCD\lytlecd.qi1
;WorkingDirectory=
ImageEnabled=c:\LytleCD\lytlepic.bmp
ImageDisabled=c:\LytleCD\lytlepic.bmp
ImageHot=c:\LytleCD\lytlepic.bmp
[Button3]
Caption=Databases
ToolTip=Databases
CommandLine=c:\databases\databases.html
;WorkingDirectory=
ImageEnabled="C:\progra~1\PublicBrowser\WorldRotate.bmp"
ImageDisabled="C:\progra~1\PublicBrowser\WorldRotate.bmp"
ImageHot="C:\progra~1\PublicBrowser\WorldRotate.bmp"
For button 2, the directory is under 8 chars and there are no spaces, but it has the same problem...
Jesse
-----
PWB v1 can only launch executables through the shell buttons. PWB v1 can not launch a browser to a HTML page, and can not launch an application when pointed to a file that is associated with it.
You can point the shell button to a batch file that runs the application to open the file.
For example:
[Button3]
Caption=Test
Tooltip=Launch from a batch file
CommandLine=D:\Launch.cmd
Batch File:
REM Start notepad to open file
start notepad d:\subclass.txt
PWB v2 can open any file with the associate application and is easier to use since you only need to create a Windows shortcut and copy it to the shell bar folder.
--Scott
You can point the shell button to a batch file that runs the application to open the file.
For example:
[Button3]
Caption=Test
Tooltip=Launch from a batch file
CommandLine=D:\Launch.cmd
Batch File:
REM Start notepad to open file
start notepad d:\subclass.txt
PWB v2 can open any file with the associate application and is easier to use since you only need to create a Windows shortcut and copy it to the shell bar folder.
--Scott