Ok, I think I figured it out.
The very first time I run my macro in Excel and I'm not logged in, I need to log on with my credentials in the Winshuttle log on popup window, to be able to run the maco. I don't check the "Remember credentials" checkbox and I click ok, and the macro starts running.
The second time I run the macro, the Winshuttle log on pop-up window is appearing again and although I click the cancel button, the macro starts running.
So that means although the log on popup window is appearing again and I click cancel without entering my credentials, Winshuttle remembered that I'm logged in, so the macro starts running..
Although I didn't check the checkbox to remember my credentials and although the icon on the left in Excel still shows "Log on to Winshuttle", Winshuttle remembered my log in credentials and knows I'm still logged in.
So maybe it's not a bug, but in my opinion this is not the way this should be working.
When Winshuttle remembered my log in, the log in popup window should not appear the second time I run the macro.
When I click cancel in the log in popup window, the macro should not start running. Not needed when the popup window isn't showing the second run.
When I'm logged in to winshuttle, the Excel icon should show my name. I don't know if this is possible when running a macro.
Regards, Tom
------------------------------
Tom Schurink |
Philips Lighting |
------------------------------
Original Message:
Sent: 06-26-2020 04:21
From: Tom Schurink
Subject: Winshuttle Studio Connect logon macro
Hi Ben,
What you are proposing is exactly what I'm already doing.
I run the macro by coding the add in, this is standard code provided by Winshuttle.
My point is that I'm logged out from Winshuttle, so in Excel the icon on the left shows "Log on to Winshuttle".
Then when I run my macro, Winshuttle shows the log on pop-up window, because I'm logged out.
Without entering credentials and by clicking the cancel button, the macro starts to run.
In fact I answered my own question because it does seem to be possible to automatically log on to Winshuttle with VBA macro by, clicking the cancel button.
I'm not really sure yet, but when my statements are correct then I think this is called a software bug.
regards, Tom
------------------------------
Tom Schurink |
Philips Lighting |
Original Message:
Sent: 06-26-2020 02:50
From: Ben Crerar
Subject: Winshuttle Studio Connect logon macro
Hi Tom,
There is an add in for Excel so you can run the script directly from Excel without opening up Studio, you just need to ensure you have the same bit versions of Excel and Studio. I'm having great success with 64 bit at the moment.
You could script the macro to run through the process of selecting the options on the ribbon for that add in.
Cheers
NOTICE: This email and any attachments are confidential.
They may contain legally privileged information or
copyright material. You must not read, copy, use or
disclose them without authorisation. If you are not an
intended recipient, please contact us at once by return
email and then delete both messages and all attachments.
Original Message:
Sent: 6/25/2020 5:58:00 AM
From: Tom Schurink
Subject: Winshuttle Studio Connect logon macro
Hi,
I'm using a macro to run several published transaction scripts.
In the macro I use the ALC file to logon to SAP automatically.
Is it also possible to use VBA to logon automatically to Winshuttle Studio Connect?
Regards, Tom
------------------------------
Tom Schurink |
Signify |
------------------------------