Command or script for opening recent file (list)

Next
 From:  Metin (METIN_SEVEN)
10346.1 
Hi Michael and fellow MoI lovers,

I'm wondering: is there a possible command or script to pop up the recent files list?

If not, is there a command or script to open the last-saved file?

Thanks!

─ Metin

visualizer • illustrator • 3D designer — metinseven.nl
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10346.2 In reply to 10346.1 
Hi Metin, here's a script that will open the most recent file on the recent file list:

script: /* Open most recent file */ var Files = moi.ui.getRecentFiles(); if ( Files.length > 0 ) { var LastFile = Files.item(Files.length-1); var FileName = LastFile.item(2); var Options = LastFile.item(3); moi.command.execCommand( 'open ' + FileName + Options ); }

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Metin (METIN_SEVEN)
10346.3 In reply to 10346.2 
Thanks Michael, much appreciated!

─ Metin

visualizer • illustrator • 3D designer — metinseven.nl
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All