Why i can't export into IDML [JS-CS6]?

I have:
var mDoc = app.activeDocument;
if(app.activeDocument.modified){
    app.activeDocument.save();
myFilename = app.activeDocument.fullName.toString();
mPathDoc = app.activeDocument.fullName;
if (myFilename.match(".indd") !=null){
myFilename = myFilename.split(".")[0]+"_test.idml";
app.activeDocument.save(File(myFilename)); --- this line does work!
mDoc.exportFile(ExportFormat.INDESIGN_MARKUP, myFilename); this line DOES NOT WORK!
// script says: "Cannot find the folder" - though the same folder in previous line

In continue...
Why not exporting (see beneath)?
var mDoc = app.activeDocument;
mPath = mDoc.filePath.parent + '/' + "tmp";
mSpellName = mPath + "/" + "spelling.idml";
aSpell = mSpellName.toString();
myFilename = app.activeDocument.fullName.toString();
//~ mPathDoc = app.activeDocument.fullName;
if (myFilename.match(".indd") !=null){
myFilename = myFilename.split(".")[0]+"_spelling.idml";
mDoc.exportFile(ExportFormat.INDESIGN_MARKUP, File(myFilename)); //DOES Work
mDoc.exportFile(ExportFormat.INDESIGN_MARKUP, File(mSpellName)); //DOES NOT?
mDoc.exportFile(ExportFormat.INDESIGN_MARKUP, File(aSpell)); //DOES NOT?

Similar Messages

  • Can't sign into Folio Builder CS6.

    Hi.
    I have been strugling with this issue all day. I am currently on Adobe Indesign CS6 (Not the cloud version) and I installed Adobe Folio Builder successfully. Everything works fine except that I cannot sign into folio builder. When I click on the sign in button nothing happens. I have looked into other posts from people with the same problem but none of the solutions that worked for them have worked for me. I tried clearing my preferences, reinstalling Desktop tools a few times and reinstalling adobe application manager but no luck. PLEASEEEEE Help!

    You will receive replies (like this one). Here's the link:
    Can't sign into Folio Builder CS6.

  • Why i can't export a video online with more than 14 minutes?

    Hi.
    the videos over 14 minutes I can not export online. Appears this message: Not supported in this destination for videos that exceed the maximum length. Reduce the length of the video and try again.
    Please help me. My computer is a pc (windows7).

    luuauler
    What version of Premiere Elements do you have and on what computer operating system is it running.
    The Premiere Elements built in YouTube feature has a file size and duration limit. For the current version 13 it is 2.2 GB file size and 15 minutes.
    If your video exceeds these limits then you can export that Timeline to a file saved to the computer hard drive and then upload that file to YouTube
    at the YouTube web site.
    The YouTube web site offers extended time accounts for this video. These YouTube extended time accounts cannot be used in the Premiere Elements
    built in YouTube feature.
    Upload videos longer than 15 minutes - YouTube Help
    Please let us know if you need supplemental help exporting your Timeline content to a file saved to the computer hard drive for upload to YouTube
    at the YouTube web site.
    Thank you.
    ATR

  • Why i can't enter into the Apple net

    What  happen about  the Apple net? I can't enter into it now.

    I don't know what you mean by 'Apple net' - what are you trying to do with the iPad ?

  • Exporting to .idml from CS6

    I need to give indesign files to a colleague that only has CS4, but when i send them .idml files, they can open them fine but all the pictures are missing. Has anyone else had this problem and is there a fix. Apologies if this has already been discussed, i'm new to the forum.
    Thanks
    Jonny

    The images are linked, so if they need to output the file you'll need to send them the images, too. As for the previews being missing, that's normal with .idml and missing links. The export strips out the previews, which is one of the main reasons the file size gets reduced, and ID cannot rebuild them when the .idml is opened if the links are missing.
    One way to deal with this would be to Package the file, export the .idml, and send that along with the package.

  • Why I can not insert into a table?

    Hi, all,
    I have a table "personstudy" with records already. Its primary key is "subjectid". and I have added a new column named "personstatus" varchar2(20) to it. After that, I want to insert into the field with "enrolled" for all records there. My script is like this:
    insert into personstudy (personstatus) values ('enrolled');
    the system reports:
    ERROR at line 1:
    ORA-01400: cannot insert NULL into ("FLOWLIMS"."PERSONSTUDY"."SUBJECTID")
    I just can not understand it. Is there any wrong with my script?
    Thank you!
    Qian

    maybe want you need is not insert a new rows but to update the existing records to have the 'enrolled' value put into the column personstatus.
      update personstudy
         set personstatus = 'enrolled';

  • Why I can't export a single frame from my composition?

    I try to export a single frame from the cavas but motion just did nothing when I click on export. Is there something wrong with my motion setup? I have trashed the motion's plist couple times already but still having the same issue. I can't even save the project. When click on save, motion did nothing, just like export. HELP!

    I see that you are on an intel mac. Are you running the universal versions (Final Cut Studio 5.1 w/ Motion 2.1)?
    See this article for troubleshooting steps: http://docs.info.apple.com/article.html?artnum=302596.
    When I am having major issues like this, I just start over from scratch. Do a complete erase and install with the OS discs, reinstall all applications and update everything with software update. I keep a separate partition just for film and video work that I can blow away any time (I don't store any important files on it).

  • Why I can't export the table-TEST?

    "exp userid=system/manager file=c:\abc.dmp tables=HELP"(one of initial tables) does work,
    while "exp userid=system/manager file=c:\abc.dmp tables=TEST" throw"EXP-00011: SYSTEM.TEST does not exist"(I create the table-TEST when I logon OEMC with system/manager)

    If you have created the TEST table in the SYSTEM schema, then it should export it. However, fire the below query in SQL Plus and paste the output here. Fire this query as SYS user.
    SELECT OBJECT_NAME,OWNER
    FROM DBA_OBJECTS
    WHERE OBJECT_NAME='TEST'
    However, what I suspect is that you might have connected from OEM using SYSTEM login with the SYSDBA option. And if you use the AS SYSDBA clause while connecting to the database then it will connect to the SYS schema irrespective of the login id used. Thus if you connect using SYSTEM/MANAGER@ORCL AS SYSDBA then you actually get connected to SYS schema and not SYSTEM. You can verify this by SHOW USER command after you login to SQLPlus.
    Regards.

  • Does anyone know why I can't log into FaceTime on my macbook pro?

    For some reason I'm not able to sign into my facetime on my macbook pro. Does anyone know why? Thanks

    Not enough information.  What are you using to sign in?

  • Can't log into Application Manager CS6 MC

    Hi all -
    When I try to log into my CS6 Applciation Manager, it's reply is "Unable to contact Adobe". All was working fine two days ago.
    Via the Chat Window, I contacted a CSR that helped me reset my password ... but that did NOT solve my problem. Then the CSR stated there is no issue ... and did not seek to help me out any further.
    I am able to log into my Adobe account to see my purchases, serial numbers, profile, etc...
    But I still am not able to log into the Application Manager.
    What am I missing here?
    I can provide more details if need be.

    Thanks for your reply Mylenium.
    OK, now I can log into my Adobe (website) account and see my purchases, serial numbers, etc. .... AND ..... I am now able to log into my Applications Manager!!
    I did not do anything different from the other past few days; didn't load or download any software, nothing. Strange, but I'm glad it's back to normal now.
    Figures; when I go and seek out assistance ... it fixes itself.
    Thanks again ... and I hope this does not re-occur!!

  • Can you export plugins in Indesign CS6?

    I have supplied an InDesign CS6 file to a colleague, when he tries to open it it asks for 4 missing plugins? Does anybody know a solution to this?
    Do I need to 'export' the plugins, if so does anybody know how to do this?

    Hi Peter
    Yes my colleague needs to edit the layout etc.
    I am just figuring out what version of InDesign he is using? I also think he is on a PC not a Mac.
    I am going to back save and see how he gets on.
    Thank you for your input.
    Kind regards
    Mandy

  • I can´t export my "Bedienfeld" to CS6 Plugin/Panels, I use configurator 3.1

    Ich habe configurator 3.1 schon neu Installiert. Es kommt die Fehlermeldung, das sich das Bedienfeld nicht nach CS6 exportieren lässt. Admin rechte vorhanden. Wer hat eine Idee woran es liegen könnte?

    Schau doch mal ob der Ordner "Panels" bereits exestiert, falls nicht einfach anlegen und Benutzerrechte kontrollieren.
    Ansonsten kannst du ja einfach einen anderen Speicherort für dein Panel wählen und es anschließend in den Ordner "Plug-Ins/Panels" verschieben.
    Als Ursache würde ich die fehlenden Benutzerrechte für den Ordner vermuten. Schau ob dein Benutzer tatsächlich Schreibrechte für diesen "Panels" hat.

  • IMovie can not export still pictures

    I have this problem, since I updated to iMovie '11 today.
    It does export regular videos but no still picture projects as it used to.
    I bought, downloaded and installed iMovie from the new German AppStore and everything seemed fine.
    Now I have created a project which includes still pictures only, with adjusted lengths and blendings.
    This project is located on an external hard drive.
    Whenever I try to export this project -so I can re-import it into iMovie in order be able to use those still pictures in my trailer- iMovie works on it for about 25 Minutes and does not report any errors. I have tried different locations for storage, but none of them results in a video file.
    I have deleted the iMovie preferences, rebooted my MacBook, but with no result:
    The exported video file is simply not there!
    There is also no video file within the package of this project.
    Any ideas? Please help!

    I don't know why you can't export a movie, but there is no reason that you should have to make a slideshow so you can have photos in a trailer.
    You can make the trailer. Then FILE/CONVERT TO PROJECT.
    Now you can add photos, etc.

  • I press reset and now i can't get into router interface?

    Yestoday i was just experimenting with my router. I set up a restriction for 12am to 12:05am to see if it will block my sister's internet just for the fun.
    However it did not work.
    Today my internet was slow because of my sister's laptop. Probably downloading some soft of content. I decide to press the reset button therefore her connection would be taken off.
    However  now i want to fix that. I understand how to get into my router's interface:
    -By going to my computer and then typing 192.168.1.1 on top...
    -Yestoday when i did that it worked. I was able to get into router interface, but now i can't. It gives me "cannot find server"
    I don't understand why i can't get into my router's set up~
    Can this be fixed?

    it might be that the reaosn why you're not accessing up the router's set-up page is because the computer connected to it is not getting a valid IP adress already...
    to check this...
    go to START, then RUN
    type in cmd
    in the command line, type in ipconfig
    take note of your IP adress... that's the computer IP adress..
    Now, take note of your default gateway... that is equivalent to your router's IP adress...
    in the same window, type in (ping default gateway #) ping 192.168.1.1 . if it replies, then your router's interface should be able to open up
    launch internet explorer, then type in http://192.168.1.1
    "a helping hand in a community makes the world a universe"

  • I paid for exportpdf and everytime i try to use tool on pdf, it asks me to subscribe. i have to log into website EVERY time. not acceptable.  how can i export only form fields that were filled in?

    i paid for exportpdf and every time i try to use tool on pdf, it asks me to subscribe. i have to log into website EVERY time. not acceptable. Some forms can't be saved so having to log in and only use webtool to upload a saved pdf won't work.
    as well, how can i export only form fields that were filled in if I can get pdf to save to computer?

    Hi kstine,
    I can see why that would be frustrating! Have you tried selecting Stayed Signed In underneath the Adobe ID and Password boxes when you try to log in?
    What did you use to create the PDF form? If you used FormsCentral, form data is saved to your online FormsCentral account. If you have Acrobat, you can export form data as described  here: Adobe Acrobat X Pro * Manage form data files
    Best,
    Sara

Maybe you are looking for