ISSUEThis is one method to automatically log you into Great Plains and into a company.RESOLUTION1. Copy the following macro code into a text editor. This will be the basis for the automatic login.
Logging file 'none.txt' CheckActiveWin dictionary 'default' form Login window Login TypeTo field 'User ID' , 'lessonuser1' MoveTo field PasswordTypeTo field Password , 'pwd' CheckActiveWin dictionary 'default' form Login window Login MoveTo field 'OK Button' ClickHit field 'OK Button' NewActiveWin dictionary 'default' form 'Switch Company' window 'Switch Company' ClickHit field '(L) Company Names' item 1 # 'The World Online, Inc.' MoveTo field 'OK Button' ClickHit field 'OK Button'
2. Make the following changes to the macro code text file:
-
Change lessonuser1 to the user that wants to be automatically logged in.
-
Change pwd to the user's password.
-
Change The World Online, Inc. to the company that you want to be logged into. Note The World Online, Inc. is named Fabrikam, Inc. in Release 8.0.
-
Save the changes to a file named Login.mac. Save the file in the Great Plains client folder. This would beC:\GreatPlains if the defaults were used during the installation.
3. Modify the Great Plains icon on your desktop.
-
Right-click the icon and then select Properties from the drop-down menu.
-
Find the target to Great Plains. (The example that follows assumes that the defaults were used during the client installation. The client will be assumed to be found in C:\GreatPlains).
-
Modify the Target line to look like the following:
C:\GreatPlains\Dynamics.exe C:\GreatPlains\Dynamics.set C:\GreatPlains\login.mac4. Save the changes to the icon and then close the window. 5. Test the change by double-clicking the icon. You should now be automatically logged into Great Plains and into the company that was set up.This article was TechKnowledge Document ID:24389