Google chrome Adobe Illustrator在浏览器快捷方式中打开文件
有没有一种方法可以让我在Adobe Illustrator的internet浏览器(特别是Chrome浏览器)中使用快捷方式打开正在处理的文件?好的,这里有一种使用AppleScript的方法。将以下内容粘贴到AppleScript编辑器中,并将其保存为/Applications/Adobe Illustrator/Presets/Scripts文件夹中的“View SVG in Chrome.scpt”Google chrome Adobe Illustrator在浏览器快捷方式中打开文件,google-chrome,browser,keyboard-shortcuts,adobe-illustrator,Google Chrome,Browser,Keyboard Shortcuts,Adobe Illustrator,有没有一种方法可以让我在Adobe Illustrator的internet浏览器(特别是Chrome浏览器)中使用快捷方式打开正在处理的文件?好的,这里有一种使用AppleScript的方法。将以下内容粘贴到AppleScript编辑器中,并将其保存为/Applications/Adobe Illustrator/Presets/Scripts文件夹中的“View SVG in Chrome.scpt” set tmpfile to "/tmp/ai-temp-" & ((random
set tmpfile to "/tmp/ai-temp-" & ((random number) as string) & ".svg"
tell application "Adobe Illustrator"
activate
save the current document
set openDoc to file path of current document as alias
export current document to tmpfile as SVG
end tell
tell application "Google Chrome"
activate
open location "file://" & tmpfile
end tell
tell application "Adobe Illustrator"
close current document
open openDoc
end tell
重新启动Illustrator,脚本应出现在文件»脚本菜单中
有几点需要注意:
SVG
替换为Flash
、GIF
、JPEG
、Photoshop
、PNG24
或PNG8