tag:blogger.com,1999:blog-24638140.post115567241859998214..comments2023-08-18T04:17:09.026-05:00Comments on CAD-e-Corner: Using Scripts to Automate Layer settingsWard Rombergerhttp://www.blogger.com/profile/04148957596186935597noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-24638140.post-42233471380049904022011-06-19T11:28:32.362-05:002011-06-19T11:28:32.362-05:00An interesting topic Using Scripts to Automate Lay...An interesting topic Using Scripts to Automate Layer settings.I was able to do this.Thanks to Jenniefer as she pointed that the names of the folders in your path can not include spaces.So thanks to both of you for helping.digital signature certificatehttp://www.arx.com/noreply@blogger.comtag:blogger.com,1999:blog-24638140.post-1157739584183365712006-09-08T13:19:00.000-05:002006-09-08T13:19:00.000-05:00Great. I'm glad that worked for you. FYI, you can...Great. I'm glad that worked for you. FYI, you <I>can</I> use spaces in your file/folder names (although I think you're wise in opting not to), you simply have to quote the string:<BR/><BR/>SCRIPT "c:/cad stuff/my script.scr"Ward Rombergerhttps://www.blogger.com/profile/04148957596186935597noreply@blogger.comtag:blogger.com,1999:blog-24638140.post-1157728104670701062006-09-08T10:08:00.000-05:002006-09-08T10:08:00.000-05:00Thanks, it worked. One important thing to note: th...Thanks, it worked. One important thing to note: the names of the folders in your path can not include spaces. I had to move my script out of my "CAD stuff" folder to get it to work.J MGhttps://www.blogger.com/profile/13633916742578506194noreply@blogger.comtag:blogger.com,1999:blog-24638140.post-1157653299987386432006-09-07T13:21:00.000-05:002006-09-07T13:21:00.000-05:00JenniferThe easiest way is to copy another command...Jennifer<BR/><BR/>The easiest way is to copy another command already on your tool palette, or drag an entity like a piece of text onto your tool palette to create a new command, then edit that command. Change the Command string to be:<BR/><BR/>SCRIPT c:/folder/script.scr<BR/><BR/>where the drive letter, folder and script name all point to your script location. Make sure that you use forward slashes in lieu of backslashes in your path.<BR/><BR/>Rename the tool and change the description and image to get the desired look.Ward Rombergerhttps://www.blogger.com/profile/04148957596186935597noreply@blogger.comtag:blogger.com,1999:blog-24638140.post-1157635168759455472006-09-07T08:19:00.000-05:002006-09-07T08:19:00.000-05:00Ward,You mentioned putting a script on a tool pale...Ward,<BR/>You mentioned putting a script on a tool palette - how do you do this? I haven't been able to figure out how.J MGhttps://www.blogger.com/profile/13633916742578506194noreply@blogger.com