[SVN] Processing bundles
    Denis Santelli 
    denis at santelli.name
       
    Wed May  2 08:57:14 UTC 2007
    
    
  
hello,
i'm trying to fix the processing bundle
changing "run in Processing" :
osascript -e 'try' -e 'tell application "Processing 0124"' -e  
'activate' -e 'end tell' -e 'tell application "System Events"' -e  
'tell process "Processing"' -e 'tell menu bar 1' -e 'tell menu bar  
item "Sketch"' -e 'tell menu "Sketch"' -e 'click menu item "Run"' -e  
'end tell' -e 'end tell' -e 'end tell' -e 'end tell' -e 'end tell' -e  
'end tell' -e 'end tell' -e 'return true' -e 'on error error_message'  
-e 'return false' -e 'end try'
with
	osascript <<-"APPLESCRIPT"
	tell application "Processing 0124" to activate
	tell application "System Events"
		tell process "TextMate"
			set frontmost to true
			keystroke "a" using command down
			keystroke "c" using command down
		end tell
		tell process "Processing"
			set frontmost to true
			keystroke "a" using command down
			keystroke "v" using command down
			delay 0.3
			keystroke "r" using command down
		end tell
	end tell
	APPLESCRIPT
i dont understand why it work perfectly  in ActionScript and dont  
work in the bundle, any idea?
--------------------------
Denis Santelli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate-dev/attachments/20070502/3e1ae95f/attachment.html>
    
    
More information about the textmate-dev
mailing list