Leopard support - BETA (5th Nov.)
05/11/2007 23:57 Filed in: Announcements
Here is a a beta release of
the Logbook that fixes an issue that arises from
Leopard's removal of support for setting a
red/amber/green progress bar's maximum and minimum
values using normal Applescript commands.
For those interested in Applescript and controling NSLevelIndicator elements in Xcode projects. This Applescript, that worked in Tiger:
tell window "myWindow"
set maximum value of control "myNSLevelIndicator" to 22
set minimum value of control "myNSLevelIndicator" to 0
end tell
Now needs to be replaced with this in Leopard:
tell window "myWindow"
call method "setMaxValue:" of control "myNSLevelIndicator" with parameters {22}
call method "setMinValue:" of control "myNSLevelIndicator" with parameters {0}
end tell
I haven't seen this discussed anywhere yet.
One further bug that I haven't been able to address yet occurs if you have set a custom date format in System Preferences: most of you won't have done this so don't worry
If you have and you experience the 'From' date in the Reports date selector providing an unexpected start date then you will need to reset back to the default date format within System Preferences -> International -> Formats: the easiest way is to select another Region and then reselect your own Region again. I hope to fix this soon.
I have raised both these bugs with Apple.
For those interested in Applescript and controling NSLevelIndicator elements in Xcode projects. This Applescript, that worked in Tiger:
tell window "myWindow"
set maximum value of control "myNSLevelIndicator" to 22
set minimum value of control "myNSLevelIndicator" to 0
end tell
Now needs to be replaced with this in Leopard:
tell window "myWindow"
call method "setMaxValue:" of control "myNSLevelIndicator" with parameters {22}
call method "setMinValue:" of control "myNSLevelIndicator" with parameters {0}
end tell
I haven't seen this discussed anywhere yet.
One further bug that I haven't been able to address yet occurs if you have set a custom date format in System Preferences: most of you won't have done this so don't worry
If you have and you experience the 'From' date in the Reports date selector providing an unexpected start date then you will need to reset back to the default date format within System Preferences -> International -> Formats: the easiest way is to select another Region and then reselect your own Region again. I hope to fix this soon.
I have raised both these bugs with Apple.

