error -1700
error -1700
- Subject: error -1700
- From: Robert Poland <email@hidden>
- Date: Sat, 10 Nov 2012 16:06:50 -0700
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