Is there a way to create new files like with "Shift+F4" without open it with the editor?
That would be very useful for me.
How to create new files
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
It is not possible now (using Altap Salamander).
We plan to extend User Menu to support entering custom variables. Then it will be possible to enter file name and create it using User Menu.
Another way is plugin. There is SDK for Altap Salamander available, such plugin should be done within two hours.
You can also try AutoIt started from User Menu. There will be probably possible ask for file name and create it.
We plan to extend User Menu to support entering custom variables. Then it will be possible to enter file name and create it using User Menu.
Another way is plugin. There is SDK for Altap Salamander available, such plugin should be done within two hours.
You can also try AutoIt started from User Menu. There will be probably possible ask for file name and create it.
Try this VBScript:
The User Menu entry for this should look like this:
Command: <path to the script>
Arguments: <empty>
Initial directory: $(FullPath)
Execute through shell: unchecked
Code: Select all
'NewFile.vbs
Filename = InputBox("New file name:", "Create new file")
If Filename <> False Then
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile(Filename)
End If
Command: <path to the script>
Arguments: <empty>
Initial directory: $(FullPath)
Execute through shell: unchecked