@givirus its because of your script logic, maybe you dont call the function? OR you dont have proper error handling which results into certain parts of your script being skipped since they are inside an if statement. I encountered this problem many times in the past, you will need to handle errors and it'll will be most likely fixed, for the purpose of debugging you can use the "Log" function at several points to see where it will print it.
How to make my script more optimize?
-
So I have profiles folder and I'm manually putting C:/BAS/Profiles/123
each time in the PATH data.
How can I make this more user friendly? like how can I ask the user to just locate or point the right folder settings so everytime this PATH will change depends on user input without manually changing the PATH inside the script like C:/BAS/Profiles/new/profiles/123???
I tried using creating new resource and I selected FILESFROMDIRECTORY and then I put in the PATH script > {{profilefolders}}/123 > but this didnt work.
says all data have been processed.
I just want my script to look cleaner. without editing the script too much everytime I change my folder location.
can this be done?
-
@stephenperry18 said in How to make my script more optimize?:
So I have profiles folder and I'm manually putting C:/BAS/Profiles/123
each time in the PATH data.
How can I make this more user friendly? like how can I ask the user to just locate or point the right folder settings so everytime this PATH will change depends on user input without manually changing the PATH inside the script like C:/BAS/Profiles/new/profiles/123???
I tried using creating new resource and I selected FILESFROMDIRECTORY and then I put in the PATH script > {{profilefolders}}/123 > but this didnt work.
says all data have been processed.
I just want my script to look cleaner. without editing the script too much everytime I change my folder location.
can this be done?
Use the "Resource Location" action
