do shell script modifies alias path
do shell script modifies alias path
- Subject: do shell script modifies alias path
- From: Malcolm Fitzgerald <email@hidden>
- Date: Thu, 4 Mar 2004 15:57:48 +1100
Would someone explain this to me please.
set f to (choose file)
--> alias
"Hogg:Users:malcolm:Documents:ASA:web:logs:error:2004:03-Mar:error_log.2.gz"
set pf to POSIX path of f
get f
--> alias
"Hogg:Users:malcolm:Documents:ASA:web:logs:error:2004:03-Mar:error_log.2.gz"
do shell script ("gunzip " & pf)
get f
--> alias
"/Users/malcolm/Documents/ASA/web/logs/error/2004/03-Mar/error_log.2.gz"
why does the do shell script step alter the variable f?
--
Malcolm Fitzgerald
Database Manager
The Australian Society of Authors
Promoting and protecting the
professional interests of
Australia's literary creators.
ph: 02 9318 0877 fx: 02 9318 0530 <
http://www.asauthors.org>
PO Box 1566 Strawberry Hills NSW 2016
_______________________________________________
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.