Categories
Apple User Help

AppleScript: “Repeat” Loop Only Works With Variable

Very curious as to why this works (the context is an open and activated/frontmost Safari window displaying the "Customize Toolbar" sheet): tell application "System Events" tell process "Safari" set entireContents to entire contents of sheet 1 of front window repeat with x in entireContents if class of x is image and description of x contains […]