INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Question about macros

Question about macros

(OP)
Hello everyone,

A program I frequently use is very powerful computationally, however lacks some basic user friendliness.

Now this program has tool palettes on the side of the main window...

How hard is it to setup the following:

A macro that, when activated by a hotkey, goes and clicks the desired tool and returns the cursor back to it's original position.

With my slight understanding of macros, I assume this can be done such that the whole process is pretty much instantaneous, thus creating the illusion that the software actually has hotkeys.

Any help would be much appreciated.

RE: Question about macros

If your program (which is obviously secret, otherwise I guess you could have told us what program it is) does not have an internal macro recording capability, or scripting, you may find that you can do something useful with one of these macro recorders https://en.wikipedia.org/wiki/Comparison_of_macro_...


Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?

RE: Question about macros

(OP)
Oh the program isn't a secret. It's actually probably the most widely used slab design software. Bentley's RAM Concept.

I have suggested it to their developers a few times, but they must be working on bigger and better things!

Which is good, but still leaves me moving my mouse to the right hand side of the screen everyone 3 seconds....

Have you tried any of the recorders above?

RE: Question about macros

(OP)
Hi IRstuff,

I've posed this to them on their own product support forum.

However, this thread was fairly general in terms using of macros.

RE: Question about macros

(OP)
General/broad in terms of application.

However, I was specific in what the macro needed to do.

RE: Question about macros

Exactly, your specificity ties it directly to Bentley RAM.

This is not even remotely a general question, since you're looking specifically for solution in Bentley RAM.

TTFN
FAQ731-376: Eng-Tips.com Forum Policies

Need help writing a question or understanding a reply? forum1529: Translation Assistance for Engineers


Of course I can. I can do anything. I can do absolutely anything. I'm an expert!
There is a homework forum hosted by engineering.com: http://www.engineering.com/AskForum/aff/32.aspx

RE: Question about macros

(OP)
I don't want to argue with you, but making a macro to click a tool then return the cursor to it's original position is irrelevant to what program I'm using.

This macro could apply to almost every program that uses a tool palette style interface.

I've gone down the route of the RAM specific path and found that it's a dead end, thus why I'm here asking for advice on 3rd party and more generalised macro software.

RE: Question about macros

OK, I don't think understood what you wanted.

So, yes, in general, an operating system macro could be written in C++ or Visual Basic to do something like that, but it wouldn't be particularly bullet-proof against odd things happening.

TTFN
FAQ731-376: Eng-Tips.com Forum Policies

Need help writing a question or understanding a reply? forum1529: Translation Assistance for Engineers


Of course I can. I can do anything. I can do absolutely anything. I'm an expert!
There is a homework forum hosted by engineering.com: http://www.engineering.com/AskForum/aff/32.aspx

RE: Question about macros

I think that the most robust way to handle it would be to write VBA code into your macro that accesses the RAM Concept API. That way, you never actually leave excel during the execution. Rather, it would just be remote control of RAM. I guess the trick is whether or not RAM exposes it's API to interested developers. I don't know the answer to that.

I like to debate structural engineering theory -- a lot. If I challenge you on something, know that I'm doing so because I respect your opinion enough to either change it or adopt it.

RE: Question about macros

ShortKeys?

RE: Question about macros

(OP)
I've managed to write my own scripts (using freeware AutoHotKey) that essentially creates a hotkey for each tool I use most often, which records the mouses' original co-ords, moves the cursor to the desired tool co-ords, then returns the cursor to the original position from where the hotkey was pushed. All done instantaneously. This is a slight bandaid fix and is screen resolution specific, but does exactly what I need. So I'm happy!!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close