|
|
#1 |
|
Using Click in AppleScript
tell application "System Events"
tell process "Minecraft" click at {896, 157} end tell end tell end end for some reason it's not working, even when I try it with Safari. Ideas? |
|
|
|
0
|
|
|
#2 | |
|
"click at" command not working...
Quote:
|
||
|
|
0
|
|
|
#3 |
|
I got click at to work for Safari, but not minecraft. I saw cliclick but I don't want people to have to install that. This procedure is being used in an application I'm making, so I need actual code.
|
|
|
|
0
|
|
|
#4 |
|
This has most of what you want:
Move and click the mouse via code But CGPostMouseEvent() is deprecated, so mod the code accordingly: CGPostMouseEvent replacement on Snow Leopard Install the resulting shell command in your App's bundle, and call it with a 'do shell script' or an Objective C launchedTaskWithLaunchPath:arguments:. |
|
|
|
0
|
![]() |
|
| Tags |
| click applescript, lion, minecraft, osx, snow leopard |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| Keystroke Control + Key in Applescript | OpenLaszlo | Mac Programming | 4 | Nov 6, 2012 03:38 PM |
| Use backslash in Applescript running a Bash Shell Script | rebello95 | Mac Programming | 12 | Nov 3, 2011 01:56 PM |
| Right Clicking in Simple Finder | dodge this | Mac Basics and Help | 0 | Aug 6, 2011 06:28 PM |
| Send Mail Using Stationery in Automator/AppleScript | raiderchic7 | Mac Programming | 8 | Jan 19, 2011 01:58 AM |
| Applescript help automatic clicking in email | IloJeM | Mac Programming | 0 | May 24, 2009 05:32 AM |
All times are GMT -5. The time now is 04:47 AM.








Linear Mode

