Re: creation date property of item is r/o !
Re: creation date property of item is r/o !
- Subject: Re: creation date property of item is r/o !
- From: David C Andrews <email@hidden>
- Date: Wed, 02 Mar 2005 17:34:01 -0500
On Feb 27, 2005, at 11:59 AM, Paul Berkowitz wrote:
... There's no alternative creation date, so if you wanted to
make it last Thursday at 3:15 you're out of luck, except by first setting
the Date & Time in System Preferences to last Thursday at 3:15, making the
replica file, then resetting Date & Time to today.
....
I have the old
pre-System X osaxen from Akua Sweets 143 that includes adjust the clock.
Is there any way to do this date changing business with vanilla System X AS?
I took a look with UIElementInspector at a date field:
<x-tad-smaller><AXApplication: “System Preferences”>
<AXWindow: “Date & Time”>
<AXTabGroup>
<AXGroup>
<AXGroup>
<AXGroup>
<AXTextField>
</x-tad-smaller>but the third AXGroup can not be found by System Events:
tell application "System Events" to get class of UI elements of process "System Preferences" --> {window, menu bar}
tell application "System Events" to get class of UI elements of window 1 of process "System Preferences" --> {button, button, button, tab, button, button, tool bar, button, static text} <-- ?, "tab" should be "tab group"
tell application "System Events" to get class of UI elements of UI element 4 of window 1 of process "System Preferences" --> same as:
tell application "System Events" to get class of UI elements of tab group 1 of window 1 of process "System Preferences" --> {group, radio button, radio button, radio button} <-- contains first group
tell application "System Events" to get class of UI elements of group 1 of tab group 1 of window 1 of process "System Preferences" --> {button, button, group, group, static text, button, button, combo box, «class swiB» [checkbox]} <-- second group as either group 1 or group 2
tell application "System Events" to get class of UI elements of group 1 of group 1 of tab group 1 of window 1 of process "System Preferences" -- {incrementor} <-- no third group here
tell application "System Events" to get class of UI elements of group 2 of group 1 of tab group 1 of window 1 of process "System Preferences" -- {UI element, incrementor} <-- no third group here
Telling System Events to Click at a coordinate does not seem to work either.
David A _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden