Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Parsing 使用Applescript在URL中创建随机数_Parsing_Url_Random_Numbers_Applescript - Fatal编程技术网

Parsing 使用Applescript在URL中创建随机数

Parsing 使用Applescript在URL中创建随机数,parsing,url,random,numbers,applescript,Parsing,Url,Random,Numbers,Applescript,对于有经验的applescript用户来说,这可能相当容易,但我想知道如何在URL中随机化一个数字,然后让safari打开该URL 比如说。。数字)&something= 非常感谢您在这方面的帮助 非常感谢这里有一个例子: set randNum to random number from 1 to 20 tell application "Safari" open location "http://example.com/something=" & randNum &

对于有经验的applescript用户来说,这可能相当容易,但我想知道如何在URL中随机化一个数字,然后让safari打开该URL

比如说。。数字)&something=

非常感谢您在这方面的帮助

非常感谢这里有一个例子:

set randNum to random number from 1 to 20
tell application "Safari"
    open location "http://example.com/something=" & randNum & "something=..."
end tell