New and need help ;\ go figure!

K heres my situation (as i am new to applescript but have loved every bit of it so far!)

repeat
   (open location "http://www.url.com=randomnumbergoeshere") random number from 1 - 10000
   delay 5
end repeat

I would like to have it generate a random number from 1-10000 after the url.com=

I couldnt seem to find an answer (because i be stupid) in the search so any help i would be suppppppper grateful… thank you!

Hi,

it would be suppppppper to have more meaningful headlines :wink:

try this


repeat
	open location "http://www.url.com=" & (random number from 1 to 10000)
	delay 5
end repeat

genius ! an & symbol fixed everything… lol thanks… is there any way to keep it in tab 1 in safari so it dont keep opening new windows?


repeat
	tell application "Safari"
		set URL of tab 1 of window 1 to "http://www.url.com=" & (random number from 1 to 10000)
		delay 5
	end tell
end repeat

thank you so much!