指定した友達を探してお年玉を出す

2253 ワード

詳細
init(0);
runApp("com.tencent.mm") -- 
mSleep(6 * 1000);

--  
touchDown(420, 1860);    --  (150, 550)  
mSleep(30);
touchUp(420,1860);
mSleep(1000);

--  
touchDown(874,138);
mSleep(30);
touchUp(874,138);
mSleep(1000);

inputText(" #ENTER#"); -- "Welcome." 
mSleep(1000);

--  
touchDown(992, 1839);
mSleep(30);
touchUp(992,1839);
mSleep(1000);


--  
touchDown(555, 407); 
mSleep(30);
touchUp(555,407);
mSleep(1000);

--  
touchDown(1015, 1877); 
mSleep(30);
touchUp(1015,1877);
mSleep(1000);

--  
for var = 1,10 do

	--  
	touchDown(167, 1554); 
	mSleep(30);
	touchUp(167,1554);
	mSleep(2000);

	--  
	touchMove(821, 309);
	touchDown(821, 309); 
	mSleep(30);
	touchUp(821,309);
	mSleep(2000);

	--   0.01
	touchDown(546, 1857); 
	mSleep(30);
	touchUp(546,1857);
	mSleep(1000);

	touchDown(183, 1830); 
	mSleep(30);
	touchUp(183,1830);
	mSleep(1000);

	touchDown(546, 1857); 
	mSleep(30);
	touchUp(546,1857);
	mSleep(1000);

	touchDown(177, 1363); 
	mSleep(30);
	touchUp(177,1363);
	mSleep(1000);

	-- money = 0.01;
	-- inputText(money); -- "Welcome." 

	--  
	touchMove(560, 877);
	touchDown(560, 877); 
	mSleep(30);
	touchUp(560,877);
	mSleep(4000);

	--  
	touchDown(177, 1363); 
	mSleep(30);
	touchUp(177,1363);
	mSleep(1500);

	touchDown(490, 1355); 
	mSleep(30);
	touchUp(490,1355);
	mSleep(1500);

	touchDown(173, 1517); 
	mSleep(30);
	touchUp(173,1517);
	mSleep(1500);

	touchDown(827, 1371); 
	mSleep(30);
	touchUp(827,1371);
	mSleep(1500);

	touchDown(177, 1363); 
	mSleep(30);
	touchUp(177,1363);
	mSleep(1500);

	touchDown(177, 1363); 
	mSleep(30);
	touchUp(177,1363);
	mSleep(3000);
end