File Windows.lua

Functions

Windows:getShellName () Return OS shell name (e.g.
Windows:makeFileLink (linkPath, filePath) windows implementation of operating-system--make-folder-link.
Windows:makeFolderLink (linkPath, folderPath) windows implementation of operating-system--make-folder-link.
Windows:new (t) Constructor for new instance.
Windows:newClass (t) Constructor for extending class.
Windows:openFileInDefaultApp (file) Opens one file in its O.S.-registered default app.
Windows:sendUnmodifiedKeys (keyStr) Send key string verbatim using AHK compiled script, which just directs parameter string verbatim to Lightroom, and must therefore be in AHK compatible format if it contains any special keystroke modifiers.


Functions

Windows:getShellName ()
Return OS shell name (e.g. Explorer or Finder)
Windows:makeFileLink (linkPath, filePath)
windows implementation of operating-system--make-folder-link.

Parameters:

  • linkPath:
  • filePath:
Windows:makeFolderLink (linkPath, folderPath)
windows implementation of operating-system--make-folder-link.

Parameters:

  • linkPath:
  • folderPath:
Windows:new (t)
Constructor for new instance.

Parameters:

  • t:
Windows:newClass (t)
Constructor for extending class.

Parameters:

  • t:
Windows:openFileInDefaultApp (file)
Opens one file in its O.S.-registered default app.

Parameters:

  • file:

Usage:

  • Non-blocking - nothing returned.
  • Good choice for opening local help files, since lr-http-open-url-in-browser does not work properly on Mac in that case.
  • Not called directly - see operating system parent class for more info 
Windows:sendUnmodifiedKeys (keyStr)
Send key string verbatim using AHK compiled script, which just directs parameter string verbatim to Lightroom, and must therefore be in AHK compatible format if it contains any special keystroke modifiers.

Parameters:

  • keyStr:

Usage:

  • Ctrl sequence format is: {Ctrl Down}key(s){Ctrl Up}
  • Not called directly - see operating system parent class for more info 

Valid XHTML 1.0!