Can we directly read power point via power automate or flows? - power-automate

Can we directly read power point via power automate or flows? I know we can create but can we read existing files and parse them to read the relevant content?

Related

Is it possible to automate running PDFelement using command line

I am currently trying to parse some PDF with tables to formats like csv/excel so that I can then programmatically process them with python, etc.
I have found that PDFElement does a good job converting PDF to excel, but have only been doing conversions manually via the GUI.
I'm hoping to be able to automate the process of batch converting PDF to excel using a program and was wondering if anyone had any ideas on how to best achieve this.
My initial instinct was to try to run the program .exe from command prompt using some arguments. However, based on their support page, it doesn't look like this functionality is supported.
Is there a way around this? Or should I resort to some sort of automated clicking script? Thanks!
PDFelement cannot be used from the command line. Their software provides a GUI and there is no way to automate tasks. I've spoken with their support.

Distinction between copy paste and file read on MiniFilter

I'm planning to make a MiniFilter do make some file encryption, add some meta-data on files.
I think I understand what I need to do, in my MiniFilter, to make that files are stored in their encrypted form but can be read by the system with no problems.
If an application ask a read on the file, I need to query the encrypted part, dechiper and send it back to the system.
If I try to copy the file, I need to copy the whole file, with meta-data and encrypted payload.
But I think I may have a problem with meta-data : as I cannot find a way to know if the IRP_MJ_READ i got is from an app trying to read the file or a copy-paste request, I will never be able to read the meta-data and either copy them.
Is there some informations, in the IRP_MJ_READ or the IRP_MJ_CREATE, that is specific from a copy paste action ?
Your task will not be easy or trivial by any means. Making an encryption filesystem filter in Windows is hard.
First of all I will give you a few hints and pointers. The best thing you could to is parse OSR NTFSD list for posts and threads about this. It is a gold mine when it comes to these kinds of filters.
Check out the swapbuffers sample from Microsoft. They show how you can replace data in the Read/Write I/O path with your own. In this case as you described your scenario encrypt on the Write and decrypt on the Read
For starters filter only the read/writes that have IRP_NO_CACHE flag set. Make sure all your Read/Write are volume sector size multiples in size. See more information about this flag here
Use a block cipher that aligns with the volume sector size, all the popular ones should. See CNG
Explore from there on. Modifying only this should be pretty straight forward.
Make sure you will be using a VM and snapshots as well as try to monitor a particular file only and encrypt/decrypt only that file as it will take you many tries until you succeed.
Is there some informations, in the IRP_MJ_READ or the IRP_MJ_CREATE,
that is specific from a copy paste action ?
None whatsoever. The kernel is blind to this. Even the Copy/Paste itself at the end of the day if you think about it will result in explorer.exe doing a file open, reading from a source file, and writing to the destination file using system calls. The OS is there to make sure the system calls work and do their job, it does not know nor it needs to know that the Read of the data or metadata came from you copy/pasting, right clicking Properties on explorer.exe or who knows, you might use Total Commander and do copy paste from there and this one could implement its copy totally different or use xcopy or robocopy. You need to think in a more abstract way in the kernel.
Good luck.

how to integrate a software to run from another?

I am working on a project and I am using a closed software package. In this software I browse for images on my computer and run the program and it executes. What I want to do is create a matlab gui where I browse the images from matlab itself and make a push button that executes the software.
what kind of files do I need to work on in order to be able to integrate the function of a certain feature in a program to run from another one?
Your question can be divided into 2 parts.
1. How to run external program from Matlab?
To do that, you need first find out how to run your program using cmd. Once you know that, you can create a string with system commands in Matlab, that you can pass to cmd using system. Learn the arguments and syntax that you need to following during the system call. Wrap the whole routine into a function to be further used in GUI.
2. How to embed my program into GUI?
Consult the guide on Mathworks website. All you need to do is to instruct Matlab to run your function from previous part using the user-set arguments.
The rest is technicalities and you might need to ask more specific questions in future.

User Interface in SAS

I want to build an user interface on SAS for logistic regression in which we provide the data - or upload the data with the variables and the dependent variable and it gives an output which gives us the Regression table and a few other desire metrices.
What should be the most efficient way of doing this? Does SAS have such a provision of doing it?
To add, if you know some HTML / JavaScript and have access to a SAS Stored Process Web Application (licensed with the Integration Technologies component linked to by DomPazz), we maintain a GPL licensed library that lets you very easily build modern, standard HTML5 user interfaces to your SAS analytical routines.
Have a look at the H54s library on GitHub.
There is an old SAS package called SAS/AF that allowed you to build UIs. That package is rarely used for a number of reasons.
I have built numerous UIs for SAS in .NET connecting to SAS via a Workspace Server. There are also libraries in Java to do the same. Take a look at SAS Integration Technologies (http://support.sas.com/documentation/onlinedoc/inttech/index.html)
If you use SAS EG or SAS Studio they both provide a GUI interface for various procedures. SAS Studio is relatively new, and you can write your own custom tasks for it as well.
Here's the the link to logistic regression analysis in SAS Studio. Even if you don't use it the options should give you an idea of the options that you may want to include in your GUI.
http://support.sas.com/documentation/cdl/en/webeditorug/67434/HTML/default/viewer.htm#n1sahl3jgs8b2qn11jcr7n9vr1qd.htm

How to allow website visitors to download huge files

What is the best way to allow visitors to a website to download files the size of tens of gigabytes? In this case it is about movie files, so they are already relatively compressed.
Here are some assumptions:
Only one visitor will want to download a file at any time and nobody other than our servers has the file at any one time.
There is a high probability that the transfer will be interrupted due to network problems or other problems, so some kind of resume should be available.
The visitor will get a download link either on the website or via email.
Should work at least for visitors running Windows or OS X. It would be a bonus if it also works with some Linux distribution.
My experience with FTP and normal HTTP is that some visitors manage to download what they believe is the entire file but it then turns out not to be working because the file is incomplete or corrupted.
Printing the md5 sum or similar on the website and asking the visitor to run md5 on the download and then compare the results is too complicated for most website visitors.
Zipping the file adds a layer of error checking and completeness checking but often adds some manual steps for the visitor.
Is there some better solution?
I will presume you have custom videos on a closed web site that are per user. If this is the case you might want to implement a custom download manager that does just what you described:
1. grabs the link via magnetic link
2. downlaods the file and checks it against MD5hash
3. supports resume
An easy way to do this is to use external tool like wget to do this. to resume with wget you use -c option, here is an article describing this in greater detail:
http://www.cyberciti.biz/tips/wget-resume-broken-download.html
After this you want to check md5sum, asuming md5 hash is in file named filename.md5. This presumes that you have md5sum and wget on your system.
wget -c urlToYourfile{file.avi, file.avi.md5}
md5sum -c *.md5
So the actual code would be just a simple wrapper with easy installer that would do this. alternatively this could be done in a bit less fancy way with .bat script it just comes down to associating the script with url type and than jsut specify url in this way:
mydownload://url/file.avi and set browser to do this ... but if you have multiple random users it is actually easier to just make a simple wraper for magnetic links and voila
Best regards!

Resources