-2

I am having an issue getting applescript in a sublime text plugin to open Firefox Developer Edition.

cmd = """tell application "FirefoxDeveloperEdition"

activate

end tell"""

call(['osascript', '-e', cmd])

This works in the applescript editor activates FirefoxDeveloperEdition but doesn't work in the sublime text plugin.

I can swap out Firefox, Google Chrome and even Minecraft and they all work from with in the sublime text plugin. But it won't activate FirefoxDeveloperEdition.

swudev
  • 283
  • 5
  • 18
  • I have it working. You have to use tell application "Firefox Developer Edition" (with spaces for it to work). – swudev Feb 10 '17 at 15:02

1 Answers1

0

The application name should have spaces.

tell application "Firefox Developer Edition"
swudev
  • 283
  • 5
  • 18
  • Also it appears you can not have firefox open at the same time as firefox developer edition or it will open regular firefox instead. So it isn't working as precisely as I would expect. – swudev Feb 11 '17 at 12:44