Search found 52 matches

by Esabik
Fri Jan 31, 2014 4:15 pm
Forum: Technical / Scripting
Topic: Center mouse cursor in app
Replies: 2
Views: 3613

[quote="Marcus Tettmar"]Sure:

Great thanks that works like magic!!!! See it here and then poof its there.... :shock:
by Esabik
Fri Jan 31, 2014 3:08 pm
Forum: Technical / Scripting
Topic: Center mouse cursor in app
Replies: 2
Views: 3613

Center mouse cursor in app

Is there a way to center the mouse in the middle of the active window on the screen?? I want to do this because i am using waitcursorchanged> in my script and just in case its not centered in the app, i might end up with unwanted results. Now if it centers to the middle of the screen itself and not ...
by Esabik
Fri Jan 24, 2014 3:43 pm
Forum: Technical / Scripting
Topic: Trying to add 2 weeks to date
Replies: 4
Views: 4462

Take a look HERE . Based on that thread and rearranged for your desired output, this should work for you. VBSTART VBEND Let>TwoWeeks=14 VBEval>right("00" & Month(now+%TwoWeeks%),2) & "/" & right("00" & Day(now+%TwoWeeks%),2) & "/" & right ("20" & Year(now+%TwoWeeks%),4),FormattedDate mdl>FormattedD...
by Esabik
Thu Jan 23, 2014 9:43 pm
Forum: Technical / Scripting
Topic: Trying to add 2 weeks to date
Replies: 4
Views: 4462

Trying to add 2 weeks to date

Hi Was trying to add 2 weeks to current date but not understanding the correct euqation format in the scripting. I need it as a parameter for a report I am running and will ultimately need to send the date format as a sendtext to a criteria field on my report like this 02/10/2014. I cant seem to fig...
by Esabik
Mon Jan 20, 2014 7:54 pm
Forum: Technical / Scripting
Topic: Working in a Macola db need to check for correct fields
Replies: 2
Views: 3257

Difficult to answer without seeing screen shots/screencast. But there is likely a way to wait dynamically, rather than wait a fixed amount of time. Either by watching for a visual cue (e.g. using WaitScreenImage), or some other method. I presume this is a process that is meant for a human. If so th...
by Esabik
Mon Jan 13, 2014 4:55 pm
Forum: Technical / Scripting
Topic: Cant open new outlook email with Ctrl N
Replies: 9
Views: 9481

SetFocus will give you an error if no matching window is found. If you are not getting an error then it must be finding a match. But if keystrokes aren't landing then the wrong window is focused. Therefore there must be a hidden window or some other window that your SetFocus is finding and it's not...
by Esabik
Fri Jan 10, 2014 6:34 pm
Forum: Technical / Scripting
Topic: Working in a Macola db need to check for correct fields
Replies: 2
Views: 3257

Working in a Macola db need to check for correct fields

Currently running scripts with our company database using Macola. We use scripting to process large quantities of adjustments, etc... Sometimes there is a network blip or lag somewhere and if something takes longer it messes up the timing of the script and entries are sent to the incorrect fields an...
by Esabik
Fri Jan 10, 2014 1:51 pm
Forum: Technical / Scripting
Topic: Cant open new outlook email with Ctrl N
Replies: 9
Views: 9481

Yes you need to set focus to the window first, don't always assume that it has focus, had issues with Outlook previously with a similar issue. Also when sending a command to a window always use the lower case letter. Cyber thats the problem with setfocus, it's not working to allow me to open the ne...
by Esabik
Thu Jan 09, 2014 9:23 pm
Forum: Technical / Scripting
Topic: Cant open new outlook email with Ctrl N
Replies: 9
Views: 9481

Other thoughts: use Press CTRL rather than Press LCTRL from Microsoft Try Press CTRL Press Shift Send>m Release Shift Release CTRL Ok I did try this and got it to work, but I also got the CTRL N to work finally as well but I had to rem the Setfocus line after the waitwindow open for Microsoft outlo...
by Esabik
Thu Jan 09, 2014 8:46 pm
Forum: Technical / Scripting
Topic: Cant open new outlook email with Ctrl N
Replies: 9
Views: 9481

JRL wrote:I don't use Outlook so I can't test this. What happens if you use a lower case "n"?

SendText>n
either way nothing.... Tried all variations I could think of.....

Thanks :shock:
by Esabik
Thu Jan 09, 2014 7:28 pm
Forum: Technical / Scripting
Topic: Cant open new outlook email with Ctrl N
Replies: 9
Views: 9481

Cant open new outlook email with Ctrl N

Hi Can someone explain to me why I can do ctrl N when there is focus on microsoft outlook manually and it opens a new email, but if i use scripting, the new email window never opens and focus comes off microsoft outlook??? :roll: Please see my sample below: Let>filename=C:\Program Files\Microsoft Of...
by Esabik
Wed Jan 08, 2014 2:19 pm
Forum: Technical / Scripting
Topic: Ask Variable with If has anyone used something like this??
Replies: 3
Views: 4692

[quote="CyberCitizen"]The issue was with your first line. The v was missing. ask>Did you sent the clock on the PC back to the previous year?, v Yes Thanks for the help on this. I appreciate you cleaning up the logic as well. I also see why this was confusing for me. I got the idea for this from the ...
by Esabik
Tue Jan 07, 2014 10:09 pm
Forum: Technical / Scripting
Topic: Ask Variable with If has anyone used something like this??
Replies: 3
Views: 4692

Ask Variable with If has anyone used something like this??

I have an application I need to use this for and I can't get this to work. I havent found anything similar in my searches in the forums. Can anyone help me with what I am missing?? :?: ask>Did you sent the clock on the PC back to the previous year?,Yes //If answer if yes then user input name if>vYes...
by Esabik
Mon Jan 14, 2013 8:18 pm
Forum: Technical / Scripting
Topic: Multiple keypress options
Replies: 14
Views: 15250

Let>SK_DELAY=100 Press Tab * 8 Let>SK_DELAY=0 I thought about doing that and then I thought it might make it zero at some other point during the script run that I dont want it to be unless that is of course the default is normally zero and wont override something else as if never setting the SK_del...
by Esabik
Mon Jan 14, 2013 7:52 pm
Forum: Technical / Scripting
Topic: Multiple keypress options
Replies: 14
Views: 15250

If you want a delay between presses: Let>SK_DELAY=100 Press Tab * 8 That will put a 100ms delay between the 8 tabs. This does work, but I now run into that it maintains the delay during the running of the script while it loops. How would I remove the SK_Delay after that?? //Send Notes for transacti...
Sign up to our newsletter for free automation tips, tricks & discounts