Re: temporary items
Re: temporary items
- Subject: Re: temporary items
- From: Axel Luttgens <email@hidden>
- Date: Sun, 21 Aug 2011 11:05:03 +0200
Le 19 août 2011 à 19:38, Luther Fuller a écrit :
> […]
> On second use, SBT errored with:
> Error number = -1700
> Error text = "Can't make Can't make some object into type some object."
>
> Restarted; Tried again with no error; Tried yet again with same error.
>
> Restarted; Tried again with no error; Tried yet again with same error.
>
> Here's the handler that's giving me the error ...
>
> on copyFolder(itemList, contentsDest)
> […]
> set destAlias to (folder itemName of contentsDest) as alias --********* ERROR'S HERE ???????????
> […]
> end copyFolder -----------------------------------------
>
> contentsDest is an alias pointing to the Contents folder in an application bundle in temporary items.
>
> At times, I think I've found the problem, only to find later that it reappears.
> (It's like passing in and out of consciousness.)
>
> Anyone see anything, here?
Hello Luther,
I still can't reproduce your problem here.
Do you still have the full error message (I guess there was some additional text, such as "from …")?
On the other hand, could you try to start from here:
on doIt(N)
set contentsDest to path to temporary items
-- Create a folder behind Finder's back
do shell script "mkdir " & POSIX path of contentsDest & N
tell application "Finder" to set destAlias to (folder N of contentsDest) as alias
end doIt
doIt("folder1")
and see if it errors as such, or if it errors when slightly modified/augmented?
Axel
_______________________________________________
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