hi Camelot thanks for replying
So I have no idea how java scripts work and yes the URLs are pretty consistent
Is there any way to put the end date first which will be the current date and then the script will calculate (-7 days) and input in the blank field?
Yes the dates are always a week apart
also, can the script make a report on excel of the documents it pulled
(I know I am asking a lot but just need some help as this will reduce 60% of my job)
I logged it the site bye using basic apple scripts function
tell application "Google Chrome" to activate
tell application "System Events"
key code 17 using command down
delay 1
key code 37 using command down
delay 2
keystroke "url"
key code 36
delay 2
key code 3 using command down
delay 1
keystroke "User Name:"
key code 36
delay 1
key code 53
delay 1
key code 48
delay 1
keystroke "username"
delay 0.5
key code 48
keystroke "password"
repeat 7 times
key code 48
end repeat
key code 36
delay 2
repeat 4 times
key code 48
end repeat
key code 36
delay 7
key code 3 using command down
keystroke "Search within the site"
key code 36
delay 1
key code 53
delay 1
key code 36
delay 2
key code 3 using command down
keystroke "search withing the site"
key code 36
delay 1
key code 53
delay 1
key code 36
delay 2
repeat 7 times
key code 48
end repeat
key code 36
delay 1
repeat 9 times
key code 48
end repeat
delay 1
repeat 3 times
key code 125
end repeat
key code 36
delay 3
key code 48
-- this is how i have to manually put a week range date
keystroke "03"
keystroke "01"
keystroke "2022"
keystroke "03"
keystroke "09"
keystroke "2022"
key code 36
end tell
also i have to login to atleast 30 sites like these everyday
Thank you so much