Search found 100 matches

by ocnuybear
Wed Jul 18, 2018 12:22 pm
Forum: Beginners
Topic: [Solved] Trying to send keys to Excel 2016
Replies: 5
Views: 4479

Re: Trying to send keys to Excel 2016

Using only VBScript, I can unhide the window: Set oShell = CreateObject("WScript.Shell") oShell.AppActivate "Data Management Report Oct2017-Mar2018.xlsx - Excel" oShell.SENDKEYS("%") oShell.SENDKEYS("O") oShell.SENDKEYS("H") oShell.SENDKEYS("U") oShell.SENDKEYS("{ENTER}") But putting it in Macro Sch...
by ocnuybear
Wed Jul 18, 2018 7:03 am
Forum: Beginners
Topic: [Solved] Trying to send keys to Excel 2016
Replies: 5
Views: 4479

Re: Trying to send keys to Excel 2016

This works, but it does not respond to the ENTER when the Unhide window pops up:

Code: Select all

SetFocus>Data Management Report Oct2017-Mar2018.xlsx - Excel
Wait>1
Press ALT
Wait>1
Send>ohu
Wait>1
SetFocus>Unhide
Wait>1
Press ENTER
Setting Focus on the Unhide window is also not working.
by ocnuybear
Wed Jul 18, 2018 6:12 am
Forum: Beginners
Topic: [Solved] Trying to send keys to Excel 2016
Replies: 5
Views: 4479

[Solved] Trying to send keys to Excel 2016

I have used the "Send Keys To Object Wizard" with the cross which gave many different window names within Excel //GetWindowHandle>Data Management Report Oct2017-Mar2018.xlsx - Excel,hWndParent //FindObject>hWndParent,Edit,,1,hWnd,X1,Y1,X2,Y2,result //GetWindowHandle>Data Management Report Oct2017-Ma...
by ocnuybear
Tue Jul 17, 2018 10:22 am
Forum: Beginners
Topic: [Solved] Cannot mix divide & subtracting in one line?
Replies: 2
Views: 2526

[Solved] Cannot mix divide & subtracting in one line?

I have this code:

Code: Select all

Let>L=Xarr_0-(DeltaX/2)
But it only works if there is either subtracting or diving, but not both.
(In dividing I have to remove the brackets also)
by ocnuybear
Tue Jul 17, 2018 5:42 am
Forum: Beginners
Topic: [Solved] ZipExtractFiles not working as expected
Replies: 2
Views: 2694

Re: ZipExtractFiles not working as expected

I figured out what the problem was, I'm pulling files from FTP server with FTPGetFile>IP,USER,PASS,21,c:\FTP\,/Documents/,*.zip,I But I had the switch at the end set to A which resulted in corrupt zip files being transferred & when changing this to I meaning Passive Mode it did not corrupt the files...
by ocnuybear
Mon Jul 16, 2018 8:56 am
Forum: Beginners
Topic: [Solved] ZipExtractFiles not working as expected
Replies: 2
Views: 2694

Re: ZipExtractFiles not working as expected

Looping through the files is also not unzipping although the message displays the correct path & name: What does filespec mean ? - have tried many different filespec like *.xslx *.* but nothing works GetFileList>c:\FTP\*.zip,strFileList,; Separate>strFileList,;,file_names if>file_names_count=0 Input...
by ocnuybear
Mon Jul 16, 2018 7:47 am
Forum: Beginners
Topic: [Solved] ZipExtractFiles not working as expected
Replies: 2
Views: 2694

[Solved] ZipExtractFiles not working as expected

Hi There,

I'm trying to extract a zipped file from "C:\FTP" which name that is not constant to "C:\FTP\Unzipped\", but it is not unzipping it - please help?

The zipped file contains an xlsx file.

Code: Select all

ZipExtractFiles>C:\FTP\*.ZIP,*.xlsx,C:\FTP\Unzipped\,Err1
by ocnuybear
Sun Jul 15, 2018 5:38 pm
Forum: Beginners
Topic: [Not Possible] Possible to detect image/pixel change from minimized window?
Replies: 1
Views: 2210

[Not Possible] Possible to detect image/pixel change from minimized window?

Trying to detect sound in "Volume Mixer" from specific application, when there is sound, the sound bar in windows 10 will move up & down according to sound played in the app, but I do not want the window to be visible as it is annoying when on screen. "Volume Mixer" is run by with the "sndvol.exe" f...
by ocnuybear
Sun Jul 15, 2018 5:17 pm
Forum: Scripts and Tips
Topic: Random Serial Code Generator
Replies: 6
Views: 11164

Re: Random Serial Code Generator

You can use this site that gives true random numbers from atmospheric noise - they have an API (not tested):
https://api.random.org/json-rpc/1/
Sign up to our newsletter for free automation tips, tricks & discounts