Re: error -1700
Re: error -1700
- Subject: Re: error -1700
- From: John <email@hidden>
- Date: Sat, 10 Nov 2012 22:42:06 -0500
Are you simply looking for the name of each item or for something more?
John
On Sat, Nov 10, 2012 at 6:06 PM, Robert Poland
<email@hidden> wrote:
Hi,
Needing more lessons;
I've tried Google, "The Definitive Guide" and the Standard Dictionary.
When run this script comes up with the error.
error "Can’t make \"Hearing Aid comments-questions.pages\" into type constant." number -1700 from "Hearing Aid comments-questions.pages" to constant
-- with a finder window showing on the desktop;
tell application "Finder"
activate
set winTarget to target of front window as alias
tell me to set the_items to list folder winTarget with invisibles
end tell #Finder
repeat with i from 1 to number of items in the the_items
set this_info to ""
set the_item to item 2 of the the_items as text
set this_info to name of item (file information of file (path to the_item))
set this_info to this_info as string
display dialog "" & "the_item = " & the_item & return & "this_info = " & this_info
end repeat
TIA,
Robert Poland - Fort Collins, CO
_______________________________________________
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
_______________________________________________
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
References: | |
| >error -1700 (From: Robert Poland <email@hidden>) |