Re: [ntb-linux] [wine] Clip - Workaround to launch active NoteTab document in Firefox for Linux
- That seems like a real roundabout way to do this task.
All I did was enter /usr/X11R6/bin/firefox in the Internet/Main Browser
field. That launchs the open document in (Linux) Firefox from the icon
in the toolbar. Or am I missing something?
But even at that, I don't often launch web files that way because PHP
files need to be opened via local host.
Since I don't do filenames with spaces, that won't be an issue for me.
NoteTab is working smoothly here. Haven't run across a glitch yet.
--- lm_hamilton <lm_hamilton@...> wrote:
> This is a clip I developed to open the active NoteTab document in the____________________________________________________________________________________
> Linux version of NoteTab.
> F8 to launch in browser give an error that the protocol (c) is
> I am sure that installing the Windows version of Firefox will give
> of the Windows functionality, but why install Firefox for Windows,
> when the Linux version is already there? ;-)
> Under View > Options Internet Tab, I set the main browser to
> "z:\usr\bin\firefox", w/o the quotes. I just browsed, and set the
> type to all files.
> I have not yet refined this clip to handle filenames with spaces. I
> developed this clip on NoteTab Pro. I have not tested on
> Light/Standard, so YMMV. If you try to launch a file name with
> it tries to open each word in the filename as its own document, and
> finds some interesting things online, or plenty of 404s. :-O
> If you really want to give up Windows, this should help. ;-)
> <--- Copy below this line --->
> H="Launch In Firefox"
> ;03/05/2005 Larry Hamilton
> ;5/23/2007 Updated for NoteTab 5.x and Firefox 2.0.
> ;Launch current file in Firefox, can modify for any browser.
> ;^!SetDebug ON
> ^!Set %name%=^$GetFileName(^**)$
> ^!Set %dir%=^$GetPath(^**)$
> ;^!Info ^%dir%^%name%
> ;Folowing removes C:\
> ^!Set %path%=^$StrDeleteLeft("^%dir%";3)$
> ;Following changes \ to / for proper Linux path.
> ^!Set %path%=^$StrReplace("\";"/";"^%path%^%name%";false;true)$
> ;NOTE: If Firefox 1.5 is already running, this does NOT give it the
> focus. It does work with Firefox 2.0.
> ^!Shell "/usr/bin/firefox /home/larry/.wine/drive_c/^%path%"
> ;^!FocusApp "*Mozilla Firefox"
> ^!Keyboard ALT+TAB
> <--- Copy above this line --->
> <--- Right click over a Library --->
> <--- Choose: Add from Clipboard --->
> Please post any other clips you use as workarounds to help NoteTab do
> what you want it to in Linux.
> Larry Hamilton
> Yahoo! Groups Links
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.