#網址offset=0000~0101的寫法 #從0001到9999 count=0 max=101 #max=9,999 its=["0","1","2","3","4","5","6","7","8","9"] while count<=max: openApp("chrome") wait("1380712605387.png") mouseMove("1380712605387.png") mouseMove(Env.getMouseLocation().offset(100,0)) mouseDown(Button.LEFT) mouseUp() type("http://www.groupon.com.tw/buy_recent.php?city=0&tab=0&offset=") count_1000=count / 1000 count_tmp=count % 1000 count_100=count_tmp / 100 count_tmp=count_tmp % 100 count_10=count_tmp / 10 count_1=count_tmp % 10 type(its[count_1000]+its[count_100]+its[count_10]+its[count_1]) type("\n") wait(1) count=count+1
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question