Skip navigation
Bhaashu
Currently Being Moderated

Problem in saving document to pdf on MAC

Jun 22, 2012 10:55 PM

How can I save Indesign document as pdf using File.saveDialog.
I am using this jsx:::

 

function jsxFunction()

{

          var appName;

          if(app.name == undefined)

          {

                    // JavaScript only apps

                    appName = app.appName;

          }

          else

          {

                    // ExtendScript enabled apps

                    appName = app.name;

          }

 

          //your JSX code here

     var xml = '<object>';

          xml += '<property id="success"><true/></property>';

          xml += '</object>';

          return xml;

}

function saveForDirectory()

{

    var folder= File.saveDialog ('Select a directory', 'pdf') ;

    if(folder)

    return folder;

}

 

 

But how to implement this code in my flex code?
Can anyone help me?

Thanks in advance.

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points