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
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev