Re: revMoveFolder on Windows

2019-01-25 Thread Knapp Martin via use-livecode
Well this turned out to be a default folder issue. So just before I move the 
folder, I set the default folder to something other than where the user stacks 
are stored and then the move works fine. It only seems to be an issue on 
Windows. Thanks to Ralph and Brian.

Marty

> On Jan 24, 2019, at 5:32 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I've seen that with Excel with either the file or the folder(can't remember). 
> I opened a spreadsheet and closed it but the file/folder was still locked 
> until I closed Excel.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
> Of Brian Milby via use-livecode
> Sent: Thursday, January 24, 2019 8:22 PM
> To: How to use LiveCode
> Cc: Brian Milby
> Subject: RE: revMoveFolder on Windows
> 
> I think programs can lock a folder by having it set as the default folder (or 
> it could just be a side effect of them storing something there).  I’ve seen 
> it every once in a while in other programs, but can’t remember the last time. 
>  I have not tried to see if I could reproduce in LiveCode yet.  Ralph’s 
> suggestion sounds like a good thing to try.
> 
> Thanks,
> Brian
> On Jan 24, 2019, 7:05 PM -0600, Ralph DiMola via use-livecode 
> , wrote:
>> Beyond the obvious of having files open in the folder could it be that 
>> if you trying to move LC's current defaultfolder it causes a problem 
>> on Windows?
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdim...@evergreeninfo.net
>> 
>> 
>> -Original Message-
>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On 
>> Behalf Of Knapp Martin via use-livecode
>> Sent: Thursday, January 24, 2019 7:21 PM
>> To: Use Livecode
>> Cc: Knapp Martin
>> Subject: revMoveFolder on Windows
>> 
>> I have an app that allows users to create documents and store then in 
>> a specified folder. Via a preference setting they can move the folder 
>> to a location of their choosing. I use revMoveFolder to do this. You 
>> can also move the folder where you want and then drag and drop it on 
>> the preference stack to establish the path to where it is.
>> 
>> This works fine on Mac but not on Windows - it fails. In fact when the 
>> app is open and I try to manually move the folder, Windows tells me 
>> "The action can't be completed because the folder is open in another 
>> program."
>> 
>> I understand that if a file was open by the app that this would come 
>> into play but how is a folder open to another program? Is there a way 
>> around this?
>> 
>> Marty
>> ___
>> 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: revMoveFolder on Windows

2019-01-25 Thread Knapp Martin via use-livecode
I made a simple test stack to move folders, saved as a standalone and it works 
fine - even moving the folder I’m trying to move in my real app. In my app 
where I’m having trouble (works fine on Mac but not on Windows) the result is 
returning “1” which isn’t really helpful!

Marty
> On Jan 24, 2019, at 5:32 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I've seen that with Excel with either the file or the folder(can't remember). 
> I opened a spreadsheet and closed it but the file/folder was still locked 
> until I closed Excel.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
> Of Brian Milby via use-livecode
> Sent: Thursday, January 24, 2019 8:22 PM
> To: How to use LiveCode
> Cc: Brian Milby
> Subject: RE: revMoveFolder on Windows
> 
> I think programs can lock a folder by having it set as the default folder (or 
> it could just be a side effect of them storing something there).  I’ve seen 
> it every once in a while in other programs, but can’t remember the last time. 
>  I have not tried to see if I could reproduce in LiveCode yet.  Ralph’s 
> suggestion sounds like a good thing to try.
> 
> Thanks,
> Brian
> On Jan 24, 2019, 7:05 PM -0600, Ralph DiMola via use-livecode 
> , wrote:
>> Beyond the obvious of having files open in the folder could it be that 
>> if you trying to move LC's current defaultfolder it causes a problem 
>> on Windows?
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdim...@evergreeninfo.net
>> 
>> 
>> -Original Message-
>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On 
>> Behalf Of Knapp Martin via use-livecode
>> Sent: Thursday, January 24, 2019 7:21 PM
>> To: Use Livecode
>> Cc: Knapp Martin
>> Subject: revMoveFolder on Windows
>> 
>> I have an app that allows users to create documents and store then in 
>> a specified folder. Via a preference setting they can move the folder 
>> to a location of their choosing. I use revMoveFolder to do this. You 
>> can also move the folder where you want and then drag and drop it on 
>> the preference stack to establish the path to where it is.
>> 
>> This works fine on Mac but not on Windows - it fails. In fact when the 
>> app is open and I try to manually move the folder, Windows tells me 
>> "The action can't be completed because the folder is open in another 
>> program."
>> 
>> I understand that if a file was open by the app that this would come 
>> into play but how is a folder open to another program? Is there a way 
>> around this?
>> 
>> Marty
>> ___
>> 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: revMoveFolder on Windows

