Custom Desktop Folders
Ray
ray at linkit.com
Thu Apr 16 12:01:43 EDT 2015
Mike - I believe you're right, but it's kind of odd. If I give it the
full path to an image file (ico, png, etc) it works as long as I leave
the image where it is. Move it and it breaks. The work around seems to
be to leave the image file at the root level of the folder which is
displaying it. I can then rename the folder and move it without losing
the icon.
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
More information about the use-livecode
mailing list