Code Monkey home page Code Monkey logo

uxpscriptsparker's Introduction

UXPScriptSparker

*** Note: this is work-in-progress. Documentation is quite incomplete.

--

Starter project for running and debugging UXPScript with Adobe InDesign and the Adobe UXP Debugger Tool

© 2023, Rorohiko Ltd. - Kris Coppieters [email protected]

v1.0.0, Apr 21, 2023

Speed comparisons

For some rough and ready speed comparisons between UXPScript and ExtendScript, visit my blog:

https://coppieters.nz/?p=624

A ready-to-install sample script, generated with UXPScriptSparker:

https://github.com/zwettemaan/UXPScriptSparker/wiki/InDesignBrot

Screenshot 2023-05-04 at 8 41 22 AM

Preamble

UXPScriptSparker is a tool for learning and using UXPScript in Adobe InDesign.

It allows for the creation of reusable code that can run in both ExtendScript and UXPScript.

The tool includes two scaffolding sets, one for ExtendScript and one for UXPScript, as well as shared APIs that work in both environments. The script contains one or more .js files that can be executed in either environment.

The goal of this project is to reduce the treshold to 'get started' writing and debugging UXPScript scripts.

The approach I've taken is to provide you with a ready-to-run script with all its source code.

In addition, there is a lot of developer infrastructure code (helpers scripts) which help with tasks like installing, debugging, reading log files...

Most of the helper scripts are human-readable command line scripts (.command on Mac, .bat on Windows).

These helpers are all written in such a way that they are easy to inspect and analyze. They also serve as a way to explain and document the development processes.

I know from experience how disheartening it is to find some useful sample code, and then get mired into all kinds of issues trying to install various tools that are needed in order to get a simple bit of sample code to run.

To avoid that, I've also tried my best to keep external dependencies to the absolute minimum.

This package should allow you to get going with the following minimal dependencies:

  • Mac OS X 13.0 or Windows 11.x or higher
  • Adobe InDesign 2023 or higher
  • Adobe UXP Debugger Tool
  • VSCode with ExtendScript debugger

Make sure to consult the UXPScriptSparker Documentation

This project uses the Sparker application. More info here: https://github.com/zwettemaan/Sparker

uxpscriptsparker's People

Contributors

zwettemaan avatar

Stargazers

MyNewsZine avatar  avatar  avatar  avatar Tom Scharstein avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.