2019-01-24 Thread Ralph DiMola via use-livecode
I've seen that with Excel with either the file or the folder(can't remember). I 
opened a spreadsheet and closed it but the file/folder was still locked until I 
closed Excel.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Brian Milby via use-livecode
Sent: Thursday, January 24, 2019 8:22 PM
To: How to use LiveCode
Cc: Brian Milby
Subject: RE: revMoveFolder on Windows

I think programs can lock a folder by having it set as the default folder (or 
it could just be a side effect of them storing something there).  I’ve seen it 
every once in a while in other programs, but can’t remember the last time.  I 
have not tried to see if I could reproduce in LiveCode yet.  Ralph’s suggestion 
sounds like a good thing to try.

Thanks,
Brian
On Jan 24, 2019, 7:05 PM -0600, Ralph DiMola via use-livecode 
, wrote:
> Beyond the obvious of having files open in the folder could it be that 
> if you trying to move LC's current defaultfolder it causes a problem 
> on Windows?
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On 
> Behalf Of Knapp Martin via use-livecode
> Sent: Thursday, January 24, 2019 7:21 PM
> To: Use Livecode
> Cc: Knapp Martin
> Subject: revMoveFolder on Windows
>
> I have an app that allows users to create documents and store then in 
> a specified folder. Via a preference setting they can move the folder 
> to a location of their choosing. I use revMoveFolder to do this. You 
> can also move the folder where you want and then drag and drop it on 
> the preference stack to establish the path to where it is.
>
> This works fine on Mac but not on Windows - it fails. In fact when the 
> app is open and I try to manually move the folder, Windows tells me 
> "The action can't be completed because the folder is open in another program."
>
> I understand that if a file was open by the app that this would come 
> into play but how is a folder open to another program? Is there a way 
> around this?
>
> Marty
> ___
> 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: revMoveFolder on Windows

2019-01-24 Thread Brian Milby via use-livecode
I think programs can lock a folder by having it set as the default folder (or 
it could just be a side effect of them storing something there).  I’ve seen it 
every once in a while in other programs, but can’t remember the last time.  I 
have not tried to see if I could reproduce in LiveCode yet.  Ralph’s suggestion 
sounds like a good thing to try.

Thanks,
Brian
On Jan 24, 2019, 7:05 PM -0600, Ralph DiMola via use-livecode 
, wrote:
> Beyond the obvious of having files open in the folder could it be that if
> you trying to move LC's current defaultfolder it causes a problem on
> Windows?
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
> Of Knapp Martin via use-livecode
> Sent: Thursday, January 24, 2019 7:21 PM
> To: Use Livecode
> Cc: Knapp Martin
> Subject: revMoveFolder on Windows
>
> I have an app that allows users to create documents and store then in a
> specified folder. Via a preference setting they can move the folder to a
> location of their choosing. I use revMoveFolder to do this. You can also
> move the folder where you want and then drag and drop it on the preference
> stack to establish the path to where it is.
>
> This works fine on Mac but not on Windows - it fails. In fact when the app
> is open and I try to manually move the folder, Windows tells me "The action
> can't be completed because the folder is open in another program."
>
> I understand that if a file was open by the app that this would come into
> play but how is a folder open to another program? Is there a way around
> this?
>
> Marty
> ___
> 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: revMoveFolder on Windows

2019-01-24 Thread Ralph DiMola via use-livecode
Beyond the obvious of having files open in the folder could it be that if
you trying to move LC's current defaultfolder it causes a problem on
Windows?
 
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Knapp Martin via use-livecode
Sent: Thursday, January 24, 2019 7:21 PM
To: Use Livecode
Cc: Knapp Martin
Subject: revMoveFolder on Windows

I have an app that allows users to create documents and store then in a
specified folder. Via a preference setting they can move the folder to a
location of their choosing. I use revMoveFolder to do this. You can also
move the folder where you want and then drag and drop it on the preference
stack to establish the path to where it is.

This works fine on Mac but not on Windows - it fails. In fact when the app
is open and I try to manually move the folder, Windows tells me "The action
can't be completed because the folder is open in another program."

I understand that if a file was open by the app that this would come into
play but how is a folder open to another program? Is there a way around
this?

Marty
___
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