News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Macro recorder

Started by nikkipollard, December 13, 2023, 10:00:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nikkipollard

I see that windows is no longer going to ship with vbscript.
Is the macro recorder going to stop working?
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Andy H

I would not think so Nikki.  Just look at Ruby (Iron ruby that TC uses), that was scrapped back in 2011 but it is still working in TC.

One problem that may occur, is if a macro tried to access - say - the file system object, or WshShell. maybe those links could be broken in the future.  Oh course this is just a guess, but as long as IMSI have access to the core VBS program, they can install it in TC.  And because VBS is linked into not just macro's but AnimationLab as well.  IMSI would not want to follow Microsoft's lead and scrap VBS.  Because to do so, it would cripple TC.       

nikkipollard

Thanks Andy, I hope development will confirm this.

How TC's macro recorder references vbscript is a bit beyond my comprehension

From what you say, it sounds like my scripts - should still work - unless they read from an external file. In which case I will need to convert them to vb.net - who knows how long before Microsoft decides to dump that.


Has anyone managed to write a fully functional script, for Turbocad, with Ruby? Every time I try, I get frustrated because it doesn't seem to recognise our TC classes, there is no support for it.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h