• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: error -1700
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error -1700


  • Subject: Re: error -1700
  • From: Robert Poland <email@hidden>
  • Date: Sat, 10 Nov 2012 21:25:54 -0700

On Nov 10, 2012, at 8:42 PM, John <email@hidden> wrote:

> Are you simply looking for the name of each item or for something more?
>
> John

This has been such a battle, I'll have to apply the code to the original (tomorrow) and see where I left off.

> 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
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


References: 
 >error -1700 (From: Robert Poland <email@hidden>)
 >Re: error -1700 (From: John <email@hidden>)

  • Prev by Date: Re: error -1700
  • Next by Date: Re: Out of Control Aliases?
  • Previous by thread: Re: error -1700
  • Next by thread: Re: error -1700
  • Index(es):
    • Date
    • Thread