Re: Need an Applescript Expert

2017-10-25 Thread Bob Sneidar via use-livecode
Sweet thanks! Bob S > On Oct 24, 2017, at 11:37 , Mike Bonner via use-livecode > wrote: > > try this.. > set the shellcommand to "powershell" > set the hideconsolewindows to true > put shell("ls") > > should return a listing of files for the current

Re: Need an Applescript Expert

2017-10-24 Thread Mike Bonner via use-livecode
try this.. set the shellcommand to "powershell" set the hideconsolewindows to true put shell("ls") should return a listing of files for the current directory. You could also make it interactive.. open process "powershell" for update write "ls" & cr to process "powershell" read from process

Re: Need an Applescript Expert

2017-10-24 Thread Bob Sneidar via use-livecode
Ooookay I found a .NET port of iText called iTextSharp, and someone wrote a PowerShell module that can access it for the purposes of filling windows forms via the powershell. So now the question becomes, can Livecode access powershell? I suppose I can create a powershell script then launch it

Re: Need an Applescript Expert

2017-10-24 Thread Bob Sneidar via use-livecode
Ya none of this is working. Apparently getField is not a function that is exposed to the script editor. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Need an Applescript Expert

2017-10-24 Thread Bob Sneidar via use-livecode
> On Oct 24, 2017, at 03:03 , Pi Digital via use-livecode > wrote: > > Or then you could do this: > >> window.getField("technotes").value = "This is only a test."; > Can't find variable window. > That should make sense. If getField works that is. If not I

Re: Need an Applescript Expert

2017-10-24 Thread Pi Digital via use-livecode
Hi Bob Outside of a browser you can use this to find out your running process id’s > function getSysRunningApps() { var oOutput = > document.getElementById("processDisplay"); oOutput.value = ""; oOutput.value > = getProcessList(); } Or use this for getting a running apps open active window

RE: Need an Applescript Expert

2017-10-23 Thread Ralph DiMola via use-livecode
Shake some dust off from my Acrobat JavaScript days... I think you will have to open the document. You are in a new instance of Acrobat without an currently open document. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: