automation

Save a new Word Document for each row in Excel

ε祈祈猫儿з 提交于 2020-01-14 06:23:28
问题 I have an Excel file with a list of names as follows: *--------------------------------------* | Last, First Middle | email@site.edu | *--------------------------------------* All email addresses are "@site.edu" I have a Word file like this Dear <name>, ... Is there a way to automatically save a copy of the Word document with the name cell inserted over and save the file as "email" where "email" is the email address without site.edu? I would also like to change to be First Middle Last, but I

Unable to get latest of a Web view on local machine

守給你的承諾、 提交于 2020-01-14 05:21:10
问题 I am trying to take latest using cleartool update command but it throws an error saying " abc " is not a valid snapshot view path, maybe because mine is not a snapshot view but rather a Web view. How can I get latest of Web view? My view is C:\CCRC\WKB Actual view on server looks something like //aet/ccase/vws1/s123/dev.po.vws How should I write the command to get the latest Web view? 回答1: As mentioned in "About ClearCase views" A web view is a copy-based ClearCase view that is tolerant of

Using Python to Automate AutoCAD

只谈情不闲聊 提交于 2020-01-14 03:31:06
问题 I'm very new to Python and AutoCAD so please bear with me. I'm trying to use Python to automate a design cycle in AutoCAD. So far I am able to add points and lines in AutoCAD via Python but I want to be able to change the linetype to a dotted line. I understand that this can be done in the command bar in AutoCAD with a few simple commands but I can't work out how to do it through Python. import array from _ast import If import comtypes.client import pyautocad #Get running instance of the

Is it now possible to Automate an App Store App using Appium

喜夏-厌秋 提交于 2020-01-13 14:54:52
问题 Historically, it was not possible to automate iOS app store apps using Appium (e.g. due to the Distribution Certificate used on all app store apps meaning you couldn't access the app via Appium). Is this now possible in mid-2018 and if so does anyone know how to set it up? 回答1: You can not Automate an Appstore app using Appium. To do automation testing on a ios app it should be signed with development certificate. 回答2: You can launch almost any iOS system app if you know it's bundle

Schedule and execute a PHP script automatically

冷暖自知 提交于 2020-01-13 09:49:51
问题 I have written a PHP script which generates an SQL file containing all tables in my database. What I want to do is execute this script daily or every n days. I have read about cron jobs but I am using Windows. How can I automate the script execution on the server? 回答1: You'll need to add a scheduled task to call the URL. First of all, read up here: MS KB - this is for Windows XP. Second, you'll need some way to call the URL - i'd recommend using something like wget - this way you can call the

Reading data from Excel in Haskell

淺唱寂寞╮ 提交于 2020-01-13 07:56:09
问题 I would like to get data from .xls files without manually opening Excel. One possibility is to use COM automation. There are the com-1.2.3 and hdirect packages, but I can't find any examples of how to use these packages with Excel. Does anyone have a solution for this? 回答1: With something like this, if your needs are relatively simple, I've found that it's more straightforward to find/write a command line executable that just pulls out a csv from the xls file. Then you invoke that executable

Batch copy files to SharePoint site

限于喜欢 提交于 2020-01-13 06:15:44
问题 I searched SO, SU, and SP.SE for a solution, but could not find what I needed. I'm looking for a solution which may be a script or some other non-coding method/tool. I am trying to write a script (to be used by others) or some other form of automation to upload various reports automatically to a SharePoint site. I have managed to get the following (VBScript) code to work, but only for text-based files -- .CSV in this case, though this also works for .TXT, etc. Option Explicit Dim sCurPath

Is it possible to build a web automation that can run through a browser?

不想你离开。 提交于 2020-01-13 05:46:11
问题 I have created a Java program that utilizes Chrome Driver, Selenium, and Java Excel API. The program is used to automate a few different processes on Google Chrome. Currently, setting up this automation is more complicated than I would like it to be: the user needs to download a zipped folder, unzip it, download the Java Runtime Environment, and launch the program using the executable. My goal is to simplify the installation of the automation. Ideally, a user would come to a SharePoint

How to convert Word and Excel documents to PDF programmatically?

我的梦境 提交于 2020-01-12 07:55:27
问题 We are developing a little application that given a directory with PDF files creates a unique PDF file containing all the PDF files in the directory. This is a simple task using iTextSharp. The problem appears if in the directory exist some files like Word documents, or Excel documents. My question is, is there a way to convert word, excel documents into PDF programmatically? And even better, is this possible without having the office suite installed on the computer running the application?

Clicking submit button of an HTML form by a Javascript code

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-12 06:30:29
问题 I don't know much about WEB probramming, so feel free to ask if I'm missing any details. There is a certain website which I'm visiting very frequently, and it requires users to log in every time they visit. For the login page of this website, I'm trying to write down a userscript which will automatically log me in. I managed to fill in the form fields, but don't have any idea how to click the submit button by JavaScript. The below is a condensed version of the original login code. How can I