Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QM not recording all Mouse/Keyboard input?
#3
It sounds like you would be better served to use a file created trigger that will automatically monitor changes in a directory then perform a specific action when a condition exists.

Function Move_File_when_Created
Trigger $f 0x1 "$desktop$"     Help - how to add the trigger to the macro
Code:
Copy      Help
function event $name [$newname]
;event: 1 added, 2 removed, 4 renamed, 8 modified
sel event
,case 1
,str AddedFileName=name
,str FileName.getfilename(AddedFileName 1)
,str FilePath.getpath(AddedFileName)
,str NewFileName.from(FilePath "NewFolder\" FileName)
,ren+ AddedFileName NewFileName


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)