Thanks you both for your efforts, it's working great! I can't wait to implement this...
Thanks again for your help!
Search found 27 matches
- Tue Mar 17, 2015 8:40 pm
- Forum: Scripting
- Topic: Modify Script - Move File to Folder....
- Replies: 9
- Views: 6921
- Mon Mar 16, 2015 7:03 pm
- Forum: Scripting
- Topic: Modify Script - Move File to Folder....
- Replies: 9
- Views: 6921
Re: Modify Script - Move File to Folder....
Hey Loic, This is still not working. The error Switch logs is "Error in line 13 of script Path segment 1: Error. Trying to access undefined member 'name" The first script you posted through this error: "Error in line 13 of script Path segment 1: TypeError. 'test' undefined or not a fu...
- Fri Mar 13, 2015 6:07 pm
- Forum: Scripting
- Topic: Modify Script - Move File to Folder....
- Replies: 9
- Views: 6921
Re: Modify Script - Move File to Folder....
Thanks Loic,
I can't get this to work.
I understand the concept and what you've posted seems to make sense, so I don't understand why it doesn't work. To my untrained eye, everything looks correct. Does this work when you run it?
Thanks again for your time
I can't get this to work.
I understand the concept and what you've posted seems to make sense, so I don't understand why it doesn't work. To my untrained eye, everything looks correct. Does this work when you run it?
Thanks again for your time
- Thu Mar 12, 2015 9:34 pm
- Forum: Scripting
- Topic: Modify Script - Move File to Folder....
- Replies: 9
- Views: 6921
Re: Modify Script - Move File to Folder....
Thanks bens! The 0,2 worked perfect. Also, thanks for reg ex advice. I have one more question about this. What if the folder name had the 2 letters I wanted to match somewhere else in the folder name? I was just thinking, this could help us in another workflow so what if the file name "ABC123.t...
- Wed Mar 11, 2015 4:43 pm
- Forum: Scripting
- Topic: Modify Script - Move File to Folder....
- Replies: 9
- Views: 6921
Modify Script - Move File to Folder....
Hello, I currently have a script expression which checks a directory for a folder with the name beginning with the name of the file passed through it. I use this in the Set Hierarchy element and it will put the matching folder into the hierarchy. For example, if I have a file named "ABC123.tif&...
- Wed Aug 20, 2014 8:43 pm
- Forum: Applications
- Topic: Statistics
- Replies: 2
- Views: 2637
Statistics
You need to set "Show in statistics" to "yes" in the properties of the folder you want see statistics for.
- Fri Aug 08, 2014 9:37 pm
- Forum: Scripting
- Topic: insert private Data
- Replies: 6
- Views: 4156
insert private Data
Works perfect. That's exactly what I was trying to do. Thank you very much!
- Fri Aug 08, 2014 9:00 pm
- Forum: Scripting
- Topic: insert private Data
- Replies: 6
- Views: 4156
insert private Data
I'm trying to set the private data to the current job state. Could you please give an example of this?
I would need a script element for this, correct?
Thank you!
I would need a script element for this, correct?
Thank you!
- Thu Apr 03, 2014 5:38 pm
- Forum: Scripting
- Topic: Looking to sort jobs containing folders...
- Replies: 3
- Views: 1959
Looking to sort jobs containing folders...
Nice!
It works great tz8, thanks for your help.
It works great tz8, thanks for your help.
- Tue Apr 01, 2014 9:25 pm
- Forum: Scripting
- Topic: Looking to sort jobs containing folders...
- Replies: 3
- Views: 1959
Looking to sort jobs containing folders...
Hello, I'm setting up a flow where I need to check if a job folder going through a flow contains a folder(or folders). If it does contain a folder, I'd like it to go to an outgoing connection and if it doesn't I'd like it to go to a different outgoing connection. Is this possible with Switch scripti...
- Fri Mar 28, 2014 10:59 pm
- Forum: Flows
- Topic: How to use round in Switch.Calculation
- Replies: 2
- Views: 2030
How to use round in Switch.Calculation
Thanks for your help Freddy, it's working exactly the way I was hoping it would.
Thanks again!
Danny
Thanks again!
Danny
- Thu Mar 27, 2014 10:29 pm
- Forum: Flows
- Topic: How to use round in Switch.Calculation
- Replies: 2
- Views: 2030
How to use round in Switch.Calculation
Hello, I'm trying to use switch calculations in a flow. Specifically, I'm finding the total number of files in an ungrouped job and round up to the nearest 10. So if the folder had 22 files, I want the result to be 30. I am not familiar with how to use rounding. I can't find any examples of it anywh...
- Fri Mar 21, 2014 9:48 pm
- Forum: Scripting
- Topic: Return Directory as List In Client
- Replies: 4
- Views: 2260
Return Directory as List In Client
Works perfect! That's great, I wasn't even in the ball park.
Thanks a lot!
Thanks a lot!
- Fri Mar 21, 2014 8:23 pm
- Forum: Scripting
- Topic: Return Directory as List In Client
- Replies: 4
- Views: 2260
Return Directory as List In Client
Yes, I was hoping to have the script point to a certain folder and list the folders with it. So, it would watch an "Active Jobs" folder for example and list the folders, not the contents of any of the folders. If possible could it only list the folders starting with 6 digits? Active Jobs 1...
- Fri Mar 21, 2014 7:05 pm
- Forum: Scripting
- Topic: Return Directory as List In Client
- Replies: 4
- Views: 2260
Return Directory as List In Client
Hello, I'm trying to create a script expression for Switch Client. I'd like to have the user choose from a drop down list of folder already created on the server. I'm not sure if this can be done and am looking for help. If anyone has something like this or could get pointed in the right direction, ...