Skip to content

Instantly share code, notes, and snippets.

View carloshm's full-sized avatar
🥏
do legendary shit

Carlos carloshm

🥏
do legendary shit
View GitHub Profile
@carloshm
carloshm / vce.tcl
Created February 5, 2023 10:54 — forked from juster/vce.tcl
VCE Exam Taker
package require Tk
proc initTop {} {
menu .topMenu
menu .topMenu.fileMenu -tearoff 0
.topMenu.fileMenu add command -label Open... -command selectVCEPath
.topMenu add cascade -label File -menu .topMenu.fileMenu
. configure -menu .topMenu
/**
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();