Suggest some more internal commands for scripting
Posted: 2008-11-22, 01:20 UTC
Hi Mr. Ghisler,
to make scripting TC easier i want to suggest some more internal commands:
cm_SelectFolder(Name, "name")
cm_SelectFile(name, "file.ext")
cm_SelectFile(CDate, newest)
cm_SelectFile(CDate, oldest)
cm_SelectFile(MDate, "21.11.2008")
cm_SelectFile(Size, biggest)
cm_SelectFile(Size, smallest)
cm_SelectFile(Size, < 1)
cm_SelectFile(List, first) like cm_GoToFirstFile
cm_SelectFile(List, last)
cm_FocusToSelection ;set cursor (focus) to [last?] selected file/folder
---
So one could simple use
PostMessage, 1075, cm_SelectFile(Name, varFileName), , , ahk_class TTOTAL_CMD
PostMessage, 1075, cm_FocusToSelection, , , ahk_class TTOTAL_CMD
PostMessage, 1075, cm_RenameOnly, , , ahk_class TTOTAL_CMD
---
Is this is possible?
Are there more needs?
I have seen there are workarounds, but this should be easier.
to make scripting TC easier i want to suggest some more internal commands:
cm_SelectFolder(Name, "name")
cm_SelectFile(name, "file.ext")
cm_SelectFile(CDate, newest)
cm_SelectFile(CDate, oldest)
cm_SelectFile(MDate, "21.11.2008")
cm_SelectFile(Size, biggest)
cm_SelectFile(Size, smallest)
cm_SelectFile(Size, < 1)
cm_SelectFile(List, first) like cm_GoToFirstFile
cm_SelectFile(List, last)
cm_FocusToSelection ;set cursor (focus) to [last?] selected file/folder
---
So one could simple use
PostMessage, 1075, cm_SelectFile(Name, varFileName), , , ahk_class TTOTAL_CMD
PostMessage, 1075, cm_FocusToSelection, , , ahk_class TTOTAL_CMD
PostMessage, 1075, cm_RenameOnly, , , ahk_class TTOTAL_CMD
---
Is this is possible?
Are there more needs?
I have seen there are workarounds, but this should be easier.