Topic Options
Rate This Topic
#61665 - 02/23/04 10:08 PM server name in macro *
cliffa Offline
Stealth Member

Registered: 02/23/04
Posts: 5
Hi all

First post - and a question!

I've substituted $-6$ for the server name into a macro as I expected this to be taken as the server that I was logged on to. However, this has just resulted in getting the 'cannot resolve server name $-6$...' blah blah message. Does anyone know how to make a macro (run from user tool) server independent??

Cheers.

Top
#61666 - 02/24/04 01:28 AM Re: server name in macro [Re: ]
billk Offline
Stealth Member

Registered: 02/18/04
Posts: 17
Well,

From the User Tool, I'm not sure how or if it can be done.

If you put the macro on the server though, $%$ will work to substitute the current server (the one the macro is on).

Bill

Top
#61667 - 02/24/04 04:00 AM Re: server name in macro [Re: ]
Quick Offline
Stealth Member
*****

Registered: 12/14/03
Posts: 111
Loc: Oslo/Norway
Some ideas...

1) You can be logged on to more than one server in a user-tool at the same time.
2) If you then connect to two servers, A and B, in a user tool.
3) Then you run a server-independant macro that opens the User-form
4) Will the User-form be opened from server A or server B?

This leads me into thinking that a macro launched from the User-tool has to include a server-name. If not there is no way of knowing which server to perform the actions against.

But these are just my ideas. I can't point to any documentation saying this.
_________________________
------
Quick

Top