Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help !!! I am trying to write a tab delimeted text file

Status
Not open for further replies.

iparkin184

Programmer
Apr 26, 2002
3
US
I do a syntax check in smile and I have trouble with this line of code
copy carrierTab of word i to myVar as String

I get Can't set myVar as string to carrierTab of word i.Access not allowed
 
Why are you writing a delimited file in Quark Xpress and how did you get these errors?
 
I am working on a project that parses parts of an article using QuarkXPress and writes information to different text files with .dat extensions these text files are then uploaded to a server for further processing. The way Quark Handles the text is unusual some of the text in the table is treated as one unit with the column headers include while others are not.
 
I do a fair amount of scripting with Quark (up through ver. 4.11) but I'm not familiar with an application term carrierTab. Is this an application term in ver. 5.x? which I assume since you are looking at tables) or is it a variable you've defined?

Another possiblility is "myVar as String". It may be that carrierTab has a special data type (like color spec does) that won't coerce to a string. Do you need it as a string? Or do you need its contents, as a string?

Have you tried setting appleScript delimiters to tab and getting "first text item" as an alternate approach?

Since I'm not too sure what you need to accomplish, I don't know if these suggestions are helpful. You may find more help if you include more script information, either here, on the Quark Scripting Forum, or on the AppleScript Users List where these questions show up regularly.
 
Hey GeorgeMack I am having a lot of difficulty with this project. I have shifted my attention to just trying to get
different handlers in my script to reconize an open document
my e-mail address is iparkin_184@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top