Re: move folder & copy image ? (newbie)
Re: move folder & copy image ? (newbie)
- Subject: Re: move folder & copy image ? (newbie)
- From: Andy Wylie <email@hidden>
- Date: Tue, 07 Aug 2001 22:07:36 +1200
on 7/8/01 6:37 PM, T. Breheny / DiGiTAL ZEN at email@hidden wrote:
>
thanks for the suggestions; unfortunately none of them worked for me-- i
>
suspect that is because they require modification to my particular case
>
which, as a first-time AS'er, i'm not aware of.
>
>
reading through the "AS Finder Guide", i see reference to "insertion
>
location", which seems like it might do what i want, but my guess as to its
>
correct use somehow selects a bunch (but not all of my) desktop items. ??
>
No, it could be used if the folder you were after was the frontmost window
but it's not very useful, run this and see what it returns...
----------------
tell application "Finder"
insertion location
end tell
----------------
if you drag an application onto the Script Editor icon it will open it's
dictionary if it supports applescript.
From Finder's dictionary...
insertion location reference [r/o] -- the container in which a new folder
would appear if 3New Folder2 was selected
----------------try this script...
set x to choose folder
tell application "Finder"
move every item of folder x to container of folder x
end tell
_____________________________HTH Andy