注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

老胤祥 YOU CAN, DO IT!

Illustrator CS6/CC 插件 脚本 动作 笔刷 符号 教程

 
 
 

日志

 
 

教05 给 脚本 设置快捷键de方法  

2014-12-18 19:32:52|  分类: AI 视频 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

以下文字来自Adobe论坛。
The Toolkit treats the user's Documents/Adobe Scripts folder, however, as a trusted location; when you double-click a JSX file in that folder, the Toolkit does not display the security alert.
----From JavaScript Tools Guide

ADD YOUR OWN KEYBOARD SHORTCUTS TO YOUR JSX SCRIPTS

This is for Windows only; it uses a feature to launch your favorite software via a keyboard shortcut. It’s been here for a while but it just never occurred to me to use it for this purpose.

 

1.       Create a shortcut on the Desktop that points to your script.

2.       Assign a keyboard shortcut to it. That’s it!!!!

 

 

If you don't know how, here’s a step by step

 

1.       Open the folder where all your scripts live

2.       Right click on any of them and click on “Send to …” -> “Desktop (Create Shortcut)”

3.       (Optional) Rename the shortcut; to help you remember it is a good practice to include the actual key combination

4.       Right click on the shortcut, click on “Properties”

5.       The Shortcut Key says “None”, place the cursor there and hit for example Ctrl+Alt+8

6.       Click on “Apply” then on “Ok”

7.       That’s it, go to Illustrator and hit your key combination.

scriptShortcut.png

 

Notes:

1.       Add the following line to the beginning of all your jsx scripts “#target Illustrator” (without the quotations)

2.       If there are duplicate key combinations, your newly created shortcut will take precedence over any existing Illustrator shortcut used for something else, so…to help you see what key combos are available:

 

          1.       In Illustrator, go to “Edit” -> “Keyboard Shortcuts…”, then click on “Export text…”

          2.       The file is saved as a text delimited, open it with Excel or similar program to be able to sort

          3.       This is what I get, a sorted list that easily shows what’s available

sortedShortcutList.png

 

3.       If you have lost of scripts, your desktop will soon be overcrowded with icons, which many people really hate. An alternative could be to create a shortcut to the folder containing all your scripts and assign a key combination. When you’re in Illustrator and use the key combo the folder will open and you will have to double click on the file to run it. Not ideal….but your desktop will be uncluttered and is still better that going to the menus to run your scripts.

 

https://forums.adobe.com/message/3266616#3266616


  评论这张
 
阅读(175)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017