On 4/20/06 3:37 PM, "Sven E Olsson" <[EMAIL PROTECTED]> wrote:
> Thanks for your response!
> Your script working, But I have NOT get it to works when I try to use
> an parameter
> for the path...
> 
> on run {mf}
> tell application "Finder"
> set arrangement of icon view options of window of alias {mf} to
> arranged by name
> end tell
> end run
>
> I have tested some variants but nope...
> Thanks,
> Sven E

You could always store the script template in a constant or something and
execute it via a shell:

osascript -e "tell application \"Finder\"" -e " set arrangement of icon view
options of window of alias \"MYPATH\" to arranged by name" -e "end tell"

-Seth


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to