Created
November 7, 2012 14:28
-
-
Save DinisCruz/4031921 to your computer and use it in GitHub Desktop.
O2 Script - VisualStudio API - create script with panel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var visualStudio = new VisualStudio_2010(); | |
| var topPanel = visualStudio.open_Panel(); | |
| topPanel.windowBase().width(600); | |
| var panel = topPanel.insert_Above(); | |
| topPanel.add_Script_Me(panel); | |
| //another way to do this | |
| /* | |
| var scriptEditor = visualStudio.open_ScriptEditor(); | |
| var panel = scriptEditor..insert_Above(); | |
| scriptEditor.InvocationParameters.add("panel", panel); | |
| scriptEditor.set_Code("return panel;"); | |
| */ | |
| return "done"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment