当前位置:网站首页>InDesign plug-in - general function development -js debugger open and close -js script development -id plug-in
InDesign plug-in - general function development -js debugger open and close -js script development -id plug-in
2022-06-29 12:38:00 【Plug in development】
List of articles
1. Algorithm principle
Adobe InDesign yes Adobe A desktop publishing company (DTP) Applications for , It is mainly used for typesetting and editing of various printed matter .InDesign You can export documents directly as Adobe Of PDF Format , And there is multilingual support . It is also the first to support Unicode The mainstream of text processing DTP Applications , Take the lead in using new OpenType typeface , Advanced transparency , Layer style , Custom cutting and other functions . It's based on JavaScript characteristic , And brother software Illustrator、Photoshop And so on , The consistency of the interface and other features are favored by users . Use scripting language to automate coding , An important function in learning is Turn on the debugging environment and turn off the debugging environment function , The source code is as follows :
//DebugOn.js
//An InDesign CS JavaScript
//Starts the debugger at the beginning of every script.
//For more on InDesign scripting, go to http://www.adobe.com/products/indesign/scripting.html
//or visit the InDesign Scripting User to User forum at http://www.adobeforums.com
alert("JavaScript The debugger now opens , And will stay until you close InDesign Or run “JS Debugger close ” Script ")
//$.level = 0 to disable debugging
//$.level = 1 to break on runtime errors
//$.level = 2 to break at the beginning of every script.
$.level = 2
//DebugOff.js
//An InDesign CS JavaScript
//Turns the JavaScript debugger off.
//For more on InDesign scripting, go to http://www.adobe.com/products/indesign/scripting.html
//or visit the InDesign Scripting User to User forum at http://www.adobeforums.com
alert("JavaScript Debugger close . To restart JavaScript The debugger , function “JS The debugger opens ” Script or press Shift Key to run a script at the same time .")
//$.level = 0 to disable debugging
//$.level = 1 to break on runtime errors
//$.level = 2 to break at the beginning of every script.
$.level = 0
Reasonable script code can effectively improve work efficiency , Reduce repetitive labor .
2. Author Q & A
If you have any questions , Please leave a message .
边栏推荐
- GBase8s数据库INTO EXTERNAL 子句
- Cmake error
- Gbase8s database select has order by Clause 3
- DALL-E 2背后的工程实践:确保模型的输出符合内容政策
- Mysql database master-slave synchronization, consistency solution
- GBase8s数据库INTO table 子句
- When a technician becomes a CEO, what "bugs" should be modified?
- 【云原生】2.4 Kubernetes 核心实战(中)
- Kyligence Zen, an intelligent indicator driven management and decision-making platform, is newly launched and is in limited internal testing
- Pro test! Centos7 deploy PHP + spool
猜你喜欢

Quick look | the long-awaited 2022 Guangzhou assistant testing engineer's real problem analysis is finally released

面试突击61:说一下MySQL事务隔离级别?

多项目开发入门-业务场景关联基础入门测试 工资表

【LeetCode】14、最长公共前缀

Interpolated scatter data

对p值的理解

How can colleges and universities build future oriented smart campus based on cloud native? Full stack cloud native architecture vs traditional IT architecture

Dragon Book tiger Book whale Book gnawing? Try the monkey book with Douban score of 9.5

爱可可AI前沿推介(6.29)
![[JUC series] ThreadLocal of synchronization tool class](/img/15/2f8ce68b9e5ee8dab03fb688712935.png)
[JUC series] ThreadLocal of synchronization tool class
随机推荐
ShanDong Multi-University Training #3
在印度与软件相关的发明可不可以申请专利?
模糊图片变清晰,一键双色图片,快速整理本地图片...这8个在线图片工具申请加入你的收藏夹!
【综合案例】信用卡虚拟交易识别
Codeforces Round #803 (Div. 2)
GBase 8s 扩展外连接1
Unexpected ‘debugger‘ statement no-debugger
[pbootcms template] composition website / document download website source code
Gbase8s database into table clause
《Go题库·14》WaitGroup的坑
百度云盘不限速下载大文件(2021-11亲测有效)
GBase8s数据库INTO STANDARD 和 INTO RAW 子句
一种可解释的几何深度学习模型,用于基于结构的蛋白质结合位点预测
Cocos star meetings at Hangzhou station in 2022
推荐模型复现(二):精排模型DeepFM、DIN
Syntax of gbase8s database incompatible with for update clause
When you are young, you should be awake to fight, and when you are young, you should have the courage to try
GBase8s数据库select有ORDER BY 子句3
牛顿不等式
多项目开发入门-业务场景关联基础入门测试 工资表