Learn

The forum of documents and methods for studying - Lượm lặt kiến thức


    [AHK] Create New Folders or Files in Explorer with a Shortcut

    QaniTri
    QaniTri
    Admin

    Nam Libra Monkey
    Tổng số bài gửi : 1609
    Tiền xu Ⓑ : 3986
    Được cảm ơn № : 6
    Ngày khởi sự Ngày khởi sự : 07/01/2013
    Đến từ Đến từ : HCMC
    Côngviệc / Sởthix Côngviệc / Sởthix : Languages, Softwares, Sciences, Martial arts

    [AHK] Create New Folders or Files in Explorer with a Shortcut Empty [AHK] Create New Folders or Files in Explorer with a Shortcut

    Bài gửi by QaniTri 22nd October 2017, 13:56

    Code:
    ; =================== CREATE TXT ==========================

    #IfWinActive, ahk_class CabinetWClass

    ^+t::
    send !f
    loop ;wait until on new menu item
    {
       StatusBarGetText, status
       IfInString, status, new
       {
          break
       }
       send {down}
    }
    send {right}
    send t
    return

    ; =================== CREATE FOLDER ==========================
    ; https://lifehacker.com/5072853/create-new-folders-in-explorer-with-a-shortcut
    ; New folder script -- Creates new folder
    ; in Windows Explorer with Ctrl-N

    #IfWinActive, ahk_class CabinetWClass

    ^+n::
    send !f
    loop ;wait until on new menu item
    {
       StatusBarGetText, status
       IfInString, status, new
       {
          break
       }
       send {down}
    }
    send {right}{enter}
    return

    https://lifehacker.com/5072853/create-new-folders-in-explorer-with-a-shortcut


      Hôm nay: 22nd November 2024, 10:58