Re: Custom Desktop Folders

2015-04-17 Thread Mike Bonner
Glad its working! Time for a beer.  Of the root variety.  :)  Have a great
weekend.

On Fri, Apr 17, 2015 at 4:39 PM, Ray  wrote:

> Mike - I'm happy to report that this is totally resolved.  I was using
> something else as the text of the Desktop.ini file.  When I switched to
> simply:
>
> [.ShellClassInfo]
> IconResource=genericapp.ico
>
> with no path whatsoever, everything began to work flawlessly.
>
> Thanks for going the extra mile with me on this one.  Tricky thing, wasn't
> it?
>
> Many thanks
>
>
> On 4/17/2015 9:35 AM, Mike Bonner wrote:
>
>> Time for me to run away, but if things stay quirky, I'll see if I can
>> borrow a win8 system and poke around this eve when I get back.
>>
>> On Fri, Apr 17, 2015 at 7:34 AM, Mike Bonner  wrote:
>>
>>  Strange.  Wish I had win8 to try.  If I set things using the property
>>> inspector, it does adjust that file, but if I only do it with my script
>>> (and set the IconResource)  it stays the same.  Most of the stuff you
>>> list
>>> in the file is for inside except the logo.
>>> foldertype just adjust settings for efficient indexing.
>>>
>>> All I have in my desktop.ini (again windows 7) is this:
>>>
>>> [.ShellClassInfo]
>>> IconResource=genericapp.ico
>>>
>>> with the ico file inside the folder, so no path needed after all. (if its
>>> elsewhere, of course path it!)
>>>
>>> On Fri, Apr 17, 2015 at 1:30 PM, Ray  wrote:
>>>
>>>  Another interesting point:  after I create the Desktop.ini file from
 within Livecode it's text is this:
 [ViewState]
 Mode=
 Vid=
 FolderType=Pictures
 Logo=C:\Users\RayAc\Desktop\M\PubblyIcon.ico

 and the file's size is 91 bytes.

 After I manually set the desktop folder picture from the Properties tab,
 to make sure it sticks, neither the text nor the attributes change at
 all,
 but the size somehow grows to 93 bytes.  Something else is happening to
 the
 Desktop.ini file when changing the folder's picture manually but I don't
 know what it is.

 On 4/17/2015 9:17 AM, Mike Bonner wrote:

  I'm not positive, but I THINK when you put files into the folder, it
> makes
> adjustments so that a) it still kinda shows your icon, while b) its
> trying
> to show previews of whats in the folder.  I'm not sure this is what
> you're
> seeing, but it sounds right.  I think there was a way around this
> behavior,
> (assuming my guess is right), but I'll have to try to remember what I
> saw.
> (probably another setting in the desktop.ini)
>
> Unfortunately, its not behaving the same for me.  Maybe its a random
> feature!
>
> On Fri, Apr 17, 2015 at 1:02 PM, Ray  wrote:
>
>   I see.  So there are three different states of this check box: empty,
>
>> checked and "squared".  That's a new thing for me.  I always thought
>> there
>> were just two states of both check boxes and radio buttons, but I
>> think
>> I
>> can handle that.  Thanks for laying it out.
>>
>> On another note, I've discovered that while the desktop icon I assign
>> to a
>> folder is there when I first create the folder and set it all up, it
>> shrinks the instant I write or copy a file into the folder, either
>> through
>> Livecode or manually on the desktop.  Do you know why this might be
>> happening?
>>
>> I only see the icon I assign when viewing by medium and large icons.
>> Could this have something to do with it?
>>
>>
>> On 4/17/2015 8:52 AM, Mike Bonner wrote:
>>
>>   If you notice, when you set the read only aspect of the folder using
>>
>>> the
>>> shell, then look at the properties of the folder, the box isn't
>>> checked.
>>> Its greyed out. This is because you set the folder itself.  When you
>>> use
>>> the checkbox in the proprieties inspector for the folder, you're
>>> actually
>>> setting the rules for the contents of the folder, not the folder
>>> itself.
>>>
>>> I suspect, if you create a folder, then check that box, then check
>>> its
>>> attributes from the shell (attrib foldername) that the folder itself
>>> won't
>>> show R as one of its attribs. The checkbox isn't doing the same thing
>>> as
>>> the shell call.
>>>
>>> Freaks me out a bit actually!
>>> ___
>>> use-livecode mailing list
>>> use-livecode@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@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/l

Re: Custom Desktop Folders

2015-04-17 Thread Ray
Mike - I'm happy to report that this is totally resolved.  I was using 
something else as the text of the Desktop.ini file.  When I switched to 
simply:


[.ShellClassInfo]
IconResource=genericapp.ico

with no path whatsoever, everything began to work flawlessly.

Thanks for going the extra mile with me on this one.  Tricky thing, 
wasn't it?


Many thanks

On 4/17/2015 9:35 AM, Mike Bonner wrote:

Time for me to run away, but if things stay quirky, I'll see if I can
borrow a win8 system and poke around this eve when I get back.

On Fri, Apr 17, 2015 at 7:34 AM, Mike Bonner  wrote:


Strange.  Wish I had win8 to try.  If I set things using the property
inspector, it does adjust that file, but if I only do it with my script
(and set the IconResource)  it stays the same.  Most of the stuff you list
in the file is for inside except the logo.
foldertype just adjust settings for efficient indexing.

All I have in my desktop.ini (again windows 7) is this:

[.ShellClassInfo]
IconResource=genericapp.ico

with the ico file inside the folder, so no path needed after all. (if its
elsewhere, of course path it!)

On Fri, Apr 17, 2015 at 1:30 PM, Ray  wrote:


Another interesting point:  after I create the Desktop.ini file from
within Livecode it's text is this:
[ViewState]
Mode=
Vid=
FolderType=Pictures
Logo=C:\Users\RayAc\Desktop\M\PubblyIcon.ico

and the file's size is 91 bytes.

After I manually set the desktop folder picture from the Properties tab,
to make sure it sticks, neither the text nor the attributes change at all,
but the size somehow grows to 93 bytes.  Something else is happening to the
Desktop.ini file when changing the folder's picture manually but I don't
know what it is.

On 4/17/2015 9:17 AM, Mike Bonner wrote:


I'm not positive, but I THINK when you put files into the folder, it
makes
adjustments so that a) it still kinda shows your icon, while b) its
trying
to show previews of whats in the folder.  I'm not sure this is what
you're
seeing, but it sounds right.  I think there was a way around this
behavior,
(assuming my guess is right), but I'll have to try to remember what I
saw.
(probably another setting in the desktop.ini)

Unfortunately, its not behaving the same for me.  Maybe its a random
feature!

On Fri, Apr 17, 2015 at 1:02 PM, Ray  wrote:

  I see.  So there are three different states of this check box: empty,

checked and "squared".  That's a new thing for me.  I always thought
there
were just two states of both check boxes and radio buttons, but I think
I
can handle that.  Thanks for laying it out.

On another note, I've discovered that while the desktop icon I assign
to a
folder is there when I first create the folder and set it all up, it
shrinks the instant I write or copy a file into the folder, either
through
Livecode or manually on the desktop.  Do you know why this might be
happening?

I only see the icon I assign when viewing by medium and large icons.
Could this have something to do with it?


On 4/17/2015 8:52 AM, Mike Bonner wrote:

  If you notice, when you set the read only aspect of the folder using

the
shell, then look at the properties of the folder, the box isn't
checked.
Its greyed out. This is because you set the folder itself.  When you
use
the checkbox in the proprieties inspector for the folder, you're
actually
setting the rules for the contents of the folder, not the folder
itself.

I suspect, if you create a folder, then check that box, then check its
attributes from the shell (attrib foldername) that the folder itself
won't
show R as one of its attribs. The checkbox isn't doing the same thing
as
the shell call.

Freaks me out a bit actually!
___
use-livecode mailing list
use-livecode@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@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@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@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@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 ma

Re: Custom Desktop Folders

2015-04-17 Thread Mike Bonner
Time for me to run away, but if things stay quirky, I'll see if I can
borrow a win8 system and poke around this eve when I get back.

On Fri, Apr 17, 2015 at 7:34 AM, Mike Bonner  wrote:

