visible of window bug
visible of window bug
- Subject: visible of window bug
- From: Luther Fuller <email@hidden>
- Date: Mon, 6 Nov 2006 09:40:13 -0600
My script said ...
set appSup to (path to application support from user domain) as alias
...
else if visible of window of folder "Folder Name" of appSup then
my doSomeStuff()
dnd if
but other parts of the script were not working properly. Finally, I
found the problem and wrote this to fix the it ...
set appSup to (path to application support from user domain) as alias
...
else
try
visible of window of folder "Folder Name" of appSup
if the result then my doSomeStuff()
end try
end if
It seems that 'visible of window ...' requires the window to be
visible in order to return a boolean result, otherwise it errors.
Illogical!
Does anyone know if there's a report on this bug?
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden