Reading a file through it's alias
Reading a file through it's alias
- Subject: Reading a file through it's alias
- From: Ferenc Farkas MÁTYÁS <email@hidden>
- Date: Tue, 7 Dec 2004 04:26:20 +0100
Hi List,
Has anyone good experiences regarding reading files through a command+L
alias reference? The cat does not work well, only if I read the
original file, not the alias.
open for access file "System:Users:ffmatyas:projects:server tech:server
tech log.txt" with write permission
--> 183
get eof 183
--> 25.0
read 183 from 1 to 25.0 as «class utf8»
--> "
2004/12/06 15:24:48 log
"
close access 183
The file spec is ok, although the eof is bad, and so is the readed
data. The script finished the open for access close access sentences,
but TextEdit still complains that it can not open the alias file in the
Finder with double-click. And the issue is he same, when an alias is a
directory. I use the latest 10.3.6.
Thanks in advance!
--
Regards,
Ferenc Farkas MÁTYÁS
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden