Ok I thought this might help. This is what my current script is. I had it working a couple months back. But the website button location must have changed so now my coordinates are not accurate.
Basically I need to get rid of the exact coordinates and tell the mouse to click directly on the link, <a> tag, or <font> tag.
Applescript Code:
-- {Things to check before running.]
-- {No tabs are open]
-- [Description is just one line}
tell application "Safari" to set the bounds of the front window to {0, 0, 1440, 900}
tell application "Safari"
activate
end tell
tell application "System Events" to tell process "Safari"
-- {Kids Organic T EDIT}
key code 115 -- {page home to scroll all the way up}
delay 1
clickat {330, 825} -- {from left, from top}
delay 1
keystroketab
keystroketab
keystroketab
keystroketab
keystroke "4.50"
key code 121 -- {page down to reveal save button}
delay 1
clickat {345, 127} -- {from left, from top}
-- {END Kids Organic T SAVED}
-- {Kids T-shirt EDIT}
delay 1
key code 115 -- {page home to scroll all the way up}
delay 1
key code 121 -- {page down to reveal edit button}
delay 1
clickat {345, 424} -- {from left, from top}
delay 1
keystroketab
keystroketab
keystroketab
keystroketab
keystroke "3.60"
delay 0.5
clickat {345, 464} -- {from left, from top}
-- {END Kids T-shirt SAVED}
end tell
Can anyone help with some input? I cannot figure this out for the life of me!
Lorne