Resizing GDE from the Command Line

It also possible to perform a headless resize of a Storyboard Application (*.gde) file from a command line or scripting environment.

All of the Storyboard executables will be located in the PATH_TO_INSTALL/Storyboard_Designer/storyboard directories, though on each desktop platform they are named slightly differently

Windows:

..../Storyboard.exe -application com.crank.gdt.ui.gderesize
    -output=<PathToResizedGDEFile>
    -w=800
    -h=480
    <PathToGDEFile>
                            

Mac:

..../Storyboard.app/Contents/MacOS/Storyboard -application
    com.crank.gdt.ui.gderesize
    -output=<PathToResizedGDEFile>
    -w=800
    -h=480
    <PathToGDEFile>
                            

Linux:

..../Storyboard -application com.crank.gdt.ui.gderesize
    -output=<PathToResizedGDEFile>
    -w=800
    -h=480
    <PathToGDEFile>
                            

Note: Storyboard requires a display, so to run in a true headless environment a Virtual frame buffer needs to be setup.

Xvfb :1 -ac -screen 0 1024x768x8 export DISPLAY=:1
    ..../storyboard -application com.crank.gdt.ui.gderesize
    -output=<PathToResizedGDEFile>
    -w=800
    -h=480
    <PathToGDEFile>
                            

Where output is the full path to the output Storyboard Designer model file. Where w and h are the new width and height for the resized application.

By default the Storyboard Application will be resized using the "Proportionally Scale Application and Contents" resize mode. In order to perform a "Proportionally Scale Application and Contents" resize or "Custom resizing options" resize, The wizard option must be used.

..../Storyboard -application com.crank.gdt.ui.gappexport
    -wizard
    -output=<PathToResizedGDEFile>
    <PathToGDEFile>
                            
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.