The BalsamiqMockups.cfg Configuration File
2013-07-31 09:22
537 查看
Balsamiq for Desktop allows for some customization via a simple XML file called BalsamiqMockups.cfg. The configuration file allows you to make some software modifications, such as:
Using another font
Disabling smart alignment snapping
Setting your exported PNGs to use transparent backgrounds
Setting a different selection color for controls
Setting a different folder than the default Documents/Balsamiq Mockups path
Create the file in a text editor (you can use this sample BalsamiqMockups.cfg file as a starting point) and save
it to your Local Store folder. You can find this folder by opening the "About" dialog and clicking on the "Open Local Store Folder" link (or go to this
pageto see folder locations for all operating systems).
Note: the config file must be saved to plain text format! It will NOT work if you save your config file to RTF, or with the .cfg.txt or .cfg.rtf extensions. If you are using TextEdit.app, to save in plain text format select Format > Make Plain
Text from the menu.
The config file might look like this:
The fontFace tag allows you to specify the name of a font on your computer to use instead of Balsamiq Sans.
Set the rememberWindowSize tag to false if you'd like Mockups to not try to remember the size and position of the application window (some video card drivers don't play well with Adobe AIR and Mockups won't start unless you set this to false).
Set useCookies to false if you'd like Mockups to not save any of your preferences on the current computer (preferences include the state of "show UI Library", "Show Graph Paper" and others).
If you don't want to use the default "My Documents" folder (often because it is on a remote server, not always connected) for the shared data of Mockups, then you can set documentsPath to the path of a folder of your choice. This is also useful to share
symbols across projects.
Set snappingEnabled to false if you'd like to turn off snapping alltogether in the app.
Set selectionColor if you want to change the color we use for showing selection in the app.
Set transparentBackground to true if you want your PNGs to be exported with a transparent background instead of the default white one.
A config file is only necessary if you want to set up your documents outside of the typical "Documents/Balsamiq Mockups" folder. Account and Project assets should work without needing a config file in a typical set up.
If your computer username is Bob, for instance, and you want to use a folder in /Users/Bob/Documents/Work/Balsamiq Mockups/ set the documentsPath element like this:
Mockups is just looking for the parent location, and "Balsamiq Mockups" is assumed.
Please also see the article on sharing symbols across projects for more information
about account assets.
Here are some examples for how to set up your documents path so that account assets will work with cloud drives. This assumes that you will have a folder named "Balsamiq Mockups" under your DropBox or Google Drive. Change your computer name where applicable
below.
Mac OS
Dropbox
Google Drive
Windows
The path may vary depending on your version and setup of Windows. Please check Windows Explorer to get the correct path.
Dropbox
Google Drive
Please also see the article on sharing symbols across projects for more information
about account assets.
转载:http://support.balsamiq.com/customer/portal/articles/111759-the-balsamiqmockups-cfg-configuration-file
Using another font
Disabling smart alignment snapping
Setting your exported PNGs to use transparent backgrounds
Setting a different selection color for controls
Setting a different folder than the default Documents/Balsamiq Mockups path
Saving your Config File#
Create the file in a text editor (you can use this sample BalsamiqMockups.cfg file as a starting point) and saveit to your Local Store folder. You can find this folder by opening the "About" dialog and clicking on the "Open Local Store Folder" link (or go to this
pageto see folder locations for all operating systems).
Note: the config file must be saved to plain text format! It will NOT work if you save your config file to RTF, or with the .cfg.txt or .cfg.rtf extensions. If you are using TextEdit.app, to save in plain text format select Format > Make Plain
Text from the menu.
Sample File#
The config file might look like this:<config> <fontFace>Architect Small Block</fontFace> <rememberWindowSize>false</rememberWindowSize> <useCookies>false</useCookies> <documentsPath>C:\Documents And Settings\Administrator\Desktop</documentsPath> <snappingEnabled>false</snappingEnabled> <selectionColor>FF0000</selectionColor> <transparentBackground>true</transparentBackground> </config>
Options#
The fontFace tag allows you to specify the name of a font on your computer to use instead of Balsamiq Sans.Set the rememberWindowSize tag to false if you'd like Mockups to not try to remember the size and position of the application window (some video card drivers don't play well with Adobe AIR and Mockups won't start unless you set this to false).
Set useCookies to false if you'd like Mockups to not save any of your preferences on the current computer (preferences include the state of "show UI Library", "Show Graph Paper" and others).
If you don't want to use the default "My Documents" folder (often because it is on a remote server, not always connected) for the shared data of Mockups, then you can set documentsPath to the path of a folder of your choice. This is also useful to share
symbols across projects.
Set snappingEnabled to false if you'd like to turn off snapping alltogether in the app.
Set selectionColor if you want to change the color we use for showing selection in the app.
Set transparentBackground to true if you want your PNGs to be exported with a transparent background instead of the default white one.
Setting up assets for non-typical Documents locations#
A config file is only necessary if you want to set up your documents outside of the typical "Documents/Balsamiq Mockups" folder. Account and Project assets should work without needing a config file in a typical set up.If your computer username is Bob, for instance, and you want to use a folder in /Users/Bob/Documents/Work/Balsamiq Mockups/ set the documentsPath element like this:
<documentsPath>/Users/Bob/Documents/Work</documentsPath>
Mockups is just looking for the parent location, and "Balsamiq Mockups" is assumed.
Please also see the article on sharing symbols across projects for more information
about account assets.
Setting up an assets path for cloud drives#
Here are some examples for how to set up your documents path so that account assets will work with cloud drives. This assumes that you will have a folder named "Balsamiq Mockups" under your DropBox or Google Drive. Change your computer name where applicablebelow.
Mac OS
Dropbox
<documentsPath>/Volumes/Macintosh HD/Users/YOUR COMPUTER NAME/Dropbox</documentsPath>
Google Drive
<documentsPath>/Volumes/Macintosh HD/Users/YOUR COMPUTER NAME/Google Drive</documentsPath>
Windows
The path may vary depending on your version and setup of Windows. Please check Windows Explorer to get the correct path.
Dropbox
<documentsPath>C:\Users\YOUR COMPUTER NAME\Dropbox\</documentsPath>
Google Drive
<documentsPath>C:\Users\YOUR COMPUTER NAME\Google Drive\</documentsPath>
Please also see the article on sharing symbols across projects for more information
about account assets.
转载:http://support.balsamiq.com/customer/portal/articles/111759-the-balsamiqmockups-cfg-configuration-file
相关文章推荐
- Mysql Administrator 登陆提示“either the server service or the configuration file
- No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/D:/package/java/hibernat
- Trac - The Trac Configuration File - 配置文件
- 翻译:Panda3D Manual/V. Programming with Panda/C. The Configuration File
- Citrix的一个安装问题(The Configuration file(s) for this site could not be read )
- 强制关机 VMware Wrokstation Error (failed to get exclusive lock on the configuration file----)
- Invalid proguard configuration file path D:\...\proguard.cfg does not exist or is not a regular file
- NHibernate配置文件问题-element was not found in the configuration file.
- The Configuration File – “Branch” Section
- The configuration file "vmname.vmx" was created by a VMware product that is incompatible with this v
- How Is The Application Configuration File Protected From Tampering?
- Invalid proguard configuration file path D:\...\proguard.cfg does not exist or is not a regular file
- Error:A problem was found with the configuration of task ':app:packageRelease'. > File 'F:\AndroidSt
- 【RAC搭建报错】PRVF-5507 : NTP daemon or service is not running on any node but NTP configuration file exists on the following node(s): rac02,rac01
- Eclipse下编译C/C++程序出错:The program file specified in the launch configuration does not exist
- All routing maps in a partition scheme must also be listed on a line in the configuration file.
- 解决:无法检索“mvc4.Models.Movie”的元数据。The connection string in the application's configuration file does no
- eclipse 出现An error has occurred. See the log file f:\eclipse\configuration\的解决办法
- 【Eclipse】Eclipse C++ MINGW :The program file specified in the launch configuration does not exist
- when you start Windows 7: "The Windows Boot Configuration Data file is missing required information"