10.6 Problem Passing "Finder" variables to subroutines
10.6 Problem Passing "Finder" variables to subroutines
- Subject: 10.6 Problem Passing "Finder" variables to subroutines
- From: email@hidden
- Date: Mon, 07 Sep 2009 23:26:09 -0700
I'm having trouble with 10.6 taking Finder variables being passed to subroutines.
Example: In 10.4-10.5 I could pass the following into a subroutine:
(folder itemName of activeFolder)
For example:
global path_to_item
tell application "Finder" to my subroutine(folder itemName of activeFolder)
on subroutine(path_to_item)
-- further Applescript lines of code
end subroutine
The same thing happens with (folder itemName of activeFolder).
I realize there are better ways to script this, but the point is that it was working in 10.4-10.5 and doesn't seem to be working in 10.6. It makes me curious what changed?
Has anyone else has similar issues with passing Finder-related variables to subroutines??
Todd |
_______________________________________________
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