// This example macro shows how to use the getProfile() function // Set alt key down to average horizontally; requires 1.33k //setKeyDown("alt"); // Close "Log" window if (isOpen("Log")) { selectWindow("Log"); run("Close"); } // Get profile and display values in "Log" window profile = getProfile(); for (i=0; i