Loading ...
Sorry, an error occurred while loading the content.

261Re: [ntb-linux] Launching document in Firefox

Expand Messages
  • Lee Underwood
    Jun 30, 2008
    • 0 Attachment
      Larry,

      Running it as a clip, I do get focus in the browser, but the path is messed-up. This is what is displayed in the address bar of the browser:

      file:///home/lee/.wine/drive_c/home/lee/Jupitermedia/Testing/test.htm

      I'm running Firefox v2.0.0.14, on Ubuntu 7.10.

      Lee



      On Sun, 29 Jun 2008 20:41:52 -0700 (PDT) Larry Hamilton <lm_hamilton@...> wrote:
      |
      | <clip follows>
      | ;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.
      | ;^!Shell "z:\usr\bin\firefox /home/larry/wine/program files/NoteTab/^**"
      | ;^!Shell "/usr/bin/firefox ^**"
      | ^!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
      | <clip above>
      |
    • Show all 18 messages in this topic