05.06.2022, 06:12 
		
	
	
		Hi I want to know how to edit common function using a script. Anybody knows? Thank you.
	
	
	
	
| 
					How to edit common function using a script
				 | 
| 
		
		
		05.06.2022, 06:12 
		
	 
		Hi I want to know how to edit common function using a script. Anybody knows? Thank you.
	 
		
		
		06.06.2022, 07:10 
		
	 
		There's an internal function script.checkuserlib(common_function_code) that does what you need.
	 
		
		
		06.06.2022, 15:17 
		
	 (06.06.2022, 07:10)admin Wrote: There's an internal function script.checkuserlib(common_function_code) that does what you need. Well, this code only write the whole common function to 'common_function_code'. But I also want to read the current common funtion code. Is there any other function to read it? 
		
		
		06.06.2022, 15:20 
		
	 
		Can you explain why do you need this?
	 
		
		
		06.06.2022, 15:28 
		
	 (06.06.2022, 15:20)admin Wrote: Can you explain why do you need this? I have some Logic Machines (LMs) in several projects. And I have write some new functions in the newest project and want to have this function in every LMs. I will check the other LMs to see if they have the function or not, if they doesnt have the function then I will add that function to the common funtion. Of course all the work will be done by a script. I can't just copy all common function because each of LMs has some different fix variable (like, email, password, position...) so it's best if I only add the new function to all of the LMs that I've done. While waiting your answer, I've already thought about add the new function to user libraries but I am still prefer to add it to common function. 
		
		
		06.06.2022, 18:10 
		
	 
		Well. I dig a bit into the file and found what I want. Thank you
	 | 
| 
					« Next Oldest | Next Newest »
				 |