script ClockAppDelegate
property parent : class "NSObject"
property varwinhour : missing value
on subrotate_(sender)
varwinhour's setFrameRotation_((varwinhour's frameRotation()) + 90)
end subrotate_
on applicationWillFinishLaunching_(aNotification)
varwinhour's translateOriginToPoint_({x:15, y:15})
-- Insert code here to initialize your application before any files are opened
end applicationWillFinishLaunching_
on applicationShouldTerminate_(sender)
-- Insert code here to do any housekeeping before your application quits
return current application's NSTerminateNow
end applicationShouldTerminate_
end script
I rotating my image alone rotates it around its origin as it says in the docs but that doesn’t look like a clock hand moves, I remembered reading about an origin translation method so I put it in as you can see but nothing changed, no errors.