Re: Continuing problem with Satimage OSAX
Re: Continuing problem with Satimage OSAX
- Subject: Re: Continuing problem with Satimage OSAX
- From: Andy Wylie <email@hidden>
- Date: Tue, 07 Jan 2003 06:50:04 +1300
on Mon, 6 Jan 2003 10:38:52 +0000 Steve Thompson wrote:
>
I have a script that reads
>
>
repeat with i in theList
>
set slocount to slocount + 1
>
if i is not in templist then
>
-- This preference has been added
>
set temp to (item slocount of theSettingsList) as text
>
display dialog "value: " & temp8 & return & "name: " & i & return &
>
"Item: " & (item slocount of theSettingsList) & return & "String: " &
>
(i as string)
>
set j to ((last item of m) + slocount)
>
set {a, b, c} to {temp, j, i}
>
put resource a to tpath type "TEXT" index b with name c
>
end if
>
end repeat
>
>
>
The Display Dialog is part of my debugging and it displays a dialog
>
with the correct values every time. However, when I open the
>
preferences file after this script has run, each resource that was
>
created by this script has the right resource type, right resource
>
number and right contents but every one is called "flat".
>
Unfortunately, the name of the resource is important.
try...
set {a, b, c} to {temp, j, i's contents}
_____________________________ Andy
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.