Hi Darren,
Just wanted to show my appreciation for the bundle as I have been using it for 8+ months now and loving every minute of it. It really turns TextMate into an amazing IDE for Corona.
One quick question though, is it possible to redirect the cmd-R to iTerm instead of Terminal? I’ve attempted modifying the bundle here:
[bash]
#!/bin/bash
CORONA_SIM_PATH="/Applications/CoronaSDK/simulator"
In order for the simulator relaunch to work, “Enable access for assistive devices” must be selected in System Preferences > Universal Access.
osascript <
on appIsRunning(appName)
tell application “System Events” to (name of processes) contains appName
end appIsRunning
on selectAppMenuItem(app_name, menu_name, menu_item)
try
– bring the target application to the front
tell application app_name
activate
end tell
tell application “System Events”
tell process app_name
tell menu bar 1
tell menu bar item menu_name
tell menu menu_name
click menu item menu_item
end tell
end tell
end tell
end tell
end tell
return true
on error error_message
return false
end try
end selectAppMenuItem
if appIsRunning(“Corona Simulator”) then
selectAppMenuItem(“Corona Simulator”,“File”,“Relaunch”)
else
tell application “Terminal”
do script “$CORONA_SIM_PATH $TM_DIRECTORY”
end tell
end if
APPLESCRIPT
[/bash]
by swapping out the “tell application “Terminal”” to “tell application “iTerm”” but it doesn’t appear to work. Do I need to take other steps?
Thanks again for the amazing bundle… cheers [import]uid: 52208 topic_id: 2269 reply_id: 83864[/import]