|Feb 3, 2005, 01:55 AM||#1|
I have this game where I sometimes go to the market and try to sell things. Is it possible to write an applescript, or get a little program, that will write the same things again and again? (I cannot copy and paste)
I can get tired of writing "selling steel sword" a thousand times in a row sometimes..
A computer you had to learn how to use was a bad idea from its birth.
|Feb 3, 2005, 02:15 AM||#2|
You can use AppleScript to send some keystrokes to an application as follows:
tell application [Application name] to activate tell application "System Events" to keystroke "selling steel sword"
tell application [Application name] to activate repeat with i from 1 to 20 tell application "System Events" to keystroke "selling steel sword" end repeat
tell application "System Events" to keystroke "selling steel sword" & return
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Need help on script||flash1996||Mac Basics and Help||1||Oct 28, 2013 09:22 PM|
|Apple script batch shell script||prramesh||Mac Programming||5||Sep 15, 2013 03:35 AM|
|kayboard hide when reload table||kikko088||iPhone/iPad Programming||10||Nov 12, 2012 02:35 PM|
|first script/autamator script feed back||zyr123||Mac Programming||1||Jul 17, 2012 10:00 AM|
|Help on Script||Mdv2||Mac Applications and Mac App Store||0||Jun 7, 2012 02:45 PM|
All times are GMT -5. The time now is 09:31 AM.