Hello
is anyone familiar with using javascript with adobe illustrator
i can't seem to find a way to place an image file into an Adobe illustrator file from within the javascript code
i would appreciate any help in this area
thank you
4 2228 acoder 16,027
Recognized Expert Moderator MVP
Is this JavaScript similar to the JavaScript used in browsers or is it a subset?
Post your code.
I don't know here's some of the code coz it's too long - var thisDoc = app.activeDocument;
-
var artLayer = thisDoc.layers.add()
-
app.defaultStroked = false;
-
app.defaultFilled = true;
-
-
var blueRect = artLayer.pathItems.rectangle( 595, 263.741, 153.03, 339.825);
-
var darkBlueRect = artLayer.pathItems.rectangle( 595, 372.831, 43.94, 340.156);
-
var border = artLayer.pathItems.rectangle( 595, 190, 226.771, 340.156);
-
var rect1 = artLayer.pathItems.rectangle( 577, 215, 201.5, 1);
-
var ellipse1 = artLayer.pathItems.ellipse( 579.5, 211, 6, 6, false, true );
-
var ellipse2 = artLayer.pathItems.ellipse( 568, 265, 6, 6, false, true );
-
var ellipse3 = artLayer.pathItems.ellipse( 513, 265, 6, 6, false, true );
yes i checked them but i couldn't find the line of code that directly inserts the image.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Quest Master |
last post by:
I am interested in developing an application where the user has an
ample amount of power to customize the application to their needs, and
I feel this would best be accomplished if a scripting language was
available. However, I want to code this application in Python, and I
have not yet heard of an implementation of another scripting language
into Python.
An example of what I mean is this (an implementation of Lua into Ruby
-- which I'd...
|
by: adder |
last post by:
I would like to create a script that can export ai-files to jpg-files
using the export function available in Adobe Illustrator. Can someone
tell me how to dispatch the illustrator com-object to make this
possible and possibly provide me with some tips on how to accomplish
this?!
Thanks in advance
All
|
by: fiona |
last post by:
Catalyst Releases Scripting Editions of SocketTools
Client and server-side development for Active Server Pages and PHP.
Yucca Valley, CA, May 25, 2005 - Catalyst Development Corp
(www.catalyst.com) - with over 10 years experience developing Internet
components announced that Scripting and Secure Scripting Editions have
been added to the SocketTools family of products. The Scripting
Editions were designed specifically for client and...
|
by: mgrahm |
last post by:
Hi all
I would like to create an image map for a website I am working on. A
number of years ago I think I think I used a program called Frog-It. I
have since upgraded to a new computer a few times. Don't think i have
that program any more. In any event I was wondering if I could use
Adobe Illustrator or Image Ready to create such an item. Please respond
if you can be of help to me.
Thanks
|
by: andrewcw |
last post by:
I have used System.Management in the past to extract and
walk thru drives & check their type. I can also do it
with COM's FileSystemObject. Here I am trying to just use
the Management Object after using the Directory class...
There seems to be a way to load the System Management
Object with string path ( 8 overloads ), but every time I
try a variation it crashes. Any ideas ? Thanks
Scripting.FileSystemObject FSO = new
| |
by: prodsd |
last post by:
Here is my challenge . I have a new syatem That when I save a Adobe Illustrator file to my desktop it is ok but when I try to move or delete the file I get a error key that is open ???
I never had the problem when I had XP. When I save as a EPS file no problem
and I know not to save in the future as a AI file but to clen up the old files ??
|
by: 770ariel |
last post by:
i'd be thankfull if someone can help me with this:
i get this message when i try to run adobe illustrator CS2
microsoft visual c++ runtime library
runtime error!
program: ...rator CS2\support files\contents\windows\illustrator.exe
|
by: ch612bunn |
last post by:
adobe illustrator cs3 crack
|
by: Natis |
last post by:
Hello :)
I purchased these this icon sets with the intention to modify them, since they had the vector sources. The thing is that the sources are Flash files which I'm not very related to. I tried exporting them to Illustrator but I keep loosing quality. I don't know which version of flash are the files made in, (I have Flash CS3 and Illustrator CS2). How can I export them in order to keep the quality?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |