Re: Windows script?

2018-10-08 Thread Jeremy Roussak via 4D_Tech
Thanks, Jim. That looks promising. Jeremy > On 8 Oct 2018, at 12:37, Jim Hays via 4D_Tech <4d_tech@lists.4d.com> wrote: > > wscript.exe is one way to go. > > To learn how to write the particular script for MS Word on Windows, let it > record a macro of what you want to do. > You can pull the

Re: Windows script?

2018-10-08 Thread Jim Hays via 4D_Tech
wscript.exe is one way to go. To learn how to write the particular script for MS Word on Windows, let it record a macro of what you want to do. You can pull the macro out into a text file and run it with wscript (with a few more commands to get Word started and point at the document). To record a

Windows script?

2018-10-07 Thread Jeremy Roussak via 4D_Tech
I have an AppleScript which is called from 4D with four numeric parameters. Provided MS Word is running and the cursor is in a table, it fills columns 2 to 5 of the table with its parameters and tabs out of the last column, probably creating a new row in the table. I’m now called upon to make

Re: windows script issue

2018-04-16 Thread Chuck Miller via 4D_Tech
OK I get it. How can I turn this into a bat file that returns a value? as it works from command prompt Thanks and regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax:

Re: windows script issue

2018-04-13 Thread Chip Scheide via 4D_Tech
On Fri, 13 Apr 2018 15:02:57 -0400, Chuck Miller via 4D_Tech wrote: > Hi All, > > I need to run a command line script on windows to retrieve a password. > > I have filled a text variable to use with launch external process and > set to pasteboard. When I run from cmd prompt. I get expected

RE: windows script issue

2018-04-13 Thread Timothy Penner via 4D_Tech
At first look, the escaping seems invalid. Specifically, you escape the folder separator after the drive letter (E:\\) but you are not escaping the folder separator between the folders themselves (\CyberArk\ApplicationPasswordSdk\CLIPasswordSDK.exe). Honestly its best to just use the Folder

windows script issue

2018-04-13 Thread Chuck Miller via 4D_Tech
Hi All, I need to run a command line script on windows to retrieve a password. I have filled a text variable to use with launch external process and set to pasteboard. When I run from cmd prompt. I get expected results but when tun from launch external process I get nothing no in, no out no