{"identifier":83697,"topic":"Properties","name":"suspended","text":"<code>the suspended<\/code> <br><br>\n\n The<code> suspended <\/code>property returns whether HyperCard is currently running in the background under MultiFinder\u00ae or under System 7.X. You can switch to another program while a handler is running, and scripts will continue to run in the background. <br><br>\n\n Use the<code> suspended <\/code>property in a handler to alter the handler\u2019s behavior if it\u2019s running in the background\u2014for example, to avoid displaying<code> ask <\/code>or<code> answer <\/code>dialog boxes. <br>\n<br>\n HyperCard gives time to MultiFinder (and thus to other programs) as follows: <br><br>\n\n \u2022 After it executes each HyperTalk      statement in a handler \u2022  Whenever it rotates the busy cursor      (during compacting, sorting,     and printing) \u2022  During the execution of the      <code>show cards <\/code>command and the      <code>wait <\/code>command <br>\n","related":{"24298":"resume","25005":"suspend","25274":"suspendStack"},"examples":"if not(the suspended) then \n  -- Show a dialog when we're not running in the background:\n  ask file \"Save as what file?\"\n  put it into theFileName\nelse\n --We're in the background, use a default name:\n put \"Untitled 1\" into theFileName\nend if","demo":"","debug":{"9":["the suspended\r\rThe s"],"10":["\rHyperCard gives tim"]}}