How can I put quotation marks inside other quotes.
Code: Select all
send "showFinques "Search"" to cd "Finques" of stack "Lloguers"
Carles
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
send "showFinques "Search"" to cd "Finques" of stack "Lloguers"
Use the quote constant to embed quotes in a string, and to refer to quotes in a script. You must use this constant because if you use the quote character itself, it is treated as the beginning or end of a literal string and causes an execution error.
Code: Select all
send ("showFinques" & SPACE & QUOTE & "Search" & QUOTE) to cd "Finques" of stack "Lloguers"
Code: Select all
...
send "showFinques Search" to cd "Finques" of stack "Lloguers"
...
Code: Select all
...
put "Search" into tParam
send "showFinques tParam" to cd "Finques" of stack "Lloguers"
...
Code: Select all
...
dispatch "showFinques" to cd "Finques" of stack "Lloguers" with "Search"
...