Jump to content
Macro Express Forums

Sebastian42

Members
  • Posts

    160
  • Joined

  • Last visited

Posts posted by Sebastian42

  1. I inserted a Macro Stop after every step.

    The original failure led me to try a different hotkey : CTRL_5

    When I clicked on the target desktop shortcut and then pressed CTRL_5, a Properties window opened, but for a shortcut to the right and below the target one.

    Since you thought CTRL_1 was the hotkey, I reverted to that, but pressing CTRL_1 caused a blimp, but did NOT open a Properties page.

     

    So for now, the hotkey will be CTRL_5, and the next task is to lock-in the correct shortcut......

  2. Acantor - if your macro works - I think it is the very thing I was hoping for. I will probably know later today - and will report back.

     

    Cory - deleting thumbs.db is I think what DiskCleanUp does; disabling 'the feature in File Explorer' would, I suspect, have much unforeseen and potentially undesirable ramifications. Moreover, I would have to go and discover what 'this feature' is.

     

    I allocated the macro to CTRL_1; I clicked on the 'offending' shortcut - various windows opened, eventually a video processing program stayed open, but the shortcut did NOT lose its thumbnail-tainted icon.

  3. Because the talent at this forum can produce an effective macro in much less time than I can, I will put this job 'out for tender' (joke only), rather than spend innumerable hours gradually inching towards a solution.

    The problem : On the desktop IN PARTICULAR POSITIONS, I have shortcuts-to-folders which hold videos temporarily. That leaves the icons of the shortcuts 'contaminated' with video thumbnail elements. While I can do a disk-cleanup to restore the generic icons of the shortcuts [and that MAY be simpler than the alternative], I know that deleting the shortcuts, and re-creating them is another way.

    I would like a macro that will achieve the end result of 'leaving the shortcuts where they are, and labled as they are' [as a disk cleanup would], but with generic icons (without thumbnail remnants).

  4. The application is vDosWP a 'modern' program that allows the DOS program, WordPerfect, to operate in 64bit Win10. WIN_F12 increases the size of its window.

     

    I KNOW it is available, but at the time of trying, I could not find the Text Type trigger;  so instead clicked on an icon/tool that exposed a window offering text input.

    I clicked on 'Win', but had to TYPE in the F12, so the MACRO showed 'WIN F12 WIN F12 WIN F12'

    When it's hotkey was pressed, the WP/vDosWp program's window merely showed 'WIN' 'WIN' 'WIN'  instead of being resized.

     

    I can see how the code YOU provide is likely to have the effect I want, but I repeat, I could not find the correct tool in the left pane to let me enter that code.

     

  5. <COMMENT Value="ENTER to select Bookmarks"/>
    <TEXT TYPE Action="0" Text="<ENTER>"/>
    <DELAY Flags="\x01" Time="1"/>
    <TEXT TYPE Action="0" Text="<CTRLD><SHIFTD>o<CTRLU><SHIFTU>"/>
    <DELAY Flags="\x01" Time="100"/>

    What I need is for the Bookmarks MANAGER to open - your '<CONTROL><SHIFT>o' merely highlights the  Bookmarks Bar entry.

     

    I repeat that I have a working macro already, but I'm trying to understand why I needed to employ a work-around.

     

    The format of '<CTRLD><SHIFTD>b<CTRLU><SHIFTU"/> had already worked for selecting Bookmarks.

    I COULD change it to '<CTRLD><SHIFTD>o<SHIFTU><CTRLU"/>, but will not bother without your encouragement.

     

    I did get email notification again.

     

    error.JPG

  6. I had become aware of that 'capital letter issue' in a recent comment (from you ?) in another thread.

     

    My invocation of B worked fine.

    What did NOT work, and what I was asking about, was the failure of 'CTRL SHIFT O' to trigger Bookmarks Manager, forcing me to use the work around I described above.

     

    By the way, even though 'Notify me of replies' has been 'activated', I have not received emails - probably since the thread went to page 2. 

  7. "Open chrome and paste in this address. "chrome://bookmarks". It will not be painful, I swear. " I did and reported that the results were as you predicted.

     

    Replacing the Program Shutdown with Close Window did the trick.

     

    So now I have a functioning macro ans should be satisfied.

     

    But I want to draw your attention to the code that was a work-around, because a direct approach did not work. I should be able to select Bookmark Manager manually with 'CTRL SHIFT O' , but that did not work; nor did 'down arrow x 4' to Bookmark Manager in the macro. So my work-around was to select 'Show Bookmarks Bar' and then to down-arrow once to Bookmark Manager. Can you improve on that ?

     

    I am (as usual) confused about your 'repeat' comment. I was not aware of the 'Repeat Start .... End Repeat' option until your example drew my attention to it. I think it is a more elegant way to achieve the same effect, so I emulated that higher up in the macro but incurred your displeasure - I'm puzzled WHY !

  8. <COMMENT Value="Launch Chrome"/>
    <LAUNCH PROGRAM AND ACTIVATE WINDOW Title="New Tab - Google Chrome" Exact_Match="FALSE" Wildcards="FALSE" Path="C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" Mode="\x00" Default_Path="TRUE" Wait="1" Wait_For_Program="12"/>
    <DELAY Flags="\x01" Time="0.1"/>
    <COMMENT Value="ALT f to open the Menu"/>
    <TEXT TYPE Action="0" Text="<ALT>f"/>
    <DELAY Flags="\x01" Time="0.1"/>
    <COMMENT Value="Down-arrow x 6 to highlight Bookmarks ; using Repeat... End repeat"/>
    <REPEAT START Start="1" Step="1" Count="6" Save="FALSE"/>
    <TEXT TYPE Action="0" Text="<ARROW DOWN>"/>
    <DELAY Flags="\x01" Time="0.1"/>
    <END REPEAT/>
    <COMMENT Value="ENTER to select Bookmarks"/>
    <TEXT TYPE Action="0" Text="<ENTER>"/>
    <DELAY Flags="\x01" Time="0.1"/>
    <COMMENT Value="CTRL Down SHIFT Down B CTRL Up Shift Up to select Bookmarks Bar"/>
    <TEXT TYPE Action="0" Text="<CTRLD><SHIFTD>B<CTRLU><SHIFTU>"/>
    <DELAY Flags="\x01" Time="0.1"/>
    <COMMENT Value="Down arrow to select Bookmarks Manager"/>
    <TEXT TYPE Action="0" Text="<ARROW DOWN>"/>
    <DELAY Flags="\x01" Time="0.1"/>
    <COMMENT Value="ENTER to open  Bookmarks Manager"/>
    <TEXT TYPE Action="0" Text="<ENTER>"/>
    <COMMENT Value="A longer delay is here required"/>
    <DELAY Flags="\x01" Time="1"/>
    <COMMENT Value="TAB to select the Bookmark Manager's Menu"/>
    <TEXT TYPE Action="0" Text="<TAB>"/>
    <DELAY Flags="\x01" Time="0.1"/>
    <COMMENT Value="ENTER to open  Bookmarks Manager's menu"/>
    <TEXT TYPE Action="0" Text="<ENTER>"/>
    <DELAY Flags="\x01" Time="0.1"/>
    <COMMENT Value="Down-arrow x 5 to highlight Export"/>
    <REPEAT START Start="1" Step="1" Count="5" Save="FALSE"/>
    <TEXT TYPE Action="0" Text="<ARROW DOWN>"/>
    <DELAY Flags="\x01" Time="0.1"/>
    <END REPEAT/>
    <COMMENT Value="ENTER to activate EXPORT"/>
    <TEXT TYPE Action="0" Text="<ENTER>"/>
    <DELAY Flags="\x01" Time="1"/>
    <COMMENT Value="Delete to be rid of the prompted name"/>
    <TEXT TYPE Action="0" Text="<DELETE>"/>
    <DELAY Flags="\x01" Time="0.1"/>
    <COMMENT Value="Types the path for the export which is to be saved "/>
    <TEXT TYPE Action="0" Text="C:\\data\\Chrome\\Bookmarks\\file.html"/>
    <COMMENT Value="ENTER to 'press' the Save button"/>
    <TEXT TYPE Action="0" Text="<ENTER>"/>
    <PAUSE Flags="\x11" Message="replace file date" Left="Center" Top="Center" Monitor="0"/>
    <PROGRAM SHUT DOWN Option="\x01" Title="Bookmarks - Google Chrome" Partial="TRUE" Wildcards="FALSE" _IGNORE="0x0006"/>

    The item - NOT chevrons, but single side arrows -  you have pointed arrows to, was missing when I did the graphic post. It is present NOW, so I will re-post using that.  

  9. <PROGRAM SHUT DOWN Option="\x01" Title="Bookmarks - Google Chrome" Partial="TRUE" Wildcards="FALSE" _IGNORE="0x0006"/>

    In my own clumsy way, I've managed to get the Export done. I thought I would 'clean up the job' by closing Chrome at the end, but there is yet again an obstacle. I made the second last line a complex pause, to give me a chance to delete the old Export file and put today's date into the new Export file. So once I have done that I click on RESUME, but the final line fails to execute.

  10. I've been able to successfully replace my  six-times-down-arrow with your 'Repeat Start....End repeat' .

     

    I've been able to successfully replace your complex delays with my 0.1 seconds (extended where needed).

     

    I should NOT have to make the selection of Bookmarks Bar in two steps - but it does work.

    I'd like to know how those two steps can be reduced to one.

     

    I can see the need for a Save As that you referred to, but can not find that option in the macro commands. Chrome prompts a name that I am happy to accept, but introducing a left mouse click leaves the prompted name highlit rather than confirmed; the saving path I can write code for, but I have no idea how to put that in front of the prompted name .

     

    Still far from a satisfactory ending.

  11. Sad to say - more obstacles

     

    1. the code looks unfamiliar to me

    2. when I pasted it in where my code for TAB had been, it showed a single entry that appeared to be a repeat of all YOUR code above that point

    3. When I tried to run it, there was an objection to the NAME :  ExportChromeBookmarks - I chose to not change it

    4. It told me that delays were unspecified, and when I offered to set values, opened a dialog that I'm unfamiliar with.

         It offered to set them automatically - I accepted.

    5. When I ran the macro, it stopped where my own efforts had also stopped - NO PROGRESS.

     

     

     

     

×
×
  • Create New...