Can you set a layer to "Template" through script?
Hi there,
I am creating a script to batch export multiple artboards as SVG, and setting a layer to "Template" will keep my unwanted paths from exporting. I am using Illustrator version 17.1.9(64bit)
Is there a way to set a layer to "template" through script?
Thanks!
Scott
You are correct on this, if I create a template Action let say called "template layer" I can call that with app.doScript("template layer", "folder"). After testing it does work... on my client where I have the Action, but I have a few other artist who will need to run this script.
EXAMPLE:
for (var i = 0; i < app.activeDocument.layers.length; i++)
app.activeDocument.activeLayer = app.activeDocument.layers[i] ;
if(app.activeDocument.layers[i].visible == false){
app.doScript ("template layer", "NI");
The only other solution I can think of is putting all non-exportable objects on a layer, and call that layer "nonExport" and select all objects on this layer delete them, then export, then undo this action ... ewwww... sounds messy.
Cheers,
Scott
Similar Messages
-
Can you set ear buds to ring through when you are on a call?
Can you set ear buds to ring through while you are on a call using Iphone 4?
planb77, thanks for your reply. Unfortunately it doesn't really answer my question since my mail is not on a POP server. It's imap, so it's synced with my iPod. I just wondered if there was a way, while preserving the syncing, to opt out of syncing when I delete.
Any other ideas?
Thanks again. -
Can you set a BREAKPOINT and step through it
Hello all,
How do set a breakpoint in the app so that one can step through it and no where it is failing and the value of the variables returned?
ThanksIf you are trying to debug server side PL/SQL program units, you could use DBMS_DEBUG.
http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10802/d_debug.htm#996728 -
Can you set up a template where information can be filled in - like in a textbox and then collected
can you set up a template where information can be filled in - like in a textbox and then collected
Like a series of questions - then the student enters the information - and the information os then collectedQuickTime is AppleScript aware and has its own "dictionary". Many scripts and droplets have already been compiled and you can download them from this link:
http://www.apple.com/applescript/quicktime/
Some need further editing to update them to version 7 features but it's not difficult using the Script Editor app.
Tiger's new Automator app could also be used but its feature set is rather basic. Newer actions are available for download from the Mac OSX Downloads page. -
Can you set up a wireless network/router using only the iPad?
Can you set up a wireless network/modem/router using only an iPad - if you don't have a computer?
You actually can as most routers come with a web interface that lets you tinker with all things with regard to set up and connection.
You have to choose though as there are other routers that would require you to plug-it in to a computer first, as they have a desktop application to make way for easier set-up.
But for everything else, it is done through a web client which is just like accessing any web site. -
Can you set up multiple user accounts on one laptop?
can you set up multiple user accounts on one laptop?
Of course.
And instructions can depend on which OS X is installed.
For v10.7 Lion > OS X Lion: Create a new user account
For v10.8 Mountain Lion > OS X Mountain Lion: Create a new user account
When you post for help, please state which OS X is installed.
If you aren't sure, click About this Mac from your Apple menu -
can you set up apple tv using 2 different itunes accounts from 2 different macs in same household?
No, you can only connect to one Home Sharing account at a time. If you want to see the content of the other Mac's library you will have to turn off Home Sharing on the Apple TV and log back in with the other iTunes account.
-
How can you set up more than one device on iTunes? I have an iPad, iPod, itouch and iPhone. I don't want the same on all devices. I have all my music/videos on iTunes on my mac book pro. Can you set up separate folders for each device and drop in what ever music/videos from the main iTunes library?
In itunes it is called syncing and you can choose exactly what content to sync to all devices and it can be different for all of them
How to sync -
Can you set up multiple Facebook users on 1 IPad 4?
Can you set up multiple Facebook users(2) on one IPad 4?
I think maybe on different users on one computer - but not on the same one.
-
Can you set up 2 iTunes accounts on one computer?
Can you set up 2 iTunes accounts on one computer?
I had two accounts on one computer until recently. You need to use two user accounts on the computer. Note, I say I did it until recently, therefore I'm not able to confirm this still works, but assume it does.
-
Can you set a second "Open with:" application for a file?
Hi all,
I was wondering if something like this exists for OS X Lion or greater: you can set a default application to open a type of file, say Safari for all .html files, but can you set a second default application for a file?
I usually open files using command + o or command + down arrow from the Finder and I've often thought how good it would be to hit an alternate keyboard shortcut to open the selected file in a secondary default application.
For example, if I'm making a web page and have the .html selected in the finder I can hit command + o (or command + down arrow) to open it in Safari and if the file isn't open in my editor and is selected in the Finder I can hit, say command + option + o (or command + option + down arrow) to open the .html file in my editor.
Does anyone know if this can be achieved in OS X Lion or greater?
Any advice is greatly appreciated.
Thanks.Hi all,
If anyone's interested in a partial solution, I've rigged up the following.
I ended up using an Automator action coupled with Spark to capture a keyboard key combination. Spark: http://www.shadowlab.org/Software/spark
I've used Spark before with good results, and although it's from 2008 it still works on Lion.
I created an Automator action that does two things:
gets the selected Finder items
opens finder items in the text editor I'm using.
I then saved the workflow as an application so that Spark could run it.
I've set up a keyboard shortcut that Spark picks up and calls my Automator workflow. It all seems to work nicely.
So, I've created a specific "open selected file with <text editor>" keyboard shortcut that should do for the time being. -
Can you set a web page as a 'home page' on the i phone safari as you would?
Can you set a home page or will the safari button always take you to the last web site you were on?
You cannot set a Home Page in Safari but if you save your favorite bookmark to the home screen, you can use that to open the browser on iPhone.
To do this:
Open Safari and open the page you want for the "Home Page".
Tap the "+" at the bottom of the screen and select "Save to Home Screen"
You can then name it whatever you wish and tap Save.
This will create an icon on the home screen that you can tap on to always open Safari to that page. -
Can you set different colours for invitees in calendar?
In calendar on the iphone/ipad can you set any events that you accept from invitees to a different colour so that you can instantly distinguish them from your own events?
CheersYou could choose None in Preferences > General > New Mail Sound and set up a rule for each account in Preferences > Rules as follows:
If [any/all] of the following conditions are met:
[Account] [AccountName]
Perform the following actions:
[Play Sound] [Sound]
Problem is, that would cause the sound to be played for junk mail as well — probably not what you want. -
HT1677 Where can you set default in Safari to view as web page instead of Mobile Version?
Where can you set the default setting in Safari to open page as web page instead of Mobile Version on iPad running iOS6.01?
And, to make it even more fun, sometimes a website changes how it deals with Safari Mobile. A website that treated it like a desktop browser suddenly starts treating it like a cell phone. Just to mess with you. Or push an app.
Best of luck. -
Adobe Acrobat 9 Pro V9.4.0
Win7 Pro x64
Problem: In Initial View, can you set defaults for Navigation tab, Page layout, and Magnification?
Every time Acrobat scans a document, I have to go to Initial View to set Navigation tab, Page layout, and Magnification. It does not remember the settings I last used.
Thanks in advance.See my response to this post
Maybe you are looking for
-
Where are the drivers for HP Stream 7 Tablet - 5701na???
It appears that HP have pulled the drivers for the HP Stream 7 Tablet - 5701na.... I downloaded the wireless and BIOS a couple of days ago and stupidly didnt have them locally, now a couple of days later I return to the site and no drivers are listed
-
I have a Samsung full-HD LCD together with my AppleTV on HDMI. When I switch to 1080p in AppleTV the picture looks much less sharp than with 1080i and 720p. When watching pictures synced from iPhoto, the quality even look better in 720p. When connect
-
restore windows is the headline.the application "finder" unexpectedly quit while trying to restore its windows.do you want to restore its windows again?this message showing on monitor. i clicked restore windows option which is showed on the monitor a
-
Max limit for bulk insert.
Hi friends, We have 100 Million records in a table on production database. We are planning to move the data to test environment for performance tuning of the databse and queries. We have created a DB Link between these DB's to transfer the data betwe
-
A FMS to autopopulate the Subject of a service call
I am trying to construct the FMS to autopoulate the subject of a service call based on combining the Origin + Problem Type + Call Type. What would it be? I get the numeric values of the choose from list but have no idea how to get the actual names be