2 layers to export to a new document
Hello, I need your help, I need exports 2 layer to a new document, it is possible? Sorry my bad English, thanks
example:
script similar to 1 layer export. AI
var doc = app.activeDocument; var start = true; var ver = 12; var saveOptions = new IllustratorSaveOptions(); switch (ver){ case 3: saveOptions.compatibility = Compatibility.ILLUSTRATOR3; break; case 8: saveOptions.compatibility = Compatibility.ILLUSTRATOR8; break; case 9: saveOptions.compatibility = Compatibility.ILLUSTRATOR9; break; case 10: saveOptions.compatibility = Compatibility.ILLUSTRATOR10; break; case 11: saveOptions.compatibility = Compatibility.ILLUSTRATOR11; break; case 12: saveOptions.compatibility = Compatibility.ILLUSTRATOR12; break; } saveOptions.overprint = PDFOverprint.PRESERVEPDFOVERPRINT; if (ver <= 9) { saveOptions.flattenOutput = OutputFlattening.PRESERVEAPPEARANCE; } if (ver >= 7) { saveOptions.embedLinkedFiles = false; } if (ver >= 9) { saveOptions.fontSubsetThreshold = 100; saveOptions.embedICCProfile = false; } if (ver >= 10) { saveOptions.compressed = true; saveOptions.pdfCompatible = false; } var preffix = "_sb_"; var suffix = ""; var noname = "0"; if (documents.length > 0){ if (doc.saved==false) { alert('File must be saved before execute script!!!','saveLayersToAI',true); start = false; } if (start){ fullDocName = doc.fullName; for (j=0; j<doc.layers.length; j++){ if ((doc.layers[j].printable == true)&&(doc.layers[j].locked == false)) { doc.layers[j].locked = true; nameLayer = doc.layers[j].name; for (i=0; i<doc.layers.length; i++){ if (doc.layers[i].locked == false){ doc.layers[i].visible = true; doc.layers[i].remove(); i = i-1; } } for (i=0; i<doc.layers.length; i++){ doc.layers[i].locked = false; doc.layers[i].visible = true; } var param = doc.name.split('.'); realDocName = param[0]; if (nameLayer == noname) docName = preffix+realDocName+suffix; else docName = preffix+realDocName+'_'+nameLayer+suffix; var saveName = new File ( doc.path + "/" + docName ); doc.saveAs( saveName, saveOptions ); doc.close(SaveOptions.DONOTSAVECHANGES); doc = null; app.open (fullDocName); doc = app.activeDocument; } } } }
I have not tested this, but find the line
doc.layers[j].locked = true;
After this increment j line and repeat
doc.layers[j].locked = true; j++ doc.layers[j].locked = true;
Tags: Illustrator
Similar Questions
-
New document opens in the layers panel, but does not appear in the workspace
new document opens in the layers panel, but does not appear in the workspace
Could you please reset the Photoshop preferences once.
Preference file functions, names, places | Photoshop CC 2014
-
Photoshop: Move layers to a new Document
I want to move a layer of merged to a new document to an image, but I don't know how. I use PS CC 2015. Any suggestions?
Hi daleb,
Please see the discussion below.
Photoshop: Ability to slide / move layers in a document layers per pallet to another.
Kind regards
~ Mohit
-
Is it possible to copy all the layers in the layers panel and paste them in a new document?
The content of each layer will be different on each document so I don't want to copy. I have 12 documents to be used in a calendar and I want all the layers as well as their names and colors to be the same in each document. I already have all the pages designed and built, but personal information is to be added, and I want each of them to match all the others.
Basically, all I want to do is to copy the contents of the layers panel and past in each of the other documents.
I just create a page at the end of the document w / layers and on this page, add an item by layer. Also, if you have 15 layers, drag the small fifteen frames on the page and the layer icon to assign each image to another layer.
Then in the Pages panel menu, choose move Pages. Choose this 'page of layers' to move to your receiving document (another of your calendar documents), Destination: end of the Document.
The receiving document will get all the layers. Remove all items (15 views) on the extra page and the layers remain.
Next time you make a schedule, you should check the add-on for InDesign Calendar Wizard. You will cry all the time you wasted it making manually ;-(
Anne-Marie
InDesignSecrets.com
-
Uh, Yes. Question is in the title?
If your intention is to keep the same layers that you had in the documents you copied since, the brand of course paste remembers layers is checked in the layers palette menu.
-
This problem appeared in the last two months. My clients submit illustrations for the printing of labels and I copy their art on their original document and paste it into one of my models. Several times now, when I paste their art on the art Board in the new document, some of the graphics will be seen like they have changed and thumb or down and to the left. However, when you view the document in 'outline' mode, all of the graphics are actually properly positioned.
Here's the kicker, in preview mode, if you directly select one of these wrong previewing objects and move, then immediately cancel this action and return to the "normal" display mode, all of a sudden it will preview correctly and the problem is solved. Its more than a boring bug than anything, but he throws a monkey wrench into my workflow from time to time.
Preview bug seems to affect only segments of track line or forms with traits applied to them. It didn't happen with text or objects with fills only and it didn't happen with placed graphics.
There is no relationship between this preview bug and the 'effects' applied to the objects. They are essentially just objects that can be displayed out of position until you move and then cancel this action.
This started happening when I upgraded to Illustrator CC 2015.
Also, I disabled because that literally turned my Mac Pro in a Ford Pinto so that isn't the cause GPU.
All this experience?
Keith,
The issue should be resolved with the new patch/update, 19.1, that should solve known issues unresolved with 19.0.1.
If she does not appear, disconnect and then reconnect the creative cloud application. After that, the 19.1 update must be visible in the creative application of Cloud.
Default you can keep moving or scaling of the work affected (a little) and then Ctrl / Cmd + Z to undo, to get it in place.
Or you can turn paste remembers layers in the layers panel, if you can live with the side effects.
Returning to the CC 2014 will also rid you, of course.
-
Problem exporting to PDF, current document
I have a NEW document (Y).
It has a frame of text with the script for a voice-off short as its content.
I hit CMD + E (and I tried the file > export...) for export to a PDF file.
What is saved is a document I created yesterday (X) a totally different file. I don't know how it happens. I tried to export several times. I tried to rename the source and the exported file (note that there is no similarity in the names of two source files). I restarted the application several times...
I always get PDF X when you try to export Y INDESIGN.
Help me, Obi Wan.
False alarm.
Holy crap. After all the time 30... I realized, I just changed the text block of the Master Page, rather than the text block on the first spread... who HAD the bad text on it... #embarrassing
NOTE TO SELF: Make sure that in a single page document, you change the Page actually and not his mistress.
-
Thus, it appears with several pages.
Try to create a new document with the same page size and margins.
In the troubled paper uses available > Pages > move Pages
Select all pages - and select the destination for your new document.
If you can move all of your pages - see if you can export/save this document.
-
2014 CC Photoshop crashes when I create the new document
Hello
2014 CC Photoshop crashes on Windows 7, whenever I try to create a new document. After the reboot, it shows the Welcome screen as when first starting. Here is the System Info:
Adobe Photoshop Version: 2014.2.2 20141204.r.310, 2014/12 / 04:23:59:59 CL 994532 x 64
Operating system: Windows 7 64-bit
Version: 6.1 Service Pack 1
System architecture: Intel CPU Family: 6, model: 10, Stepping: 9 with MMX, SSE whole, FP SSE, SSE2, SSE3, SSE4.1, SSE4.2, AVX, HyperThreading
Physical processor count: 2
Number of logical CPUs: 4
Processor speed: 1795 MHz
Built-in memory: 8078 MB
Free memory: 3004 MB
Memory available to Photoshop: 7051 MB
Memory used by Photoshop: 69%
Multi-frequency 3D printing: disabled.
Windows 2 x UI: disabled.
HighBeam: enabled.
Tile image size: 128K
Image cache level: 4
Overview of fonts: medium
TextComposer: Latin
Display: 1
Limits of the display: top = 0, left = 0, low = 1080, right = 1920
Display: 2
Limits of the display: top = 0, =-1366 on the left, low = 768, right = 0
OpenGL drawing: enabled.
OpenGL allows old GPU: not detected.
OpenGL drawing mode: Advanced
OpenGL allows Normal Mode: true.
OpenGL allows Advanced Mode: true.
AIFCoreInitialized = 1
AIFOGLInitialized = 1
OGLContextCreated = 1
NumGLGPUs = 1
NumCLGPUs = 2
glgpu [0]. GLVersion = "3.0".
glgpu [0]. GLMemoryMB = 2112
glgpu [0]. GLName = "Intel (R) graphics HD 4000"
glgpu [0]. GLVendor = "Intel."
glgpu [0]. GLVendorID = 32902
glgpu [0]. GLDriverVersion = "9.17.10.2932".
glgpu [0]. GLRectTextureSize = 8192
glgpu [0]. GLRenderer = "Intel (R) graphics HD 4000"
glgpu [0]. GLRendererID = 358
glgpu [0]. HasGLNPOTSupport = 1
glgpu [0]. GLDriver = "igdumd64.dll, igd10umd64.dll, igd10umd64.dll, igdumd32, igd10umd32, igd10umd 32.
glgpu [0]. GLDriverDate = "20121212000000.000000 - 000.
glgpu [0]. CanCompileProgramGLSL = 1
glgpu [0]. GLFrameBufferOK = 1
glgpu [0] .glGetString [GL_SHADING_LANGUAGE_VERSION] = ' 1.30 - Build 9.17.10.2932.
glgpu [0] .glGetProgramivARB [GL_FRAGMENT_PROGRAM_ARB] [GL_MAX_PROGRAM_INSTRUCTIONS_ARB] = [1447]
glgpu [0] .glGetIntegerv [GL_MAX_TEXTURE_UNITS] = [8]
glgpu [0] .glGetIntegerv [GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS] = [80]
glgpu [0] .glGetIntegerv [GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS] = [16]
glgpu [0] .glGetIntegerv [GL_MAX_TEXTURE_IMAGE_UNITS] = [16]
glgpu [0] .glGetIntegerv [GL_MAX_DRAW_BUFFERS] = [8]
glgpu [0] .glGetIntegerv [GL_MAX_VERTEX_UNIFORM_COMPONENTS] = [1024]
glgpu [0] .glGetIntegerv [GL_MAX_FRAGMENT_UNIFORM_COMPONENTS] = [1024]
glgpu [0] .glGetIntegerv [GL_MAX_VARYING_FLOATS] = [64]
glgpu [0] .glGetIntegerv [GL_MAX_VERTEX_ATTRIBS] = [16]
glgpu [0] .extension [AIF::OGL:GL_ARB_VERTEX_PROGRAM] = 1
glgpu [0] .extension [AIF::OGL:GL_ARB_FRAGMENT_PROGRAM] = 1
glgpu [0] .extension [AIF::OGL:GL_ARB_VERTEX_SHADER] = 1
glgpu [0] .extension [AIF::OGL:GL_ARB_FRAGMENT_SHADER] = 1
glgpu [0] .extension [AIF::OGL:GL_EXT_FRAMEBUFFER_OBJECT] = 1
glgpu [0] .extension [AIF::OGL:GL_ARB_TEXTURE_RECTANGLE] = 1
glgpu [0] .extension [AIF::OGL:GL_ARB_TEXTURE_FLOAT] = 1
glgpu [0] .extension [AIF::OGL:GL_ARB_OCCLUSION_QUERY] = 1
glgpu [0] .extension [AIF::OGL:GL_ARB_VERTEX_BUFFER_OBJECT] = 1
glgpu [0] .extension [AIF::OGL:GL_ARB_SHADER_TEXTURE_LOD] = 0
clgpu [0]. CLPlatformVersion = "1.1".
clgpu [0]. CLDeviceVersion = "1.1".
clgpu [0]. CLMemoryMB = 1624
clgpu [0]. CLName = 'Intel (R) graphics HD 4000'
clgpu [0]. CLVendor = "Intel(r) Corporation"
clgpu [0]. CLVendorID = 32902
clgpu [0]. CLDriverVersion = "9.17.10.2932".
clgpu [0]. CUDASupported = 0
clgpu [0]. CLBandwidth = 1.54781e + 010
clgpu [0]. CLCompute = 80.0469
clgpu [1]. CLPlatformVersion = "1.1".
clgpu [1]. CLDeviceVersion = 'CUDA 1.1.
clgpu [1]. CLMemoryMB = 4096
clgpu [1]. CLName = "GeForce GT 740M.
clgpu [1]. CLVendor = "NVIDIA Corporation".
clgpu [1]. CLVendorID = 4318
clgpu [1]. CLDriverVersion = "347.09.
clgpu [1]. CUDASupported = 1
clgpu [1]. CUDAVersion = "7.0.18.
clgpu [1]. CLBandwidth = 2.52883e + 010
clgpu [1]. CLCompute = 163.447
Type of license: subscription
Serial number: 90970387855449041183
The application folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\
Temporary file path: C:\Users\Markiz\AppData\Local\Temp\
Zero Photoshop has async I/O active
Scratch the volumes:
E:\, 13.5 G, 2.57 G free
D:\, 585.0 G, 70.0 G free
Required plugins folder: C:\Program Files\Adobe\Adobe Photoshop 2014\Required\Plug-Ins\ CC
Main Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop 2014\Plug-ins\ CC
Installed components:
A3DLIBS.dll A3DLIB 9.2.0.112 dynamic link library
ACE.dll CEA-2014/08/12-23: 42:09 79,557478 79.557478
adbeape.dll Adobe EPA 2013/02/04-09: 52:32 0.1160850 0,1160850
AdbePM.dll PatchMatch 2014/09/07-21: 07: 38 79,558079 79.558079
AdobeLinguistic.dll Adobe linguistic Library 8.0.0
AdobeOwl.dll Adobe Owl 5.2.4
AdobePDFL.dll PDFL 2014/08/18-15: 13: 12 79,512424 79.512424
Adobe AdobePIP.dll 7.2.1.3399 product improvement program
AdobeXMP.dll Adobe XMP Core 2014/08/20 / 09: 53:02 79,156797 79.156797
AdobeXMPFiles.dll Adobe XMP files 2014/08/20 / 09: 53:02 79,156797 79.156797
AdobeXMPScript.dll Adobe XMP Script 2014/08/20 / 09: 53:02 79,156797 79.156797
adobe_caps.dll Adobe CAPS 8,0,0,13
AGM.dll AGM 2014/08/12-23: 42:09 79,557478 79.557478
ahclient.dll AdobeHelp Dynamic Link Library 1,8,0,31
Amtlib.dll AMTLib (64 Bit) 8.0.0.122212002 BuildVersion: 8.0; Brand: Wednesday, July 30, 2014 15:59:34) 1.000000
ARE.dll ARE 2014/08/12-23: 42:09 79,557478 79.557478
Axe8sharedexpat.dll AXE8SharedExpat 2013/12/20-21: 40:29 79,551013 79.551013
AXEDOMCore.dll AXEDOMCore 2013/12/20-21: 40:29 79,551013 79.551013
Bib.dll BIB 2014/08/12-23: 42:09 79,557478 79.557478
BIBUtils.dll BIBUtils 2014/08/12-23: 42:09 79,557478 79.557478
boost_date_time.dll photoshopdva 8.0.0
boost_signals.dll photoshopdva 8.0.0
boost_system.dll photoshopdva 8.0.0
boost_threads.dll photoshopdva 8.0.0
CG.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
Adobe CIT.dll CIT 2.2.6.32411 2.2.6.32411
Adobe CITThreading.dll CITThreading 2.2.6.32411 2.2.6.32411
CoolType.dll CoolType 2014/08/12-23: 42:09 79,557478 79.557478
dvaaudiodevice.dll photoshopdva 8.0.0
dvacore.dll photoshopdva 8.0.0
dvamarshal.dll photoshopdva 8.0.0
dvamediatypes.dll photoshopdva 8.0.0
dvametadata.dll photoshopdva 8.0.0
dvametadataapi.dll photoshopdva 8.0.0
dvametadataui.dll photoshopdva 8.0.0
dvaplayer.dll photoshopdva 8.0.0
dvatransport.dll photoshopdva 8.0.0
dvaui.dll photoshopdva 8.0.0
dvaunittesting.dll photoshopdva 8.0.0
Dynamiclink.dll photoshopdva 8.0.0
ExtendScript.dll ExtendScript 2014/01/21-23: 58:55 79,551519 79.551519
icucnv40.dll International Components for Unicode 2013/02/25-15: 59:15 Build gtlib_4.0.19090
icudt40.dll International Components for Unicode 2013/02/25-15: 59:15 Build gtlib_4.0.19090
igestep30.dll IGES 9.3.0.113 drive
imslib.dll IMSLib DLL 7.0.0.154
JP2KLib.dll JP2KLib 2014/06/28-00: 28:27 79,254012 79.254012
libifcoremd.dll Intel Visual Fortran compiler 10.0 (A patch)
libiomp5md.dll Intel(r) OpenMP * Runtime Library 5.0
libmmd.dll Intel(r) C Compiler, Intel C++ Compiler, Intel Fortran compiler 12.0
LogSession.dll LogSession 7.2.1.3399
mediacoreif.dll photoshopdva 8.0.0
MPS.dll MPS-2014/08/18-23: 43,19 79,557676 79.557676
pdfsettings.dll Adobe PDFSettings 1.04
Adobe Photoshop CC 2014 15.2.2 Photoshop.dll
Adobe Photoshop CC 2014 15.2.2 plugin.dll
PlugPlugExternalObject.dll Adobe CEP PlugPlugExternalObject Dll Standard (64 bit) 5.0.0
PlugPlugOwl.dll Adobe CSXS PlugPlugOwl Dll Standard (64 bit) 5.2.0.54
Adobe Photoshop CC 2014 15.2.2 PSArt.dll
Adobe Photoshop CC 2014 15.2.2 PSViews.dll
SCCore.dll ScCore 2014/01/21-23: 58:55 79,551519 79.551519
ScriptUIFlex.dll ScriptUIFlex-2014/01/20-22: 42:05 79,550992 79.550992
svml_dispmd.dll Intel (r) C Compiler, Intel C++ Compiler, Intel Fortran compiler 12.0
TBB.dll Intel Threading Building Blocks for Windows 4, 2, 2013, 1114
tbbmalloc.dll Intel Threading Building Blocks for Windows 4, 2, 2013, 1114
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll kernel 9.3.0.113
Geom TFKGEOM.dll kernel 9.3.0.113
Adobe TFUGEOM.dll, UGeom © 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 8.0.0.14 (BuildVersion: 1.0;) Brand: BUILDDATETIME) 8.0.0.14
VulcanControl.dll Vulcan Control Library 5.0.0.82 Application
VulcanMessage5.dll Vulcan Message Library 5.0.0.82
WRServices.dll WRServices Friday, March 7, 2014 15:33:10 build 0.20204 0,20204
U3D writer 9.3.0.113 wu3d.dll
Required plugins:
3D Studio 15.2.2 (2014.2.2 x 001 003 x)
Accented edges 15.2.2
Adaptive wide-angle 15.2.2
Angular Strokes 15.2.2
Average 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 bas-relief
15.2.2 BMP
Camera Raw 8.7.1
Camera Raw Filter 8.7.1
Chalk and charcoal 15.2.2
15.2.2 charcoal
15.2.2 chrome
15.2.2 Cineon (2014.2.2 x 001 003 x)
15.2.2 clouds (2014.2.2 x 001 003 x)
15.2.2 COLLADA (2014.2.2 x 001 003 x)
Halftone color 15.2.2
15.2.2 colour pencil
CompuServe GIF 15.2.2
Conté 15.2.2 pencil
15.2.2 crack
Crop and straighten Photos 15.2.2 (2014.2.2 x 001 003 x)
Crop and straighten Photos 15.2.2 filter
Hatch: 15.2.2
15.2.2 to crystallize
15.2.2 cutting
15.2.2 Dark strokes
15.2.2 deinterlacing
15.2.2 DICOM
Difference clouds 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 glow
Move 15.2.2
15.2.2 dry brush
Eazel acquire 15.2.2 (2014.2.2 x 001 003 x)
Embed watermark 4.0
15.2.2 entropy (2014.2.2 x 001 003 x)
NO export VERSION color tables
Extrude 15.2.2
FastCore 15.2.2 routines (2014.2.2 x 001 003 x)
15.2.2 the fibers
Film Grain 15.2.2
Filters 15.2.2 Gallery
Flash 3D 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 fresco
15.2.2 glass
15.2.2 Scarlet contours
Google Earth 4 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 grain
15.2.2 graphic pen
Halftone Pattern 15.2.2
15.2.2 HDRMergeUI
HSB/HSL 15.2.2
IFF Format 15.2.2
15.2.2 IGES (2014.2.2 x 001 003 x)
15.2.2 ink outlines
JPEG 2000 15.2.2
Flattening coefficient 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 goal blur
15.2.2 goal correction
Lens Flare 15.2.2
Liquefy 15.2.2
Operation of Matlab 15.2.2 (2014.2.2 x 001 003 x)
maximum 15.2.2 (2014.2.2 x 001 003 x)
Mean 15.2.2 (2014.2.2 x 001 003 x)
Measure Core 15.2.2 (2014.2.2 x 001 003 x)
Median 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 Mezzotint
Minimum 15.2.2 (2014.2.2 x 001 003 x)
MMXCore Routines 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 mosaic tiles
Multiprocessor support 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 Neon
15.2.2 paper
15.2.2 colour NTSC (2014.2.2 x 001 003 x)
Ocean Ripple 15.2.2
15.2.2 OpenEXR
Paint Daubs 15.2.2
15.2.2 palette knife
15.2.2 patchwork
Paths to Illustrator 15.2.2
15.2.2 PCX (2014.2.2 x 001 003 x)
15.2.2 photocopying
15.2.2 Photoshop 3D engine (2014.2.2 x 001 003 x)
Photoshop Touch 14.0
Photo filter package 15.2.2 (2014.2.2 x 001 003 x)
Pinch 15.2.2
Pixar 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 plaster
15.2.2 plastic wrap
15.2.2 PLY (2014.2.2 x 001 003 x)
15.2.2 PNG
15.2.2 pointillism
15.2.2 polar coordinates
Portable Bit map 15.2.2 (2014.2.2 x 001 003 x)
Poster edges 15.2.2
People's Republic of CHINA 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 radial blur
15.2.2 radiance (2014.2.2 x 001 003 x)
15.2.2 range (2014.2.2 x 001 003 x)
Read watermark 4.0
Color research grid NO VERSION rendering
15.2.2 Crosslinking
15.2.2 the ripple
Rough Pastels 15.2.2
Save for Web 15.2.2
15.2.2 ScriptingSupport
Shake Reduction 15.2.2
15.2.2 shear
15.2.2 asymmetry (2014.2.2 x 001 003 x)
Smart Blur 15.2.2
Smudge Stick 15.2.2
Solarize 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 splash
Spherize 15.2.2
15.2.2 sponge
15.2.2 sprayed strokes
15.2.2 stained glass
15.2.2 stamp
15.2.2 standard deviation (2014.2.2 x 001 003 x)
STL 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 Sumi-e
15.2.2 summation (2014.2.2 x 001 003 x)
15.2.2 Targa
15.2.2 texture veneer
15.2.2 tiles
15.2.2 torn edges
15.2.2 twirl watch
U3D 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 draft
15.2.2 vanishing point
15.2.2 the variance (2014.2.2 x 001 003 x)
Virtual Reality Modeling Language. VRML 15.2.2 (2014.2.2 x 001 003 x)
Water paper 15.2.2
15.2.2 watercolor
15.2.2 wave
Wavefront | 15.2.2 OBJ (2014.2.2 x 001 003 x)
WIA support 15.2.2 (2014.2.2 x 001 003 x)
15.2.2 wind
Wireless Bitmap 15.2.2 (2014.2.2 x 001 003 x)
Zig - zag 15.2.2
Plug-ins option and the third: NONE
Plug-ins that could not load: NONE
Flash:
Libraries
GuideGuide
Adobe color themes
Install TWAIN devices: NONE
If crush seems to be related to the extension Guide. I turned it off, crashing stopped. Maybe someone will find this useful.
-
JS - selection of the center of the artboard / New Document with some dimensions of the artboard
TL; DR:
How do I Center my current selection to the artboard?
as well as hitting the "align horizontal center" and the «align vertical center» buttons
Hello
I searched for the last two hours and before my head hit the keyboard I wanted to ask for help.
What I am struggling with:
in my init function, I create a new document and then copy all the layers of the previous document step by step to the new document and then save it as SVG.
Init
(function() {}
Destination = Folder.selectDialog ("selecting a folder for files SVG.', docPath");
If (! destination) {return ;}
holderDoc = app.documents.add ();
stepThroughAndExportLayers (docRef.layers);
}());
My problem is that holderDoc = app.documents.add (); always creates a document that is not the same size as my original document where the layers are copied from.
so, I want the same artboard size as in my original document.
I am fine with the fact that fixed values or directly take the values of the initial RFSO.
I tried this on the segment where I create the new document:
Init
(function() {}
Destination = Folder.selectDialog ("selecting a folder for files SVG.', docPath");
If (! destination) {return ;}
holderDoc = app.documents.add ();
holderDoc.artboards [0] .artboardRect = [0,0,128,128];
stepThroughAndExportLayers (docRef.layers);
}());
and receive this error message:
"Error 1200: Illustrator error: 1346458189 ("PARM").
Online: 83
-> holderDoc.artboards [0] .artboardRect = [0,0,128,128]; »
what I read on the web means that illustrator does not know what to choose document. but I called him directly. so, what could be the problem?
to clearify: I don't want to adapt to the artboard for the images/layer. the work plan must always be a certain size. (for me 128px by 128px)
Thank you for helping me to each fixing of my approach highly or offer a completely new.
Thank you very much in advance.
Edit: workaround solution
(function() {}
Destination = Folder.selectDialog ("selecting a folder for files SVG.', docPath");
If (! destination) {return ;}
var activeArtboard = app.activeDocument.artboards [app.activeDocument.artboards.getActiveArtboardIndex ()];
var ABRect = activeArtboard.artboardRect;
holderDoc = app.documents.add ();
holderDoc.artboards.add (ABRect);
holderDoc.artboards.remove (0);
holderDoc.artboards.setActiveArtboardIndex (0);
stepThroughAndExportLayers (docRef.layers);
}());
now, I added a new work plan to the new document with the same size as the work plan on the original document.
I have remove the work plan predefined on the new doc and the new work plan as active.
BUT!
now, the work plan is not centered in the window. Illustrator that allows to place my image with ctrl + c-> ctrl + v somewhere outside the artboard.
Now I need to align my selection in the center of the artboard. but I can't find any reference on how to Center a selection to the artboard.
I don't know if I understand you right.
If you want to create a new document with a fixed width and height, you can do this:
var doc = app.documents.add(DocumentColorSpace.RGB, new UnitValue ("128", "px"), new UnitValue ("128", "px"));
If you want to only align your objects selected on the artboard, you can try this:
Note that the result may be different, if the clipping masks are exist in the document.
Please test it first on copies of your documents. Use it at your own risk.
// ArtboardCenterAroundSelectedPaths.jsx // works with CS5 // http://forums.adobe.com/thread/1336506?tstart=0 // (title: script to align selected objects to artboard) // quick & dirty, all selected items will be centered at the active artboard // (include clipping paths !visible result can be different) // regards pixxxelschubser 19.Nov. 2013 var aDoc = app.activeDocument; var Sel = aDoc.selection; if (Sel.length >0 ) { var abIdx = aDoc.artboards.getActiveArtboardIndex(); var actAbBds = aDoc.artboards[abIdx].artboardRect; var vBounds = Sel[0].visibleBounds; vBounds_Li = vBounds[0]; vBounds_Ob = vBounds[1]; vBounds_Re = vBounds[2]; vBounds_Un = vBounds[3]; if (Sel.length >1 ) { for (i=1; i
vBdsI[0] ) {vBounds_Li = vBdsI[0]}; if( vBounds_Ob < vBdsI[1] ) {vBounds_Ob = vBdsI[1]}; if( vBounds_Re < vBdsI[2] ) {vBounds_Re = vBdsI[2]}; if( vBounds_Un > vBdsI[3] ) {vBounds_Un = vBdsI[3]}; } aDoc.artboards[abIdx].artboardRect = [vBounds_Li +((vBounds_Re - vBounds_Li)/2-(actAbBds[2]-actAbBds[0])/2), vBounds_Ob -((vBounds_Ob - vBounds_Un)/2+(actAbBds[3]-actAbBds[1])/2), vBounds_Li +((vBounds_Re - vBounds_Li)/2-(actAbBds[2]-actAbBds[0])/2)+(actAbBds[2]-actAbBds[0]), vBounds_Ob -((vBounds_Ob - vBounds_Un)/2+(actAbBds[3]-actAbBds[1])/2)+(actAbBds[3]-actAbBds[1])]; } } else { alert ("No selection"); } Hope this is useful for you.
Have fun
-
How to save a Logo in InDesign to use in the new Document?
Hi all
I'm new. Period.
Self-taught.
But learning.
I mistakenly created the logo of our company in InDesign (it was easier in the text how I needed).
Now, I need to 'copy' or save the logo ONLY in the document to be used in a new Document.
What I tried.
1 copied and pasted in Illustrator. Save in Illustrator file ESP. up to the new Document... Everything looks good, except that my lines of gradients are WHITE and the gradient box is all white, and the final spacing line is sized differently.
2 taken from the entire InDesign Document. Copied. Pasted into the new Document. (It is too big) A. Maj + resize with corner of box. -Everything is deformed, text stays the same size, it's horrible. B. scale, Bingo. But I can only evolve at about 85% until there are a few differences OBVIOUSLY NOTICIABLE. My line with gaps some how Expands... but it's really the only noticeable issue.
3. a lot of savings from both Illustrator and InDesign to try to get it instead as an image, but there is still a problem.
Help, please!
All Suggestions are welcome!
Thank you!
Put on a single page with nothing else and export to PDF format. Use it wherever you need.
-
I'm new to InDesign. Whenever I start a new document it begines with a single Page of None. If I add a spread of facing pages (I guess that's what it's called, 2 page booklet model) they come after the single no page. If I delete the single that no pages face to face page becomes the new no page. I don't want that.
What I want is double page spreads only. I'm creating a booklet and I don't want the individual sheets in there at all. The first 2 pages will be the cover and the back cover, the next 2 pages 1 and 2 of the book. And so on. It is ruin for me to have a blank page at the beginning and I can't get rid of it.
Can someon help? I'll put a picture here to try to explain. I'm not sure I say that properly.
Your life will be MUCH easier if you set the page size to the size of filling of the page is folded, add compensation to bleed, will work with the file that your readers will see and use booklet printing (or one of the other options such as a script or plugin) to impose the file print or export to PDF If you are planning to print yourself. If you turn it over to a commercial printer, they want a PDF of unique pages in consecutive order. Trying to put in place in the margins of the printer is an exercise in frustration and an invitation to the error.
-
Images and new documents open / appear. PHOTOSHOP CS5
Hi all
I can't find out what the problem is. Did a little poking around on the Internet and who have not yet managed to find something. Everytime I open a document, such as an image, the image appears empty. What I mean by Virgin... the bottom seems to be transparent. I know that the image is present because it comes in layers and if I use the tool pen to draw on the image that appears the new line drawn, but only the. If I chose to zoom on the image everything goes back to transparent. This problem also occurs when I create a new document. Nothing is displayed except for background 'transparent' even if its solid white background. Can someone help me here please? Thanks in advance.
Rick
In addition to what Bill asked, the problem goes away if you disable OpenGL drawing in Edit - Preferences - Performance (then restart Photoshop)?
During the last day, I saw some questions that sound a little like yours with the driver ATI Catalyst 11.8 (the last version to date). I'm still working to get to the bottom of why, but if you downloaded ATI Catalyst 11.8, something to try would be to uninstall and then falling back to their release 11.7, I found quite stable.
-Christmas
-
Script - layers of export files does not - need urgent help
Hello I am using windows 7 ultimate 64-bit and adobe photoshop cs5 trial
When I use the script - export layers to files
with the way that the images below shows
but it does not create a new image instead of destination file
Basically, it does not work
the image of my diapers
How do I run the script
I have sandy bridge 2600 k @ 4.8 ghz
16 GB of ram ddr 3
Thanks for the help
Try manually to enable the visibility of your layers before export and turn embedding of ICC.
Mylenium
-
Can't open anything in PS CS5, even not a new document.
Hello
A week ago I started having a few problems. All of a sudden the Brush tool did not work, and the layers started acting weird. I rebooted, hoping that it was just a random bug, unfortunately it wasn't.
As it is today, when you start Photoshop CS5 everything seems fine, but when I open a new document or an old file, regardless of format, nothing happens. The rest gray background and no canvas appear.
All other products Adobe in my Web Premium package works like a charm, but not even a pure installation of the whole package resolved the problem of photoshop.
I have updated to the most recent update, but without success.
If I received an error message, it would be possible to search, but I have nothing at all, just the standard photoshop toolboxes and the background, as if no document is open.
I have Windows XP Pro 32-bit.
Material:
Processor: Intel Core2 Duo E8400 @ 3 .00GHz
GFX card: Nvidia GeForce GTX 260
RAM: 3 GB
If there is more information you need, let me know.
It's a little urgent, because I am a student of Multi Media Design and photoshop is my go-to-program.
Sincerely Sebastian Schaltz harder.
See if the problem persists when you disable the drawing OpenGL (via Edition - Preferences - Performance).
If Yes, is it possible a Windows Update may have changed (downgraded) your video driver?
I ask because the kind of thing you see may be caused by the video driver bugs which I believe have already been processed by nVidia (although I'm not sure of your card in particular)...
Check your version against the latest available on the next page and update if yours is obsolete:
http://www.nvidia.com/download/index.aspx?lang=en-us
-Christmas
Maybe you are looking for
-
A80-131: problems with intel 2200bg
Hello I bought a toshiba a80-131 and I have problems with my wireless card, an intel 2200bg. the wireless connection is still down, and when he isn´t, the download speed is very low (1-2 kbs) in a lan connected to a service 256kbs 11. I know that the
-
transfer apps from iPhone to my computer
HelloHow can I transfer apps from iPhone to my computer?
-
None found volume control and Control Panel indicates "no audio device".
I can't find the volume in my computer. When I look in Control Panel, it says: "no audio device". I have XP Professional serv pak 3 Somehow she must have been deleted.
-
Try to install windows defender said insuffucient privileges?
During the installation a pop-up box say insuffecient privledeges and ask me to cancel. installation stops.
-
printer does not print word document but wil print email. Internet, etc.