Adds a file to the most recently and frequently item list
#include <WinAPIShellEx.au3>
_WinAPI_ShellAddToRecentDocs ( $sFilePath )
$sFilePath | The name of the file to be added. Set this parameter to empty string to clear all usage data on all items. |
Search SHAddToRecentDocs in MSDN Library.
#include <WinAPIShellEx.au3>
_WinAPI_ShellAddToRecentDocs(@ScriptFullPath)