App.activeDocument.name not giving the new name entered in save as option from the script
When I open a document and use save as option and enter a new name. The app.activeDocument.name object is still giving me the old file name, it not giving the new file name that was entered in the save as option. However this issue is comming when I open a document and use the save as option for the first time. From then on for any number of times I use the save as option it gives me the new name.
Hi,
In my case I am calling the script from my AI plugin(this is developed in c++) . My plugin will be called when ever there is a event, suppose I do ctrl+shift+s ( i,e File > Save as from Illustrator) , then my plugin will call the script.
Script that I am using:
var doc = app.activeDocument;
alert (doc.name);
var dest;
var options= new IllustratorSaveOptions();
dest = new File(app.activeDocument.path + '/' + doc.name);
doc.saveAs(dest, options);
Similar Messages
-
Get_ddl Not giving the entire DDL
Hi,
SQL> select dbms_metadata.get_ddl('TABLE','CS_CSG_SYSTEMS') from dual;
DBMS_METADATA.GET_DDL('TABLE','CS_CSG_SYSTEMS')
CREATE TABLE "CUSTSRV"."CS_CSG_SYSTEMS"
( "RECORD_NO" NUMBER(15,0),
"SY
SQL> desc cs_csg_systems;
Name Null? Type
RECORD_NO NOT NULL NUMBER(15)
SYSTEM_NO NUMBER(15)
APP_TYPE VARCHAR2(20)
SUB_APP_TYPE VARCHAR2(20)
INCLUDE_FLAG NUMBER(1)
PRIN_NO NUMBER(4)Why is the get_ddl function not giving the entire ddl ?
Thanks
RajivI think this is it ?
SQL> set long 2000
SQL> select dbms_metadata.get_ddl('TABLE','CS_CSG_SYSTEMS') from dual;
DBMS_METADATA.GET_DDL('TABLE','CS_CSG_SYSTEMS')
CREATE TABLE "CUSTSRV"."CS_CSG_SYSTEMS"
( "RECORD_NO" NUMBER(15,0),
"SYSTEM_NO" NUMBER(15,0),
"APP_TYPE" VARCHAR2(20),
"SUB_APP_TYPE" VARCHAR2(20),
"INCLUDE_FLAG" NUMBER(1,0),
"PRIN_NO" NUMBER(4,0),
CONSTRAINT "CS_CSG_SYSTEMS_PK" PRIMARY KEY ("RECORD_NO")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 524288 NEXT 524288 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "CUST_SML_X" ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "CUST_SML_D" -
How do I cancel a subscription to an app that is not on my new phone?
How do I cancel a subscription to an app that is not on my new phone? Will I get charge twice if I download the app again?
You can log in to MyVerizon with your phone number (register it if you haven't already) and look at what is there under the "My Media" tab. You should be able to transfer any apps to your new phone.
If in doubt, call customer service (800-922-0204 or *611 from your device) and explain - they can either cancel it for you or help you get it running on your new phone. -
Not very user friendly! Where is the place to report a problem!? I have been billed for an in-app purchase but not had the goods - I received an error message telling my I hadn't been charged at the time and now it is on my bill! What can I do?
You can try contact iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
-
I have just updated to ISO 8 and my app icons are not displaying the correct icon but just a generic icon. Anyone had a similar problem?
That happened to me for a short period of time after I updated. It didn't do it with all apps, but it did it with a few here and there. Try a few basic standard troubleshooting steps. Close all apps and reset the iPad.
In order to close apps, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
You can also try resetting all settings. You will not lose any data, but most of the device settings will have to be entered in the settings app again. Settings>General>Reset>Reset all Settings.
Hopefully it will be something simple, but don't rule out restoring the iOS software, if nothing else works, but start with this easy stuff first. -
My app store does not load the featured apps. The screen remains empty everytime I open it.
Saw this on another post.
Applecare Senior Advisor Txx Bxxx (I have his contact info in an email he just sent) just confirmed with me that the problem people are having with the App Store not loading is an apple issue with there servers, ITS NOT YOUR IPAD so don't go restoring it! It's not happening to everyone however but they are looking into it, its really hit or miss.
In the meantime ...........
The Complete Guide to Using the iTunes Store
http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
Can't connect to the iTunes Store
http://support.apple.com/kb/TS1368
iTunes: Advanced iTunes Store troubleshooting
http://support.apple.com/kb/TS3297
Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
This works for some users. Not sure why.
Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
Cheers, Tom -
Is there a way to purchase an app from the App store but not use the money I currently have in my iTunes account from a gift card?
The only way I know is to purchase it as a gift.
-
I m unable to access apple os after windows 7 instalation and its not giving the boot option
i m unable to access apple os after windows 7 instalation and its not giving the boot option. plz any one help me out .. how to fix it or how to delete windows 7 on my macbook
Reboot, as soon as you hear the chime press and hold the option key, when the Boot Manager appears select OSX.
-
I am looking for a english to spanish voice translation app that does not need the internet.
I am looking for a english to spanish voice translation app that does not need the internet. All the ones I find need the internet which have no value in a rural area. Google makes one for the Android but I need it for the Iphone4s. Thanks Steve
See How to call Adobe Acrobat 9 APIs to OCR the PDFs through .NET reply 4.
-
My Mail App (Lion) does not open the inbox. I cannot read the incoming mail. what shall I do? please, help!
I have this issue also. What I am doing is going to mailbox and to "get mail". Then it appears in the inbox. But there has to be a better way! I just posted my quetion, also.
-
Could not run the script. This command requires an active document.
Hi,
I'm receiving a confusing glitch running a batch process in
FW MX 2004.
I want to resize images in one folder and export them to
another. I step through the batch wizard and on commencement of the
batch receive an error:
quote:
Could not run the script. This command requires an active
document.
FW is telling me it can't run the commands on empty
documents, yet the batch is running on all images selected using
Add All during the batch wizard. Confusing. Similar batches have
worked fine in recent days.
Any ideas?
Thxtkatcher wrote:
> Thank you. Some of them had brackets and percentage
marks.
You are welcome.
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
Fireworks (cs3) could not run the script
When I choose in adobe dreamweaver: command->create web
photo album fireworks (fw) is launched. The problem is that when fw
is launched I got the following message: "Could not run the script.
The file was not found." So the result is a webpage without
pictures and thumbnails.
What can I do?
Thank you for your answer in advance,
sz.g.[AM] I wonder if this could be related to your InteliMac?
I'll try and repro the problem you are experiening.
Alan I do believe the problem is directly related to the
IntelMac issue with DW & FW having to run in Rosetta.
Unfortunatly the Adobe document FAQ Adobe Support for
Intel®-based Mac computers
http://www.adobe.com/products/pdfs/intelmacsupport.pdf#search=%22adobe%20studio%208%20not% 20supported%20intel%22.
in the section "Are there any known issues with running Adobe
Creative Suite 2, Studio 8, or After Effects 7.0 under Rosetta?"
doesn't say anything about the Web Photo Album command not working.
I upgraded to Studio 8 in mid August because when I upgraded
to an InteliMac I found that the FTP in my older DW MX application
would crash the application and obviously that would make working
on any websites sort of difficult. So I upgraded to Studio 8 and
everything was running fine (albeit slow at times) until about
three weeks ago now when a web site I was working on for a client
called for Web Photo Album and I discovered this problem.
It also turns out that I happen to like using the JustSo
Photo Album extension but it failed in the same way so it must call
on Fireworks in the same way that Web Photo Album does.
[AM] You could try this Slideshow Creator extension for
Fireworks:
Thanks for that tip. Is the Slideshow Creator your creation?
Unfortunalty I needed a "Photo Album" and not a slide show so I
ended up using Galerie (
http://www.myriad-online.com/en/products/galerie.htm)
but I like the idea of a slideshow too.
I downloaded and tested your Slideshow Creator Extension and
ran a quick test and I like it but for one thing. The album page it
created had all the thumbnail images bunched up in the upper left
hand corner. I don't know whether that was something I did or
failed to do in setting up the output or is it another InteliMac
with Fireworks? I'll have to take another look at it this weekend
when I have some extra time.
Thanks again for the tip. -
Using Windows 7 Ult, 64-bit:
I notice when I alt-click an adjustment layer icon, the layer automatically drops in with a default name--rather than giving me an opportunity to type a name for the A/L via the "new layer" dialog box. For example, in CS5, when you alt-click on the hue/saturation ajustment layer icon, you are given a dialog box in which you can name the layer, select clipping mask, blend mode, color select, etc--then the layer populates in the composition. In CS6 beta, when I hold the "alt" key and click the adjustment layer icon for hue/sat, I'm not getting the new layer dialog box at all. Is this a bug or a modifier key change in CS6?It should still work from the layers panel. You have to hold the alt key before going to the adjustments menu at the bottom of the layers panel.
It doesn't seem to work from the adjustments panel unless you use the flyout menu and then you don't have to add the alt key to get the dialog.
Message was edited by: R_Kelly -
Name attribute not giving the desired result in form tag
Hi,
I am using struts and the name attribute in form tag is not giving me the desired reuslt. The code is
<html:form name="loginActionForm" type="source.form.LoginActionForm" action="/login.do" method="post">
</html:form>
when I am trying to use the name in javascript then I am getting an error
"document.loginActionForm " is null or not an object.Where am I going wrong?I did so but the name I have used in the form tag is the same as what i have used in javascript.I dont think that it is a javascript error and it must be some mistake I made in the form tag.Also one more thing is it necessary to use the type attribute if you use the name attribute.
-
Should I maybe buy the software ex-novo on the App Store?
If you're not running the latest versions & Software Update says your software is up to date, make sure the applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. If you installed from the downloaded trial or the retail box, they must be in the iWork '09 folder in Applications. That iWork folder must be named iWork '09. If it doesn't have the '09 Software Update won't find them & the updaters won't work.
Maybe you are looking for
-
Photoshop missing component after migration to new Mac
I have an iMac (new) running Mavericks. I used Migration Assistant to transfer all apps, data, etc. I use an old version of Photoshop (CS4). After the transfer, I get the following message when I try to open an image in Photoshop: /Library/Applicatio
-
Help!!! Will Not RESTORE
When I Am in Itunes, and my ipod is connected. Everytime i click restore it says Firmware is not found. Can anyone please help me. Thanks so much! Eric
-
Problem Recorded for Outbound Processing...
Hello, My Scenario is idoc - xi - soap . But when i test my scenario. It didnt work properly. When i checked xi monitoring, I saw my process stayed in "Recorded for Outbound Processing". I think it didnt call adapter. Is anyone have idea whats wrong?
-
Hello SCCM'lovers I'm having a new EliteBook 820 G2 here which Fails PXE boot due to a false corrupted Intel Advanced Network Service Virtual Adapter-Driver. The PROBLEM now is how to determine under Boot Images - Properties - Drivers ... the correct
-
Hello, There is an error occurring during adding a transaction to a role : While clicking on Maintain in PFCG, getting the error "Unhandled error; Unable to create role (Language E0 not in system)." This is started after applying SP10 and performin