Bundle in AppleScript

Got a problem with Viscosity or need help? Ask here!


Posts: 1
Joined: Fri May 24, 2019 12:13 am

Post by ab52 » Fri May 24, 2019 12:16 am
To get viscosity working for our users i supply them with a zip that we build for each user that has their certs and keys with it. The users places the viscosity.app and a Preconfigure folder ( that contains the Connection-Overwrite ) in /Applications, on start up of viscosity the Preconfigure folder gets 'absorbed' and the settings are applied
Is there are way to do this with an applescript. I tried placing in in a folder called Scripts and putting that in /Applications but it does not work the same way as the Preconfigure

Any suggestion on how i can bundle it in



User avatar
Posts: 1973
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Fri May 24, 2019 4:50 pm
Hi ab,

It sounds like you may be referring to scripts for custom menu items? If so, first create a Preconfigure folder as documented here, with your menu items in the MenuItems folder:

The recommended approach is to then use the installer template to create a bundled version of Viscosity as documented in the above article. However, you can also copy the Preconfigure folder to ~/Library/Application Support/Viscosity/Preconfigure" which will be used when Viscosity is first launched.

James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
2 posts Page 1 of 1