pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

AppleScript pastebin - collaborative debugging tool View Help


Posted by gkra on Thu 16 Aug 19:34 (modification of post by view diff)
report abuse | download | new post

  1. tell application "System Events"
  2.         set currentapp to item 1 of (get name of processes whose frontmost is true)
  3. end tell
  4.  
  5. tell application currentapp
  6.         tell front window
  7.                 if zoomable then
  8.                         if zoomed then
  9.                                 set zoomed to false
  10.                         else
  11.                                 set zoomed to true
  12.                         end if
  13.                 end if
  14.         end tell
  15. end tell

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me