AS/400 >> Schedule keyboard recording macro?

by just bob » Thu, 21 May 2009 02:45:26 GMT

Until we can get a programmer out to help a client I would like to know if
it is possible to somehow schedule a Client Access macro to kick off at a
specific time every day.

Any ideas?

Basically the macro simply logs into an app, calls up a menu and fills in
the blanks, and then repeats the steps in three other menus.


AS/400 >> Schedule keyboard recording macro?

by Dr.Ugo Gagliardelli » Thu, 21 May 2009 16:42:29 GMT

il 20/05/2009 20.45, Scrive just bob 29534368:
Have a look to iSeries Access programmer toolkit (an installable
component) and see HLLAPI, that allow to write a sort of automated
operator in a language of choice.

Dr.Ugo Gagliardelli,Modena,ItalyCertifiedUindoscrasherAjoAlcoolInside
Spaccamaroni andate a cagare/Spammers not welcome/Spammers v merda
Spamers iros a la mierda/Spamers allez vous faire foutre/Spammers loop
schijten/Spammers macht Euch vom Acker/Spamerzy wypierdalac'

AS/400 >> Schedule keyboard recording macro?

by jb » Thu, 21 May 2009 19:04:42 GMT

There will be several other way but:
In client access create a new session. Setup a startup script via Edit/
preferences/macro-script then assign your script here to a session
which you will only use for the scheduled job.
In windows? Start/settings/controlpanel/sceduled tasks setup a command
to start the above session

Start with an innocuous script & test it to death. Some things to
consider are what happens if the windows box is in screensaver/sleep/
hibernate/powered down - logged off logged on as another user etc
I find the scheduler OK ish but it dosnt sync my windows password with
what I enter in the schedule box. Thanks for reminding me I need to do
just that since I changed mine last week sometime...


Similar Threads

1. Joystick button keyboard mapper - bind your joystick buttons to keyboard keys - Flight Simulation Games

2. Why ADO Record Set cannot return [record count]?

ADO RecordSet Object cannot return [recordcount] value.
Anyone Knows about this?

3. Select the latest record for each ID from a table of historic records

4. EQ2 Macros... Everquest 2 Macros...

5. Overlay Macro on HP Printer and WSCST - AS/400

6. Call Macros


we use V5R2M0.

We have many macros at our sessions,

How can i use shortcuts to run the macros (for examle STRG + ALT + F1; F2 
etc) ?

Best Regards.


7. C/A Macro V5.1 - AS/400

8. Macro on keypad starts at signon in CA

I recorded a couple keystroke macro's and assigned them to the popup
keypad in CA.  The problems is everytime I start CA and signon one of
the macro runs.

I looked for a check box or something that had "run at logon" or
something like it but haven't found it.

Any clues?

Thanks in advance.