Quotes in a string?

Hi Folks,


set theNumber to contents of text field "sms_nummer" of tab view item "Outbox" of tab view "tab" of window "main"
		set quota to "\""
		set sms to " quota & theNumber & quota "
		display dialog sms

the Variable sms should look like this

“+4367682007038” the quotes should be inside the variable

display dialog sms will show quota & theNumber & quota

but displaying theNumber will show me the correct number…

Any suggestions on how to solve this?

Thanks for your help!

Stefan

Ah woastas* !!

set theNumber to contents of text field "sms_nummer" of tab view item "Outbox" of tab view "tab" of window "main"
set sms to quote & theNumber & quote
display dialog sms
  • south german / austrian slang (not really translatable)
    something like “I can’t believe it…” :wink:

Hi Stefan

Oh I am stupid!

Quotes have only to be set when putting a text to a variable not when
making a variable to a variable…

Thanks for your help Stefan…

best regards,

Stefan