I need help with a script to an action with .txt file - I didn`t see any advice like this - if it exist - I am really very sorry not to notice.
Every day I have to do one action in Total Commander - I need to open new folder, make an .txt file in this empty folder (mouse right-click, menu/new/.txt); open the file, copy some text inside and save it in this folder by Alt+F4 for example). There is no problem for me to do more of those actions - but I have a problem with making a new .txt file IN THIS FOLDER (NOT to open a notepad and saving it - choosing folder).
I thought it would be possible by making a script: I push Ctrl+Z and the script do: right-clik-mouse from the keybord, PageUp, PageUp, right-click and the same way clicking "new" position, ".txt". That I think I could write myself.
But there is a problem - my keybord DOESN`t have a RightMouse Key. There is possibility to make right click by FN + Right Control and it opens right-button-mouse menu, but - I don`t know why - in this menu there is NO "new" position. When I use real mouse - the position "new" is under the "make shortcut".
So I wanted to use "mouse" script - starting like this:
Code: Select all
#IfWinActive ahk_class TTOTAL_CMD
^z::
Send {RButton down}
Sleep 500
How it should be done properly, pliz?
Jacek