Jump to content
Macro Express Forums

Can MEX 3 recognize on which pc it´s running?


Recommended Posts

To make the same macro file run on different pc´s some macros have to be a little different. The reason is the different numbers of monitors which are connected to the pc´s.


I wanted to insert an "If then" command and was quite sure to find a command like "Get computername" but i did not manage to find something like this yet.


I guess there are plenty of workarounds for this but what´s the best way to determine this?


Thanks a lot



Link to comment
Share on other sites



What Kevin said is exactly what you want. I use the same command with the Username. Our company has each person's computer set with their own user name (ie: mine is jboll). I found using the username is easier than the computer number because it tells me exactly who the user is and I don't have to cross reference a seperate list when locating whose computer is DHO00RS143BC, etc. I know who they are by the name.


In addition..If statements work great, but you might also want to consider using the Switch commands. They are very efficient when having different options to use within a macro.

Link to comment
Share on other sites

Thank you very much!


That was exactly what i was looking for. Somehow i completely overlooked this useful command "Variable Set From Miscellaneous".


Same is with Switch. I guess it can´t do anything else than IF / THEN but it seems to need less commands to achieve the same.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...