> Strange.  Wish I had win8 to try.  If I set things using the property
> inspector, it does adjust that file, but if I only do it with my script
> (and set the IconResource)  it stays the same.  Most of the stuff you list
> in the file is for inside except the logo.
> foldertype just adjust settings for efficient indexing.
>
> All I have in my desktop.ini (again windows 7) is this:
>
> [.ShellClassInfo]
> IconResource=genericapp.ico
>
> with the ico file inside the folder, so no path needed after all. (if its
> elsewhere, of course path it!)
>
> On Fri, Apr 17, 2015 at 1:30 PM, Ray  wrote:
>
>> Another interesting point:  after I create the Desktop.ini file from
>> within Livecode it's text is this:
>>[ViewState]
>>Mode=
>>Vid=
>>FolderType=Pictures
>>Logo=C:\Users\RayAc\Desktop\M\PubblyIcon.ico
>>
>> and the file's size is 91 bytes.
>>
>> After I manually set the desktop folder picture from the Properties tab,
>> to make sure it sticks, neither the text nor the attributes change at all,
>> but the size somehow grows to 93 bytes.  Something else is happening to the
>> Desktop.ini file when changing the folder's picture manually but I don't
>> know what it is.
>>
>> On 4/17/2015 9:17 AM, Mike Bonner wrote:
>>
>>> I'm not positive, but I THINK when you put files into the folder, it
>>> makes
>>> adjustments so that a) it still kinda shows your icon, while b) its
>>> trying
>>> to show previews of whats in the folder.  I'm not sure this is what
>>> you're
>>> seeing, but it sounds right.  I think there was a way around this
>>> behavior,
>>> (assuming my guess is right), but I'll have to try to remember what I
>>> saw.
>>> (probably another setting in the desktop.ini)
>>>
>>> Unfortunately, its not behaving the same for me.  Maybe its a random
>>> feature!
>>>
>>> On Fri, Apr 17, 2015 at 1:02 PM, Ray  wrote:
>>>
>>>  I see.  So there are three different states of this check box: empty,
 checked and "squared".  That's a new thing for me.  I always thought
 there
 were just two states of both check boxes and radio buttons, but I think
 I
 can handle that.  Thanks for laying it out.

 On another note, I've discovered that while the desktop icon I assign
 to a
 folder is there when I first create the folder and set it all up, it
 shrinks the instant I write or copy a file into the folder, either
 through
 Livecode or manually on the desktop.  Do you know why this might be
 happening?

 I only see the icon I assign when viewing by medium and large icons.
 Could this have something to do with it?


 On 4/17/2015 8:52 AM, Mike Bonner wrote:

  If you notice, when you set the read only aspect of the folder using
> the
> shell, then look at the properties of the folder, the box isn't
> checked.
> Its greyed out. This is because you set the folder itself.  When you
> use
> the checkbox in the proprieties inspector for the folder, you're
> actually
> setting the rules for the contents of the folder, not the folder
> itself.
>
> I suspect, if you create a folder, then check that box, then check its
> attributes from the shell (attrib foldername) that the folder itself
> won't
> show R as one of its attribs. The checkbox isn't doing the same thing
> as
> the shell call.
>
> Freaks me out a bit actually!
> ___
> use-livecode mailing list
> use-livecode@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-17 Thread Mike Bonner
Strange.  Wish I had win8 to try.  If I set things using the property
inspector, it does adjust that file, but if I only do it with my script
(and set the IconResource)  it stays the same.  Most of the stuff you list
in the file is for inside except the logo.
foldertype just adjust settings for efficient indexing.

All I have in my desktop.ini (again windows 7) is this:

[.ShellClassInfo]
IconResource=genericapp.ico

with the ico file inside the folder, so no path needed after all. (if its
elsewhere, of course path it!)

On Fri, Apr 17, 2015 at 1:30 PM, Ray  wrote:

> Another interesting point:  after I create the Desktop.ini file from
> within Livecode it's text is this:
>[ViewState]
>Mode=
>Vid=
>FolderType=Pictures
>Logo=C:\Users\RayAc\Desktop\M\PubblyIcon.ico
>
> and the file's size is 91 bytes.
>
> After I manually set the desktop folder picture from the Properties tab,
> to make sure it sticks, neither the text nor the attributes change at all,
> but the size somehow grows to 93 bytes.  Something else is happening to the
> Desktop.ini file when changing the folder's picture manually but I don't
> know what it is.
>
> On 4/17/2015 9:17 AM, Mike Bonner wrote:
>
>> I'm not positive, but I THINK when you put files into the folder, it makes
>> adjustments so that a) it still kinda shows your icon, while b) its trying
>> to show previews of whats in the folder.  I'm not sure this is what you're
>> seeing, but it sounds right.  I think there was a way around this
>> behavior,
>> (assuming my guess is right), but I'll have to try to remember what I saw.
>> (probably another setting in the desktop.ini)
>>
>> Unfortunately, its not behaving the same for me.  Maybe its a random
>> feature!
>>
>> On Fri, Apr 17, 2015 at 1:02 PM, Ray  wrote:
>>
>>  I see.  So there are three different states of this check box: empty,
>>> checked and "squared".  That's a new thing for me.  I always thought
>>> there
>>> were just two states of both check boxes and radio buttons, but I think I
>>> can handle that.  Thanks for laying it out.
>>>
>>> On another note, I've discovered that while the desktop icon I assign to
>>> a
>>> folder is there when I first create the folder and set it all up, it
>>> shrinks the instant I write or copy a file into the folder, either
>>> through
>>> Livecode or manually on the desktop.  Do you know why this might be
>>> happening?
>>>
>>> I only see the icon I assign when viewing by medium and large icons.
>>> Could this have something to do with it?
>>>
>>>
>>> On 4/17/2015 8:52 AM, Mike Bonner wrote:
>>>
>>>  If you notice, when you set the read only aspect of the folder using the
 shell, then look at the properties of the folder, the box isn't checked.
 Its greyed out. This is because you set the folder itself.  When you use
 the checkbox in the proprieties inspector for the folder, you're
 actually
 setting the rules for the contents of the folder, not the folder itself.

 I suspect, if you create a folder, then check that box, then check its
 attributes from the shell (attrib foldername) that the folder itself
 won't
 show R as one of its attribs. The checkbox isn't doing the same thing as
 the shell call.

 Freaks me out a bit actually!
 ___
 use-livecode mailing list
 use-livecode@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-17 Thread Ray
I've actually been using Logo= since that's what the system puts in the 
file when manually creating the file.  I'll try IconResource...


On 4/17/2015 9:30 AM, Mike Bonner wrote:

Hey, quick question.. in the desktop.ini are you using IconFile=.. or
IconResource=...   When I use IconFile it behaves the way you describe,
when I use IconResource, it keeps the icon.

On Fri, Apr 17, 2015 at 1:23 PM, Ray  wrote:


Weird isn't it?  I may have mentioned this,too, but after I manually
change the Folder Picture via the properties window at the desktop
everything works great from within Livecode if I create folders of the same
name at the same path.  I'm naming my folders a single capital letter as I
test and I'm all the way up to 'M' since I've /used up/ all the previous
letters as names.

I think there's something going on in the registry.


On 4/17/2015 9:17 AM, Mike Bonner wrote:


I'm not positive, but I THINK when you put files into the folder, it makes
adjustments so that a) it still kinda shows your icon, while b) its trying
to show previews of whats in the folder.  I'm not sure this is what you're
seeing, but it sounds right.  I think there was a way around this
behavior,
(assuming my guess is right), but I'll have to try to remember what I saw.
(probably another setting in the desktop.ini)

Unfortunately, its not behaving the same for me.  Maybe its a random
feature!

On Fri, Apr 17, 2015 at 1:02 PM, Ray  wrote:

  I see.  So there are three different states of this check box: empty,

checked and "squared".  That's a new thing for me.  I always thought
there
were just two states of both check boxes and radio buttons, but I think I
can handle that.  Thanks for laying it out.

On another note, I've discovered that while the desktop icon I assign to
a
folder is there when I first create the folder and set it all up, it
shrinks the instant I write or copy a file into the folder, either
through
Livecode or manually on the desktop.  Do you know why this might be
happening?

I only see the icon I assign when viewing by medium and large icons.
Could this have something to do with it?


On 4/17/2015 8:52 AM, Mike Bonner wrote:

  If you notice, when you set the read only aspect of the folder using the

shell, then look at the properties of the folder, the box isn't checked.
Its greyed out. This is because you set the folder itself.  When you use
the checkbox in the proprieties inspector for the folder, you're
actually
setting the rules for the contents of the folder, not the folder itself.

I suspect, if you create a folder, then check that box, then check its
attributes from the shell (attrib foldername) that the folder itself
won't
show R as one of its attribs. The checkbox isn't doing the same thing as
the shell call.

Freaks me out a bit actually!
___
use-livecode mailing list
use-livecode@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@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-17 Thread Ray
Another interesting point:  after I create the Desktop.ini file from 
within Livecode it's text is this:

   [ViewState]
   Mode=
   Vid=
   FolderType=Pictures
   Logo=C:\Users\RayAc\Desktop\M\PubblyIcon.ico

