News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu

User defined menu tab

Started by Orion20036, April 25, 2014, 07:35:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Orion20036

A long time ago, back in version 6 I think it was, we could set up a custom menu tab and add program file links to run from it. I used to put all my commonly used program links in this to bring up a spreadsheet, word processor and calculator, it used to save me a hell of a lot of time, even links to web pages.

John R

They do have the New Popup Menu command in the New Popup category for creating new menus or sub-menus.

There is a "Web_Links" section in the TCExplorer palette where you can add links to their current list which is displayed at "Help / TurboCAD on the Web". As far as I can tell, there is no command for TurboCAD on the Web, but it can be dragged out onto the main menu bar when the Customize dialog is open.

  • Right-click on Web_Links and choose "Edit"
  • Select the last entry, then overwrite with a new "Name"; i.e.Link_5
  • Overwrite with a new "Value"; new name followed by the address
  • Click on the "New Entry" button
  • Click OK
  • The new entry will be inserted before the last entry.

I'm not sure about starting programs, but possibly through some SDK thing or Ruby to create a command button for the menu or toolbar. I'm out of my element with this part of the program.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Orion20036

Thanks for the feedback John, I will have a look at what you have mentioned, it should be possible to write an extension or a ruby script, will look into it if and when I get some free time.

Orion20036

John, just found a Ruby script that should open notepad or any other exe file . Will try it out tomorrow.

Here is the link to the basics of the script methodology.

http://stackoverflow.com/questions/7839228/how-do-i-automatically-open-the-file-i-created