我有一个accessibillityTitle
带有值的UI元素Layers
,我想将此元素放在右上角,但我不知道如何通过Applescript访问它。我找到了使用的元素Accessibility Inspector
,其余部分就是这样。
AXApplication
AXWindow:AXDialog
Attributes
isAccessibilityFocused NO
accessibilityTitle Layers
accessibilityGrowArea <nil>
accessibilityMinimizeButton <nil>
accessibilityDocument <nil>
accessibilityCloseButton <nil>
isAccessibilityMain NO
accessibilityFullScreenButton <nil>
accessibilityProxy <nil>
accessibilityDefaultButton <nil>
isAccessibilityMinimized NO
accessibilityChildren 10 items
accessibilityRole AXWindow
accessibilityParent <AXApplication>
accessibilityTitleUIElement <nil>
accessibilityCancelButton <nil>
isAccessibilityModal NO
accessibilitySubrole AXDialog
accessibilityZoomButton <nil>
accessibilityRoleDescription dialog
accessibilityToolbarButton <nil>
accessibilityFrame x=1038.00 y=23.00 w=240.00 h=773.00
accessibilityIdentifier com.pixelmatorteam.pixelmator.layers.palette
Actions
accessibilityPerformRaise
我set position to {1280, 0}
该如何使用这个元素?