realbasic-nug
[Top] [All Lists]

changing folders icons

To: REALbasicNUGlist Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: changing folders icons
From: Carlo Rubini <osb at bttb dot net dot bd>
Date: Wed, 28 Feb 2007 11:54:35 +0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
I have two folders, each with its custom icon. In Classics I used the following 
applescript to assign to one folder the icon of the other folder:

on run {fromFld, toFld}
        tell application "Finder" to set icon of folder toFld to icon of file 
fromFld
end run

And the applescript was called in this way:

changeTheIcon(fromFld.absolutePath, toFld.absolutePath)

Running the above applescript in OS X, no changing of icons happens.

Can anybody suggest the necessary changings to be made in the appleScript in 
order to have it work in OS X too?

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • changing folders icons, Carlo Rubini <=