#if TargetCocoa = True Then
Declare Sub movecursor Lib "Cocoa" alias "CGDisplayMoveCursorToPoint" (ID as single, x as single, y as single)
#elseif TargetCarbon = True Then
Declare Sub movecursor Lib "Carbon" alias "CGDisplayMoveCursorToPoint" (ID as single, x as single, y as single)
#endif
movecursor(0,100,100) // Set your X/Y to your liking.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.