Jump to content

Enter SAP Password from local file HELP Please


dextry
 Share

Recommended Posts

Hello,

 

I am a new starter when it comes to scripting. I want to automate login to SAP logon , i have managed to make it start and enter a Password and username but i need to enter those in the script. I was wondering if it could read and enter the password from a local file so i don't need to edit the script every time i changed my SAP password. So basically i want the script to enter a password from a local file so i don't have to edit the script for every SAP instance and every time my sap password expires.

 

 

Need help , please.

 

Thank you in advance. If you have any other ways to do this, please let me know.

Link to comment
Share on other sites

There is, but there is also the possiblity that someone can get the password.

#include <GUIConstantsEx.au3>

$Ini = @ScriptDir& '\Text.ini'
If FileExists($Ini) Then
Local $TextIniRead1 = IniRead($Ini, "Paste", "1", "Not found")
Else
    IniWrite($Ini, "Paste", "1", '')
EndIf

HotKeySet('{+}', 'Text')

Func Text()
    ConsoleWrite($TextIniRead1 & @CRLF)
    Send($TextIniRead1)
    Send("{TAB}")
EndFunc   ;==>Mail1

Do
    Sleep(100)
Until $GUI_EVENT_CLOSE=1

Very simple, just to showcase.

Edited by careca
Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

No problem, was it what you were looking for?

Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...