Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I wrote a small code and deployed into CDF.

  CDFDeploy[SystemDialogInput["FileSave"], Style["This is my name"],WindowSize -> {100, 100}]

The String(This is my name) shows in double quotes ,whenever we have to open CDF.

enter image description here

How can I remove that double quotes in CDF?

share|improve this question
    
I'm puzzled as to why you want to put a naked Style exprssion into a .cdf file. I believe a .cdf should built up from Cell expressions. –  m_goldberg Nov 2 '12 at 22:09
add comment

2 Answers 2

up vote 8 down vote accepted

Try

CDFDeploy[SystemDialogInput["FileSave"],
 Style["This is my name", ShowStringCharacters->False],WindowSize -> {100, 100}]

or

CDFDeploy[SystemDialogInput["FileSave"],
   TextCell["This is my name"], WindowSize -> {100, 100}]
share|improve this answer
    
+1 For clarifying ShowStringCharacters and showing a straightforward use of TextCell. –  David Carraher Nov 2 '12 at 10:12
add comment

An alternative to editing notebook cells is:

CDFDeploy[SystemDialogInput["FileSave"], 
Graphics[Text[Style["This is my name"]]], WindowSize -> {100, 100}]
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.