Skip to content

Instantly share code, notes, and snippets.

@WestonThayer
Created March 29, 2016 20:02
Show Gist options
  • Save WestonThayer/32bf1644213794513a3f16030ea3bbe7 to your computer and use it in GitHub Desktop.
Save WestonThayer/32bf1644213794513a3f16030ea3bbe7 to your computer and use it in GitHub Desktop.

Installation

  1. Download http://westonthayer.com/tmp/BloksBeta.zip
  2. Unzip to
    • On a PC: %appdata%\Adobe\CEP\extensions\
    • On a Mac: ~/Library/Application Support/Adobe/CEP/extensions/
  3. Rename the folder from BloksBeta to com.westonthayer.bloks
  4. Enable unsigned Adobe CEP extensions
    • On a PC: open the registry editor (<WINKEY + R> then regedit) and add a value at HKEY_CURRENT_USER\SOFTWARE\Adobe\CSXS.6 of type REG_SZ and value PlayerDebugMode. Set the data to 1
    • On a Mac: in Terminal, run defaults write com.Adobe.CSXS.6 PlayerDebugMode 1
  5. Open Illustrator, go to Preferences > Plugins & Scratch Disks. Set an additional plugin folder that points to...
    • On a PC: %appdata%\Adobe\CEP\extensions\com.westonthayer.bloks\BloksAIPlugin\Win\release\
    • On a Mac: ~/Library/Application Support/Adobe/CEP/extensions/com.westonthayer.bloks/BloksAIPlugin/Mac/release/
  6. Restart Illustrator, you should see a "Hello World" message from the BlokAIPlugin on boot
  7. Open a new document and go to Window > Extensions > Bloks

Notes

  • The undo stack will be a bit wonky
  • You need to open the Bloks extension window at least once per Illustrator boot, otherwise Bloks isn't "awake"
  • You can use <CTRL + R> (or <CMD + R> on a Mac) to force a layout pass
  • If you get an exception: 1346458189 ('PARM'), the only known solution is to close and restart Illustrator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment