The Origin Forum
File Exchange
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 How to copy folders in origin

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
thadrien Posted - 07/03/2012 : 04:29:55 AM
Dear all,

I would like to make a complete copy of a folder of my origin project. After a long time to search, I couldn't unfortunately find how to do this. Could someone help me ?

Thanks a lot,
Kind regards,
Hadrien

OriginPro 8.6.0G (64-bit)
b70 (Home Use)
Windows 7 Professional - Service Pack 1
7   L A T E S T    R E P L I E S    (Newest First)
thadrien Posted - 07/12/2012 : 04:40:26 AM
Hi,

Thanks a lot for your indications. I will try this on the next time.

Kind regards,
Hadrien

OriginPro 8.6.0G (64-bit)
b70 (Home Use)
Windows 7 Professional - Service Pack 1
Hideo Fujii Posted - 07/11/2012 : 4:32:06 PM
Hi Hadrien,

> is there any way for the end user to add itself this functionality to Origin ?

You can expand the Origin's functionality by making a custom menu or a user-defined tool button in a tool bar.

For the Custom Menu, look at the Origin help in the section of:
UserGuide> Customization and Automation> Custom Menus> Create Custom Menus
or at:
http://www.originlab.com/www/helponline/Origin/en/UserGuide/Create_Custom_Menus.html

For the custom tool buttons, in Origin help at:
User Guide> Customization and Automation> Customizing Toolbars> User-Defined and Custom Toolbars and Toolbar Buttons
or at:
http://wiki.originlab.com/~originla/ltwiki/index.php?title=Script:From_a_Toolbar_Button

If you only need to use the Custom Ruotine button in the "Standard" toolbar:
http://wiki.originlab.com/~originla/ltwiki/index.php?title=Script:Getting_Started_with_LabTalk#Custom_Routine

So, you can put a script like my above samples in the menu or in the button.

--Hideo Fujii
OriginLab
thadrien Posted - 07/05/2012 : 06:10:14 AM
I guess there is two reasons for this feature to not be present in Origin :

First, it is no evident to manage the dependencies in an intuitive way, during the copying process. For example, if we copy a graph which uses a table, should the original table be used or should it be copied ?

Second, I guess this feature is missing because there is a better alternative to copy folders, but which one ? Maybe the power users of Origin could give us an answer.

But this is still clearly a missing feature.

This leads me to another question : is there any way for the end user to add itself this functionality to Origin ? I know Origin is closed-source, but there is a scripting language, so maybe this is possible ?

King regards,
Hadrien

OriginPro 8.6.0G (64-bit)
b70 (Home Use)
Windows 7 Professional - Service Pack 1
asp Posted - 07/04/2012 : 11:02:39 AM
I would suggest to include this option into next release of Origin. It is very usefull in term of routines automation. It is so natural I wonder why this feature is still missing
thadrien Posted - 07/03/2012 : 5:22:07 PM
Hi Hideo,

Thanks a lot for your help ! It worked perfectly and will save me a lot of time.

Kind regards,
Hadrien
Hideo Fujii Posted - 07/03/2012 : 4:33:23 PM
Hi Hadrien,

The following procedure is functionally better - copies not only worksheets and graphs, but also Notes, minimized, and subfolder as well:

  1) In the Project Explorer, right-click on the folder you want to copy, and choose "Save As Project" flyout. Save it somewhere.
  2) Right-click on the parent folder of the saved folder, and choose "Append Project" flyout. Load the saved folder.

Or, run the corresponding script:
////////////////////////////
pe_mkdir ../duplicatd path:=pp$;  //make dir
pe_save fname:=temp.opj; //save folder
pe_cd pp$;            //move to destination
pe_load temp.opj;     //load the saved folder
del -f "%Ytemp.opj";  //delete temp file
////////////////////////////
Please note that this save-and-load method creates a whole closed set of data-to-graph associations within. This is the most significant difference from the script in my previous script sample (which preserve the data-to-graph associations - means the duplicated graph points the original worksheet data.

--Hideo Fujii
OriginLab
Hideo Fujii Posted - 07/03/2012 : 11:27:46 AM
Hi Hadrien,

Currently there is no single menu or shortcut to do that, but the following script
can duplicate the current folder's contents (except minimized and Notes windows
and subfolders):
//////////////////////////
pe_mkdir ../duplicated path:=pp$;
doc -ef O {
  window -d;  //duplicate this
  pe_move %H pp$;  //move to new folder
}
type -b %(pp$) has been created;
//////////////////////////

Hope this helps you.

--Hideo Fujii
OriginLab

The Origin Forum © 2008 Originlab Corporation Go To Top Of Page
Snitz Forums 2000