User can give the input command to create a folder and chatbot automatically build folder in the PC?
You'll need to use a webhook with fulfillment that has access to your file system.
First detect the intent to build a folder as you normally would.
Enable fulfillment on the intent so that your webhook can be triggered.
The triggered function can then generate a folder (assuming it has access to your file system)
Related
I have installed and configured Rundeck but I want to change the logo to my companies logo. Which file do I have to edit or is there a different method all together?
Take a look at this answer (tested successfully on Rundeck 4.7), but if you want to replace the default logo consider this.
Right now doesn't exist an API endpoint to change that without restarting the Rundeck service, so, the procedure is as follows (probably to automate in a bash script): put the files in the user-assets directory, put the parameters on the rundeck-config.properties file (in that specific order) and restart the service.
I am writing a short JS script and will make a .exe out of it.
This script simply copies certain files and folders (embedded on the exe file - using pkg module).
Since this is on Node, is there any way I can add a confirmation message first before the actual script is called? Something like "This will copy files to your this and that. Do you want to proceed?" AFAIK, the confirmation prompts are only supported on browser mode.
I am aware of the readline module, but what I need is a more user-friendly UI such as a popup confirmation window.
Help! Thanks!
I have created an application using Electron, one feature of which is that user can add files to it(copied to application's data directory).
When user wants to open file from application's UI, I am able to open file using Electron's shell module: shell.openItem().
Now I want to give user an option to trigger system's "Open With" dialog(shown below for windows) from where user can choose with which application user want's to open the file. I search docs for Electron and googled it but not able to find a way to trigger this dialog. Any idea how this can be done for all platforms electron supports. Solution which involves calling an OS specific command to trigger this dialog is also as good.
I have a need to convert any document gets uploaded to Image.
I downloaded the exe (with all the dlls) on my local machine (dont have to install)
export.exe sourcefile.doc destinationfile.gif >> this syntax works from my local dos prompt.
How do I use the same syntax "export.exe exampledoc.doc exampledoc.gif" when an item is added to sharepoint doc library.
and Do I need to put the folder (where the exe and dlls are for this) in the sharepoint frontend server so it's accessible? If yes, where should this folder reside? Does the folder and files need sharepoint service account access?
I am totally new and I would really like if someone can shed some light on this (step by step if possible)?
Thanks
Justin...
In order to do this from a SharePoint event handler, each WFE on the farm would need to have your conversion application available, your event handler code would need to place the uploaded file in a temporary location on disc, invoke the conversion application (look at the .NET Process class for this), cancel the addition of the original, unconverted document, and add the output of your processed file to the library (ensure you use the DisableEventFiring() method of the event handler as to not have the event handler trigger itself during the addition of the new file), and then clean up after itself.
Having said that, this operation seems like something that you really wouldn't want to tax a web server getting any real traffic with doing in real time. You may want to look into batching the jobs to be done daily during traffic lulls by another system, or one dedicated resource on the farm.
Is it possible to trigger a force build on a project inside cruisecontrol.net using a batch file?????
You could use a URL Trigger, but as Joseph said, your machine with the batch file would need to modify a web page that the build machine checks. This could be a file on the build machine itself, modified by your batch file.
If your local machine has visibility to the web site that CC.NET run's on the build machine, I would imagine you could write a batch file that would execute the url command on whatever project you want which effectively just presses the "Force Build" button. Just issue whatever request the "Force Build" button does on that page.
I would give you some code, but I don't have my server box up at the moment so I can't see what that would be.
There's no simple URL, the buttons send a form via POST. However, there's a command line utility that will be included in 1.5 to perform such tasks.