If you can share it. It will be great help for me.
I
Search found 9 matches
- Fri Sep 19, 2014 8:55 pm
- Forum: Scripting
- Topic: Finding Image Height Widht
- Replies: 9
- Views: 4796
- Fri Sep 19, 2014 6:52 pm
- Forum: Scripting
- Topic: Finding Image Height Widht
- Replies: 9
- Views: 4796
Finding Image Height Widht
HI Thanks , I am new to scripting .
But which flow element should I select for writing private data.
But which flow element should I select for writing private data.
- Wed Sep 17, 2014 9:45 pm
- Forum: Scripting
- Topic: Finding Image Height Widht
- Replies: 9
- Views: 4796
Finding Image Height Widht
Thanks . But which flow element should I select for this and how I can use this in script .
I tried with below code in script
var imageWidth = job.getVariableAsNumber("[Photo.PixelXDimension]");
It is giving error Photo Object is not recognized.
I tried with below code in script
var imageWidth = job.getVariableAsNumber("[Photo.PixelXDimension]");
It is giving error Photo Object is not recognized.
- Tue Sep 16, 2014 5:10 pm
- Forum: Scripting
- Topic: Finding Image Height Widht
- Replies: 9
- Views: 4796
Finding Image Height Widht
hi , I have a image and have to find the image height & widht and then based on that I need to process further . Is this possible from enfocus inbuilt variables. Or do I have to call external command to fetch this value. I see Photo.PixelXDimension in script option but don't know how to use it .
- Fri Mar 28, 2014 7:58 pm
- Forum: Scripting
- Topic: Process.execute command error
- Replies: 4
- Views: 2560
Process.execute command error
HI Freddy Semicolon was miss in typing .
Actually I need to do other stuffs inside cmd file .I thought of testing with small directory creation and even this is not working .
Actually I need to do other stuffs inside cmd file .I thought of testing with small directory creation and even this is not working .
- Fri Mar 28, 2014 10:47 am
- Forum: Scripting
- Topic: Process.execute command error
- Replies: 4
- Views: 2560
Process.execute command error
I have one cmd file which I want to execute via switchScripter Switch Scriptercode is as below var t = new Array("E:Enfocus_Flows_Testtest.cmd"); Process.execute(t) This is always returning 1 and folder is also not created If I run the cmd file manually then it is running fine. test.cmd co...
- Wed Mar 19, 2014 11:16 am
- Forum: Scripting
- Topic: Rename file in local directory
- Replies: 4
- Views: 1901
Rename file in local directory
Thanks . It's working .
- Tue Mar 18, 2014 6:55 pm
- Forum: Scripting
- Topic: Rename file in local directory
- Replies: 4
- Views: 1901
Rename file in local directory
HI , This is not working as the file that I want to rename is not a input job . I need to rename a file which is placed in local drive and not comming from job. What I tried is var fbxCompletePath = "E:Pradeeptest.fbx" ; var newJob = s.createNewJob(fbxCompletePath); var oldFileName = newJo...
- Tue Mar 18, 2014 3:26 pm
- Forum: Scripting
- Topic: Rename file in local directory
- Replies: 4
- Views: 1901
Rename file in local directory
hi ,
I have a csv file as job and by reading this file I am navigating to local directory .I need to rename the files based on content of csv file .
I am using switch scripter for reading the csv file .
Is there any option to rename the file on local disk using switch javascript.
I have a csv file as job and by reading this file I am navigating to local directory .I need to rename the files based on content of csv file .
I am using switch scripter for reading the csv file .
Is there any option to rename the file on local disk using switch javascript.