Quark:setting type of tab
Quark:setting type of tab
- Subject: Quark:setting type of tab
- From: Studio G <email@hidden>
- Date: Tue, 01 May 2001 11:17:54 +0200
Hello there.
I am starting with Applescript, and I get some trouble scripting Quark 4.1.
this version of my script don't work :
set type_of_tab to "right justified"
set value_of_tab to 50
tell application "QuarkXPress Passport 4.11"
tell document 1
set list_of_tab to {{justification:{type_of_tab}} &
{position:{value_of_tab}}}
tell paragraph 1 of current box -- a text box has been selected
before
set properties to {tab list:list_of_tab}
end tell
end tell
end tell
but this one is OK :
set value_of_tab to 50
tell application "QuarkXPress Passport 4.11"
tell document 1
set list_of_tab to {{justification:{right justified}} &
{position:{value_of_tab}}}
tell paragraph 1 of current box -- a text box has been selected
before
set properties to {tab list:list_of_tab}
end tell
end tell
end tell
What is wrong with my type_of_tab ? Has it something to do with me and
Quark, or with me and Applescript ?
Thanks in advance.
Olivier