Is it possible to write a script that would change the triangles to circles?
I have an Excel file that outlines a scatterplot graph - using a logarithmic scale. Because it is not possible to create a logarithmic graph in Illustrator, I imported the graph in Excel to PDF. However, each data point is a triangle, and I would use circles that I created using OBJECT > GRAPH > DESIGN. Is there an easy way to replace the triangles with these circles?
If you need to see the current file, let me know how to fix it.
Thank you.
I don't have Excel here...
The place could be a clipping mask. Maybe you can only select all clipping masks and remove them (using select > object > clipping mask)
But it can also be that this clipping mask is crucial for a reason any. Importing PDF you will often get a lot of clipping masks
Tags: Illustrator
Similar Questions
-
is it possible to write a script that will display the script files folder in the tree
is it possible to write a script that will display the script files folder in the tree
Yes :-)
In your previous post, someone suggested to search for the file "SnpCreateTreeview.jsx", because it would just be the asked.
The script can be found here, just accept the EULA and download the example scripts of Bridge CS3. (For some reason it is not in CS4 samples because as far as I know)
Here's a version with small changes, it is up to you to point the script in the folder 'root' right, because this is, needless to C: on PC:
////////////////////////////////////////////////////////////////////////////
ADOBE SYSTEMS INCORPORATED
Copyright 2007 Adobe Systems Incorporated
All rights reserved
//
NOTE: Adobe permits you to use, modify, and distribute this file according to the
the terms of the Adobe license agreement accompanying it. If you received this file from one
source other than Adobe, then your use, modification or distribution of it is required in advance
written permission from Adobe.
//////////////////////////////////////////////////////////////////////////////**
@fileoverview shows how to use an item in the tree list and how to capture events with
functions of recall or script registered event listeners.
@class shows how to use an item in the tree list and how to capture events with
functions of recall or script registered event listeners.Its use
- Run the extract in the ExtendScript Toolkit (see Readme.txt).
- Enlarge / reduce the list items
- Check the JavaScript Console to see the events captured by the elements of the TreeView.
- Run the extract in the ExtendScript Toolkit (see Readme.txt).
-
Is it possible to put a password that would prevent the program turn accidentally closed?
We have a person in our laboratory which is spirit very scatter. Several times he wanted to reduce Labview program running, but doesn't actually not paid attention and accidentally closed it by clicking X instead of _, thus negating the whole experience. When the program was closed he didn't ask if he wanted to save or if he didn't know that he wanted to close it. Is it possible to put a password that would prevent the program turn accidentally closed?
You have two options.
- You can hide the X in total in the properties of VI. Go to the appearance of the window, click Customize, and then uncheck the option to allow the user to close the window. You would need another method, for example a file-> Quit or exit option button.
- If you use a version higher than the Base, you can use a structure of the event to capture the narrow window? event. This will allow you to ask the user to confirm to get out and do something else required. If the user cancels, or you need to cancel, you have the abaility to cancel the event.
-
I'll PayPal someone MONEY right now for this script. I have more than 400 files to process.
System/software: Adobe Illustrator CS6 on PC
Filetype (s): .aiI have more than 400 .ai files that contain work in all different sizes. I need a script that resizes the work at certain height or width specifications below.
Some of the height of the work is greater than the width, some of the width of the work is greater than the height.
If the overall of the art vertical height selected is greater than the width, I need the new height to be 166,6 pt
If the horizontal art width selected is greater than the height, I need the new width to 166,6 ptThe value of the width/height unchanged at 166,6 pt must be limited to the new values.
If possible, I also need to change the size of the artboard to 216px x 216px. He is currently in 512px x 512px.
Help, please! I'll pay!
EmojiStickers wrote:
I'll PayPal someone MONEY right now for this script. I have more than 400 files to process.
Help, please! I'll pay!
What is your budget?
Check this thread and see if it helps, I have a script to resize work plans
-
Hello
My friend works on an action, who would edit images by removing the white background color. However, there are a lot of images with transparent background or after some other actions have no selection who had to be removed. And now he is facing simple problem, simple remove this feature brings a lot of table and the error Stops.
The ideal solution to this problem would be if it would ba a script who could remove the selection and ignore stops as no selection and transparent.
Can anyone help with this one?
Settle into the Photoshop scripts forum.
With a script, you would just put your code in a try/catch block. This intercept errors such as the selection of a transparent area and do not stop your script:
try{ //your code here } catch(e){ //either no code, or code to do something if you get an error. }
-
He had like 100% or 125% upper and lower printing and page size fact more small orbigger
Right-click above the main browser search bar and click on the status bar,
But it has been made pretty useless and only this one function,.
The command bar is much more useful and has the Zoom on it as well.
-
How to write a script to report to the page number in a book?
Hello
Is it possible to write a script to report to the page number in a book by pop up a text file.
What I'm trying to say:
first of all, I opened an indesign book, thenI run the script, the script can gen a text pop-up file and the list of files, the file names and page numbers (only the star number of each file) and the script can also tells me that I have two files or more overlap page numbers (if any).
sample:
report like this:
01 table of contents 1
02 2 Summary
03 the financial of the 3 games
Statement by the President 4 04
05 MD and A 7
06 12 CG report
Report of the directors 07 17
08 18 auditor's report
Profit and loss account 09 19
profit and loss 20 10
11 equity change 20
Cash 12 21
13 notes on the 22 account
14 42 corporate informationFile have the page number of overlap:
profit and loss 20 10
11 equity change 20Thank you
Is that what you need?
var book = app.activeBook, _content = []; overlap = []; for(var i =book.bookContents.length-1;i>=0;i--) { _content.push(book.bookContents[i].name + "\t" + (book.bookContents[i].documentPageRange.replace(/-[^-]+$/g,"")) + "\r"); if(book.bookContents[i].documentPageRange == book.bookContents[i-1].documentPageRange) { overlap.push(book.bookContents[i].name + "\t" +book.bookContents[i].documentPageRange + "\r" + book.bookContents[i-1].name + "\t" +book.bookContents[i-1].documentPageRange); } } alert(_content.reverse()); alert(overlap.reverse())
Kind regards
Cognet
-
I need a script that would provide leading to different text blocks.
Hello
I need a script that would change with each attack of text frame. Is it possible to make a?
This this example script that works on a selection of blocks of text:
#target illustrator
function test() {}
var doc = app.activeDocument;
var s = doc.selection;
If (s == null & s.length == 0) {}
return;
}
for (var i = 0; i)< s.length; ="">
If (.) S [i] TypeName! = "TextFrame") {}
continue;
}
s [i].textRange.characterAttributes.autoLeading = false;
s [i].textRange.characterAttributes.leading = 22;
};
};
test();
-
Need help to write a script that opens files, removes layers and sous-calques
Hey all,.
I'm a noob to the community of script, and what I try to do is file edit commands that share the same names of layers and sublayers. I have a few questions that would be incredibly useful if I could have answered.
I'm not sure how to define a script too call out of the layers that have been created without script. I need to create a variable for the existing layers and leave the script to know what their names are in the files?
For example, I have three files which have each layer named 'cutlayer', 'trimlayer', 'fold' and 'work '. I need to write a script that opens three files, deletes the layer 'fold' of each file, and then move the layer "trimlayer" in his own sublayer in 'work' (the base layer can be on the top so reorganization sublayers is not necessary to worry about something). I do not understand how to write the script because I couldn't find examples in the documentation for the script provided on the adobe website which has worked with existing files.
It's my shot at what I'm trying to do, with English fill in the blanks of what I do not know how to script. If anyone can help me understand this point, I would really appreciate it!
app.documents.openDlg (prompt, filter, MultiSelect); the user opens the associated files
If (documents.length > 0) //run the script through each document individually
{
sourceDoc = activeDocument;
delete the "fold" sourceDoc layer
move the "trimlayer" in the layer "work."
remove the underlayment 'path' of layer "work."
Run the script through each document
Save the new file name folder in the new parallel to the current folder on the hard disk
Go out and spend in each document until there is no more
}
create new document
Place documents published in different layers in the new document, with a distance between them, optimize the space on a 51 "x 51" work plan, using as little of the artboard as possible. "
All comments are things basically, I do not know how and am trying to figure out how to do, so if anyone has a second to explain some of these things, I would really appreciate it!
Thanks again!
I know it of very frustrating when his apprenticeship and things don't go as planned, but understand that it is quite confusing as it is and do not add more confusion to the mix by using other tools than those provided. I mean JSLint, it might be useful with GENERAL javascript syntax, but Adobe's Javascript implementation is another animal, or another language, always JavaScript, but intended to be run by its own engine. JSLint has no idea what "layers", or "pathItems" are, it will trigger errors when he sees the objects, it does not recognize.
.. .in learning... not to take baby, write a single line of code and run... If it works, write another line of code
Try this version (always in the ESTK),'re missing you a few "++", and you do not change "documents" with "docs" in a certain place
var docs = File.openDialog("Select Files to Open", "*.ai", true); var idx = 0; for (idx = 0; idx < docs.length; ++idx) { var doc = app.open(docs[idx]); var myCounter = 0; for (myCounter = 0; myCounter < doc.layers.length; myCounter++) { doc.layers[myCounter].locked = false; } doc.layers.getByName('Crease').remove(); doc.layers.getByName('Regmark').remove(); doc.layers.getByName('Artwork').pathItems[0].remove(); doc.layers.getByName('Through Cut').hasSelectedArtwork = true; doc.layers.getByName('Through Cut').pathItems[0].strokeColor = doc.swatches.getByName("Black").color; doc.layers.getByName('Through Cut').move(doc.layers.getByName('Artwork'), ElementPlacement.INSIDE); }
-
Is it possible to write a script for underlined text export to PDF?
When I make changes in the financial document, I must emphasize this purpose to show what I edit, these underscore was called "markup". And then print (paper version) and gen (PDF) of the amendment, which means I have to print and gen text underlined (or called markup text) after modification.
sample PIC:
If:
Customer requires a new version of the markup, which means I have to change the last beacon color (color of the underline to the last amendments) in 'back' and then make new 'red' as this markup:
What I want:
is it possible to write a script for printing and gen only markup in the document text all open
and I want two versions
(1) all text markup gen no matter the color of the underline
(2) the red color of the markup text gen
Thank you!
Hi HarveyLiu,
Why, you ask? It will export the pages who pointed out the text.
var doc = app.documents; app.findTextPreferences = null; app.findTextPreferences.underline = true; for(var i=0;i
Kind regards
Cognet
-
I need help to write a script that detects the first instance of a paragraph style and then change
I need help to write a script that detects the first instance of a paragraph style and then he goes to a different paragraph style. I don't necessarily need someone to write all this, by the biggest problem is to find how to find just the first instance of the paragraph style. Any help would be greatly appreciated, thank you!
Hello
then try this with your active doc:
....................
myDoc var = app.activeDocument;
mStyle var = myDoc.paragraphStyles.item ("PS_NameToFind"); change the name to paraStyle
var mStyle_1 = myDoc.paragraphStyles.item ("PS_NameToChange"); change the name to paraStyle
var mFrames = myDoc.pages.everyItem ().textFrames.everyItem () .getElements ();
app.findTextPreferences = null;
app.findTextPreferences.appliedParagraphStyle = mStyle;
for (var k = 0; k)< mframes.length;="">
{
currFound = mFrames [k] .findText ();
If (currFound.length > 0)
currFound [0] .paragraphs [0] .appliedParagraphStyle = mStyle_1;
}
app.findTextPreferences = null;
................
Rgds
-
Several scripts that run at the same time?
Is it possible to have multiple scripts running successfully at the same time?
For now if I start a second script while one is still ongoing, the other to be completed successfully, but one stops. This seems to be because one is so more the active document, once the other opens so cannot continue.
Is there another way to anything like that script so that multiples can operate independently at the same time? You might wonder why I don't want to run both at the same time and not just wait, but I install an asp.net web do front end and have problems if two people, click on the button around the same time.
I'm guessing this won't be possible and I'll have to look for ways to achieve this in asp.net instead and sort queued requests so you will have to wait longer if the script is already running?
Thank you
Andy
I'm guessing this won't be possible and I'll have to look for ways to achieve this in asp.net instead and sort queued requests so you will have to wait longer if the script is already running?
It is correct. PS script interface is single-threaded, so you'll need requests queued.
-
Can any body help to get a script that can generate the sequence (length 3) with a combination of numbers and characters example: T11... TA1... TZ9... then on
With the help of the clause type
Select sqnc
from (select sqnc
from (select 'T00"sqnc, '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' ordr
of the double
)
model
size of (0 I)
measures (sqnc, ordr, length (ordr) len)
rules iterate (1300) until (instr(sqnc[iteration_number],'~')! = 0)
(sqnc [iteration_number] = case when sqnc [cv (i) - 1] is null
then sqnc [0]
of another substr (sqnc [iteration_number - 1], 1, 1) |
-case when substr (sqnc [iteration_number - 1], 2, 1)<=>=>
so when business substr (sqnc [iteration_number - 1], 3, 1)<>
then substr (ordr [0], instr (ordr [0], substr (sqnc [iteration_number - 1], 2, 1)), 1)
of another nvl (substr (ordr [0], instr (ordr [0], substr (sqnc [iteration_number - 1], 2, 1)) + 1.1),'~ ')
end
end |
-case when substr (sqnc [iteration_number - 1], 3, 1)<>
then substr (ordr [0], instr (ordr [0], substr (sqnc [iteration_number - 1], 3, 1)) + 1.1)
else ' 0'
end
end
)
)
where instr(sqnc,'~') = 0
Concerning
Etbin
-
Looking for Advanced Action script that will close the project
Hi all
It seems so simple but I can't seem to understand. Does anyone know of scripts that will cause the project to close when the user clicks a button? I have a project built in 6 Captivate that is set to close its 'End of the project' preferences and has multiple options of branches. I want to have a button to END that will close the entire project. The best that I got is simply apply an action of 'CONTINUE' on the last slide, but since this slide also includes a button that jumps to another branch, the blade simply crashes when you click the END button.
Any thoughts?
Krista
You can use a 'Execute JavaScript' action with the script below:
window.close();
OR
window.top.close();
What script you use depends on how your LMS launches your course. If it is in the main window, use Window.Close (). If it is in a window child, then window.top.close (). If you are not sure, then a little experience by downloading a course of a slide with two buttons. The first button must execute Window.Close (); and the 2nd button must execute window.top.close ();. When your LMS is launching the course, try the buttons and see one that works.
F12 (Web Preview) will not give you a solid test since your LMS can launch your course differently... it's the kind of thing that should be tested in your LMS to be sure it works.
Jim Leichliter
-
I need a javascript script that would allow an image to import into the drive. Only, I have a Mac so LiveCycle is not an option.
OrangeWhip area is where a user would click to download an image.
I found this form and unable to crack how to proceed. Any suggestions?
For forms created with Adobe Acrobat read this:
http://www.PlanetPDF.com/Enterprise/article.asp?contentid=import_images_into_field_with _
Description
Creates two hierarchical list of TreeView items. One is static, with a fixed set of point
nodes that you can expand and collapse. The other is dynamic; Item nodes are added and removed as
the need for a view of the file system.
The list items in the TreeView control to display the folders and files custom images. When you add items to the
TreeView list, type 'article' is used for elements of the leaf and 'node' to the elements of the container.
Dynamic TreeView captures events in two different ways. It uses callback functions to capture the
node to expand and collapse events and selection changes and also registers an event listener to
capture double-click events.
@constructor constructor
*/
#targetengine "session".
function SnpCreateTreeView()
{
/**
The context in which this code snippet can work.
@type string
*/
this.requiredContext = "\tNeed runs in the context of the Bridge\n."
/**
The location of this script file system
@type file
*/
var scriptsFile = new File($.fileName);
/**
The location of the file system resource PNG file used to represent folders
@type file
*/
this.folderIcon = new file (scriptsFile.path + "/ resources/Folder_16x16.png");
/**
The location of the file system resource PNG file used to represent files
@type file
*/
this.fileIcon = new file (scriptsFile.path + "/ resources/Story_16x16.png");
/**
The root folder that will be used for the dynamic tree
@type string
*/
this.rootFolder
If (File.fs is "Windows")
{
this.rootFolder = "C:";
}
on the other
{
this.rootFolder = ' / ';.
}
}
/**
Functional part of this code snippet. Creates the ScriptUI window and its components,
and defines the behavior.
@return true if the code snippet is executed as scheduled, false otherwise
Boolean @type
*/
SnpCreateTreeView.prototype.run = function()
{
$.writeln ("about to"run SnpCreateTreeView");
Create the window
var win = new window ("palette", "SnpCreateTreeView", undefined, {resizable: false});
Create the Committee for the static TreeView control
sPanel var = win.add ('Committee', undefined, 'TreeView Élément') static;
sPanel.alignment = ["fill",""];
sPanel.alignChildren = ["fill",""]
Create a TreeView list
sTv var = sPanel.add ("treeview");
sTv.preferredSize = (300, 200);
Add static items to the list, in a hierarchical structure.
for (var i = 0; i)<>
{
sTv.add ("node", "Item" + i);
for (var j = 0; j)<>
{
sTv.items [i] .add ("item", "Sub Item" + j);
}
}
Create the Committee for the dynamic TreeView control
var dPanel dynamic = win.add ('Committee', undefined, 'TreeView Élément');
Create a TreeView list
TV digital var = dPanel.add ("treeview", undefined);
dTv.preferredSize = (400, 300);
Create the root node element
var aNode = dTv.add ("node", "/");
Pair it with an image of the icon
aNode.image = this.folderIcon;
Define a handler for the double clicks
myOnDoubleClick = Function
{
if(e.detail == 2)
{
$.writeln ("double click");
}
}
Adds the handler as an event listener to the TreeView element.
dTv.addEventListener ("click", myOnDoubleClick);
Keep a reference to this object
var that = this;
Define an event handler for when a node is expanded
dTv.onExpand = function (point)
{
$.writeln (item.text + "is now expanded.");
nextItem var = item;
var path = "";
goUp var = true;
While (goUp)
{
path = "/" + nextItem.text + path;
nextItem = nextItem.parent;
If (instanceof TreeView nextItem)
{
goUp = false;
}
}
Remove all children of this element
item.removeAll ();
var Ref = new file (that.rootFolder + path);
If (Ref instanceof Folder)
{
children var = ref.getFiles ();
for (var i = 0; i)<>
{
If (children [i] instanceof file)
{
Item.Add ("node", children [i] p:System.NET.mail.MailAddress.DisplayName);
Item.Items [i] .image = that.folderIcon;
}
on the other
{
Item.Add ("item", children [i] p:System.NET.mail.MailAddress.DisplayName);
Item.Items [i] .image = that.fileIcon;
}
}
}
}
Define an event handler for when a node is reduced
dTv.onCollapse = function (point)
{
$.writeln (item.text + "is now reduced.");
}
Define an event handler for when the selection changes
dTv.onChange = function()
{
$.writeln ("selection changed");
}
Display the window
Win.Show ();
$.writeln ("Ran SnpCreateTreeView");
Returns true;
}
/**
"main program": construct an anonymous instance and run
as long as we are not unit - test this code snippet.
*/
If (typeof (SnpCreateTreeView_unitTest) == 'undefined') {}
new SnpCreateTreeView () .run ();
}
Maybe you are looking for
-
HP Photosmart D110a: unable to connect to my my router D110a wireless Comcast
I tried to connect the printer D110a to my router to Comcast Dual-Band 802.11ac, I can connect to the xfinitywifi with no problem, but not my router
-
Director of Windows: all my photos and my files are gone. Audio remained
All my photos and my files are gone. Audio remained. Theres no way I deleted it. I have three files of the same project... 2 and 3 have completely disappeared, 1 project remained... still. Help, please. I, ve tried all the research file etc. Nothing
-
Regular PAP message - deliver-after-timestamp
Hello I can't send a message "regular" pap to a device by adding the deliver-after-timestamp attribute to the element of push message . that is, initiator of push-online BES/MDS-online BB device. The message looked like below:
-
original title: problem theme pack. I just downloaded an Akrapovic Morsus thempack (AkrapovicMorsus.themepack), but when I try to execute it, nothing happens. Help, please. Thank you!
-
Extension of provisioning of TMS
Hello you need a documentation on the functioning of TMSPE and where the info is stored (if this isn't OpenDS)? Thank you