Custom Desktop Folders

Mike Bonner bonnmike at gmail.com
Thu Apr 16 09:38:16 EDT 2015


It shouldn't matter where you store the icon. In fact, it'd be better if
you created a folder for your icons somewhere like the app support
directory or some such.  Then you can point to the icon file, and if you
move the folder around, it shouldn't matter.
Heres a link to a forum post that uses env variables to point to an icon
location.  It points to a folder stored in a folder on the desktop, but it
shouldn't matter where the folder is as long as you can point to it
explicitly. (or in the case of the forum post, point to it at a location
relative to the user)
If you were wanting to set things up where all users see thte icon, then
inside the folder, or some place not relative to the specific user is the
way to go.  Network shares would be complicated.  I wonder... if you have
the .ico file in the folder, and your desktop.ini references it this way:
.\myicon.ico
does it work?  It would be nice if you could start relative to the folder (
. ) and go from there.

Also, you can set the attributes of your icon file to system/hidden so it
doesn't show in the top level.  Of course people like me have settings so
that it will show anyway but.. /shrug

On Thu, Apr 16, 2015 at 10:09 AM, Ray <ray at linkit.com> wrote:

> Scott thanks for your idea on this but I think I'll try something else in
> light of the possible licensing ramifications which, incidentally, I
> appreciate you pointing out.
>
> At this point I'm unable to get any icons, ico png or otherwise, to
> display by creating the .ini file myself.  I have noticed that when I set
> it up through the properties tabs the automatically generated .ini file
> looks a little different:
>    [ViewState]
>    Mode=
>    Vid=
>    FolderType=Pictures
>    Logo=C:\Users\RayAc\Desktop\Test\MyIcon.png
>
> Nonetheless, when I create this manually it doesn't work.  And I haven't
> even begun to look at the Mac side yet.
>
> But there's hope!  I've seem to have success setting up the folder
> manually, leaving the image file in the folder, treating the whole folder
> as a template of sorts and using revCopyFolder to duplicate it every time I
> need a new one.
>
> I'm going to try that as a work-around and see how it goes.
>
> Many thanks!
>
>
> On 4/15/2015 7:13 PM, Mike Bonner wrote:
>
>> Give it the full path.
>>
>> On Wed, Apr 15, 2015 at 12:50 PM, Mark Schonewille <
>> m.schonewille at economy-x-talk.com> wrote:
>>
>>  Hi Ray,
>>>
>>> I've found the link I got the example from (IIRC):
>>>
>>> https://msdn.microsoft.com/en-us/library/windows/desktop/
>>> cc144102%28v=vs.85%29.aspx
>>>
>>> --
>>> Best regards,
>>>
>>> Mark Schonewille
>>>
>>> Economy-x-Talk Consulting and Software Engineering
>>> Homepage: http://economy-x-talk.com
>>> Twitter: http://twitter.com/xtalkprogrammer
>>> KvK: 50277553
>>>
>>> Installer Maker for LiveCode:
>>> http://qery.us/468
>>>
>>> Buy my new book "Programming LiveCode for the Real Beginner"
>>> http://qery.us/3fi
>>>
>>> LiveCode on Facebook:
>>> https://www.facebook.com/groups/runrev/
>>>
>>> On 4/16/2015 02:01, Ray wrote:
>>>
>>>  OK Mark - I've experimented a little doing this:
>>>>
>>>> Made a text file named Desktop.ini
>>>>
>>>> Saved the following content in it:
>>>> [.ShellClassInfo]
>>>> IconFile=MyIcon.ico
>>>> IconIndex=0
>>>> InfoTip=Some sensible information.
>>>>
>>>> Created a folder on the Windows desktop named Test
>>>>
>>>> Moved both the file and a .ico file named MyIcon into the folder
>>>>
>>>> This doesn't change the appearance of the folder, although it does
>>>> change the appearance of the text file.  It puts a little gear on it.
>>>>
>>>> Am I missing something?
>>>>
>>>> On 4/15/2015 1:43 PM, Mark Schonewille wrote:
>>>>
>>>>  Ray,
>>>>>
>>>>> It is a text file. I gave you an example of the text. LiveCode can
>>>>> create such text files. The file should be saved inside the folder of
>>>>> which you want to change the icon.
>>>>>
>>>>> --
>>>>> Best regards,
>>>>>
>>>>> Mark Schonewille
>>>>>
>>>>> Economy-x-Talk Consulting and Software Engineering
>>>>> Homepage: http://economy-x-talk.com
>>>>> Twitter: http://twitter.com/xtalkprogrammer
>>>>> KvK: 50277553
>>>>>
>>>>> Installer Maker for LiveCode:
>>>>> http://qery.us/468
>>>>>
>>>>> Buy my new book "Programming LiveCode for the Real Beginner"
>>>>> http://qery.us/3fi
>>>>>
>>>>> LiveCode on Facebook:
>>>>> https://www.facebook.com/groups/runrev/
>>>>>
>>>>> On 4/16/2015 01:37, Ray wrote:
>>>>>
>>>>>  Mark  -  thanks for these tips but I'm afraid I'm not quite following
>>>>>> you.
>>>>>>
>>>>>> Should the text file have any text in it?  Which folder should I save
>>>>>> it
>>>>>> in?  And finally, how do I set the settings you've outlined from
>>>>>> within
>>>>>> Livecode?  I guess these things are delving into an area of Livecode
>>>>>> I've never used.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Ray
>>>>>>
>>>>>> On 4/15/2015 12:56 PM, Mark Schonewille wrote:
>>>>>>
>>>>>>  Hi Ray,
>>>>>>>
>>>>>>> Make a text file with Notepad. Save it in the folder as Desktop.ini.
>>>>>>> Use the following settings:
>>>>>>>
>>>>>>> [.ShellClassInfo]
>>>>>>> IconFile=Folder.ico
>>>>>>> IconIndex=0
>>>>>>> InfoTip=Some sensible information.
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Best regards,
>>>>>>>
>>>>>>> Mark Schonewille
>>>>>>>
>>>>>>> Economy-x-Talk Consulting and Software Engineering
>>>>>>> Homepage: http://economy-x-talk.com
>>>>>>> Twitter: http://twitter.com/xtalkprogrammer
>>>>>>> KvK: 50277553
>>>>>>>
>>>>>>> Installer Maker for LiveCode:
>>>>>>> http://qery.us/468
>>>>>>>
>>>>>>> Buy my new book "Programming LiveCode for the Real Beginner"
>>>>>>> http://qery.us/3fi
>>>>>>>
>>>>>>> LiveCode on Facebook:
>>>>>>> https://www.facebook.com/groups/runrev/
>>>>>>>
>>>>>>> On 4/15/2015 23:30, Ray wrote:
>>>>>>>
>>>>>>>  Does anybody know of a way, from within Livecode, to create a folder
>>>>>>>> and give it it's own custom display on the desktop?  I'd imagine
>>>>>>>> this
>>>>>>>> would be done with an .ico file.  I'd like to do this for both Mac
>>>>>>>> and Windows.
>>>>>>>>
>>>>>>>> I've looked through the RunRev store and haven't found any
>>>>>>>> extensions
>>>>>>>> which do this.  Maybe through a command-line somebody has written?
>>>>>>>>
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> use-livecode mailing list
>>>>>>> use-livecode at lists.runrev.com
>>>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>>>> subscription preferences:
>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>>>>
>>>>>>>
>>>>>> _______________________________________________
>>>>>> use-livecode mailing list
>>>>>> use-livecode at lists.runrev.com
>>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>>> subscription preferences:
>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>>>
>>>>>>
>>>>>>  _______________________________________________
>>>>> use-livecode mailing list
>>>>> use-livecode at lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>>
>>>>>
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>
>>>>
>>>>  _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>>  _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list