adobe

How can I programmatically clear text selection in InDesign with ExtendScript?

谁都会走 提交于 2019-12-06 08:17:22
问题 I've programmatically selected some text in InDesign using ExtendScript: app.findGrepPreferences = NothingEnum.nothing; app.findGrepPreferences.appliedFont = myFont; var matches = app.activeDocument.findGrep(); if(matches.length > 0) { matches[0].select(); } How can I deselect it now? Is there no function for this, like app.clearSelections(); or something of the sort? 回答1: Try with: app.activeDocument.select(NothingEnum.NOTHING); 来源: https://stackoverflow.com/questions/10743073/how-can-i

CQ5 - Hiding a tab within a component dialog depending on user group?

冷暖自知 提交于 2019-12-06 08:15:59
Any ideas how I would hide or show a dialog tab panel depending on which user group the user belongs to? I tried to do this through the CRX content explorers (ACL's). But I'm not getting much luck with it. Cheers As noted by anthonyh , the ACL approach is the way to go (if such a behavior is really necessary). For example, to hide the "image" tab of the base page component: edit acls for /libs/foundation/components/page/dialog/items/tabs/items/image add deny jcr:read for author login as author go to http://localhost:4502/content/geometrixx/en.html and open the page properties image tab should

Trying to open a PDF with AxAcroPDFLib

一曲冷凌霜 提交于 2019-12-06 07:44:22
I have installed the latest Adobe Reader on my PC (Adobe Acrobat Reader DC). Now I would like to use AxAcroPDFLib in C# to open and show a PDF file in my Windows Forms application. The problem is, if I am trying to use the LoadFile() method, then it says that this method is not exist. I loaded the Adobe Acrobat 7.0 Browser Control Type Library 1.0 COM reference into my project, and I added the Adobe PDF Reader COM Component to my toolbox (Tools / Choose Toolbox Items... / COM Components). What is wrong? How should I open a PDF file with this library? I found a lot of tutorials on the internet,

Testing movie with Flash IDE fails to load file from localhost

孤人 提交于 2019-12-06 07:15:55
I'm just wondering if anybody can help me with my simple but frustrating problem. I have created an SWF that loads an XML file from http://localhost/flash/Projects/MEL/Quiz/Quiz/bin/xml/quiz.xml , but I get this error when running the movie using Test Movie in the Flash IDE. Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://localhost/flash/Projects/MEL/Quiz/Quiz/bin/xml/quiz.xml at Main/loadConfig()[D:\www\webroot\flash\Projects\MEL\Quiz\Quiz\src\Main.as:126] at Main/configLoadError()[D:\www\webroot\flash\Projects\MEL\Quiz\Quiz\src\Main.as:143] at flash.events:

Can Adobe .jsx scripts include other script files?

喜欢而已 提交于 2019-12-06 06:10:03
问题 We're writing a bunch of .jsx scripts and in each I have to mock out some functions so I can use things like Array.map() and String.trim(), but I don't want to have to include that code at the top of every script. Is there a way to "include" other .jsx scripts inside of a .jsx script file? 回答1: Or you can simply use #include and #includepath preprocessor directives at the top of your script. You can find a detailed description in Adobe's "JavaScript Tools Guide". For example, if you want to

Adobe Flex, loading embedded fonts from modules

我是研究僧i 提交于 2019-12-06 05:52:48
I am just programming a language learning app in Flex for various Asian languages. As some of these languages have very big font sizes (e.g. Chinese), I do not want to load all these fonts into the app. at once but was thinking to put them into different modules and then load only the specific module (depending on which language is chosen in the main app). For this I moved the style part from the main app: <mx:Style> @font-face { font-family:DedicatedFont; src: url('assets/fonts/cma.ttf'); fontStyle: normal; font-weight: normal; } </mx:Style> into the different modules. Above one is e.g. for

【转】ubuntu12.04LTS 安装adobe AIR

谁说我不能喝 提交于 2019-12-06 05:39:03
ubuntu12.04LTS 安装adobe AIR: 目前adobe AIR已经不在支持linux,所以在软件中心无法自动安装air,需要手动加载安装: 1.下载地址: http://helpx.adobe.com/air/kb/archived-air-sdk-version.html 当前最新的版本是3.4,支持linux的最新版本是2.6,安装包:AdobeAIRInstaller.bin 2.安装: 更改属性,变成可执行: chmod +x AdobeAIRInstaller.bin 安装: sudo ./AdobeAIRInstaller.bin 3.安装中会出现错误:请先安装 Gnome Keyring 或 KDE Kwallet,然后再安装 Adobe AIR 查看发现系统已经安装了keyring,这时创建一个链接就可以搞定了 sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0 来源: oschina 链接: https://my.oschina.net/u/860036/blog/107145

Adobe Creative SDK for Web saving edited image

纵饮孤独 提交于 2019-12-06 03:49:54
I am implementing the Adobe Creative SDK product onto my site for administrative use; administrators are able to access specific images (used on the frontpage slider), edit, and save. The trouble is that Adobe's documentation on how to take advantage of the onSave() callback function is very vague. I had to go to the old site, Aviary, to find answers, but even there it's quite vague. First, I am pulling the images off the server using a MySql DB query (there's at least 2 images in the slider so I wanted this to be database-driven rather than static). The images are stored as files with

Android App ID prefix problem

谁都会走 提交于 2019-12-06 02:44:14
I am building an Adobe Air for Android App and I have a big problem, i published an app to the android market using an old flash air extension that saved the app id with a prefix 'app.' Now that i have upgraded the extension it now saves the app id with a prefix 'air.' What this means is that I can no longer publish updates to my applications; so what can I do? The problem with using the outdated extension is that after publishing the update the user is not able to open the app until the cache files are cleared. Jeff Ward There is a simple environment variable you can set to disable the air.

将ON1 Photo RAW 2019与Adobe Lightroom Classic CC一起使用的方法

只谈情不闲聊 提交于 2019-12-06 02:33:38
可以从Adobe Lightroom Classic CC中访问ON1 Photo RAW 2019,从而提供图像的集成往返工作流。今天提供的就是将ON1 Photo RAW 2019与Adobe Lightroom Classic CC一起使用的方法。 通过File菜单中的Plug-In Extras命令和Photo菜单中的Edit In命令,可以通过两种主要方式将ON1 Photo RAW 2019与Lightroom一起使用。 https://www.macdown.com 使用“ 照片”>“编辑位置”菜单可让您快速访问“编辑”模块,而“ 文件”>“ Plug-In Extras”可让您访问“编辑”和“调整大小”模块,并允许您在Photo RAW中打开多个图像作为“编辑”模块中的单个图层。 使用“插件扩展” 从文件>附加插件菜单访问ON1 Photo RAW 2019 是访问该应用程序的首选方法。它使您可以访问所有已安装的模块(“浏览”除外),并且在如何处理文件方面具有最大的灵活性。要在ON1 Photo RAW 2019中编辑图像,请在Lightroom中选择图像,进入文件菜单并选择Plug-In Extras子菜单,然后选择您要开始的位置。发生什么情况取决于您的选择: •如果你选择的影响,开发,或肖像,ON1 RAW照片将在编辑模块内的标签页中打开