#1 2018-01-19 14:21

Cleoss
Member
Registered: 2018-01-19
Posts: 17

Insert lines from file content

Hi!

How can I insert one or two first lines from text file(s) to its name automatically with PascalScript?
I've got some .txt files from Fast Notepad on my Android but it names the files with current timestamp, but I need something more contentfull to search it with. I want ReNamer to take content straight from that files and put it it to their name, it would be cool. But also it could be a nice standard feature to autotag filenames sctrictly from file content.

Thx for answer!

Offline

#2 2018-01-19 15:27

Cleoss
Member
Registered: 2018-01-19
Posts: 17

Re: Insert lines from file content

Вот для затравки нашёл на Wiki:
http://www.den4b.com/wiki/ReNamer:Pasca … le_content
и
http://www.den4b.com/forum/viewtopic.php?id=2339
(Renaming Files According to a File Content)
+
http://www.den4b.com/wiki/ReNamer:Pasca … ad.2FWrite

---
The following errors need to be corrected before the message can be posted:
You are not allowed to post links

Last edited by Cleoss (2018-01-19 15:55)

Offline

#3 2018-01-23 19:20

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,367

Re: Insert lines from file content

Cleoss wrote:

I want ReNamer to take content straight from that files and put it it to their name

This can be achieved by either the User Input rule, the Pascal Script rule or the Import options.

Are there any additional requirements or circumstances when these do not work well?

Cleoss wrote:

You are not allowed to post links

This is a limitation for new users. It has been lifted for you.

Last edited by den4b (2018-01-23 19:20)

Offline

Board footer

Powered by FluxBB