and the file's size is 91 bytes.

After I manually set the desktop folder picture from the Properties tab, 
to make sure it sticks, neither the text nor the attributes change at 
all, but the size somehow grows to 93 bytes.  Something else is 
happening to the Desktop.ini file when changing the folder's picture 
manually but I don't know what it is.


On 4/17/2015 9:17 AM, Mike Bonner wrote:

I'm not positive, but I THINK when you put files into the folder, it makes
adjustments so that a) it still kinda shows your icon, while b) its trying
to show previews of whats in the folder.  I'm not sure this is what you're
seeing, but it sounds right.  I think there was a way around this behavior,
(assuming my guess is right), but I'll have to try to remember what I saw.
(probably another setting in the desktop.ini)

Unfortunately, its not behaving the same for me.  Maybe its a random
feature!

On Fri, Apr 17, 2015 at 1:02 PM, Ray  wrote:


I see.  So there are three different states of this check box: empty,
checked and "squared".  That's a new thing for me.  I always thought there
were just two states of both check boxes and radio buttons, but I think I
can handle that.  Thanks for laying it out.

On another note, I've discovered that while the desktop icon I assign to a
folder is there when I first create the folder and set it all up, it
shrinks the instant I write or copy a file into the folder, either through
Livecode or manually on the desktop.  Do you know why this might be
happening?

I only see the icon I assign when viewing by medium and large icons.
Could this have something to do with it?


On 4/17/2015 8:52 AM, Mike Bonner wrote:


If you notice, when you set the read only aspect of the folder using the
shell, then look at the properties of the folder, the box isn't checked.
Its greyed out. This is because you set the folder itself.  When you use
the checkbox in the proprieties inspector for the folder, you're actually
setting the rules for the contents of the folder, not the folder itself.

I suspect, if you create a folder, then check that box, then check its
attributes from the shell (attrib foldername) that the folder itself won't
show R as one of its attribs. The checkbox isn't doing the same thing as
the shell call.

Freaks me out a bit actually!
___
use-livecode mailing list
use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-17 Thread Mike Bonner
Hey, quick question.. in the desktop.ini are you using IconFile=.. or
IconResource=...   When I use IconFile it behaves the way you describe,
when I use IconResource, it keeps the icon.

On Fri, Apr 17, 2015 at 1:23 PM, Ray  wrote:

> Weird isn't it?  I may have mentioned this,too, but after I manually
> change the Folder Picture via the properties window at the desktop
> everything works great from within Livecode if I create folders of the same
> name at the same path.  I'm naming my folders a single capital letter as I
> test and I'm all the way up to 'M' since I've /used up/ all the previous
> letters as names.
>
> I think there's something going on in the registry.
>
>
> On 4/17/2015 9:17 AM, Mike Bonner wrote:
>
>> I'm not positive, but I THINK when you put files into the folder, it makes
>> adjustments so that a) it still kinda shows your icon, while b) its trying
>> to show previews of whats in the folder.  I'm not sure this is what you're
>> seeing, but it sounds right.  I think there was a way around this
>> behavior,
>> (assuming my guess is right), but I'll have to try to remember what I saw.
>> (probably another setting in the desktop.ini)
>>
>> Unfortunately, its not behaving the same for me.  Maybe its a random
>> feature!
>>
>> On Fri, Apr 17, 2015 at 1:02 PM, Ray  wrote:
>>
>>  I see.  So there are three different states of this check box: empty,
>>> checked and "squared".  That's a new thing for me.  I always thought
>>> there
>>> were just two states of both check boxes and radio buttons, but I think I
>>> can handle that.  Thanks for laying it out.
>>>
>>> On another note, I've discovered that while the desktop icon I assign to
>>> a
>>> folder is there when I first create the folder and set it all up, it
>>> shrinks the instant I write or copy a file into the folder, either
>>> through
>>> Livecode or manually on the desktop.  Do you know why this might be
>>> happening?
>>>
>>> I only see the icon I assign when viewing by medium and large icons.
>>> Could this have something to do with it?
>>>
>>>
>>> On 4/17/2015 8:52 AM, Mike Bonner wrote:
>>>
>>>  If you notice, when you set the read only aspect of the folder using the
 shell, then look at the properties of the folder, the box isn't checked.
 Its greyed out. This is because you set the folder itself.  When you use
 the checkbox in the proprieties inspector for the folder, you're
 actually
 setting the rules for the contents of the folder, not the folder itself.

 I suspect, if you create a folder, then check that box, then check its
 attributes from the shell (attrib foldername) that the folder itself
 won't
 show R as one of its attribs. The checkbox isn't doing the same thing as
 the shell call.

 Freaks me out a bit actually!
 ___
 use-livecode mailing list
 use-livecode@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-17 Thread Ray
Weird isn't it?  I may have mentioned this,too, but after I manually 
change the Folder Picture via the properties window at the desktop 
everything works great from within Livecode if I create folders of the 
same name at the same path.  I'm naming my folders a single capital 
letter as I test and I'm all the way up to 'M' since I've /used up/ all 
the previous letters as names.


I think there's something going on in the registry.

On 4/17/2015 9:17 AM, Mike Bonner wrote:

I'm not positive, but I THINK when you put files into the folder, it makes
adjustments so that a) it still kinda shows your icon, while b) its trying
to show previews of whats in the folder.  I'm not sure this is what you're
seeing, but it sounds right.  I think there was a way around this behavior,
(assuming my guess is right), but I'll have to try to remember what I saw.
(probably another setting in the desktop.ini)

Unfortunately, its not behaving the same for me.  Maybe its a random
feature!

On Fri, Apr 17, 2015 at 1:02 PM, Ray  wrote:


I see.  So there are three different states of this check box: empty,
checked and "squared".  That's a new thing for me.  I always thought there
were just two states of both check boxes and radio buttons, but I think I
can handle that.  Thanks for laying it out.

On another note, I've discovered that while the desktop icon I assign to a
folder is there when I first create the folder and set it all up, it
shrinks the instant I write or copy a file into the folder, either through
Livecode or manually on the desktop.  Do you know why this might be
happening?

I only see the icon I assign when viewing by medium and large icons.
Could this have something to do with it?


On 4/17/2015 8:52 AM, Mike Bonner wrote:


If you notice, when you set the read only aspect of the folder using the
shell, then look at the properties of the folder, the box isn't checked.
Its greyed out. This is because you set the folder itself.  When you use
the checkbox in the proprieties inspector for the folder, you're actually
setting the rules for the contents of the folder, not the folder itself.

I suspect, if you create a folder, then check that box, then check its
attributes from the shell (attrib foldername) that the folder itself won't
show R as one of its attribs. The checkbox isn't doing the same thing as
the shell call.

Freaks me out a bit actually!
___
use-livecode mailing list
use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-17 Thread Mike Bonner
I'm not positive, but I THINK when you put files into the folder, it makes
adjustments so that a) it still kinda shows your icon, while b) its trying
to show previews of whats in the folder.  I'm not sure this is what you're
seeing, but it sounds right.  I think there was a way around this behavior,
(assuming my guess is right), but I'll have to try to remember what I saw.
(probably another setting in the desktop.ini)

Unfortunately, its not behaving the same for me.  Maybe its a random
feature!

On Fri, Apr 17, 2015 at 1:02 PM, Ray  wrote:

> I see.  So there are three different states of this check box: empty,
> checked and "squared".  That's a new thing for me.  I always thought there
> were just two states of both check boxes and radio buttons, but I think I
> can handle that.  Thanks for laying it out.
>
> On another note, I've discovered that while the desktop icon I assign to a
> folder is there when I first create the folder and set it all up, it
> shrinks the instant I write or copy a file into the folder, either through
> Livecode or manually on the desktop.  Do you know why this might be
> happening?
>
> I only see the icon I assign when viewing by medium and large icons.
> Could this have something to do with it?
>
>
> On 4/17/2015 8:52 AM, Mike Bonner wrote:
>
>> If you notice, when you set the read only aspect of the folder using the
>> shell, then look at the properties of the folder, the box isn't checked.
>> Its greyed out. This is because you set the folder itself.  When you use
>> the checkbox in the proprieties inspector for the folder, you're actually
>> setting the rules for the contents of the folder, not the folder itself.
>>
>> I suspect, if you create a folder, then check that box, then check its
>> attributes from the shell (attrib foldername) that the folder itself won't
>> show R as one of its attribs. The checkbox isn't doing the same thing as
>> the shell call.
>>
>> Freaks me out a bit actually!
>> ___
>> use-livecode mailing list
>> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-17 Thread Ray
I see.  So there are three different states of this check box: empty, 
checked and "squared".  That's a new thing for me.  I always thought 
there were just two states of both check boxes and radio buttons, but I 
think I can handle that.  Thanks for laying it out.


