|
|
| (未显示同一用户的42个中间版本) |
| 第3行: |
第3行: |
| {{Unknown|Adobe-CEP / CEP-Resources}} | | {{Unknown|Adobe-CEP / CEP-Resources}} |
|
| |
|
| | == 扩展文件夹 == |
| | 扩展文件夹所在位置。加载顺序为产品扩展、系统扩展、用户扩展。 |
| | |
| | 产品扩展。 |
| | * <code>${PP}/CEP/extensions</code>。 |
| | |
| | 系统扩展。 |
| | * window x86: <code>C:\Program Files\Common Files\Adobe\CEP\extensions</code>。 |
| | * window x64: |
| | : <code>C:\Program Files (x86)\Common Files\Adobe\CEP\extensions</code>。 |
| | : <code>C:\Program Files\Common Files\Adobe\CEP\extensions</code>。 |
| | * mac: <code>/Library/Application Support/Adobe/CEP/extensions</code>。 |
| | |
| | 用户扩展。 |
| | * window: <code>C:\Users\<USERNAME>\AppData\Roaming\Adobe\CEP/extensions</code>。 |
| | * mac: <code>~/Library/Application Support/Adobe/CEP/extensions</code>。 |
| == 开发流程 == | | == 开发流程 == |
| 开发模式判断 | | 开发模式判断 |
| 第12行: |
第28行: |
|
| |
|
| == 日志 == | | == 日志 == |
| | === 日志位置 === |
| | 日志文件所在位置。 |
| | |
| | * window: <code>C:\Users\<USERNAME>\AppData\Local\Temp</code>。 |
| | * mac: <code>/Users/<USERNAME>/Library/Logs/CSXS</code>。 |
|
| |
|
| === CEF日志 === | | === CEF日志 === |
| 第17行: |
第38行: |
| <pre> | | <pre> |
| C:\Users\365\AppData\Local\Temp\CEP7-PHXS.log</pre> | | C:\Users\365\AppData\Local\Temp\CEP7-PHXS.log</pre> |
| | |
| | ==== CEP缓存清理 ==== |
|
| |
|
| === CEPHtmlEngine日志 === | | === CEPHtmlEngine日志 === |
| 第37行: |
第60行: |
| * Vulcan.js | | * Vulcan.js |
| == ExtendScript == | | == ExtendScript == |
| === 日志 === | | === 打印 === |
| 使用 <code>$.writeln()</code> 与 <code>$.write()</code>。 | | 使用 <code>$.writeln()</code> 与 <code>$.write()</code>。 |
| {{Warning|console 未定义}} | | {{Warning|console 未定义}} |
| 第46行: |
第69行: |
| == 全局参数 == | | == 全局参数 == |
| === app === | | === app === |
| ===== 2017 =====
| | [[/打印app参数|打印app参数]] |
| app{{Version|phptoshop cc 2017}}
| |
| <pre>
| |
| colorSettings: Japan General Purpose 2
| |
| // 如果没有打开 ps 文件,则 activeDocument 抛错
| |
| activeDocument: [Document 奇舞团1024.psd]
| |
| name: Adobe Photoshop
| |
| path: /c/Program%20Files/Adobe/Photoshop%20CC
| |
| preferences: [Preferences]
| |
| scriptingVersion: 18.1.1
| |
| freeMemory: 7533521809
| |
| version: 18.1.1
| |
| displayDialogs: DialogModes.ERROR
| |
| foregroundColor: [SolidColor]
| |
| backgroundColor: [SolidColor]
| |
| playbackParameters: [ActionDescriptor]
| |
| playbackDisplayDialogs: DialogModes.NO
| |
| notifiersEnabled: false
| |
| windowsFileTypes:
| |
| macintoshFileTypes:
| |
| preferencesFolder: ~/AppData/Roaming/Adobe/Adobe%20Photoshop%20CC%202017/Adobe%20Photoshop%20CC%202017%20Settings
| |
| locale: zg_CN
| |
| documents: [Documents]
| |
| fonts: [TextFonts]
| |
| notifiers: [Notifiers]
| |
| scriptingBuildDate: Apr 25 2017 00:46:55
| |
| recentFiles: ~/Pictures/%E5%A5%87%E8%88%9E%E5%9B%A21024.psd
| |
| build: 18.1.1(2017.1.1 20170425.r.252 2017/04/25:23:00:00 CL 1113967)
| |
| systemInformation:
| |
| measurementLog: [MeasurementLog]
| |
| currentTool: marqueeRectTool
| |
| typename: Application
| |
| app end: [Document 奇舞团1024.psd]
| |
| </pre>
| |
| | |
| ===== 2021 =====
| |
| app{{Version|phptoshop cc 2021}}
| |
| | |
| <pre>
| |
| colorSettings: Japan General Purpose 2
| |
| activeDocument: [Document 奇舞团1024.psd]
| |
| name: Adobe Photoshop
| |
| path: /c/Program%20Files/Adobe/Adobe%20Photoshop%202021
| |
| preferences: [Preferences]
| |
| scriptingVersion: 22.3
| |
| freeMemory: 10788297549
| |
| version: 22.3.1
| |
| displayDialogs: DialogModes.ERROR
| |
| foregroundColor: [SolidColor]
| |
| backgroundColor: [SolidColor]
| |
| playbackParameters: [ActionDescriptor]
| |
| playbackDisplayDialogs: DialogModes.NO
| |
| notifiersEnabled: false
| |
| windowsFileTypes: PSD,PDD,PSDT,PSB,3DS,DAE,KMZ,GLB,GLTF,PLY,STL,OBJ,BMP,RLE,DIB,TIF,CRW,NEF,RAF,ORF,MRW,DCR,MOS,RAW,PEF,SRF,DNG,X3F,CR2,ERF,SR2,KDC,MFW,MEF,ARW,NRW,RW2,RWL,IIQ,3FR,FFF,SRW,GPR,DXO,ARQ,CR3,CIN,SDPX,DPX,FIDO,PSDC,DCM,DC3,DIC,EPS,EPS,EPS,EPS,GIF,HEIC,AVCI,HEIF,IFF,TDI,IGS,IGES,JPG,JPEG,JPE,JPF,JPX,JP2,J2C,J2K,JPC,JPS,EXR,PCX,PDF,PDP,RAW,PCT,PICT,PXR,PNG,PNG,PBM,PGM,PPM,PNM,PFM,PAM,PRC,HDR,RGBE,XYZE,SCT,SVG,SVGZ,TGA,VDA,ICB,VST,TIF,TIFF,U3D,MPO,264,3GP,3GPP,AVC,AVI,F4V,FLV,M4V,MOV,MP4,MPE,MPEG,MPG,MTS,MXF,R3D,TS,VOB,WM,WMV,EPS,AI3,AI4,AI5,AI6,AI7,AI8,PS,AI,EPSF,EPSP,WBM,WBMP,AAC,AC3,M2A,M4A,MP2,MP3,WMA,WM
| |
| macintoshFileTypes: 8BPS,8BPB,8BIM,8BIM,8BIM,8BIM,8BIM,8BIM,8BIM,8BIM,BMP , ,SDPX,8CPS, ,EPSF,EPSF,EPSF,EPSF,GIFf, ,ILBM,IGS ,JPEG,JPX ,JPS ,EXR ,PCX ,PDF ,PRAW,PICT,PXR ,PNGf,PBM+,PRC ,RHDR,..CT,8BIM,TPIC,TIFF,U3D ,MPO , ,8BIM,WBPf,8BIM
| |
| preferencesFolder: ~/AppData/Roaming/Adobe/Adobe%20Photoshop%202021/Adobe%20Photoshop%202021%20Settings
| |
| locale: zh_CN
| |
| documents: [Documents]
| |
| fonts: [TextFonts]
| |
| notifiers: [Notifiers]
| |
| scriptingBuildDate: Apr 6 2021 12:18:09
| |
| recentFiles: ~/Pictures/%E5%A5%87%E8%88%9E%E5%9B%A21024.psd,~/Documents/midown/%E7%9B%B8%E6%9C%BA/%E4%B8%89%E5%93%A5%E5%B8%A6%E9%A2%86%E4%B8%8B%E8%81%9A%E9%A4%90_2.jpg,~/Pictures/biaozhu-%E7%AC%AC%E5%85%AB%E7%89%88-%E6%9D%8E%E9%93%B6%E9%92%A2.psd,~/Pictures/biaozhu6.psd,~/Pictures/biaozhu4.psd,~/Pictures/biaozhu3.psd,~/Pictures/biaozhu2.psd,~/Pictures/biaozhu.psd
| |
| build: 22.3 (20210406.r.122 990be2c)
| |
| systemInformation: Adobe Photoshop 版本: 22.3.1 20210406.r.122 990be2c x64\r启动次数: 11\r操作系统:Windows 10 64 位\r版本: 10 或更高版本 10.0.19041.928\r系统结构: Intel CPU 系列: 6,型号: 12,分级: 1 具有 MMX 扩展指令集,SSE 整数,SSE 浮点,SSE2, SSE3, SSE4.1, SSE4.2, AVX, AVX2,超线程\r物理处理器数: 4\r逻辑处理器数: 8\r处理器速度: 3110 MHz\r内建内存: 16183 MB\r空闲内存:10363 MB\rPhotoshop 可用的内存: 14805 MB\rPhotoshop 占用的内存: 70 %\rSAM SDK Version: 2.0.0-main.363.5\rACP.local 状态:\r - SDK 版本: 1.41.1.1\r - Core Sync 状态: 未知的\r - 目前运行的 Core Sync: 不可用\r - 需要的最低 Core Sync: 4.3.28.24\rACPL 缓存配置: 不可用\r实时编辑客户端 SDK 版本: 3.79.23\rPresets Status:\r - 画笔: 28 local / 0 synced\r - 渐变: 183 local / 0 synced\r - 图案: 10 local / 0 synced\r - 形状: 54 local / 0 synced\r - 样式: 21 local / 0 synced\r - 色板: 122 local / 0 synced\rManta 画布: 启用。\r别名图层: 停用。\r修改键调板: 启用。\r远光灯: 启用。\r图像拼贴大小: 1024K\r图像高速缓存级别: 4\r字体预览: 中\r文本书写器: 东亚\r ------- GPU
| |
| OpenGL API stable: True.\rOpenCL API stable: True.\rNative API stable: True.\rGPUDeny: 0
| |
| GPUForce: 0
| |
| useGPU: 1
| |
| isCapableGPU: 1
| |
| GPUName: Intel(R) Iris(R) Xe Graphics
| |
| GPUVendor: INTEL
| |
| IsOpenGLGPUCapable: 1
| |
| IsNativeGPUCapable: 1
| |
| HasSufficientRAM: 1
| |
| VRAM: 8,618 MB
| |
| Required VRAM: 1,500 MB
| |
| UseGraphicsProcessorChecked: 1
| |
| UseOpenCLChecked: 1
| |
| Windows remote desktop: 0
| |
| GPU Allow Normal Mode: True.\rGPU Allow Advanced Mode: True.\rGPU Drawing Mode: 基本\r显示器: 1\r显示边界: 上= 0、左= 0、下= 1800、右= 2880 \r# Photoshop Version: 20210406.r.122 990be2c
| |
| Building native platform & platform info structure
| |
| Native platform info successfully constructed
| |
| Begin native platform info:
| |
| Platform info:
| |
| Displays:
| |
| Display \\\\.\\DISPLAY1
| |
| isMain = 1
| |
| isBuiltIn = 0
| |
| isStereo = 0
| |
| bounds = ((0 0) -> (1440 900), w=1440, h=900)
| |
| dimensions = (1440 900)
| |
| physicalSize = (0 0)
| |
| pixelSize = (0 0)
| |
| dynamic range = (0 1)
| |
| potential dynamic range = (0 1)
| |
| reference dynamic range = (0 0)
| |
| device = (DeviceID name=Intel(R) Iris(R) Xe Graphics index=0 preferred=1)
| |
| Devices:
| |
| (DeviceID name=Intel(R) Iris(R) Xe Graphics index=0 preferred=1)
| |
| Power Envelope : UNKNOWN
| |
| Device is removable : UNKNOWN
| |
| displays: 1
| |
| \\\\.\\DISPLAY1
| |
| GPU accessible RAM: 8,618 MB
| |
| VRAM: 134 MB
| |
| Dedicated System RAM: 0 MB
| |
| SharedSystem RAM: 8,484 MB
| |
| Platform specifics:
| |
| Device name: Intel(R) Iris(R) Xe Graphics
| |
| Vendor name: INTEL
| |
| Description: Intel(R) Iris(R) Xe Graphics
| |
| D3D-ID: 39497
| |
| End platform info.
| |
| End native platform info.
| |
| Building OpenGL platform & platform info structure
| |
| OpenGL platform info successfully constructed
| |
| Begin OpenGL platform info:
| |
| Platform info:
| |
| Displays:
| |
| Display \\\\.\\DISPLAY1
| |
| isMain = 1
| |
| isBuiltIn = 0
| |
| isStereo = 0
| |
| bounds = ((0 0) -> (1440 900), w=1440, h=900)
| |
| dimensions = (1440 900)
| |
| physicalSize = (0 0)
| |
| pixelSize = (0 0)
| |
| dynamic range = (0 1)
| |
| potential dynamic range = (0 1)
| |
| reference dynamic range = (0 0)
| |
| device = (DeviceID name=Intel(R) Iris(R) Xe Graphics index=0 preferred=1)
| |
| Devices:
| |
| (DeviceID name=Intel(R) Iris(R) Xe Graphics index=0 preferred=1)
| |
| Power Envelope : INTEGRATED
| |
| Device is removable : UNKNOWN
| |
| displays: 1
| |
| \\\\.\\DISPLAY1
| |
| GPU accessible RAM: 8,618 MB
| |
| VRAM: 134 MB
| |
| Dedicated System RAM: 0 MB
| |
| SharedSystem RAM: 8,484 MB
| |
| Platform specifics:
| |
| Device name: Intel(R) Iris(R) Xe Graphics
| |
| Vendor name: INTEL
| |
| OpenGL version: 4.6 (4.6.0 - Build 27.20.100.9415)
| |
| GLSL version: 4.60 (4.60 - Build 27.20.100.9415)
| |
| End platform info.
| |
| End OpenGL platform info.
| |
| Building OpenCL platform & platform info structure
| |
| OpenCL platform info successfully constructed
| |
| Begin OpenCL platform info:
| |
| Platform info:
| |
| Displays:
| |
| Devices:
| |
| (DeviceID name=Intel(R) Iris(R) Xe Graphics index=0 preferred=1)
| |
| Power Envelope : INTEGRATED
| |
| Device is removable : UNKNOWN
| |
| displays: 0
| |
| GPU accessible RAM: 6,787 MB
| |
| VRAM: 6,787 MB
| |
| Dedicated System RAM: 0 MB
| |
| SharedSystem RAM: 0 MB
| |
| Platform specifics:
| |
| Device name: Intel(R) Iris(R) Xe Graphics
| |
| Vendor name: INTEL
| |
| Device version: 3.0 (OpenCL 3.0 NEO )
| |
| OpenCL platform name: Intel(R) OpenCL HD Graphics
| |
| OpenCL platform vesion: 3.0 (OpenCL 3.0 )
| |
| End platform info.
| |
| End OpenCL platform info.
| |
| Tester=\"Photoshop\"
| |
| snifferStart=\"2021-05-24_11:20:34\"
| |
| NumGLGPUs=1
| |
| glgpu[0].GLVersion=\"4.6\"
| |
| glgpu[0].IsIntegratedGLGPU=1
| |
| glgpu[0].GLMemoryMB= 134
| |
| glgpu[0].GLName=\"Intel(R) Iris(R) Xe Graphics\"
| |
| glgpu[0].GLVendor=\"INTEL\"
| |
| glgpu[0].GLDriverVersion=\"27.20.100.9415\"
| |
| glgpu[0].GLDriver=\"C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igdumdim64.dll,C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igd10iumd64.dll,C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igd10iumd64.dll,C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igd12umd64.dll\"
| |
| glgpu[0].GLDriverDate=\"20210322000000.000000-000\"
| |
| glgpu[0].GLRenderer=\"Intel(R) Iris(R) Xe Graphics\"
| |
| glgpu[0].HasGLNPOTSupport=1
| |
| glgpu[0].CanCompileProgramGLSL=1
| |
| glgpu[0].GLFrameBufferOK=1
| |
| glgpu[0].GLIsPreferred=1
| |
| NumCLGPUs=1
| |
| clgpu[0].CLPlatformVersion=\"OpenCL 3.0 \"
| |
| clgpu[0].CLDeviceVersion=\"3.0\"
| |
| clgpu[0].IsIntegratedCLGPU=1
| |
| clgpu[0].CLMemoryMB= 6,787
| |
| clgpu[0].CLName=\"Intel(R) Iris(R) Xe Graphics\"
| |
| clgpu[0].CLVendor=\"INTEL\"
| |
| clgpu[0].CUDASupported=0
| |
| clgpu[0].CLIsPreferred=1
| |
| clgpu[0].CLBandwidth=5.000000e+10
| |
| clgpu[0].CLCompute=680.290215
| |
| clgpu[0].CLRawDeviceName=Intel(R) Iris(R) Xe Graphics
| |
| clgpu[0].CLRawDeviceVendor=Intel(R) Corporation
| |
| clgpu[0].CLRawPlatformName=Intel(R) OpenCL HD Graphics
| |
| clgpu[0].CLRawPlatformVendor=Intel(R) Corporation
| |
| NumNativeGPUs=1
| |
| nativegpu[0].NativeName=\"Intel(R) Iris(R) Xe Graphics\"
| |
| nativegpu[0].NativeGPUAccessibleRAMInMB= 8,618
| |
| nativegpu[0].NativeVRAMInMB= 134
| |
| nativegpu[0].NativeDedicatedSystemRAMInMB= 0
| |
| nativegpu[0].NativeSharedSystemRAMInMB= 8,484
| |
| nativegpu[0].NativeVendor=\"INTEL\"
| |
| nativegpu[0].NativeDriver=\"C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igdumdim64.dll,C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igd10iumd64.dll,C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igd10iumd64.dll,C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igd12umd64.dll\"
| |
| nativegpu[0].NativeDriverVersion=\"27.20.100.9415\"
| |
| nativegpu[0].NativeDriverDate=\"20210322000000.000000-000\"
| |
| nativegpu[0].NativePowerEnvelope=\"UNKNOWN\"
| |
| nativegpu[0].NativeDeviceAttachment=\"UNKNOWN\"
| |
| nativegpu[0].NativeAPIVersion=\"12.0 (12.0)\"
| |
| nativegpu[0].NativeIsPreferred=1
| |
| snifferEnd=\"2021-05-24_11:20:35\"
| |
| ------- GPU
| |
| $$$/LE/SysInfo/LicenseType=License Type: $$$/CSerialNumber/TryoutSerialDisplay=Tryout Version^r序列号: 试用版\rGUIDBucket:Composite Core (enable_composite_core): onComposite Core GPU (comp_core_gpu): offComposite Core Threads (comp_core_threads): offComposite Core UI (comp_core_ui): offDocument Graph (enable_doc_graph): off\r应用程序文件夹: C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\\r临时文件路径: C:\\Users\\365\\AppData\\Local\\Temp\\\rPhotoshop 暂存盘具有异步 I/O 已启用\r暂存卷:\r 启动,200.0G,85.8G 可用\r必需的增效工具文件夹: C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\Plug-ins\\\r主要增效工具文件夹: C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Plug-ins\\\r\r安装的组件:\r A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112 \r ACE.dll ACE 2021/02/13-21:23:31 79.628125 79.628125\r AdbePM.dll PatchMatch 2021/03/18:01:58:50 1.629038 1.629038\r AdobeLinguistic.dll Adobe Linguisitc Library developer.633ca06620e3b28a3ccee5d61e3e97bd84fe66b3 \r AdobeOwl.dll Adobe Owl 5.5.0 \r AdobePDFL.dll PDFL 2020/08/08-01:12:48 79.395135 79.395135\r AdobePDFSettings.dll Adobe PDFSettings 1.07 \r AdobePIP.dll Adobe Product Improvement Program 8.2.0.7 \r AdobeSVGAGM.dll AdobeSVGAGM 79.628125 79.628125\r AdobeXMP.dll Adobe XMP Core 2021/02/15-11:52:13 79.164753 79.164753\r AdobeXMPFiles.dll Adobe XMP Files 2021/02/15-11:52:13 79.164753 79.164753\r AdobeXMPScript.dll Adobe XMP Script 2021/02/15-11:52:13 79.164753 79.164753\r adobe_caps.dll Adobe CAPS 10,0,0,6 \r AGM.dll AGM 2021/02/13-21:23:31 79.628125 79.628125\r AID.dll AID DLL 1.0.0.12 \r AIDE.dll AIDE 2021/02/17-19:47:02 79.627469 79.627469\r ARE.dll ARE 2021/02/13-21:23:31 79.628125 79.628125\r AXE8SharedExpat.dll AXE8SharedExpat 2020/08/01-01:08:32 79.622927 79.622927\r AXEDOMCore.dll AXEDOMCore 2020/08/01-01:08:32 79.622927 79.622927\r Bib.dll BIB 2021/02/13-21:23:31 79.628125 79.628125\r BIBUtils.dll BIBUtils 2021/02/13-21:23:31 79.628125 79.628125\r boost_date_time.dll photoshopdva 14.0.0 \r boost_filesystem.dll photoshopdva 14.0.0 \r boost_program_options.dll photoshopdva 14.0.0 \r boost_regex.dll photoshopdva 14.0.0 \r boost_system.dll photoshopdva 14.0.0 \r boost_threads.dll photoshopdva 14.0.0 \r CoolType.dll CoolType 2021/02/13-21:23:31 79.628125 79.628125\r CRClient.dll Adobe Crash Reporter Client DLL 4.7.0.0 \r DirectML.dll DirectML Redistributable Library 1.4.0+201111-2330.1.fe.bdb07c7 \r dnssd.dll Bonjour 3,0,0,2 \r dvaaccelerate.dll photoshopdva 14.0.0 \r dvaappsupport.dll photoshopdva 14.0.0 \r dvaaudiodevice.dll photoshopdva 14.0.0 \r dvacore.dll photoshopdva 14.0.0 \r dvacrashhandler.dll Adobe Audition CC 2017 10.0.0 \r dvamarshal.dll photoshopdva 14.0.0 \r dvamediatypes.dll photoshopdva 14.0.0 \r dvametadata.dll photoshopdva 14.0.0 \r dvametadataapi.dll photoshopdva 14.0.0 \r dvametadataui.dll photoshopdva 14.0.0 \r dvanet.dll photoshopdva 14.0.0 \r dvaplayer.dll photoshopdva 14.0.0 \r dvascripting.dll photoshopdva 14.0.0 \r dvatransport.dll photoshopdva 14.0.0 \r dvaui.dll photoshopdva 14.0.0 \r dvaunittesting.dll photoshopdva 14.0.0 \r dvavulcansupport.dll photoshopdva 14.0.0 \r dynamiclink.dll photoshopdva 14.0.0 \r ExtendScript.dll ExtendScript 2019/07/29-10:07:31 82.2 82.2\r icucnv66.dll International Components for Unicode Build dev.1a8973dfe99250a665e321702b3d76963c65bdfe \r icudt66.dll International Components for Unicode Build dev.1a8973dfe99250a665e321702b3d76963c65bdfe \r icuuc66.dll International Components for Unicode Build dev.1a8973dfe99250a665e321702b3d76963c65bdfe \r igestep30.dll IGES Reader 9.3.0.113 \r ippcc.dll ippCC. Intel(R) Integrated Performance Primitives. Color Conversion. 2020.0.1 (r0x35c5ec66) \r ippcck0.dll ippCC. Intel(R) Integrated Performance Primitives. Color Conversion. 2020.0.1 (r0x35c5ec66) \r ippccl9.dll ippCC. Intel(R) Integrated Performance Primitives. Color Conversion. 2020.0.1 (r0x35c5ec66) \r ippccy8.dll ippCC. Intel(R) Integrated Performance Primitives. Color Conversion. 2020.0.1 (r0x35c5ec66) \r ippcore.dll core. Intel(R) Integrated Performance Primitives. Core Library. 2020.0.1 (r0x35c5ec66) \r ippcv.dll ippCV. Intel(R) Integrated Performance Primitives. Computer Vision. 2020.0.1 (r0x35c5ec66) \r ippcvk0.dll ippCV. Intel(R) Integrated Performance Primitives. Computer Vision. 2020.0.1 (r0x35c5ec66) \r ippcvl9.dll ippCV. Intel(R) Integrated Performance Primitives. Computer Vision. 2020.0.1 (r0x35c5ec66) \r ippcvy8.dll ippCV. Intel(R) Integrated Performance Primitives. Computer Vision. 2020.0.1 (r0x35c5ec66) \r ippi.dll ippIP. Intel(R) Integrated Performance Primitives. Image Processing. 2020.0.1 (r0x35c5ec66) \r ippik0.dll ippIP. Intel(R) Integrated Performance Primitives. Image Processing. 2020.0.1 (r0x35c5ec66) \r ippil9.dll ippIP. Intel(R) Integrated Performance Primitives. Image Processing. 2020.0.1 (r0x35c5ec66) \r ippiy8.dll ippIP. Intel(R) Integrated Performance Primitives. Image Processing. 2020.0.1 (r0x35c5ec66) \r ipps.dll ippSP. Intel(R) Integrated Performance Primitives. Signal Processing. 2020.0.1 (r0x35c5ec66) \r ippsk0.dll ippSP. Intel(R) Integrated Performance Primitives. Signal Processing. 2020.0.1 (r0x35c5ec66) \r ippsl9.dll ippSP. Intel(R) Integrated Performance Primitives. Signal Processing. 2020.0.1 (r0x35c5ec66) \r ippsy8.dll ippSP. Intel(R) Integrated Performance Primitives. Signal Processing. 2020.0.1 (r0x35c5ec66) \r ippvm.dll ippVM. Intel(R) Integrated Performance Primitives. Vector Math. 2020.0.1 (r0x35c5ec66) \r ippvmk0.dll ippVM. Intel(R) Integrated Performance Primitives. Vector Math. 2020.0.1 (r0x35c5ec66) \r ippvml9.dll ippVM. Intel(R) Integrated Performance Primitives. Vector Math. 2020.0.1 (r0x35c5ec66) \r ippvmy8.dll ippVM. Intel(R) Integrated Performance Primitives. Vector Math. 2020.0.1 (r0x35c5ec66) \r JP2KLib.dll JP2KLib 2021/02/17-19:47:02 79.277121 79.277121\r libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A) \r libiomp5md.dll Intel(R) OpenMP* Runtime Library 5.0 \r libmmd.dll Intel(R) C/C++/Fortran Compiler Mainline \r libzip.dll photoshopdva 14.0.0 \r LogSession.dll LogSession 8.2.0.7 \r mediacoreif.dll photoshopdva 14.0.0 \r Microsoft.AI.MachineLearning.dll Microsoft? Windows? Operating System 1.6.20201209.5.718ca7f \r mkl_avx2.dll Intel? Math Kernel Library 2020.0 \r mkl_avx512.dll Intel? Math Kernel Library 2020.0 \r mkl_core.dll Intel? Math Kernel Library 2020.0 \r mkl_def.dll Intel? Math Kernel Library 2020.0 \r mkl_mc3.dll Intel? Math Kernel Library 2020.0 \r mkl_sequential.dll Intel? Math Kernel Library 2020.0 \r mkl_vml_avx2.dll Intel? Math Kernel Library 2020.0 \r mkl_vml_avx512.dll Intel? Math Kernel Library 2020.0 \r mkl_vml_def.dll Intel? Math Kernel Library 2020.0 \r mkl_vml_mc3.dll Intel? Math Kernel Library 2020.0 \r MPS.dll MPS 2021/02/13-00:38:12 79.628096 79.628096\r onnxruntime.dll Microsoft? Windows? Operating System 1.6.20201209.5.718ca7f \r opencv_world440.dll OpenCV library 4.4.0 \r Photoshop.dll Adobe Photoshop 2021 22.3 \r Plugin.dll Adobe Photoshop 2021 22.3 \r PlugPlugExternalObject.dll Adobe(R) CEP PlugPlugExternalObject Standard Dll (64 bit) 10.1.0 \r PlugPlugOwl.dll Adobe(R) CSXS PlugPlugOwl Standard Dll (64 bit) 10.1.0.15 \r PSCloud.dll 1.0.0.1 \r PSViews.dll Adobe Photoshop 2021 22.3 \r ScCore.dll ScCore 2019/07/29-10:07:31 82.2 82.2\r SVGRE.dll SVGRE 79.623146 79.623146\r svml_dispmd.dll Intel(R) C/C++/Fortran Compiler Mainline \r tbb.dll Intel(R) Threading Building Blocks for Windows 2020, 2, 2020, 0311 \r tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 2020, 2, 2020, 0311 \r TfKernel.dll Kernel Geom 9.3.0.113 \r TFUGEOM.dll Adobe, UGeom? 9.3.0.113 \r utest.dll photoshopdva 14.0.0 \r VulcanControl.dll Vulcan Application Control Library 6.6.0.000 \r VulcanMessage5.dll Vulcan Message Library 6.6.0.000 \r WinRTSupport.dll Adobe Photoshop Windows RT Support 22.2.0.0 \r WRServices.dll WRServices Build 16.1.0.7af3873 16.1.0.7af3873\r wu3d.dll U3D Writer 9.3.0.113 \r 统一的可扩展性平台 uxp-4.4.1.71\r\r\r必需的增效工具:\r\r “裁剪并拉直照片”滤镜 22.3 - 来自文件“Standard MultiPlugin.8bf”\r BMP 22.3 - 来自文件“Standard MultiPlugin.8bf”\r Camera Raw 13.2 - 来自文件“Camera Raw.8bi”\r Camera Raw 滤镜 13.2 - 来自文件“Camera Raw.8bi”\r Cineon 22.3 (20210406.r.122 990be2c) - 来自文件“Cineon.8bi”\r Dicom 22.3 - 来自文件“Dicom.8bi”\r FastCore 例程 22.3 (20210406.r.122 990be2c) - 来自文件“FastCore.8bx”\r Halide Bottlenecks 22.3 (20210406.r.122 990be2c) - 来自文件“HalideBottlenecks.8bx”\r HDRMergeUI 22.3 - 来自文件“HDRMergeUI.8bf”\r HSB/HSL 22.3 - 来自文件“Standard MultiPlugin.8bf”\r IFF 格式 22.3 - 来自文件“Standard MultiPlugin.8bf”\r IGES 22.3 (20210406.r.122 990be2c) - 来自文件“U3D.8bi”\r JPEG 2000 22.3 - 来自文件“JPEG2000.8bi”\r Matlab Operation 22.3 (20210406.r.122 990be2c) - 来自文件“ChannelPort.8bf”\r MeasurementCore 22.3 (20210406.r.122 990be2c) - 来自文件“MeasurementCore.8me”\r MMXCore 例程 22.3 (20210406.r.122 990be2c) - 来自文件“MMXCore.8bx”\r NTSC 颜色 22.3 (20210406.r.122 990be2c) - 来自文件“NTSC Colors.8bf”\r OpenEXR 22.3 - 来自文件“Standard MultiPlugin.8bf”\r PCX 22.3 (20210406.r.122 990be2c) - 来自文件“PCX.8bi”\r Pixar 22.3 (20210406.r.122 990be2c) - 来自文件“Pixar.8bi”\r Portable Bit Map 22.3 (20210406.r.122 990be2c) - 来自文件“PBM.8bi”\r PRC 22.3 (20210406.r.122 990be2c) - 来自文件“U3D.8bi”\r Radiance 22.3 (20210406.r.122 990be2c) - 来自文件“Radiance.8bi”\r Spaces 22.3 - 来自文件“Spaces.8li”\r Targa 22.3 - 来自文件“Standard MultiPlugin.8bf”\r U3D 22.3 (20210406.r.122 990be2c) - 来自文件“U3D.8bi”\r WIA 支持 22.3 (20210406.r.122 990be2c) - 来自文件“WIASupport.8li”\r 中间值 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r 云彩 22.3 (20210406.r.122 990be2c) - 来自文件“Clouds.8bf”\r 便条纸 22.3 - 来自文件“Filter Gallery.8bf”\r 偏度 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r 凸出 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 分层云彩 22.3 (20210406.r.122 990be2c) - 来自文件“Clouds.8bf”\r 切变 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 半调图案 22.3 - 来自文件“Filter Gallery.8bf”\r 喷溅 22.3 - 来自文件“Filter Gallery.8bf”\r 喷色描边 22.3 - 来自文件“Filter Gallery.8bf”\r 图片包滤镜 22.3 (20210406.r.122 990be2c) - 来自文件“ChannelPort.8bf”\r 图章 22.3 - 来自文件“Filter Gallery.8bf”\r 基底凸现 22.3 - 来自文件“Filter Gallery.8bf”\r 塑料包装 22.3 - 来自文件“Filter Gallery.8bf”\r 墨水轮廓 22.3 - 来自文件“Filter Gallery.8bf”\r 壁画 22.3 - 来自文件“Filter Gallery.8bf”\r 多处理器支持 22.3 (20210406.r.122 990be2c) - 来自文件“MultiProcessor Support.8bx”\r 存储为 Web 所用格式 22.3 - 来自文件“Save for Web.8be”\r 导出颜色查找表 22.3 (20210406.r.122 990be2c) - 来自文件“Export3DLUT.8be”\r 峰度 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r 干画笔 22.3 - 来自文件“Filter Gallery.8bf”\r 平均 22.3 (20210406.r.122 990be2c) - 来自文件“Average.8bf”\r 平均值 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r 底纹效果 22.3 - 来自文件“Filter Gallery.8bf”\r 强化的边缘 22.3 - 来自文件“Filter Gallery.8bf”\r 彩色半调 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 彩色铅笔 22.3 - 来自文件“Filter Gallery.8bf”\r 影印 22.3 - 来自文件“Filter Gallery.8bf”\r 径向模糊 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 总和 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r 成角的线条 22.3 - 来自文件“Filter Gallery.8bf”\r 扩散亮光 22.3 - 来自文件“Filter Gallery.8bf”\r 拼缀图 22.3 - 来自文件“Filter Gallery.8bf”\r 拼贴 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 挤压 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 撕边 22.3 - 来自文件“Filter Gallery.8bf”\r 方差 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r 旋转扭曲 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 无线位图 22.3 (20210406.r.122 990be2c) - 来自文件“WBMP.8bi”\r 晶格化 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 曝光过度 22.3 (20210406.r.122 990be2c) - 来自文件“Solarize.8bf”\r 最大值 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r 最小值 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r 木刻 22.3 - 来自文件“Filter Gallery.8bf”\r 极坐标 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 染色玻璃 22.3 - 来自文件“Filter Gallery.8bf”\r 标准偏差 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r 水彩 22.3 - 来自文件“Filter Gallery.8bf”\r 水彩画纸 22.3 - 来自文件“Filter Gallery.8bf”\r 水波 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 波浪 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 波纹 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 海报边缘 22.3 - 来自文件“Filter Gallery.8bf”\r 海洋波纹 22.3 - 来自文件“Filter Gallery.8bf”\r 海绵 22.3 - 来自文件“Filter Gallery.8bf”\r 涂抹棒 22.3 - 来自文件“Filter Gallery.8bf”\r 消失点 22.3 - 来自文件“VanishingPoint.8bf”\r 液化 22.3 - 来自文件“Liquify.8bf”\r 深色线条 22.3 - 来自文件“Filter Gallery.8bf”\r 渲染颜色查找网格 22.3 (20210406.r.122 990be2c) - 来自文件“Export3DLUT.8be”\r 滤镜库 22.3 - 来自文件“Filter Gallery.8bf”\r 炭笔 22.3 - 来自文件“Filter Gallery.8bf”\r 炭精笔 22.3 - 来自文件“Filter Gallery.8bf”\r 点状化 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 烟灰墨 22.3 - 来自文件“Filter Gallery.8bf”\r 照亮边缘 22.3 - 来自文件“Filter Gallery.8bf”\r 熵 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r 特殊模糊 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 玻璃 22.3 - 来自文件“Filter Gallery.8bf”\r 球面化 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 石膏效果 22.3 - 来自文件“Filter Gallery.8bf”\r 粉笔和炭笔 22.3 - 来自文件“Filter Gallery.8bf”\r 粗糙蜡笔 22.3 - 来自文件“Filter Gallery.8bf”\r 纤维 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 纹理化 22.3 - 来自文件“Filter Gallery.8bf”\r 绘图笔 22.3 - 来自文件“Filter Gallery.8bf”\r 绘画涂抹 22.3 - 来自文件“Filter Gallery.8bf”\r 网状 22.3 - 来自文件“Filter Gallery.8bf”\r 置换 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 胶片颗粒 22.3 - 来自文件“Filter Gallery.8bf”\r 脚本支持 22.3 - 来自文件“ScriptingSupport.8li”\r 自适应广角 22.3 - 来自文件“Adaptive Wide Angle.8bf”\r 范围 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r 裁剪并拉直照片 22.3 (20210406.r.122 990be2c) - 来自文件“CropPhotosAuto.8li”\r 调色刀 22.3 - 来自文件“Filter Gallery.8bf”\r 路径到 Illustrator 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 逐行 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 铜版雕刻 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 铬黄 22.3 - 来自文件“Filter Gallery.8bf”\r 镜头光晕 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 镜头校正 22.3 - 来自文件“Lens Correction.8bf”\r 镜头模糊 22.3 - 来自文件“Lens Blur.8bf”\r 防抖 22.3 - 来自文件“Shake Reduction.8bf”\r 阴影线 22.3 - 来自文件“Filter Gallery.8bf”\r 霓虹灯光 22.3 - 来自文件“Filter Gallery.8bf”\r 颗粒 22.3 - 来自文件“Filter Gallery.8bf”\r 风 22.3 - 来自文件“Standard MultiPlugin.8bf”\r 马赛克拼贴 22.3 - 来自文件“Filter Gallery.8bf”\r 龟裂缝 22.3 - 来自文件“Filter Gallery.8bf”\r\r可选的和第三方增效工具: 无\r\r\r重复和禁用的增效工具: 无\r\r\r未能载入的增效工具: 无\r\r统一的可扩展性平台 - 扩展:\r\r Home Screen (已载入) 4.2.0.21 - 来自文件“C:\\Program Files\\Common Files\\Adobe/UXP/Extensions\\com.adobe.ccx.start-4.2.0\\”\rCDO: 1.87.0
| |
| CmdN: 1.7.6
| |
| CDP: 1.110.0\r Discover Panel (已载入) 1.4.0.24 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\UXP/\\com.adobe.unifiedpanel\\”\r\r ccx-timeline (已准备) 2.6.37.0 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\UXP/\\com.adobe.ccx.timeline\\”\r\r Neural Filters (已准备) 1.4.11.0 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\UXP/\\com.adobe.nfp.gallery\\”\r\r Photoshop UXP Export-As (已准备) 5.4.4.0 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\UXP/\\com.adobe.photoshop.exportAs\\”\r\r Photoshop Personalization (已载入) 1.0.0.0 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\UXP/\\com.adobe.photoshop.personalization\\”\r\r Plugins Panel (已准备) 1.2.0.0 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\UXP/\\com.adobe.pluginspanel\\”\r\r\r扩展功能:\r\r 库 1.0.0 - 来自文件“C:\\Program Files\\Common Files\\Adobe\\CEP\\extensions\\CC_LIBRARIES_PANEL_EXTENSION_3_12_165-1\\index.html”\r 主页 2.16.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.adobe.ccx.start-2.16.0\\index.html?v=2.16.0.8”\r 蓝湖 0.0.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.lanhuapp.ps\\index.html”\r 导出为 4.8.13 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\CEP\\extensions\\com.adobe.photoshop.crema\\index.html”\r 360设计云 0.0.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.medici.ps\\index.html”\r com.lanhu.extension-shadow 0.0.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.lanhuapp.ps\\MIX\\Shadow\\index.html”\r 新建文档 3.5.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.adobe.ccx.fnft-3.5.0\\fnft.html?v=3.5.0.4”\r com.adobe.capture.extension 1.0.0 - 来自文件“C:\\Program Files\\Common Files\\Adobe\\CEP\\extensions\\CC_LIBRARIES_PANEL_EXTENSION_3_12_165-1\\extensions\\capture\\capture.html”\r com.adobe.stock.panel.licensing-embedded 1.0.0 - 来自文件“C:\\Program Files\\Common Files\\Adobe\\CEP\\extensions\\CC_LIBRARIES_PANEL_EXTENSION_3_12_165-1\\extensions\\stock-panel-licensing\\index.html”\r 设计云 0.1.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\
| |
| et.qihoo.design\\index.html”\r CoDesign(beta) 0.4.3 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.codesign.ps\\dist\\index.html”\r Adobe Color Themes 6.1.0 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\CEP\\extensions\\com.adobe.KulerPanel.html\\index.html”\r com.medici.extension-shadow 0.0.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.medici.ps\\shadow\\index.html”\r 导出为 4.8.13 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\CEP\\extensions\\com.adobe.photoshop.crema\\index.html”\r com.adobe.cclibraries.manager 1.0.0 - 来自文件“C:\\Program Files\\Common Files\\Adobe\\CEP\\extensions\\CC_LIBRARIES_PANEL_EXTENSION_3_12_165-1\\manager.html”\r\r已安装的 TWAIN 设备: 无
| |
| measurementLog: [MeasurementLog]
| |
| currentTool: moveTool
| |
| typename: Application
| |
| </pre>
| |
|
| |
|
| === CSInterface === | | === CSInterface === |
| 第322行: |
第122行: |
| 参考: | | 参考: |
| * https://theiviaxx.github.io/photoshop-docs/Photoshop/Document.html | | * https://theiviaxx.github.io/photoshop-docs/Photoshop/Document.html |
| | == 导出格式 == |
| | [[/导出格式|导出格式]] |
|
| |
|
| == photoshop dom == | | == photoshop dom == |
| === 图层(ArtLayers) === | | === 图层集合 === |
| === 图层组(LayerSets) === | | ==== 图层(ArtLayers) ==== |
| | 文档根目录的图层的集合。 |
| | <syntaxhighlight lang="javascript"> |
| | for (var i =0; i< app.activeDocument.artLayers.length; i += 1) { |
| | $.writeln("图层: " + app.activeDocument.artLayers[i].name); |
| | }</syntaxhighlight> |
| | |
| | ==== 图层组(LayerSets) ==== |
| | 图层组的合集 |
| | ==== 图层和图层组(layers) ==== |
| | 所有图层和图层组的集合 |
| | |
| | === 遍历图层 === |
| | <syntaxhighlight lang="javascript"> |
| | function getLayers(layers, count) { |
| | var out = ''; |
| | for (var i =0; i<layers.length; i++) { |
| | if(layers[i].typename == 'LayerSet') { |
| | out += '\n ' + new Array(count + 1).join(' ') + '[' + layers[i].name + ']'; |
| | out += getLayers(layers[i].layers, count + 1); |
| | } else { |
| | out += '\n ' + new Array(count + 1).join(' ') + layers[i].name; |
| | } |
| | } |
| | return out; |
| | } |
| | $.writeln(getLayers(app.activeDocument.layers, 0));</syntaxhighlight> |
| | |
| | == 事件 == |
| | === 属性 === |
| | {| class="wikitable" |
| | |- |
| | ! 属性 !! 名称 !! 作用 |
| | |- |
| | | type || 类型 || 识别事件的名称 |
| | |- |
| | | scope || 作用范围 || "APPLICATION" (当前宿主应用)或者 "GLOBAL" (全局 |
| | |- |
| | | appId || 应用 ID || 生成事件的宿主应用的识别名称。可选 |
| | |- |
| | | extensionId || 扩展 ID || 生成事件的扩展的识别名称。可选 |
| | |- |
| | | data || 数据 || 事件携带的数据 |
| | |} |
| | === 事件分类 === |
| | ==== CEP 事件 ==== |
| | ===== 事件类型 ===== |
| | * 宿主程序事件(applicationActivate、documentAfterActivate 等)。 |
| | ** documentAfterActivate 文档被激活 |
| | :: <syntaxhighlight lang="html5"> |
| | <documentAfterActivate><name>biaozhu-第十二版-多画板</name><url>file:///C:/Users/365/Pictures-第十二版-多画板.psd</url></documentAfterActivate></syntaxhighlight> |
| | * 自定义事件。 |
| | |
| | 宿主事件列表 |
| | {| class="wikitable" |
| | |- |
| | | com.adobe.csxs.events.AppOffline || applicationActivate || documentAfterActivate |
| | |- |
| | | com.adobe.csxs.events.AppOnline || applicationBeforeQuit || documentAfterDeactivate |
| | |- |
| | | documentEdited || 示例 || 示例 |
| | |} |
| | |
| | ==== ExtendScript 事件 ==== |
| | com.adobe.PhotoshopJSONCallback 事件集中监听 ExtendScript 事件,并自己通过 eventID 判断接受到的是何种事件 |
| | |
| | ==== 参考 ==== |
| | [[/photoshop_Events_CC2015_ver_16|Photoshop Events (CC2015 ver.16)]] |
| | |
| | === 返回值 === |
| | 选中图层事件: |
| | <syntaxhighlight lang="javascript"> |
| | {"_obj":"select","layerID":[136],"makeVisible":false,"null":{"_name":"多字体和颜色","_ref":"layer"}}</syntaxhighlight> |
| | |
| | 切换 PSD 文档事件(根据 documentID): |
| | <syntaxhighlight lang="javascript"> |
| | {"documentID":416,"null":{"_offset":-1,"_ref":"document"}}</syntaxhighlight> |
| | |
| == ID == | | == ID == |
| <pre> | | <pre> |
| 第336行: |
第215行: |
| | [[/charIDToTypeID|charIDToTypeID]] || 示例 || 示例 | | | [[/charIDToTypeID|charIDToTypeID]] || 示例 || 示例 |
| |} | | |} |
| | |
| | === eventID === |
| | {{Warning|<code>com.adobe.PhotoshopCallback</code>{{Version|photoshop cc 2015}} 被弃用。并启用 <code>com.adobe.PhotoshopJSONCallback</code>,同时必须将ExtensionID作为后缀添加。}} |
|
| |
|
| == debug == | | == debug == |
| [[chrome://inspect/#devices|chrome 端口调试]]
| | * <nowiki>chrome://inspect/#devices</nowiki> chrome 端口调试 |
|
| |
|
| == 错误捕获 == | | == 错误捕获 == |
| 第349行: |
第231行: |
| == 开发记录 == | | == 开发记录 == |
| * [[/开发记录|开发记录]] | | * [[/开发记录|开发记录]] |
| | == 提速 == |
| | <syntaxhighlight lang="javascript"> |
| | var r = new ActionReference(); |
| | var d = new ActionDescriptor(); |
| | r.putProperty(stringIDToTypeID("property"), stringIDToTypeID("layerID")); |
| | r.putEnumerated(stringIDToTypeID("layer"), stringIDToTypeID("ordinal"), stringIDToTypeID("targetEnum")); |
| | d.putReference(charIDToTypeID('null'), r); |
| | // 限制getd获取的范围提升代码响应速度,使用 r.putProperty(stringIDToTypeID("property"), stringIDToTypeID("layerID")); |
| | var options = executeAction(charIDToTypeID( "getd" ), d, DialogModes.NO); |
| | var layerID= options.getInteger(stringIDToTypeID("layerID")); |
| | $.writeln (layerID)</syntaxhighlight> |
| | == 签名 == |
| | === 开发者模式 === |
| | 绕过签名,调试未签名的扩展。 |
| | |
| | * windows: 注册表 PlayerDebugMode 1,类型为 string。eq:<code>regedit > HKEY_CURRENT_USER/Software/Adobe/CSXS.8</code>。 |
| | * mac: 命令行输入 <syntaxhighlight lang="bash" inline> |
| | defaults write com.adobe.CSXS.8 PlayerDebugMode 1</syntaxhighlight>,配置所在位置,<code>/Users/ <username>/Library/Preferences/com.adobe.CSXS.8.plist</code>。需要重启 cfprefsd 进程。 |
| | |
| | === 证书 === |
| | ==== 自签名证书(self-signed certificates) ==== |
| | |
| | ==== 商业签名证书(commercial certificates) ==== |
| | |
| | === ZXPSignCmd === |
| | Adobe 官方发布的签名与打包的命令行工具。 |
| | |
| | * 创建证书 |
| | <blockquote><pre> |
| | ZXPSignCmd -selfSignedCert <countryCode> <stateOrProvince> <organization> <commonName> <password> <outputPath.p12> |
| | ZXPSignCmd -selfSignedCert <国家代码> <地区> <组织名> <证书所有者名称> <证书密码> <证书名.p12> |
| | </pre></blockquote> |
| | |
| | {{Shc_out|<syntaxhighlight lang="shell"> |
| | .\ZXPSignCmd.exe -selfSignedCert CN Beijing design.qihoo.net qihoo kangjian design-qihoo.p12</syntaxhighlight>|<syntaxhighlight lang="bash"> |
| | Signed successfully |
| | </syntaxhighlight>|PS|C:\work\ZXPSignCMD }} |
| | * 签名并打包 |
| | <blockquote><pre> |
| | ZXPSignCmd -sign <inputDirectory> <outputZxp> <p12> <p12Password> -tsa <timestampURL> |
| | ZXPSignCmd -sign <要打包的项目目录> <输出文件路径> <证书路径> <证书密码> -tsa <时间戳服务地址> |
| | </pre></blockquote> |
| | |
| | {{Shc_out|<syntaxhighlight lang="shell"> |
| | .\ZXPSignCmd.exe -sign ".\zip\net.qihoo.design\" ".\zip\net.qihoo.design.zip" ".\design-qihoo.p12" "kangjian"</syntaxhighlight>|<syntaxhighlight lang="bash"> |
| | Signed successfully |
| | </syntaxhighlight>|PS|C:\work\ZXPSignCMD }} |
| | |
| | == 用户数据或者下载内容 == |
| | == 二进制 == |
| | window.cep.fs? |
| | |
| | === 文件路径 === |
| | Unix 风格的 <code>/</code> 分隔,Windows 风格的 <code>\\</code>。 |
| | |
| | ==== 跨平台路径处理 ==== |
| | 路径标准化 <code>path.normalize()</code> |
| | |
| | 常用路径 |
| | {| class="wikitable" |
| | |- |
| | | process.execPath || 示例 || 示例 |
| | |- |
| | | __dirname || 示例 || 示例 |
| | |- |
| | | __filename || 示例 || 示例 |
| | |- |
| | | cs.getSystemPath(SystemPath.USER_DATA) || 示例 || 示例 |
| | |- |
| | | cs.getSystemPath(SystemPath.COMMON_FILES || 示例 || 示例 |
| | |- |
| | | cs.getSystemPath(SystemPath.MY_DOCUMENTS) || 示例 || 示例 |
| | |- |
| | | cs.getSystemPath(SystemPath.HOST_APPLICATION) || 示例 || 示例 |
| | |} |
| | === Base64 === |
| | cep.encoding.convertion |
| | |
| | * .b64_to_ascii(base64str) Base64 字符串 以 ascii 编码转换为字符串 |
| | * .b64_to_utf8(base64str) Base64 字符串 以 UTF-8 编码转换为字符串 |
| | * .b64_to_binary(base64str) Base64 字符串以二进制编码转换为字符串 |
| | * .ascii_to_b64(ascii) |
| | * .utf8_to_b64(str) |
| | * .binary_to_b64(binary) |
| | |
| | 文件写入二进制数据,必须得使用 Base64 模式??? |
| | window.cep.fs.writeFile ("D:/B.ico", inf.data, "Base64"); |
| | |
| == 开题 == | | == 开题 == |
| * [[/Photoshop插件开发版本差异|Photoshop插件开发版本差异]] | | * [[/Photoshop插件开发版本差异|Photoshop插件开发版本差异]] |
| 第366行: |
第336行: |
| * https://www.ps-scripts.com/ | | * https://www.ps-scripts.com/ |
| * https://www.kirupa.com/motiongraphics/ps_scripting.htm | | * https://www.kirupa.com/motiongraphics/ps_scripting.htm |
| | * http://objjob.phrogz.net/ |
| | * http://jongware.mit.edu/ |
|
| |
|
| == adobe 参考规范文件 == | | == adobe 参考规范文件 == |
| | 查看被注释掉的文本链接。 |
| | |
| | <!-- |
| * [[File:photoshop_cc_2014_applescript_ref.pdf]] | | * [[File:photoshop_cc_2014_applescript_ref.pdf]] |
| * [[File:photoshop_cc_2014_applescript_ref_2.pdf]] | | * [[File:photoshop_cc_2014_applescript_ref_2.pdf]] |
| 第408行: |
第383行: |
| * [[File:Photoshop-CS6-Scripting-Guide.pdf]] | | * [[File:Photoshop-CS6-Scripting-Guide.pdf]] |
| * [[File:Photoshop-CS6-VBScript-Ref.pdf]] | | * [[File:Photoshop-CS6-VBScript-Ref.pdf]] |
| | |
| | 签名: |
| | * |
| | [[文件:SigningTechNote CC.pdf]] |
| | --> |