; Author: jgpaiva ; ; Script Function: ; Open the folder inside the folder passed as argument that has today's ; name ; #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. #notrayicon if 0 <> 1 { msgbox,Please pass the parent folder as argument! exitapp } folder = %1% FormatTime,Today,%A_Now%,dd-MM-yyyy ; mhb@20080122.0118: Just changed the slash (/) to a minus (-) Yesterday := A_Now Envadd,Yesterday,-1,Days FormatTime,yesterday,%Yesterday%,dd-MM-yyyy ; mhb@20080122.0118: Also changed here the slash (/) to a minus (-) ifExist,%folder%\%Today% { run,%folder%\%Today% exitapp } ifExist,%folder%\%yesterday% { run,%folder%\%yesterday% exitapp } run,%folder% exitapp