nisus.com
https://www.nisus.com/forum/

path of the window below the active window
https://www.nisus.com/forum/viewtopic.php?f=17&t=3948
Page 1 of 1

Author:  js [ 2010-10-10 09:33:21 ]
Post subject:  path of the window below the active window

Is it possible to get the path of the window below the active window?
(Without exchanging front windows, getting the path and exchanging them again, that is)

Author:  Kino [ 2010-10-10 09:45:11 ]
Post subject:  Re: path of the window below the active window

Code:
$docs = Document.openDocuments
if $docs.count > 1
   exit $docs[1].filePath # you get nothing if the document is a new document not having a path
else
   exit ‘Just a single document is open.’
end

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/