Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.editors    |    What? Edlin ain't good enough for you?    |    123,932 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 123,560 of 123,932    |
|    Marion to All    |
|    How to edit HTML source file on Windows     |
|    15 Jan 25 09:20:46    |
      XPost: alt.comp.os.windows-10, alt.comp.software.firefox       From: marion@facts.com              If it takes 2 steps to do something; that's twice as much as it should;       Hence, I'm trying to reduce the following interaction to a single step.              STEP 1: Win+R > gvine       STEP 2: Click on the backgrounded icon on the taskbar              What I need to know, in order to reduce those two steps to one is...       Why does Windows edit this file in the background (not foreground)?              Note: It comes up in one step if I used the default editor, but I don't       want to use Firefox as the default editor (unless Firefox has an editor?).              Here's the situation... (which I would think others would also have)...              This works fine to *view* that HTML file in Firefox in one step.       1. I created this HTML file for my one-click URLs        C:\sys\myurls.html       2. I can easily open that file in Firefox on Windows        firefox file:///C:/sys/myurls.html        (which I can subsequently bookmark within Firefox)       3. That opens up the file inside of the Firefox browser with one click        (note that the default program for HTML files is Firefox)              But what about *editing* that HTML file to add more stuff to it?       Here's what I created, which works, but it's two clicks, not one click.              A. I created this registry key to point to a shortcut        HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\        gurl.exe = C:\sys\gurl.lnk        Where the TARGET for gurl.lnk does the actual editing:        TARGET=%comspec% /c gvim C:\sys\myurls.html       B. I can execute that command using the Windows Runbox shortcut        Win+R > gurl       C. That opens the desired HTML file in the gvim text editor        (note that gvim is not the default program for HTML files)              All this works just fine - EXCEPT - for one specific flaw.              FLAW:       The editing session is always "backgrounded" - by which I mean       that the gvim editing window does not come to the fore. That       gvim window is always backgrounded (Why? I don't know why.)              To bring the gvim window to the foreground, I have to tap       the icon that shows up on the Windows taskbar - but that's       an extra unnecessary step (which is why I'm asking for help).              Two specific questions:       a. Why doesn't the gvim editing window come up in the foreground?       b. What do I change to make that editing 1 step instead of 2 steps?       --       Note that I never type "Win+R" since I have a runbox pinned to the taskbar.              --- SoupGate-DOS v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca