This script does not work.
property theDataFile : POSIX file "Library/Scripts/Universal Scripts/setBounds_Monitors" -- data file
global newR, newB
-- get screen size for monitor
tell application "Finder" to set {newL, newT, newR, newB} to bounds of window of desktop
my monitorData()
display dialog newR & " X " & newB as text
on monitorData() -- screen parameters
set originalDelimiters to AppleScript's text item delimiters
set fileData to read file theDataFile
set AppleScript's text item delimiters to {return}
-- get line of data
repeat with i from 1 to (count text items of fileData)
set currentLineItem to (text item i of fileData)
set AppleScript's text item delimiters to {tab}
# parse out application name for comparison
set temp to text item 2 of currentLineItem
display dialog temp & return & "-" & newB & "-" as text
if temp = newB then
beep
exit repeat
end if
set AppleScript's text item delimiters to {return}
end repeat
-- parse out data
set AppleScript's text item delimiters to {tab}
set newB to text item 2 of currentLineItem
set newR to text item 1 of currentLineItem
set AppleScript's text item delimiters to originalDelimiters -- reset
end monitorData