On another note, I've discovered that while the desktop icon I assign to 
a folder is there when I first create the folder and set it all up, it 
shrinks the instant I write or copy a file into the folder, either 
through Livecode or manually on the desktop.  Do you know why this might 
be happening?


I only see the icon I assign when viewing by medium and large icons.  
Could this have something to do with it?


On 4/17/2015 8:52 AM, Mike Bonner wrote:

If you notice, when you set the read only aspect of the folder using the
shell, then look at the properties of the folder, the box isn't checked.
Its greyed out. This is because you set the folder itself.  When you use
the checkbox in the proprieties inspector for the folder, you're actually
setting the rules for the contents of the folder, not the folder itself.

I suspect, if you create a folder, then check that box, then check its
attributes from the shell (attrib foldername) that the folder itself won't
show R as one of its attribs. The checkbox isn't doing the same thing as
the shell call.

Freaks me out a bit actually!
___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-17 Thread Mike Bonner
If you notice, when you set the read only aspect of the folder using the
shell, then look at the properties of the folder, the box isn't checked.
Its greyed out. This is because you set the folder itself.  When you use
the checkbox in the proprieties inspector for the folder, you're actually
setting the rules for the contents of the folder, not the folder itself.

I suspect, if you create a folder, then check that box, then check its
attributes from the shell (attrib foldername) that the folder itself won't
show R as one of its attribs. The checkbox isn't doing the same thing as
the shell call.

Freaks me out a bit actually!
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-16 Thread Ray
That's it!  Mike, thank you so much for your help on this.  It's been a 
tricky thing.  For the life of me I still can't figure out a few aspects 
of this, for example, why folders return to Read-only after I manually 
un-check that box in the folder's Properties window.  But the Livecode 
work and setting the icon from the Shell function is working and that's 
what I needed.  So once again, thanks!


On 4/16/2015 6:29 PM, Mike Bonner wrote:

S attribute marks a system file.  Most likely, the A was already set.  It
sounds like its not taking multiple attribs at once. You might try attrib
+h +s for the ini file, and then (if 8 is the same) +r for the folder after
all is said and done.

If you can't get +s and +h to both set in one command, you could do 2 shell
calls.  I think I read (probably in this thread) that xp requires one of
them to be set (H or S) and everything else takes the other. But it
shouldn't hurt to set both on all operating systems.

