|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|
|Run Script with Administrative Privileges during PackageMaker Installation||rebello95||Mac Programming||0||Nov 7, 2011 11:27 PM|
|looking for a specific automation/script for itunes ... >||eroxx||OS X||0||Jun 4, 2011 07:17 PM|
|Anyone know where I can hire/commission a task to create script?||Lifequest||Mac Programming||2||May 23, 2011 12:52 PM|
|Applescript shell script won't run when display is sleeping||BlueRevolution||Mac Programming||6||Feb 19, 2011 03:11 AM|
|iTunes Script Help||jason1989||Mac Programming||1||Jan 24, 2011 11:45 AM|
All times are GMT -5. The time now is 02:29 PM.