The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Mass rename of workbook
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

karvek

13 Posts

Posted - 11/11/2020 :  11:45:01 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi!

Assuming I have many workbooks in a folder and I would like to batch rename them like fixedtext_number
number being formed by a fixed number + a changing number how could i do it?

For example Measurement_100 (100+0), Measurement_105 (100+5), etc.

I saw a script working with worksheets (https://my.originlab.com/forum/topic.asp?TOPIC_ID=22067) but I cannot understand how to replicate this with workbooks.

Thanks for support!

Origin 2020
Operating System: Windows 10

YimingChen

1592 Posts

Posted - 11/11/2020 :  3:13:57 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please use

doc -e W
{}


More details in this page:
https://www.originlab.com/doc/LabTalk/ref/Document-cmd#-e_object_.7Bscript.7D.3B_Execute_the_given_script_for_all_objects

James

Edited by - YimingChen on 11/11/2020 3:14:07 PM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000