element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) Question about Eagle.scr file
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 178 subscribers
  • Views 664 views
  • Users 0 members are here
Related

Question about Eagle.scr file

Former Member
Former Member over 15 years ago

In the default eagle.scr file there is some (what I believe to be)

commented out commands.  An example is under the SCH:

 

#Menu Add Bus Change Copy Delete Display Gateswap Grid Group Invoke

Junction \

  1.     Label Move Name Net Pinswap Quit Script Show Split Value Window ';'

\

  1.     Wire Write Edit;

 

This or something similar seems to be put into this file in each section

(BRD, SCH, LBR etc etc) and I'm wondering if this is just there for future

use by someone or is it actually something that isn't commented out as I've

assumed.  I find it odd it is all over the file in different sections.  I

actually uncommented one part and all it does is add some menu functions

across the top horizontally...what's the big deal with this?  I'm curious.

 

Thanks

 

jom

--

Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

 

  • Sign in to reply
  • Cancel
  • Former Member
    Former Member over 15 years ago

    To add to this:  I tried to comment out the section at the top (which

    evidently applies to all edit windows) the MENU that puts that 3rd party

    board maker stuff "Design Link" and "PCB Quote" and for some reason it

    still showed up in the edit windows even after quitting out and restart.

    So how can it still work when commented out?  I must be missing something

    with these .scr files.

     

    Thanks..

     

    jom

    --

    Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 15 years ago in reply to Former Member

    On 12/28/2010 2:12 PM, gbtjom wrote:

    To add to this: I tried to comment out the section at the top (which

    evidently applies to all edit windows) the MENU that puts that 3rd party

    board maker stuff "Design Link" and "PCB Quote" and for some reason it

    still showed up in the edit windows even after quitting out and restart.

    So how can it still work when commented out? I must be missing something

    with these .scr files.

     

    Thanks..

     

    jom

     

    Hi Jom,

     

    I hope you are doing well. The EAGLE.scr is one of the most underrated

    and underused features of EAGLE. It is actually one of the most powerful

    tools for customizing your EAGLE work environment. As you've already

    noticed uncommenting those lines generates a text menu.

     

    Advanced users can assign specific ULPs, or commonly used features to

    the text menu. One of the most useful examples would be setting up the

    text menu to include some layer defaults and grid defaults. So for

    example let's say you only want to see the bottom of the board you could

    set that up as a button in the text menu. Warren has a script that

    implements such functionality it's pretty neat.

     

    You could also setup your hotkeys through the eagle.scr files. You

    mentioned that you commented out, the designlink buttons from the

    eagle.scr file. The reason that they still show up is that they are

    embedded in the the eaglerc.usr(Windows) file. The eaglerc.usr file is

    EAGLE's master configuration file, if you mess something up there, you

    can seriously screw up EAGLE.

     

    If those buttons weren't in the eaglerc file then commenting them out of

    the script file would've taken care of it.

     

    hth,

    Jorge Garcia

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 15 years ago in reply to Former Member

    Jorge Garcia wrote on Tue, 28 December 2010 11:38

    On 12/28/2010 2:12 PM, gbtjom wrote:

    To add to this: I tried to comment out the section at the top

    (which

    evidently applies to all edit windows) the MENU that puts that 3rd

    party

    board maker stuff "Design Link" and "PCB Quote" and for some reason

    it

    still showed up in the edit windows even after quitting out and

    restart.

    So how can it still work when commented out? I must be missing

    something

    with these .scr files.

     

    Thanks..

     

    jom

     

    Hi Jom,

     

    I hope you are doing well. The EAGLE.scr is one of the most underrated

     

    and underused features of EAGLE. It is actually one of the most

    powerful

    tools for customizing your EAGLE work environment. As you've already

    noticed uncommenting those lines generates a text menu.

     

    Advanced users can assign specific ULPs, or commonly used features to

    the text menu. One of the most useful examples would be setting up the

     

    text menu to include some layer defaults and grid defaults. So for

    example let's say you only want to see the bottom of the board you

    could

    set that up as a button in the text menu. Warren has a script that

    implements such functionality it's pretty neat.

     

    You could also setup your hotkeys through the eagle.scr files. You

    mentioned that you commented out, the designlink buttons from the

    eagle.scr file. The reason that they still show up is that they are

    embedded in the the eaglerc.usr(Windows) file. The eaglerc.usr file is

     

    EAGLE's master configuration file, if you mess something up there, you

     

    can seriously screw up EAGLE.

     

    If those buttons weren't in the eaglerc file then commenting them out

    of

    the script file would've taken care of it.

     

    hth,

    Jorge Garcia

     

     

    Thanks Jorge!

     

    I was just trying it out to see what would happen when I commented out that

    section.  I'm just trying to learn by playing with it so I was a bit

    confused why it didn't work.

     

    The functions you can built with the .scr and .upl seem very useful so I

    hope to figure this all out.

     

    Speaking of the code in the .scr file what is the difference between:

     

    GRID Default;

     

    and

     

    GRID Default On;

     

    Just curious...

     

    Thanks again

     

    jom

    --

    Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 15 years ago in reply to Former Member

    On 12/28/2010 2:52 PM, gbtjom wrote:

    Jorge Garcia wrote on Tue, 28 December 2010 11:38

    >> On 12/28/2010 2:12 PM, gbtjom wrote:

    >> > To add to this: I tried to comment out the section at the top

    >> > (which

    >> > evidently applies to all edit windows) the MENU that puts that 3rd

    >> > party

    >> > board maker stuff "Design Link" and "PCB Quote" and for some reason

    >> > it

    >> > still showed up in the edit windows even after quitting out and

    >> > restart.

    >> > So how can it still work when commented out? I must be missing

    >> > something

    >> > with these .scr files.

    >> >

    >> > Thanks..

    >> >

    >> > jom

    >>

    >> Hi Jom,

    >>

    >> I hope you are doing well. The EAGLE.scr is one of the most underrated

    >>

    >> and underused features of EAGLE. It is actually one of the most

    >> powerful tools for customizing your EAGLE work environment. As you've

    >> already noticed uncommenting those lines generates a text menu.

    >>

    >> Advanced users can assign specific ULPs, or commonly used features to

    >> the text menu. One of the most useful examples would be setting up the

    >>

    >> text menu to include some layer defaults and grid defaults. So for

    >> example let's say you only want to see the bottom of the board you

    >> could set that up as a button in the text menu. Warren has a script

    >> that implements such functionality it's pretty neat.

    >>

    >> You could also setup your hotkeys through the eagle.scr files. You

    >> mentioned that you commented out, the designlink buttons from the

    >> eagle.scr file. The reason that they still show up is that they are

    >> embedded in the the eaglerc.usr(Windows) file. The eaglerc.usr file is

    >>

    >> EAGLE's master configuration file, if you mess something up there, you

    >>

    >> can seriously screw up EAGLE.

    >>

    >> If those buttons weren't in the eaglerc file then commenting them out

    >> of the script file would've taken care of it.

    >>

    >> hth,

    >> Jorge Garcia

    >

    Thanks Jorge!

     

    I was just trying it out to see what would happen when I commented out that

    section. I'm just trying to learn by playing with it so I was a bit

    confused why it didn't work.

     

    The functions you can built with the .scr and .upl seem very useful so I

    hope to figure this all out.

     

    Speaking of the code in the .scr file what is the difference between:

     

    GRID Default;

     

    and

    GRID Default On;

     

    Just curious...

     

    Thanks again

     

    jom

    Hi Jom,

     

    Grid Default; by itself just sets the values it doesn't actually turn on

    the grid.

     

    GRID default ON; sets up the values and turns on the grid. Whenever

    you're in doubt remember that script commands are just regular EAGLE

    commands like you would type in the command line so you can go to help

    menu search for GRID and you'll find the same info I got.

     

    hth,

    Jorge Garcia

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 15 years ago in reply to Former Member

    On 12/28/2010 2:52 PM, gbtjom wrote:

    Jorge Garcia wrote on Tue, 28 December 2010 11:38

    >> On 12/28/2010 2:12 PM, gbtjom wrote:

    >> > To add to this: I tried to comment out the section at the top

    >> > (which

    >> > evidently applies to all edit windows) the MENU that puts that 3rd

    >> > party

    >> > board maker stuff "Design Link" and "PCB Quote" and for some reason

    >> > it

    >> > still showed up in the edit windows even after quitting out and

    >> > restart.

    >> > So how can it still work when commented out? I must be missing

    >> > something

    >> > with these .scr files.

    >> >

    >> > Thanks..

    >> >

    >> > jom

    >>

    >> Hi Jom,

    >>

    >> I hope you are doing well. The EAGLE.scr is one of the most underrated

    >>

    >> and underused features of EAGLE. It is actually one of the most

    >> powerful tools for customizing your EAGLE work environment. As you've

    >> already noticed uncommenting those lines generates a text menu.

    >>

    >> Advanced users can assign specific ULPs, or commonly used features to

    >> the text menu. One of the most useful examples would be setting up the

    >>

    >> text menu to include some layer defaults and grid defaults. So for

    >> example let's say you only want to see the bottom of the board you

    >> could set that up as a button in the text menu. Warren has a script

    >> that implements such functionality it's pretty neat.

    >>

    >> You could also setup your hotkeys through the eagle.scr files. You

    >> mentioned that you commented out, the designlink buttons from the

    >> eagle.scr file. The reason that they still show up is that they are

    >> embedded in the the eaglerc.usr(Windows) file. The eaglerc.usr file is

    >>

    >> EAGLE's master configuration file, if you mess something up there, you

    >>

    >> can seriously screw up EAGLE.

    >>

    >> If those buttons weren't in the eaglerc file then commenting them out

    >> of the script file would've taken care of it.

    >>

    >> hth,

    >> Jorge Garcia

    >

    Thanks Jorge!

     

    I was just trying it out to see what would happen when I commented out that

    section. I'm just trying to learn by playing with it so I was a bit

    confused why it didn't work.

     

    The functions you can built with the .scr and .upl seem very useful so I

    hope to figure this all out.

     

    Speaking of the code in the .scr file what is the difference between:

     

    GRID Default;

     

    and

    GRID Default On;

     

    Just curious...

     

    Thanks again

     

    jom

    Hi Jom,

     

    Grid Default; by itself just sets the values it doesn't actually turn on

    the grid.

     

    GRID default ON; sets up the values and turns on the grid. Whenever

    you're in doubt remember that script commands are just regular EAGLE

    commands like you would type in the command line so you can go to help

    menu search for GRID and you'll find the same info I got.

     

    hth,

    Jorge Garcia

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube