AutoHotkey - Live Updating Context Menus / No Need to Reload Scripts

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024

ความคิดเห็น • 21

  • @TABNationAutomation
    @TABNationAutomation  7 หลายเดือนก่อน

    CODE 2 from Penchanter= github.com/PENchanter/AutoHotkey/blob/main/TAB's%20Live%20Updating%20Menus%20v1.5

  • @FFVison
    @FFVison 8 หลายเดือนก่อน

    For the Desktop folder, you can always use the %A_Desktop% path. On my work computer, it has my profile folder which includes a bunch of spaces and commas which can be a pain to have to try to find and escape. Using this built in variable works nicely with this.
    In addition to modifying your wildcard for the search, you can also create an array to hold a blacklist of filenames. You can create an if statement just above the initial menu add which would check for a match and if it matches run a continue command to skip to the next iteration in the loop.

  • @thepragmatic6383
    @thepragmatic6383 8 หลายเดือนก่อน

    Very interesting idea. I especially like how easy it is to choose what type of files to display in the results.
    I wonder if it's possible to separate the menu into several submenus, in order to group different types of files? Example:
    Menu 1 = .pdf files - Menu 2 = .xls files
    Menu 3 = .txt files - Menu 4 = .doc files - And so on.
    I know this would require multiple loops, in order to make this script more versatile in terms of file types to search.

    • @TABNationAutomation
      @TABNationAutomation  8 หลายเดือนก่อน

      Great idea. Should be able to just have one loop if some IFs in it to sort it out

  • @MylonasFilms
    @MylonasFilms 8 หลายเดือนก่อน +1

    This is really cool thank you

  • @m1m3rmedia
    @m1m3rmedia 8 หลายเดือนก่อน +1

    Where can I get this great script?

  • @emmanuelgonzales7468
    @emmanuelgonzales7468 8 หลายเดือนก่อน

    nice one...thank you for sharing

  • @qreepyQT
    @qreepyQT 8 หลายเดือนก่อน

    I found a 2 year old video (roblox autoclicker) but unfortunately your script doesnt work. When i try to convert it into a executeable it says syntax error :/

    • @qreepyQT
      @qreepyQT 8 หลายเดือนก่อน

      I just want a script that if toggled o clicks the tab-button every 3 minutes, nothing else

  • @userg23
    @userg23 8 หลายเดือนก่อน

    very useful

  • @penchanter6194
    @penchanter6194 8 หลายเดือนก่อน

    The path in %topmenu% includes a trailing \backslash... you also include one in your Loop... dir\\subdir ?? :)

  • @Frank-rh5nh
    @Frank-rh5nh 7 หลายเดือนก่อน

    yep not working for me, why u are still using a script v1 while we are all using v2 ?
    the converter dont fix all the problems...
    so its not usable...sadly

    • @TABNationAutomation
      @TABNationAutomation  7 หลายเดือนก่อน +2

      Almost no body is using v2 yet or plan to move to v2. I use both but v1 is used way more still for it's simpleness and support still. The script works for in the video so idk.l with no info to help

    • @Frank-rh5nh
      @Frank-rh5nh 7 หลายเดือนก่อน

      @ionAutomation oh ok thanks for that information :)
      sorry for the confusion ;) i will use V1 then, i read than V2 was better but i did some more research i found interesting topic ..
      thanks!

    • @TABNationAutomation
      @TABNationAutomation  7 หลายเดือนก่อน +1

      @@Frank-rh5nh the thing is most languages as new version come out they are better and can still support old code. While I like v2 I think the naming can be misleading as it's more of a total new style of the language that does not support the old stuff. V1 is simple and easy. While v2 is more just a new style that matches into more popular languages. V1 is best for simpleness while v2 is nice for pass coders coming from a high level lang

    • @Frank-rh5nh
      @Frank-rh5nh 7 หลายเดือนก่อน

      @@TABNationAutomation thanks for explanation, im a beginner ! thanks !

  • @puttez78
    @puttez78 7 หลายเดือนก่อน

    Cool! But the link is not working

    • @TABNationAutomation
      @TABNationAutomation  7 หลายเดือนก่อน +1

      says the site is down. try again later

    • @puttez78
      @puttez78 7 หลายเดือนก่อน

      It still down. Can i get the code somewere else? Love your channel and keep up the good work 👌

    • @puttez78
      @puttez78 7 หลายเดือนก่อน

      @@TABNationAutomation Still down. Any link for the ahk scrip ? // Patrik

  • @MylonasFilms
    @MylonasFilms 8 หลายเดือนก่อน

    hmmm, I tried this but it doesn't have a submenu for any folders. Thus it doesn't show what's inside the folder too. Also if I click on a text file it won't open it, just takes me to the main folder. Windows 11.
    +d::
    TopMenu := "C:\Users\Mylo\Documents\HARD_DRIVES\"
    LastMenu := TopMenu
    Loop Files, %TopMenu%\*.*, DFR
    {
    Menu, %A_LoopFileDir%, Add, %A_LoopFileName%, Action
    If (A_LoopFileDir != LastMenu)
    and (LastMenu != TopMenu)
    AddMenu (LastMenu)

    LastMenu := A_LoopFileDir
    }


    AddMenu (LastMenu)
    Menu, %TopMenu%, Show
    Return
    Action:
    Run, % A_ThisMenu . "\" . A_ThisMenultem
    Return
    AddMenu (MenuName)
    {
    SplitPath, MenuName , DirName, OutDir
    Menu, %OutDir%, Add, %DirName%, :%MenuName%
    }