WatchFolder() - updated on 2016-11-30

Post your working scripts, libraries and tools
User avatar
hasantr
Posts: 655
Joined: 05 Apr 2016, 14:18
Location: İstanbul

Re: WatchFolder() - updated on 2016-11-30

02 Sep 2019, 01:52

boiler wrote:
01 Sep 2019, 22:07
You can build the list with a loop using the same UserFunc for all of them. The return parameters will identify what changed and how, so you can sort out the feedback in your user function. I’m not seeing what you are trying to get out of it with your “d” variable in your example.
Oh yes. Too bad I didn't think it would work like that. In this case, the problem is solved. Thank you very much.

Also:

Is there a way to get the old name of a renamed file? (just getting me noted below) I didn't want to write another message again and make it crowded. Thanks just me.
just me wrote:
02 Sep 2019, 04:32
Yes, I'd suggest to read the description at the top of the script. ;)
Last edited by hasantr on 05 Sep 2019, 03:18, edited 2 times in total.
just me
Posts: 7389
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: WatchFolder() - updated on 2016-11-30

02 Sep 2019, 04:32

Yes, I'd suggest to read the description at the top of the script. ;)
User avatar
SirSocks
Posts: 207
Joined: 26 Oct 2018, 08:14

Re: WatchFolder() - updated on 2016-11-30

06 Dec 2019, 10:06

absolutely perfect! WatchFolder() is an amazing function! :bravo:
LeSeb
Posts: 8
Joined: 25 Oct 2017, 14:50

Re: WatchFolder() - updated on 2016-11-30

26 Jun 2020, 02:05

Thanks for this great function! :D

I'm using it here to squeeze pdf's (using coherent pdf) as soon as i automatically extract them from my mail software, which is Thunderbird.

Great function that i also have to study, i'm sure to learn a lot that way!
User avatar
hasantr
Posts: 655
Joined: 05 Apr 2016, 14:18
Location: İstanbul

Re: WatchFolder() - updated on 2016-11-30

08 Oct 2020, 07:58

Is there any way to extract a watched folder from watching?
User avatar
boiler
Posts: 6586
Joined: 21 Dec 2014, 02:44

Re: WatchFolder() - updated on 2016-11-30

08 Oct 2020, 08:04

Per the instructions (UserFunc parameter):
Pass the string "**DEL" to remove the directory from the list of watched folders.

Return to “Scripts and Functions”

Who is online

Users browsing this forum: Bing [Bot], robodesign and 18 guests