title: Applescript: "Expected end of line, etc. but found class name."
body: <p>I've been working on an AppleScript and I received this error:
  <code>/Users/MYUSER/taskmaster/chromeCanary/lib/overrideOpenChrome.scpt:373:377: script error: Expected end of line, etc. but found class name.</code></p>
  <p>The odd part is that this script seemed to work before so I'm at even more confused, the script is below:</p>
  <pre><code> #!/usr/bin/osascript
  
  
   set ccss to &quot;/Users/MYUSER/taskmaster/chromeCanary/chromeShouldStop/bool.rtf&quot;
   set ccsr to &quot;/Users/MYUSER/taskmaster/chromeCanary/chromeShouldRun/bool.rtf&quot;
  
   do shell script &quot;mv &quot; &amp; ccss &amp; &quot; &quot; &amp; ccsr 
  
   tell application &quot;Google Chrome Canary&quot;
     activate
   end tell
   display notification &quot;30 Minutes remain&quot; with title &quot;TaskMaster&quot; subtitle &quot;Google Chrome Canary&quot; with icon file &quot;Users:MYUSER:taskmaster:assets:chrome-icon.icns&quot;
   delay 900
   display notification &quot;15 Minutes remain&quot; with title &quot;TaskMaster&quot; subtitle &quot;Google Chrome Canary&quot; with icon file &quot;Users:MYUSER:taskmaster:assets:chrome-icon.icns&quot;
   delay 600
   display notification &quot;5 Minutes remain&quot; with title &quot;TaskMaster&quot; subtitle &quot;Google Chrome Canary&quot; with icon file &quot;Users:MYUSER:taskmaster:assets:chrome-icon.icns&quot;
   delay 60
   display notification &quot;3 Minutes remain&quot; with title &quot;TaskMaster&quot; subtitle &quot;Google Chrome Canary&quot; with icon file &quot;Users:MYUSER:taskmaster:assets:chrome-icon.icns&quot;
   delay 60
   display notification &quot;1 Minute remain&quot; with title &quot;TaskMaster&quot; subtitle &quot;Google Chrome Canary&quot; with icon file &quot;Users:MYUSER:taskmaster:assets:chrome-icon.icns&quot;
   tell application &quot;Google Chrome Canary&quot;
     quit
   end tell
   do shell script &quot;mv &quot; &amp; ccsr &amp; &quot; &quot; &amp; ccss 
  </code></pre>
  <p>Where would my problem be? The paths are correct, I checked and double checked so it couldn't be that.</p>
  <h3><strong>EDIT:</strong> I'm stupid. See my answer below if you've stumbled across this ask with the same/similar error.</h3>