Trying to make a decent Open Recent file type thing, so far I have this limited thing, I would ultimately like to figure out how to save the var after the standard load button is pressed. Any fancy ideas or perhaps a better solution for what I have?
[ISubPalette,Tool:TestTools,1]
[IButton,"Tool:TestTools:Load Tool","Load Your Tool",
[IPress,Tool:Inventory:Load Tool]
//Query's and sets Last Loaded or Saved File
[VarSet,LastFile,[FileNameGetLastUsed]]
[VarSave, LastFile, LastFileData]
,,,]
[IButton,"Tool:TestTools:Load Recent","Load Your most Recent Tool",
//Loads above query and imports the file
[VarLoad, LastFile, LastFileData]
[FileNameSetNext, LastFile]
[IPress,Tool:Inventory:Load Tool],,,]