Get your own customer support community
 

Command-line PNG export won't work in MacOSX.

I've been trying to setup some bash scripts to export my link hierarchy for Balsamiq, but I can't seem to get the command-line export to work. Here are my symptoms:

- When trying it with relative paths, it flashes a window too quickly to see, then exits. Checking an "echo $?" shows that it returns 5. If I have Balsamiq open already when running this, an error window appears saying that the paths do not exist. This leads me to believe that relative paths won't work.

- When using absolute paths, the program starts, flashes a window, then never exits. I can alt-tab into the app that it opened up (apparently it still opens the application outside the shell despite the command-line invocation) and quit gracefully from the main application menu (there is no window). In the terminal, "echo $?" shows that it returns 0. Unfortunately, there is no png file to be found.

- Although it has been mentioned in other posts, I should mention that I also get the error message "2009-07-04 13:08:18.129 Balsamiq Mockups[997:10b] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'." I tried changing the value of CFBundleTypeRole from "Editor" to "Shell" in Info.plist, but it still gives the same error. I suspect, as indicated in other posts, that this message can be ignored.

- Here is the command used to export:
$ /Applications/Balsamiq\ Mockups/Contents/MacOS/Balsamiq\ Mockups export /path/to/file.bmml /path/to/file.png

Has anyone else had this issue?

Thanks!
Aaron
Inappropriate?
1 person has this question

User_default_medium