Search found 15 matches

by krash2501
Thu Oct 11, 2018 10:53 pm
Forum: Technical / Scripting
Topic: Sending commands to CMD window in Administrator mode.
Replies: 1
Views: 1618

Sending commands to CMD window in Administrator mode.

I have a simple script that I made but I can't get it to work with when running CMD in Administrator mode.

SetFocus>Administrator: Command Prompt
send>cd \temp
press enter
send ....

If its just a normal CMD window this works fine. How can i get it to work in Administrator mode?
by krash2501
Wed Mar 15, 2017 9:57 pm
Forum: Technical / Scripting
Topic: Windows 10 Tablet
Replies: 6
Views: 5986

Re: Windows 10 Tablet

I know it works with the Microsoft Surface Pro's using windows 10. It has a surface compatible version of windows but still worked.
by krash2501
Fri Mar 10, 2017 10:14 pm
Forum: Technical / Scripting
Topic: Help with multiple Dialogs
Replies: 1
Views: 2009

Help with multiple Dialogs

I start my script with an Non module dialog from there is goes to one of 3 new dialogs. after the user is finished with the new dialog I want it to cycle back to the 1st non Module dialog, basicly start over but I run into a bunch of issues trying to do this. Layout: Non Module Dialog with 3 buttons...
by krash2501
Fri Mar 10, 2017 5:02 pm
Forum: Technical / Scripting
Topic: simple way to add results to memobox
Replies: 2
Views: 2489

Re: simple way to add results to memobox

Thanks I will plug this in.
by krash2501
Tue Mar 07, 2017 6:58 pm
Forum: Technical / Scripting
Topic: simple way to add results to memobox
Replies: 2
Views: 2489

simple way to add results to memobox

I have a dialog box where when you scan a Serial Number I want it to add the serial number result into a memobox in the dialog. Right now I am doing the following but I think there has to be a better way. GetDialogProperty>Dialog1,Edit3,Text,vStr1 WriteLn>filename,results,vStr1 let>x=x+1 Let>Y=0 Rep...
by krash2501
Tue Mar 07, 2017 1:15 am
Forum: Technical / Scripting
Topic: AddDialogHandler>Dialog1,EDIT3,OnEnter = enter key press
Replies: 4
Views: 3773

AddDialogHandler>Dialog1,EDIT3,OnEnter = enter key press

I want to this to work when someone presses enter on a keyboard in the dialog:

AddDialogHandler>Dialog1,EDIT3,OnEnter,DoClick(1)

but what event name do i pick?

Thanks
by krash2501
Mon Mar 06, 2017 10:52 pm
Forum: Technical / Scripting
Topic: Help with script
Replies: 5
Views: 4395

Re: Help with script

This is what I did, but was looking to see if there was an easier way lol.

I have a scheduler set to run every min and it will check for a YES/NO in a file before it runs. Works fine.
by krash2501
Mon Feb 27, 2017 5:33 pm
Forum: Technical / Scripting
Topic: StayOnTop Crashes when Compiled
Replies: 2
Views: 3040

Re: StayOnTop Crashes when Compiled

Thanks this worked great for what I needed.
by krash2501
Mon Feb 27, 2017 5:14 pm
Forum: Technical / Scripting
Topic: Help with script
Replies: 5
Views: 4395

Re: Help with script

In the the schedule tab you can set when a script will run. I want to be able to set "Time to Run" from a dialog within the script without going though the macro scheduler program.
by krash2501
Fri Feb 24, 2017 9:45 pm
Forum: Technical / Scripting
Topic: StayOnTop Crashes when Compiled
Replies: 2
Views: 3040

StayOnTop Crashes when Compiled

I am not sure if I have this code in the correct spots or what the issue is. The dialog window works perfect when running from script editor but if I do a quick launch or run from EXE it locks up and does not work to the point I have to kill MS. Do I have the GoSub>StayOnTop,Dialog1.Handle in the ri...
by krash2501
Tue Feb 21, 2017 11:53 pm
Forum: Technical / Scripting
Topic: Help with script
Replies: 5
Views: 4395

Re: Help with script

Basically I want to know if I can set the scheduled run time from a dialog box.
by krash2501
Tue Feb 21, 2017 9:25 pm
Forum: Technical / Scripting
Topic: Help with script
Replies: 5
Views: 4395

Help with script

I am looking for a way to either have the script log off and then log back in using a username and password or set up the scheduler to do so with its auto login feature. If I were to use the scheduler to auto login then is there a way to set the scheduler to run within mins of a dialog button being ...
by krash2501
Thu Jul 21, 2016 7:39 pm
Forum: Technical / Scripting
Topic: Reading Results From CMD window
Replies: 4
Views: 5722

Re: Reading Results From CMD window

That would work but I am running a program from the command window so I can't send commands that way. I need to find a way to capture the text from the cmd window.
by krash2501
Thu Jul 21, 2016 7:07 pm
Forum: Technical / Scripting
Topic: Reading Results From CMD window
Replies: 4
Views: 5722

Reading Results From CMD window

I am looking for a way to grab the results from a CMD text window. I have my script send a command and in return I get either TRUE or FAULSE

I tried gettextatpoint and the other get text options but it never comes back with a result.

any ideas?
Sign up to our newsletter for free automation tips, tricks & discounts