Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

Application to disable/enable HotCorners (DOWNLOAD)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Application to disable/enable HotCorners (DOWNLOAD)

    for the Hot Corners issue I made myself a little dialog box with Apple Scripts.
    it works in 10.8.3 and I have no idea if it will work with previous versions.

    http://www.mediafire.com/download/90...nok/Expose.zip

    that should make it easier for you guys for now!

    I take no credit in the actual code! pulled all that from the Internet and just compiled it into a little program.



    EDIT: few seconds after posting I realized that this will only work with my pre-set options for the corners.
    of there is any interest I could write a little post how I made it and how you can do it to for your settings!
    Last edited by Kyu; 08-18-2013, 03:28 AM.

  • #2
    Please elaborate as I am very interested. I use Top Left for mission control. Top right for Notification Center. Bottom Left for Application Windows and Bottom Right for Desktop.

    Comment


    • #3
      open up the AppleScript then copy past the code into a new window.

      PHP Code:
      repeat
          activate
          
          
          set question to display dialog 
      "HOT-CORNERS" buttons {"OFF""ON""CANCEL"} default button 2
          set answer to button returned of question
          
          
      if answer is equal to "OFF" then
              tell application 
      "System Events"
                  
      activate
                  
      if UI elements enabled then
                      tell expose preferences
                          set properties of the top left screen corner to 
      {activity:nonemodifiers:{}}
                          
      set properties of the top right screen corner to {activity:nonemodifiers:{}}
                          
      set properties of the bottom left screen corner to {activity:nonemodifiers:{}}
                          
      set properties of the bottom right screen corner to {activity:nonemodifiers:{}}
                      
      end tell
                  
      else
                      
      tell application "System Preferences"
                          
      activate
                          set current pane to pane 
      "com.apple.preference.universalaccess"
                          
      display dialog "UI element scripting is not enabled. Check \"Enable access for assistive devices\""
                      
      end tell
                  end 
      if
              
      end tell
              
              
          end 
      if
          
          if 
      answer is equal to "ON" then
              tell application 
      "System Events"
                  
      activate
                  
      if UI elements enabled then
                      tell expose preferences
                          set properties of the top left screen corner to 
      {activity:application windowsmodifiers:{}}
                          
      set properties of the top right screen corner to {activity:show desktopmodifiers:{}}
                          
      set properties of the bottom left screen corner to {activity:dashboardmodifiers:{}}
                          
      set properties of the bottom right screen corner to {activity:all windowsmodifiers:{}}
                      
      end tell
                  
      else
                      
      tell application "System Preferences"
                          
      activate
                          set current pane to pane 
      "com.apple.preference.universalaccess"
                          
      display dialog "UI element scripting is not enabled. Check \"Enable access for assistive devices\""
                      
      end tell
                  end 
      if
              
      end tell
              
              
          end 
      if
          
          if 
      answer is equal to "CANCEL" then
              
      return
              
          
      end if
          
      end repeat 
      now you just have to edit the properties in the if answer is equal to "ON" then scenario.
      for your specific properties like Notification Center please check google cause I have no clue and did the same to put this thing together.

      when you are done and the script works as intended just export it as an app and voilĂ !

      Comment


      • #4
        The game is supposed to disable the hot corners when we are playing, we don't have to create ways to disable it by ourselves.

        PLEASE!!! Fix it Valve!

        Comment


        • #5
          I think someone can make a workaround in terminal with the above code. Basically we need to tell terminal that every time dotaosx is on then answer is ON if dota osx is not running then answer equals to cancel. I don't know how hard that should be but it doesn't seem that hard, now it's a how different Idea to actually implemented in the background ( or inside dota2 ) , rather than a application, but that can do for now.

          Comment

          Working...
          X