Search found 27 matches

by Danny
Tue Mar 17, 2015 8:40 pm
Forum: LEGACY scripting
Topic: Modify Script - Move File to Folder....
Replies: 9
Views: 11532

Re: Modify Script - Move File to Folder....

Thanks you both for your efforts, it's working great! I can't wait to implement this...

Thanks again for your help!
by Danny
Mon Mar 16, 2015 7:03 pm
Forum: LEGACY scripting
Topic: Modify Script - Move File to Folder....
Replies: 9
Views: 11532

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...
by Danny
Fri Mar 13, 2015 6:07 pm
Forum: LEGACY scripting
Topic: Modify Script - Move File to Folder....
Replies: 9
Views: 11532

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
by Danny
Thu Mar 12, 2015 9:34 pm
Forum: LEGACY scripting
Topic: Modify Script - Move File to Folder....
Replies: 9
Views: 11532

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...
by Danny
Wed Mar 11, 2015 4:43 pm
Forum: LEGACY scripting
Topic: Modify Script - Move File to Folder....
Replies: 9
Views: 11532

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&...
by Danny
Wed Aug 20, 2014 8:43 pm
Forum: Applications
Topic: Statistics
Replies: 2
Views: 5135

Statistics

You need to set "Show in statistics" to "yes" in the properties of the folder you want see statistics for.
by Danny
Fri Aug 08, 2014 9:37 pm
Forum: LEGACY scripting
Topic: insert private Data
Replies: 6
Views: 8401

insert private Data

Works perfect. That's exactly what I was trying to do. Thank you very much!
by Danny
Fri Aug 08, 2014 9:00 pm
Forum: LEGACY scripting
Topic: insert private Data
Replies: 6
Views: 8401

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!
by Danny
Thu Apr 03, 2014 5:38 pm
Forum: LEGACY scripting
Topic: Looking to sort jobs containing folders...
Replies: 3
Views: 5398

Looking to sort jobs containing folders...

Nice!



It works great tz8, thanks for your help.
by Danny
Tue Apr 01, 2014 9:25 pm
Forum: LEGACY scripting
Topic: Looking to sort jobs containing folders...
Replies: 3
Views: 5398

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...
by Danny
Fri Mar 28, 2014 10:59 pm
Forum: Flows
Topic: How to use round in Switch.Calculation
Replies: 2
Views: 4826

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
by Danny
Thu Mar 27, 2014 10:29 pm
Forum: Flows
Topic: How to use round in Switch.Calculation
Replies: 2
Views: 4826

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...
by Danny
Fri Mar 21, 2014 9:48 pm
Forum: LEGACY scripting
Topic: Return Directory as List In Client
Replies: 4
Views: 5154

Return Directory as List In Client

Works perfect! That's great, I wasn't even in the ball park.



Thanks a lot!
by Danny
Fri Mar 21, 2014 8:23 pm
Forum: LEGACY scripting
Topic: Return Directory as List In Client
Replies: 4
Views: 5154

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...
by Danny
Fri Mar 21, 2014 7:05 pm
Forum: LEGACY scripting
Topic: Return Directory as List In Client
Replies: 4
Views: 5154

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, ...