If you set the defaultfolder to the inside of the folder you're working
with, you can then just do: get shell("attrib +h +s desktop.ini" without
messing with the path. Then, to set the folder to read only you can do get
shell("attrib +r ." <-- notice the dot to designate the current folder.
 From my tests you MUST set the folder to read only to get it to work.

I have a working stack here, let me clean it up a little and I'll link to
it.

Ok, here it is.  I have an icon saved to a property, all it does is create
the folder, pop the icon in, create the desktop.ini, and set attributes. I
had to put a 50 millisec delay in front of the shell call to attrib to get
it to work.  I suspect that is part of the problem you've been having
getting them to set.  The filesystem/os stuff isn't quite done yet when you
true.  Also, I did the setting with 1 shell call, +h +s works.  +sh is an
invalid option, so you have to break out each one.  I think I knew that at
one time, now I know it again!

Herea a link to the file:
https://dl.dropboxusercontent.com/u/11957935/seticon.livecode

On Thu, Apr 16, 2015 at 3:50 PM, Ray  wrote:


This is really interesting.  I'm now using the following:
  get shell("attrib +HSA "&desktopIniPath&"")
  get shell("attrib +h "&desktopIniPath&"")
  get shell("attrib +r "&desktopIniPath&"")

and having some success.  When I check the Dsktop.ini file's attributes I
now see them set to "HA".  This is progress but I'm still missing the "S"
in the HSA and not seeing the icon as a result.

Any ideas on what that S means and how to set it?  I'm using Window 8.1.


On 4/16/2015 11:43 AM, Mike Bonner wrote:


Looks like setting the folder to read only does NOT make it impossible to
write into the folder. If you use the properties dialog, that is not the
case, so using attrib is the way.

On Thu, Apr 16, 2015 at 9:41 AM, Mike Bonner  wrote:

  h is the hidden attribute. so +h should hide it.  Weird.  Going to try it

real quick (win 7)..

Ok. I got the attribs to set by doing them one at a time.  Not sure why 2
at once doesn't work.

I also read that the folder must be set to read only.

SO I did attrib +r to the folder and poof. Icon.

On Thu, Apr 16, 2015 at 3:20 PM, Ray  wrote:

  Mike - I've eliminated all spaces in the path but thanks, that's always

a
good thing to check.

At this point nothing I do flips the Attributes from "A" to "HSA". I've
changed the minus to a plus sign and tried Klaus' concatenation syntax
but
still no change in the Attributes.

Maybe I should also be changing the visibility of the file first. When I
set the folder icon manually the system does that.  Do you know of a
way to
change visibility via the shell function?

On 4/16/2015 11:05 AM, Mike Bonner wrote:

  oh yep, and as klaus says, if theres a space somewhere in the path,

you'll
need to force quotes around it, or use shortfilepath() to obviate the
need.


On Thu, Apr 16, 2015 at 9:03 AM, Klaus major-k 
wrote:

   Hi Ray,


did you try with QUOTES?

   Am 16.04.2015 um 23:00 schrieb Ray :


Klaus - thanks for the idea.  Just to check my method of
concatenation,

  the exact command I'm using is:

 get shell("attrib -HSA "&desktopIniPath&"")   -- where

  desktopIniPath is the path to the file

get shell("attrib -HSA "& QUOTE & desktopIniPath & QUOTE)

   It doesn't work and I see no change in the file's Attributes, Type
or
Size.  Livecode returns nothing in the result.

  ...

  Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
S attribute marks a system file.  Most likely, the A was already set.  It
sounds like its not taking multiple attribs at once. You might try attrib
+h +s for the ini file, and then (if 8 is the same) +r for the folder after
all is said and done.

If you can't get +s and +h to both set in one command, you could do 2 shell
calls.  I think I read (probably in this thread) that xp requires one of
them to be set (H or S) and everything else takes the other. But it
shouldn't hurt to set both on all operating systems.

If you set the defaultfolder to the inside of the folder you're working
with, you can then just do: get shell("attrib +h +s desktop.ini" without
messing with the path. Then, to set the folder to read only you can do get
shell("attrib +r ." <-- notice the dot to designate the current folder.
>From my tests you MUST set the folder to read only to get it to work.

I have a working stack here, let me clean it up a little and I'll link to
it.

Ok, here it is.  I have an icon saved to a property, all it does is create
the folder, pop the icon in, create the desktop.ini, and set attributes. I
had to put a 50 millisec delay in front of the shell call to attrib to get
it to work.  I suspect that is part of the problem you've been having
getting them to set.  The filesystem/os stuff isn't quite done yet when you
true.  Also, I did the setting with 1 shell call, +h +s works.  +sh is an
invalid option, so you have to break out each one.  I think I knew that at
one time, now I know it again!

Herea a link to the file:
https://dl.dropboxusercontent.com/u/11957935/seticon.livecode

On Thu, Apr 16, 2015 at 3:50 PM, Ray  wrote:

> This is really interesting.  I'm now using the following:
>  get shell("attrib +HSA "&desktopIniPath&"")
>  get shell("attrib +h "&desktopIniPath&"")
>  get shell("attrib +r "&desktopIniPath&"")
>
> and having some success.  When I check the Dsktop.ini file's attributes I
> now see them set to "HA".  This is progress but I'm still missing the "S"
> in the HSA and not seeing the icon as a result.
>
> Any ideas on what that S means and how to set it?  I'm using Window 8.1.
>
>
> On 4/16/2015 11:43 AM, Mike Bonner wrote:
>
>> Looks like setting the folder to read only does NOT make it impossible to
>> write into the folder. If you use the properties dialog, that is not the
>> case, so using attrib is the way.
>>
>> On Thu, Apr 16, 2015 at 9:41 AM, Mike Bonner  wrote:
>>
>>  h is the hidden attribute. so +h should hide it.  Weird.  Going to try it
>>> real quick (win 7)..
>>>
>>> Ok. I got the attribs to set by doing them one at a time.  Not sure why 2
>>> at once doesn't work.
>>>
>>> I also read that the folder must be set to read only.
>>>
>>> SO I did attrib +r to the folder and poof. Icon.
>>>
>>> On Thu, Apr 16, 2015 at 3:20 PM, Ray  wrote:
>>>
>>>  Mike - I've eliminated all spaces in the path but thanks, that's always
 a
 good thing to check.

 At this point nothing I do flips the Attributes from "A" to "HSA". I've
 changed the minus to a plus sign and tried Klaus' concatenation syntax
 but
 still no change in the Attributes.

 Maybe I should also be changing the visibility of the file first. When I
 set the folder icon manually the system does that.  Do you know of a
 way to
 change visibility via the shell function?

 On 4/16/2015 11:05 AM, Mike Bonner wrote:

  oh yep, and as klaus says, if theres a space somewhere in the path,
> you'll
> need to force quotes around it, or use shortfilepath() to obviate the
> need.
>
>
> On Thu, Apr 16, 2015 at 9:03 AM, Klaus major-k 
> wrote:
>
>   Hi Ray,
>
>> did you try with QUOTES?
>>
>>   Am 16.04.2015 um 23:00 schrieb Ray :
>>
>>> Klaus - thanks for the idea.  Just to check my method of
>>> concatenation,
>>>
>>>  the exact command I'm using is:
>>
>> get shell("attrib -HSA "&desktopIniPath&"")   -- where
>>>
>>>  desktopIniPath is the path to the file
>>
>> get shell("attrib -HSA "& QUOTE & desktopIniPath & QUOTE)
>>
>>   It doesn't work and I see no change in the file's Attributes, Type
>> or
>> Size.  Livecode returns nothing in the result.
>>
>>  ...
>>>
>>>  Best
>>
>> Klaus
>>
>> --
>> Klaus Major
>> http://www.major-k.de
>> kl...@major-k.de
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http:/

Re: Custom Desktop Folders

2015-04-16 Thread Ray

This is really interesting.  I'm now using the following:
 get shell("attrib +HSA "&desktopIniPath&"")
 get shell("attrib +h "&desktopIniPath&"")
 get shell("attrib +r "&desktopIniPath&"")

and having some success.  When I check the Dsktop.ini file's attributes 
I now see them set to "HA".  This is progress but I'm still missing the 
"S" in the HSA and not seeing the icon as a result.


Any ideas on what that S means and how to set it?  I'm using Window 8.1.

On 4/16/2015 11:43 AM, Mike Bonner wrote:

Looks like setting the folder to read only does NOT make it impossible to
write into the folder. If you use the properties dialog, that is not the
case, so using attrib is the way.

On Thu, Apr 16, 2015 at 9:41 AM, Mike Bonner  wrote:


h is the hidden attribute. so +h should hide it.  Weird.  Going to try it
real quick (win 7)..

Ok. I got the attribs to set by doing them one at a time.  Not sure why 2
at once doesn't work.

I also read that the folder must be set to read only.

SO I did attrib +r to the folder and poof. Icon.

On Thu, Apr 16, 2015 at 3:20 PM, Ray  wrote:


Mike - I've eliminated all spaces in the path but thanks, that's always a
good thing to check.

At this point nothing I do flips the Attributes from "A" to "HSA". I've
changed the minus to a plus sign and tried Klaus' concatenation syntax but
still no change in the Attributes.

Maybe I should also be changing the visibility of the file first. When I
set the folder icon manually the system does that.  Do you know of a way to
change visibility via the shell function?

On 4/16/2015 11:05 AM, Mike Bonner wrote:


oh yep, and as klaus says, if theres a space somewhere in the path,
you'll
need to force quotes around it, or use shortfilepath() to obviate the
need.


On Thu, Apr 16, 2015 at 9:03 AM, Klaus major-k  wrote:

  Hi Ray,

did you try with QUOTES?

  Am 16.04.2015 um 23:00 schrieb Ray :

Klaus - thanks for the idea.  Just to check my method of concatenation,


the exact command I'm using is:


   get shell("attrib -HSA "&desktopIniPath&"")   -- where


desktopIniPath is the path to the file

get shell("attrib -HSA "& QUOTE & desktopIniPath & QUOTE)

  It doesn't work and I see no change in the file's Attributes, Type or
Size.  Livecode returns nothing in the result.


...


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
Looks like you don't need the full path after all, as long as the icon is
in the same directory.

Can't try on xp, but setting +s and +h on the desktop.ini should cover both
bases.   Sorry for the spam flurry.

On Thu, Apr 16, 2015 at 9:43 AM, Mike Bonner  wrote:

> Looks like setting the folder to read only does NOT make it impossible to
> write into the folder. If you use the properties dialog, that is not the
> case, so using attrib is the way.
>
> On Thu, Apr 16, 2015 at 9:41 AM, Mike Bonner  wrote:
>
>> h is the hidden attribute. so +h should hide it.  Weird.  Going to try it
>> real quick (win 7)..
>>
>> Ok. I got the attribs to set by doing them one at a time.  Not sure why 2
>> at once doesn't work.
>>
>> I also read that the folder must be set to read only.
>>
>> SO I did attrib +r to the folder and poof. Icon.
>>
>> On Thu, Apr 16, 2015 at 3:20 PM, Ray  wrote:
>>
>>> Mike - I've eliminated all spaces in the path but thanks, that's always
>>> a good thing to check.
>>>
>>> At this point nothing I do flips the Attributes from "A" to "HSA". I've
>>> changed the minus to a plus sign and tried Klaus' concatenation syntax but
>>> still no change in the Attributes.
>>>
>>> Maybe I should also be changing the visibility of the file first. When I
>>> set the folder icon manually the system does that.  Do you know of a way to
>>> change visibility via the shell function?
>>>
>>> On 4/16/2015 11:05 AM, Mike Bonner wrote:
>>>
 oh yep, and as klaus says, if theres a space somewhere in the path,
 you'll
 need to force quotes around it, or use shortfilepath() to obviate the
 need.


 On Thu, Apr 16, 2015 at 9:03 AM, Klaus major-k 
 wrote:

  Hi Ray,
>
> did you try with QUOTES?
>
>  Am 16.04.2015 um 23:00 schrieb Ray :
>>
>> Klaus - thanks for the idea.  Just to check my method of
>> concatenation,
>>
> the exact command I'm using is:
>
>>   get shell("attrib -HSA "&desktopIniPath&"")   -- where
>>
> desktopIniPath is the path to the file
>
> get shell("attrib -HSA "& QUOTE & desktopIniPath & QUOTE)
>
>  It doesn't work and I see no change in the file's Attributes, Type or
>>
> Size.  Livecode returns nothing in the result.
>
>> ...
>>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
Looks like setting the folder to read only does NOT make it impossible to
write into the folder. If you use the properties dialog, that is not the
case, so using attrib is the way.

On Thu, Apr 16, 2015 at 9:41 AM, Mike Bonner  wrote:

> h is the hidden attribute. so +h should hide it.  Weird.  Going to try it
> real quick (win 7)..
>
> Ok. I got the attribs to set by doing them one at a time.  Not sure why 2
> at once doesn't work.
>
> I also read that the folder must be set to read only.
>
> SO I did attrib +r to the folder and poof. Icon.
>
> On Thu, Apr 16, 2015 at 3:20 PM, Ray  wrote:
>
>> Mike - I've eliminated all spaces in the path but thanks, that's always a
>> good thing to check.
>>
>> At this point nothing I do flips the Attributes from "A" to "HSA". I've
>> changed the minus to a plus sign and tried Klaus' concatenation syntax but
>> still no change in the Attributes.
>>
>> Maybe I should also be changing the visibility of the file first. When I
>> set the folder icon manually the system does that.  Do you know of a way to
>> change visibility via the shell function?
>>
>> On 4/16/2015 11:05 AM, Mike Bonner wrote:
>>
>>> oh yep, and as klaus says, if theres a space somewhere in the path,
>>> you'll
>>> need to force quotes around it, or use shortfilepath() to obviate the
>>> need.
>>>
>>>
>>> On Thu, Apr 16, 2015 at 9:03 AM, Klaus major-k  wrote:
>>>
>>>  Hi Ray,

 did you try with QUOTES?

  Am 16.04.2015 um 23:00 schrieb Ray :
>
> Klaus - thanks for the idea.  Just to check my method of concatenation,
>
 the exact command I'm using is:

>   get shell("attrib -HSA "&desktopIniPath&"")   -- where
>
 desktopIniPath is the path to the file

 get shell("attrib -HSA "& QUOTE & desktopIniPath & QUOTE)

  It doesn't work and I see no change in the file's Attributes, Type or
>
 Size.  Livecode returns nothing in the result.

> ...
>
 Best

 Klaus

 --
 Klaus Major
 http://www.major-k.de
 kl...@major-k.de


 ___
 use-livecode mailing list
 use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
h is the hidden attribute. so +h should hide it.  Weird.  Going to try it
real quick (win 7)..

Ok. I got the attribs to set by doing them one at a time.  Not sure why 2
at once doesn't work.

I also read that the folder must be set to read only.

SO I did attrib +r to the folder and poof. Icon.

On Thu, Apr 16, 2015 at 3:20 PM, Ray  wrote:

> Mike - I've eliminated all spaces in the path but thanks, that's always a
> good thing to check.
>
> At this point nothing I do flips the Attributes from "A" to "HSA". I've
> changed the minus to a plus sign and tried Klaus' concatenation syntax but
> still no change in the Attributes.
>
> Maybe I should also be changing the visibility of the file first. When I
> set the folder icon manually the system does that.  Do you know of a way to
> change visibility via the shell function?
>
> On 4/16/2015 11:05 AM, Mike Bonner wrote:
>
>> oh yep, and as klaus says, if theres a space somewhere in the path, you'll
>> need to force quotes around it, or use shortfilepath() to obviate the
>> need.
>>
>>
>> On Thu, Apr 16, 2015 at 9:03 AM, Klaus major-k  wrote:
>>
>>  Hi Ray,
>>>
>>> did you try with QUOTES?
>>>
>>>  Am 16.04.2015 um 23:00 schrieb Ray :

 Klaus - thanks for the idea.  Just to check my method of concatenation,

>>> the exact command I'm using is:
>>>
   get shell("attrib -HSA "&desktopIniPath&"")   -- where

>>> desktopIniPath is the path to the file
>>>
>>> get shell("attrib -HSA "& QUOTE & desktopIniPath & QUOTE)
>>>
>>>  It doesn't work and I see no change in the file's Attributes, Type or

>>> Size.  Livecode returns nothing in the result.
>>>
 ...

>>> Best
>>>
>>> Klaus
>>>
>>> --
>>> Klaus Major
>>> http://www.major-k.de
>>> kl...@major-k.de
>>>
>>>
>>> ___
>>> use-livecode mailing list
>>> use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-16 Thread Ray
Mike - I've eliminated all spaces in the path but thanks, that's always 
a good thing to check.


At this point nothing I do flips the Attributes from "A" to "HSA". I've 
changed the minus to a plus sign and tried Klaus' concatenation syntax 
but still no change in the Attributes.


Maybe I should also be changing the visibility of the file first. When I 
set the folder icon manually the system does that.  Do you know of a way 
to change visibility via the shell function?


On 4/16/2015 11:05 AM, Mike Bonner wrote:

oh yep, and as klaus says, if theres a space somewhere in the path, you'll
need to force quotes around it, or use shortfilepath() to obviate the need.


On Thu, Apr 16, 2015 at 9:03 AM, Klaus major-k  wrote:


Hi Ray,

did you try with QUOTES?


Am 16.04.2015 um 23:00 schrieb Ray :

Klaus - thanks for the idea.  Just to check my method of concatenation,

the exact command I'm using is:

  get shell("attrib -HSA "&desktopIniPath&"")   -- where

desktopIniPath is the path to the file

get shell("attrib -HSA "& QUOTE & desktopIniPath & QUOTE)


It doesn't work and I see no change in the file's Attributes, Type or

Size.  Livecode returns nothing in the result.

...

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-16 Thread Ray
Klaus - it seems to me the issue here is the Dekstop.ini file's 
Attributes, not the .ico file.  Even after I manually set it the .ico 
file's Attributes are still "A" while manually setting the folder's icon 
does change the Dsktop.ini's Attributes to "HSA"


On 4/16/2015 10:57 AM, Klaus major-k wrote:

Am 16.04.2015 um 16:37 schrieb Klaus major-k :

Hi Ray,


Am 16.04.2015 um 21:57 schrieb Ray :
Mike,
I've been wrestling with this again this morning and I'm unable to get the icon 
to display at all, let alone concern myself with paths.
I'm using revCopyFolder to create the folder I want by duplicating an existing folder with the .ico 
file in it.  RevCopyFolder duplicates the folder to another location and it includes the .ico file 
in the folder but it excludes the dektop.ini file.  I can create one from within Livecode but it 
doesn't work.  I can see why, too.  If I right-click it, choose Properties and go to the Details 
tab I can see that the Desktop.ini file I made in Livecode has Attributes of "A" while 
the one Windows 8.1 make (when I manually set a folder icon in the folder's properties window) has 
Attributes of "HSA".  Sounds like some sort of housing authority:)
I've tried using RevCopyFile to duplicate the Desktop.ini file with the proper 
attributes to my new folder but it also fails.  Evidently Windows 8.1 blocks 
this, even though there's no other Desktop.ini file present yet.

So at this point I'm stuck unless I can find some way within Livecode to set the 
Attributes of the Desktop.ini file I create to "HSA".

Any ideas?

can’t you use something like (out of my head!):
…
##get shell("attrib -HSA path/to/inifile.ini“)

## I meant of course:
get shell("attrib -HSA path/to/iconfile.ico“)


…

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
oh yep, and as klaus says, if theres a space somewhere in the path, you'll
need to force quotes around it, or use shortfilepath() to obviate the need.


On Thu, Apr 16, 2015 at 9:03 AM, Klaus major-k  wrote:

> Hi Ray,
>
> did you try with QUOTES?
>
> > Am 16.04.2015 um 23:00 schrieb Ray :
> >
> > Klaus - thanks for the idea.  Just to check my method of concatenation,
> the exact command I'm using is:
> >  get shell("attrib -HSA "&desktopIniPath&"")   -- where
> desktopIniPath is the path to the file
>
> get shell("attrib -HSA "& QUOTE & desktopIniPath & QUOTE)
>
> > It doesn't work and I see no change in the file's Attributes, Type or
> Size.  Livecode returns nothing in the result.
> > ...
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
If you set things with livecode, then hit f5 to refresh, (after creating
the file,setting the attrib..) does it update, and then show the icon?
Also, I did a quick search, you might be able to do this using vbscript.
Also also.. *grin*  It looks like XP needs the system attribute set, and
others need the hidden attribute set.
Finally, to SET an attribute, use +  To remove it use -  so it would be
attrib +hs path/to/file

On Thu, Apr 16, 2015 at 3:00 PM, Ray  wrote:

> Klaus - thanks for the idea.  Just to check my method of concatenation,
> the exact command I'm using is:
>   get shell("attrib -HSA "&desktopIniPath&"")   -- where
> desktopIniPath is the path to the file
>
> It doesn't work and I see no change in the file's Attributes, Type or
> Size.  Livecode returns nothing in the result.
>
> Several other oddities I've neglected to mention; if I manually set a
> folder's icon (in the Properties window) I can then get Livecode to work as
> expected as long as I delete the folder I manually set and re-create it in
> Livecode (same name, same path).  Seems like something's going on with the
> registry.  Also, after creating the desktop.ini file from within Livecode I
> can /see /the file on the desktop even though I've got "Don't show hidden
> files, folder or drives" checked in Folder Options.  If the system creates
> the desktop.ini file it's hidden.
>
>
> On 4/16/2015 10:37 AM, Klaus major-k wrote:
>
>> Hi Ray,
>>
>>  Am 16.04.2015 um 21:57 schrieb Ray :
>>>
>>> Mike,
>>>
>>> I've been wrestling with this again this morning and I'm unable to get
>>> the icon to display at all, let alone concern myself with paths.
>>>
>>> I'm using revCopyFolder to create the folder I want by duplicating an
>>> existing folder with the .ico file in it.  RevCopyFolder duplicates the
>>> folder to another location and it includes the .ico file in the folder but
>>> it excludes the dektop.ini file.  I can create one from within Livecode but
>>> it doesn't work.  I can see why, too.  If I right-click it, choose
>>> Properties and go to the Details tab I can see that the Desktop.ini file I
>>> made in Livecode has Attributes of "A" while the one Windows 8.1 make (when
>>> I manually set a folder icon in the folder's properties window) has
>>> Attributes of "HSA".  Sounds like some sort of housing authority:)
>>>
>>> I've tried using RevCopyFile to duplicate the Desktop.ini file with the
>>> proper attributes to my new folder but it also fails.  Evidently Windows
>>> 8.1 blocks this, even though there's no other Desktop.ini file present yet.
>>>
>>> So at this point I'm stuck unless I can find some way within Livecode to
>>> set the Attributes of the Desktop.ini file I create to "HSA".
>>>
>>> Any ideas?
>>>
>> can’t you use something like (out of my head!):
>> ...
>> get shell("attrib -HSA path/to/inifile.ini“)
>> …
>>
>> Best
>>
>> Klaus
>>
>> --
>> Klaus Major
>> http://www.major-k.de
>> kl...@major-k.de
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Custom Desktop Folders

2015-04-16 Thread Klaus major-k
Hi Ray,

did you try with QUOTES?

> Am 16.04.2015 um 23:00 schrieb Ray :
> 
> Klaus - thanks for the idea.  Just to check my method of concatenation, the 
> exact command I'm using is:
>  get shell("attrib -HSA "&desktopIniPath&"")   -- where desktopIniPath is 
> the path to the file

get shell("attrib -HSA "& QUOTE & desktopIniPath & QUOTE)

> It doesn't work and I see no change in the file's Attributes, Type or Size.  
> Livecode returns nothing in the result.
> ...

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-16 Thread Ray
Klaus - thanks for the idea.  Just to check my method of concatenation, 
the exact command I'm using is:
  get shell("attrib -HSA "&desktopIniPath&"")   -- where 
desktopIniPath is the path to the file


It doesn't work and I see no change in the file's Attributes, Type or 
Size.  Livecode returns nothing in the result.


Several other oddities I've neglected to mention; if I manually set a 
folder's icon (in the Properties window) I can then get Livecode to work 
as expected as long as I delete the folder I manually set and re-create 
it in Livecode (same name, same path).  Seems like something's going on 
with the registry.  Also, after creating the desktop.ini file from 
within Livecode I can /see /the file on the desktop even though I've got 
"Don't show hidden files, folder or drives" checked in Folder Options.  
If the system creates the desktop.ini file it's hidden.


On 4/16/2015 10:37 AM, Klaus major-k wrote:

Hi Ray,


Am 16.04.2015 um 21:57 schrieb Ray :

Mike,

I've been wrestling with this again this morning and I'm unable to get the icon 
to display at all, let alone concern myself with paths.

I'm using revCopyFolder to create the folder I want by duplicating an existing folder with the .ico 
file in it.  RevCopyFolder duplicates the folder to another location and it includes the .ico file 
in the folder but it excludes the dektop.ini file.  I can create one from within Livecode but it 
doesn't work.  I can see why, too.  If I right-click it, choose Properties and go to the Details 
tab I can see that the Desktop.ini file I made in Livecode has Attributes of "A" while 
the one Windows 8.1 make (when I manually set a folder icon in the folder's properties window) has 
Attributes of "HSA".  Sounds like some sort of housing authority:)

I've tried using RevCopyFile to duplicate the Desktop.ini file with the proper 
attributes to my new folder but it also fails.  Evidently Windows 8.1 blocks 
this, even though there's no other Desktop.ini file present yet.

So at this point I'm stuck unless I can find some way within Livecode to set the 
Attributes of the Desktop.ini file I create to "HSA".

Any ideas?

can’t you use something like (out of my head!):
...
get shell("attrib -HSA path/to/inifile.ini“)
…

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Custom Desktop Folders

2015-04-16 Thread Klaus major-k
Am 16.04.2015 um 16:37 schrieb Klaus major-k :
> Hi Ray,
> 
>> Am 16.04.2015 um 21:57 schrieb Ray :
>> Mike,
>> I've been wrestling with this again this morning and I'm unable to get the 
>> icon to display at all, let alone concern myself with paths.
>> I'm using revCopyFolder to create the folder I want by duplicating an 
>> existing folder with the .ico file in it.  RevCopyFolder duplicates the 
>> folder to another location and it includes the .ico file in the folder but 
>> it excludes the dektop.ini file.  I can create one from within Livecode but 
>> it doesn't work.  I can see why, too.  If I right-click it, choose 
>> Properties and go to the Details tab I can see that the Desktop.ini file I 
>> made in Livecode has Attributes of "A" while the one Windows 8.1 make (when 
>> I manually set a folder icon in the folder's properties window) has 
>> Attributes of "HSA".  Sounds like some sort of housing authority:)
>> I've tried using RevCopyFile to duplicate the Desktop.ini file with the 
>> proper attributes to my new folder but it also fails.  Evidently Windows 8.1 
>> blocks this, even though there's no other Desktop.ini file present yet.
>> 
>> So at this point I'm stuck unless I can find some way within Livecode to set 
>> the Attributes of the Desktop.ini file I create to "HSA".
>> 
>> Any ideas?
> 
> can’t you use something like (out of my head!):
> …
> ##get shell("attrib -HSA path/to/inifile.ini“)

## I meant of course:
get shell("attrib -HSA path/to/iconfile.ico“)

> …

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Custom Desktop Folders

2015-04-16 Thread Klaus major-k
Hi Ray,

> Am 16.04.2015 um 21:57 schrieb Ray :
> 
> Mike,
> 
> I've been wrestling with this again this morning and I'm unable to get the 
> icon to display at all, let alone concern myself with paths.
> 
> I'm using revCopyFolder to create the folder I want by duplicating an 
> existing folder with the .ico file in it.  RevCopyFolder duplicates the 
> folder to another location and it includes the .ico file in the folder but it 
> excludes the dektop.ini file.  I can create one from within Livecode but it 
> doesn't work.  I can see why, too.  If I right-click it, choose Properties 
> and go to the Details tab I can see that the Desktop.ini file I made in 
> Livecode has Attributes of "A" while the one Windows 8.1 make (when I 
> manually set a folder icon in the folder's properties window) has Attributes 
> of "HSA".  Sounds like some sort of housing authority:)
> 
> I've tried using RevCopyFile to duplicate the Desktop.ini file with the 
> proper attributes to my new folder but it also fails.  Evidently Windows 8.1 
> blocks this, even though there's no other Desktop.ini file present yet.
> 
> So at this point I'm stuck unless I can find some way within Livecode to set 
> the Attributes of the Desktop.ini file I create to "HSA".
> 
> Any ideas?

can’t you use something like (out of my head!):
...
get shell("attrib -HSA path/to/inifile.ini“)
…

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Custom Desktop Folders

2015-04-16 Thread Earthednet-wp
Scott,
I looked at your wed site and wondered if you are thinking about apps that use 
that new way of thinking about math operations using that new grid system. 
Don't remember what it's called, but my grandson uses it. Some app for that 
could be very useful for home schoolers, too.

Btw, there is now a special forum on the livecode site for folks who want to 
discuss education apps and pedagogy.

Best,
Bill



William Prothero
http://es.earthednet.org

> On Apr 15, 2015, at 11:20 PM, Scott Morrow  
> wrote:
> 
> Hello Ray,
> I believe I had success setting custom folder icons from LiveCode using the 
> Xcode tool SetFile. I can’t remember who pointed me at it… probably Ken Ray. 
> In order for this to work I needed to store the SetFile tool in a customProp 
> of my app and temporarily write it to the user’s drive.  (There may be a 
> legal issue here. In this particular case, I covered my ears while singing 
> “La, la, la”) It has been several years since I last used this but seem to 
> recall that it worked.
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   http://elementarysoftware.com/
> email sc...@elementarysoftware.com
> office 1-800-615-0867
> 
> 
> —| -
> —| set the custom icon bit in the Finder info flags
> —| this will tell the Finder to use the custom "icon\r" file to display a 
> custom folder icon 
> —| install the Developer Tools and look inside the /Developer/Tools/ 
> directory for a CLI program called SetFile.
> —| This sets file bits. Specifically, you want to take note of the -a option 
> to set attributes. 
> —| Run the program without arguments and it will show you a table of things 
> to set. 
> —| We're looking for the C attribute in upper case because we want to set it 
> on.
> —| To turn it off, you use lower case.
> —| then run this:   tPathToSetFile -a C tFolderPath
> —| in order to run the Command Line Tool "SetFile" from the shell() we will 
> need to install it temporarily
> —| suck it up and store it in the customProp —> the uSetFileDevTool  of stack 
> "MyCoolStack"
> -->   --  /Developer/usr/bin/SetFile -a C /Applications/My\ App\ Name
> —| -
> on FolderIconFlag tFolderPath
>   -- determine if the SetFile command line tool has already been installed to 
> a temp folder
>  put specialfolderpath(temporary) &"/SetFile" into tSetFilePath  -- build the 
> path of a temp location to install into
>  if not (the uSetFileIsInstalled of stack “MyCoolStack") then
>-- install SetFile app
>put (decompress(the uSetFileDevTool of stack "MyCoolStack")) into URL 
> ("binfile:" & tSetFilePath)
>put the result into tResult
>if tResult is not empty then
>  get log("ERROR:" &CR& "Attempt to write out the Command Line Tool 
> SetFile resulted in: "&& tResult)
>  exit FolderIconFlag -- we failed
>end if
>put "755" into tPermission
>Chmod tSetFilePath, tPermission
>-- announce that the SetFile is installed
>set the uSetFileIsInstalled of stack "MyCoolStack" to "true"
>  end if
> 
>  -- escape some special characters
>  put fixPath(tSetFilePath) into tSetFilePath
>  put fixPath(tFolderPath) into tFolderPath
> 
>  -- set the custom folder icon flag
>  get shell(tSetFilePath && "-a C"&& tFolderPath)
> end FolderIconFlag
> 
> 
> function fixPath pPath
>   put "\" & space & quote & "'`<>!;()[]?#$^&*=" into tSpecialChars
>   repeat for each char tChar in tSpecialChars
>  replace tChar with ("\" & tChar) in pPath
>   end repeat
>   return pPath
> end fixPath
> 
> 
>> On Apr 15, 2015, at 2:30 PM, 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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Custom Desktop Folders

2015-04-16 Thread Ray

Mike,

I've been wrestling with this again this morning and I'm unable to get 
the icon to display at all, let alone concern myself with paths.


I'm using revCopyFolder to create the folder I want by duplicating an 
existing folder with the .ico file in it.  RevCopyFolder duplicates the 
folder to another location and it includes the .ico file in the folder 
but it excludes the dektop.ini file.  I can create one from within 
Livecode but it doesn't work.  I can see why, too.  If I right-click it, 
choose Properties and go to the Details tab I can see that the 
Desktop.ini file I made in Livecode has Attributes of "A" while the one 
Windows 8.1 make (when I manually set a folder icon in the folder's 
properties window) has Attributes of "HSA".  Sounds like some sort of 
housing authority:)


I've tried using RevCopyFile to duplicate the Desktop.ini file with the 
proper attributes to my new folder but it also fails.  Evidently Windows 
8.1 blocks this, even though there's no other Desktop.ini file present yet.


So at this point I'm stuck unless I can find some way within Livecode to 
set the Attributes of the Desktop.ini file I create to "HSA".


Any ideas?

On 4/16/2015 9:41 AM, Mike Bonner wrote:

heres that link. http://forums.livecode.com/phpBB2/viewtopic.php?t=1745

On Thu, Apr 16, 2015 at 7:38 AM, Mike Bonner  wrote:


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  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.schonewi...@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 Consu

Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
heres that link. http://forums.livecode.com/phpBB2/viewtopic.php?t=1745

On Thu, Apr 16, 2015 at 7:38 AM, Mike Bonner  wrote:

> 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  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.schonewi...@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

Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
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  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.schonewi...@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 f

Re: Custom Desktop Folders

2015-04-16 Thread Ray
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.schonewi...@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@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@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@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@lists.runrev.com
Please visit t

Re: Custom Desktop Folders

2015-04-16 Thread Ray
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.schonewi...@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@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@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
ht

Re: Custom Desktop Folders

2015-04-15 Thread Scott Morrow
Hello Ray,
I believe I had success setting custom folder icons from LiveCode using the 
Xcode tool SetFile. I can’t remember who pointed me at it… probably Ken Ray. In 
order for this to work I needed to store the SetFile tool in a customProp of my 
app and temporarily write it to the user’s drive.  (There may be a legal issue 
here. In this particular case, I covered my ears while singing “La, la, la”) It 
has been several years since I last used this but seem to recall that it worked.
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   http://elementarysoftware.com/
email sc...@elementarysoftware.com
office 1-800-615-0867


—| -
—| set the custom icon bit in the Finder info flags
—| this will tell the Finder to use the custom "icon\r" file to display a 
custom folder icon 
—| install the Developer Tools and look inside the /Developer/Tools/ directory 
for a CLI program called SetFile.
—| This sets file bits. Specifically, you want to take note of the -a option to 
set attributes. 
—| Run the program without arguments and it will show you a table of things to 
set. 
—| We're looking for the C attribute in upper case because we want to set it on.
—| To turn it off, you use lower case.
—| then run this:   tPathToSetFile -a C tFolderPath
—| in order to run the Command Line Tool "SetFile" from the shell() we will 
need to install it temporarily
—| suck it up and store it in the customProp —> the uSetFileDevTool  of stack 
"MyCoolStack"
-->   --  /Developer/usr/bin/SetFile -a C /Applications/My\ App\ Name
—| -
on FolderIconFlag tFolderPath
   -- determine if the SetFile command line tool has already been installed to 
a temp folder
  put specialfolderpath(temporary) &"/SetFile" into tSetFilePath  -- build the 
path of a temp location to install into
  if not (the uSetFileIsInstalled of stack “MyCoolStack") then
-- install SetFile app
put (decompress(the uSetFileDevTool of stack "MyCoolStack")) into URL 
("binfile:" & tSetFilePath)
put the result into tResult
if tResult is not empty then
  get log("ERROR:" &CR& "Attempt to write out the Command Line Tool SetFile 
resulted in: "&& tResult)
  exit FolderIconFlag -- we failed
end if
put "755" into tPermission
Chmod tSetFilePath, tPermission
-- announce that the SetFile is installed
set the uSetFileIsInstalled of stack "MyCoolStack" to "true"
  end if
 
  -- escape some special characters
  put fixPath(tSetFilePath) into tSetFilePath
  put fixPath(tFolderPath) into tFolderPath
  
  -- set the custom folder icon flag
  get shell(tSetFilePath && "-a C"&& tFolderPath)
end FolderIconFlag


function fixPath pPath
   put "\" & space & quote & "'`<>!;()[]?#$^&*=" into tSpecialChars
   repeat for each char tChar in tSpecialChars
  replace tChar with ("\" & tChar) in pPath
   end repeat
   return pPath
end fixPath


> On Apr 15, 2015, at 2:30 PM, 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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Custom Desktop Folders

2015-04-15 Thread Mike Bonner
Give it the full path.

On Wed, Apr 15, 2015 at 12:50 PM, Mark Schonewille <
m.schonewi...@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@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@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@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@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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.

Re: Custom Desktop Folders

2015-04-15 Thread Mark Schonewille

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@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-15 Thread Michael Doub

this might help...

http://helpdeskgeek.com/how-to/customize-folder-icons-desktop-ini/


On 4/15/15 2:20 PM, Mark Schonewille wrote:

Hi Ray,

I used to do this for CD's. Those projects are on an external hard 
disk somewhere. As soon as I find those projects, I'll post a real ini 
file. Meanwhile, you could just check out the syntax for ini files.


--
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@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@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-15 Thread Mark Schonewille

Hi Ray,

I used to do this for CD's. Those projects are on an external hard disk 
somewhere. As soon as I find those projects, I'll post a real ini file. 
Meanwhile, you could just check out the syntax for ini files.


--
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@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-15 Thread Roger Eller
I tried it too, and the folder icon has not changed.  I am in Windows 7.


On Wed, Apr 15, 2015 at 8:01 PM, 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@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-15 Thread Ray

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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-15 Thread Ray

Really!  Just that simple.  I'll give it a try.  Thanks...

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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-15 Thread Mark Schonewille

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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-15 Thread Ray

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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-15 Thread Ray
Thanks Roger.  I can supply the .ico file I intend to use so the 
question isn't really how to /create /the .ico file from within 
Livecode, it's how to assign the .ico file to the folder so the folder 
displays it on the desktop.


I can do this /manually /on Windows.  Right-click, choose Properties, 
click the Custom tab and the click Choose File in the Folder Pictures 
section.  This is what I want to do from within Livecode.


On 4/15/2015 12:34 PM, Roger Eller wrote:

Thus far, there is no way to create OS specific icon files within LiveCode,
but I have always thought there should be.  You have to use Photoshop,
Gimp, or other custom icon software to create icons that contain all the
various resolutions required by each OS.

How about a widget for that, RunRev?

~Roger




On Wed, Apr 15, 2015 at 5:30 PM, 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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-15 Thread Mark Schonewille

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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Desktop Folders

2015-04-15 Thread Roger Eller
Thus far, there is no way to create OS specific icon files within LiveCode,
but I have always thought there should be.  You have to use Photoshop,
Gimp, or other custom icon software to create icons that contain all the
various resolutions required by each OS.

How about a widget for that, RunRev?

~Roger




On Wed, Apr 15, 2015 at 5:30 PM, 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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Custom Desktop Folders

2015-04-15 Thread Ray
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode