lib/webconsole/lib/module.rb in webconsole-0.1.15 vs lib/webconsole/lib/module.rb in webconsole-0.1.16
- old
+ new
@@ -36,20 +36,9 @@
result = self.run_applescript(RUN_PLUGIN_IN_SPLIT_SCRIPT, parameters)
result.chomp!
return result
end
- PLUGIN_HAS_WINDOWS_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "plugin_has_windows.scpt")
- def self.plugin_has_windows(name)
- result = self.run_applescript(PLUGIN_HAS_WINDOWS_SCRIPT, [name])
- result.chomp!
- if result == "true"
- return true
- else
- return false
- end
- end
-
WINDOW_ID_FOR_PLUGIN_SCRIPT = File.join(APPLESCRIPT_DIRECTORY, "window_id_for_plugin.scpt")
def self.window_id_for_plugin(name)
result = self.run_applescript(WINDOW_ID_FOR_PLUGIN_SCRIPT, [name])
result.chomp!