Smile vs AppleScript Editor
Smile vs AppleScript Editor
- Subject: Smile vs AppleScript Editor
- From: Gil Dawson <email@hidden>
- Date: Wed, 03 Apr 2013 11:51:48 -0700
Hi--
I'm having a little problem that expect someone will recognize right away.
The following scriptette:
set aFileRef to open for access file "MBProHD:Users:gil:temp.txt" close aFileRef Gets the following result in AppleScript Editor:
tell current application open for access file "MBProHD:Users:gil:temp.txt" --> 230 end tell tell application "AppleScript Editor" close 230 end tell But, in Smile, it gets an error (with "close aFileRef" hilighted):
Expected a reference. Can you please help me understand the difference?
--Gil |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden