AppleScript Editor and its windows (the return)
AppleScript Editor and its windows (the return)
- Subject: AppleScript Editor and its windows (the return)
- From: Yvan KOENIG via AppleScript-Users <email@hidden>
- Date: Sat, 24 Oct 2020 18:51:51 +0200
On 2014/03/22 I posted here a message entitled : AppleScript Editor and its
windows.
As I am cleaning my archives, I just retrieved it and as I am curious I tested
the embedded script.
Of course I had to replace the original process name "Applescript Editor" by
"Script Editor".
activate application "Script Editor"
tell application "System Events" to tell process "Script Editor"
tell menu bar 1 to ¬
tell menu bar item 9 to tell menu 1 to name of menu items 13
thru -1
--> {"Mettre au premier plan", missing value, "Historique",
"Bibliothèque", missing value, "Enregistrer comme réglage par défaut", missing
value, "corrige mails.scpt", "Sans titre"}
end tell
tell application "Script Editor"
name of windows whose visible is true
--> {"Sans titre", "corrige mails.scpt"}
name of windows whose miniaturized is true
--> {}
name of windows whose visible is false
--> {"Historique", "CombinePDFs.scpt"}
end tell
activate application "Script Editor"
tell application "System Events" to tell process "Script Editor"
tell menu bar 1 to ¬
tell menu bar item 3 to tell menu 1 to tell menu item 5 to tell
menu 1 to name of menu items 1 thru -3
--> {"CombinePDFs.scpt", "corrige mails.scpt", "Delete Preferences For
Application.applescript", "PDF to Text or Html.applescript", "text from
PDF.applescript", "hidePlistLockfile.applescript", "consulter AAPL.app",
"Shane's proposal 2.applescript", "Whip.scpt", "for che4ck sums.applescript",
"supprime dossiers vides - copie.applescript", "dehexify.applescript",
"aaaa.applescript", "maybe several bodies.applescript", "test
copie.applescript", "check results 2.applescript", "check results.applescript",
"effaceur.scpt"}
end tell
The last list is the content of the Recent items and it's OK.
The odd behavior with windows whose visible is false is always striking in
10.13.6.
Is it the same with newer systems?
I didn't open the window named "Historique" since more than 15 days.
I used the script "CombinePDFs.scpt" on 2020/10/24 at 16:57 and quitted it
immediately.
I continue to see no reason for reporting these two windows.
Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) samedi 24
octobre 2020 18:51:44
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden