Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

laur5730

macrumors newbie
Original poster
Oct 29, 2009
17
0
Every time I try to launch my project, it gives me an error:
Code:
Command /usr/bin/osacompile failed with exit code 1

How do I correct this?

Code:
--
--  WoW_WorkerAppDelegate.applescript
--  WoW Worker
--
--  Created by *** on 01/11/09.
--  Copyright 2009 __MyCompanyName__. All rights reserved.
--

script WoW_WorkerAppDelegate
	property parent : class "NSObject"
	
	on applicationWillFinishLaunching_(aNotification)
		tell application "TextEdit"
			activate
		end tell
	end applicationWillFinishLaunching_
	
	on clicked theObject
		tell application "System Events"
			keystroke "Hello :D"
		end tell
	end clicked
	
	on applicationShouldTerminate_(sender)
		-- Insert code here to do any housekeeping before your application quits 
		return current application's NSTerminateNow
	end applicationShouldTerminate_
	
end script
 

Mentaire

macrumors newbie
Apr 16, 2010
1
0
Still searching for an answer?

Hi, I just read yor question. Have you solved your problem yet?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.