Quantcast
Channel: Microsoft Dynamics GP Forum - Recent Threads
Viewing all articles
Browse latest Browse all 42675

RE: Run checklinks automatically (at night)

$
0
0

Michael,

1) Create Login Macro + Check Link (Below Macro is just login Macro Need to add CheckLink Macro too)

Login Macro Syntax:

Logging file 'macro.log'

CheckActiveWin dictionary 'default'  form Login window Login

 MoveTo field Password

 TypeTo field Password , 'yourpassword'

 MoveTo field 'OK Button'

 ClickHit field 'OK Button'

NewActiveWin dictionary 'default'  form sheLL window sheLL

NewActiveWin dictionary 'default'  form 'Switch Company' window 'Switch Company'

 ClickHit field '(L) Company Names' item 2  # 'your company Name'

 MoveTo field 'OK Button'

 ClickHit field 'OK Button'

NewActiveWin dictionary 'default'  form sheLL window sheLL

NewActiveWin dictionary 'default'  form sheLL window shell

2) Create Batch File to login into GP to run your macro.

Batch File Syntax:

"C:\Program Files (x86)\Microsoft Dynamics\GP2010\DYNAMICS.EXE" "C:\Program Files (x86)\Microsoft Dynamics\GP2010\DYNAMICS.SET" "C:\Program Files (x86)\Microsoft Dynamics\GP2010\DATA\LOGIN.MAC"

3) Schedule Batch file throw windows.

Please do changes in password and company Name.

Let me know how it goes.

Thanks

Sandip


Viewing all articles
Browse latest Browse all 42675

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>