Im using Clips to build a Recommendation system with some business rules.
With the final results shown on the the Clips, I wish to export the results to an txt file.
Can anyone suggest me how this can be done?
you can use "save" or "bsave" commands (take a look to basic guide).
Or you can redirect your console output to a file. It depends on how you run your CLIPS script.
Related
Short description of the business case:
Platform: Windows
me: BI background, incidental batch/Powershel coding (with google support :-)
an external tool is creating huge file_name.csv files in a given catalog
I have no possibility of changing the tool's behavior
I would like to force (possibly on Operating system level) that whenever such a file is being created in that catalog, something would redirect the stream to gzip and create file_name.csv.gz (on the fly)
I could try to use this to notice that the file is being created:
https://gallery.technet.microsoft.com/scriptcenter/Powershell-FileSystemWatche-dfd7084b
but have no idea how to get the input to gzip instead of the file that the tool is writing to.
The situation in which:
the tool is writing to a file file_name.csv
but at the same time the stream of data is passed as the input to gzip
as a result 2 files are created
would also be OK (it might even be safer because I am not sure if the tool will not require that file_name.csv to exist to finish the export successfully).
Does anyone have any ideas on this?
How do i run a file of images in Informatica manually? My company has run several images in informatica with Abbyy that does data transformation, but however there were some images with text's, but texts were not produced.. Therefore, i am asked to run new images in Abbyy Informatica, to reproduce those errors, where some images did not produce texts. Please give me some guidance
I am still a student interning at the company..
If you are using the following plugin, please see the video.
Now, if by "How do i run a file of images in Informatica manually?" you mean that the problem you have is with executing the workflow for a given sest of image files, then you need to perform an indirect load. Please google that. This is mentioned in the video and it simply means that as a source you need to use a file that contains a list of files to be processed. And on the Session you need to set the Souce Qualifier property Source filetype to Indirect.
I am working on Robot Framework. I want to create a report of a test case execution.
I have been trying to insert an image into existing ms word file via command prompt using 'Run' command in Robot framework.
is there any command like echo or edit which does the job?
You may be able to use the Win32::OLE module in Perl to do this. There is an example here.
Or maybe some VBScript with OLE, like here.
Ok guys. I think i will use "EXECUTE JAVASCRIPT" command in RF to solve this. I will have to start a browser every time however. Hope this works as JS has functionality to edit word files.
I've written a batch file script that takes an image sequence from a certain folder, converts it to quicktime using ffmpeg and then it moves the file to a certain folder.
I used variables at the beginning of the batch script for user input on which folder to take the files from.
And now for my question: The batch I've written works just fine but I want to make it into a simple visual basic script so it looks nice and clean instead of a command prompt interface.
Can anyone provide me with tips for the VB code?
How do I pass variables from VB to the batch file?
Any help on this would be much appriciated.
Use a HTML Application to program the GUI to gather the info needed from the user. Use WScript.Shell's .Run or .Exec method to start an external process (either the .bat or ffmpeg directly) and pass those info via the command line.
Is there a way to compile apple script code on the command line from a text source file, like you know, the way it is done in every real programming language? I have an applescript .app file and it seems the only way to edit it is using the native script editor app. However not having a source text file results in all kinds of problems when the binary is loaded into different environments. From what I can tell, it is not even possible to edit the source in the binary in many cases if the script editor is for whatever reason unable to load the binary file.
What I am trying to do is make it so that I can compile it in the environment it will run in. Any suggestions are appreciated...
Try the osacompile command.