REVO5500rev_IDE_Enhancements3 @pFon commandKeyDown pKey -- Using command key for Mac if pKey = "s" and the altKey is down then ask file "Save As..." if it is empty then exit to top save this stack as it end if pass commandKeyDown end commandKeyDown 9IDE EnhancementsWLucida GrandeWLucida Grande cREVLoadInfoloadstartupinMenutrue cRevOnlineid754cREVGeometryCachestackID1016 cREVGeneralbreakpointconditionsscripteditorvscroll0scripteditorselection115 breakpointsbreakpointstatesstackfileversion5.5 @:cREVGeometryCacheIDs1387685880675100913876840631641004138777800482210111387837585666101413876859792541010138768521518410061387843145186101613878418838031015cREVGeometrycacheordertotal8 cREVGeneralscripteditorvscroll0enableDeselectAll`e#on mouseUp #if the hilite of me then #insert script of this stack into front #else remove script of this stack from front #end mouseUp cScript> if pKey = "a" and the shiftKey is down then select empty SEnables the shortcut Shift-Cmd-A to deselect all controls while working in the IDEx"Enable Deselect All Shift-Cmd-A cREVGeneral revUniqueID 1387684063164scripteditorvscroll0scripteditorselection143  Hide Palette`eon mouseUp if the hilite of me then set the visible of stack "rev_IDE_Enhancements" to false show message box put "set the visible of stack " & quote & "rev_IDE_Enhancements" & quote & " to true" into message end mouseUp z Hide Palette cREVGeneralscripteditorvscroll0 revUniqueID 1387685215184  infoButton%oon mouseUp answer "Many thanks to Scott Rossi of tactilemedia.com for instructions to create this palette" end mouseUp i cREVGeneral revUniqueID 1387685880675scripteditorvscroll0  helpButton%oon mouseUp answer "Place this stack in your LC Plug-ins folder" & cr &\ "Open from Developer > Plugins > rev_IDE_Enhancements" & cr &\ "Choose which shortcuts to active while working in the LiveCode IDE" & cr &\ "and click the Activate button." & cr &\ "If you hide the palette and need to show it again, type [ set the visible of stack" & quote & "rev_IDE_Enhancements" & quote & "to true ] in the message box." end mouseUp ? cREVGeneralscripteditorvscroll0 revUniqueID 1387685979254  enableSaveAs`e|#on mouseUp # if the hilite of me then # put the script of this stack into tScript # put line -2 to -1 of tScript into tEnd # delete line -2 to -1 of tScript # put the cScript of me after tScript # put cr & tEnd after tScript # set the script of this stack to tScript # else # put the cScript of me into tRemove # remove tRemove from tScript # set the script of this stack to tScript # end if #end mouseUp #on mouseUp # if the hilite of me then # insert script of this stack into front # else remove script of this stack from front #end mouseUp 1cScript if pKey = "s" and the altKey is down then ask file "Save As..." if it is empty then exit to top save this stack as it end if 4Enables the shortcut Alt-Cmd-S to call "Save As..."~Enable Save As Alt-Cmd-S cREVGeneralscripteditorvscroll0 revUniqueID 1387778004822scripteditorselection462 deActivateButtonepBon mouseUp remove script of this stack from front end mouseUp ^R:Remove the script of this stack from the IDE frontScript. De-Activate cREVGeneral revUniqueID 1387837585666scripteditorvscroll0scripteditorselection52 enableNewStack`eDcScript^ if pKey = "n" and the shiftKey is down then create stack "Untitled" end if 8Enables the shortcut Shift-Cmd-N to create a new stack.zEnable New Stack Shift-Cmd-N cREVGeneral revUniqueID 1387841883803scripteditorvscroll0scripteditorselection0 activateButtonepon mouseUp put the cScriptStart of me into tScript if the hilite of btn "enableDeselectAll" then put the cScript of btn "enableDeselectAll" after tScript if the hilite of btn "enableSaveAs" then put the cScript of btn "enableSaveAs" after tScript if the hilite of btn "enableNewStack" then put the cScript of btn "enableNewStack" after tScript put the cScriptEnd of me after tScript set the script of this stack to tScript insert script of this stack into front end mouseUp ^R cScriptStart7on commandKeyDown pKey -- Using command key for Mac cScriptEnd- pass commandKeyDown end commandKeyDown \Activate the shortcuts chosen by insetng the script of this stack into the IDE frontScript. Activate cREVGeneralscripteditorvscroll0 revUniqueID 1387843145186scripteditorselection0 revOnline | RunRev