Command or script for opening recent file (list)
All  1  2-3

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

 

 
 
Show messages: All  1  2-3