diff --git a/Design/Today-Scripts.sketch b/Design/Today-Scripts.sketch new file mode 100755 index 0000000..63c87cb Binary files /dev/null and b/Design/Today-Scripts.sketch differ diff --git a/README.md b/README.md index d9c5ce3..84c5653 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,21 @@ -##  Today-Scripts (custom scripts in your notification bar. This fork has a fix for Mac OS X El Capitan, tested on **10.11.1**) +#  Today-Scripts [Megabits fixed ver.] -### Clone and compile yourself *(tested to work with Xcode 7.1 target platform 10.10 or 10.11)* +## This app will not work on macOS Big Sur. Apple killed all old-style widgets on Big Sur, I'm very sad about it. -If you don't want to compile this yourself, nor clone the repo to get the binary in the `build` dir +![Tested](https://img.shields.io/badge/Tested%20on-macOS%2010.15-green) -or download the binary **.app* or **.zip**. You can **download the binary** from [Today Scripts.app zipped to 168K](https://github.com/lsd/Today-Scripts/raw/master/build/Today%20Scripts.app.zip) or view the [build/ for the uncompressed bin @ 380K](https://github.com/lsd/Today-Scripts/tree/master/build) dir. +*A widget for running scripts in the Today View in macOS's Notification Center.* -## Still having issues with running this on El Capitan? +![Screenshot](widget-screenshot.png) -:warning: **If you're still having problems running Today-Scripts on El Capitan, [please read https://github.com/SamRothCA/Today-Scripts/issues/24#issuecomment-160041420](https://github.com/SamRothCA/Today-Scripts/issues/24#issuecomment-160041420)** - - -**A widget for running custom scripts in the Today View in OS X Yosemite's and El Capitan's Notification Center.** +**Download the app** from [Today Scripts.app.zip](https://github.com/megabitsenmzq/Today-Scripts/releases/download/1.4a/Today.Scripts.app.zip) Original links and text preserved: -- [Latest build here from original repo (does not contain **.app** binary and as of now does not work out of the box for El Capitan)](https://github.com/SamRothCA/Today-Scripts/releases) +- [Latest build here from original repo (does not work on new macOS)](https://github.com/SamRothCA/Today-Scripts/releases) - [See the wiki for a list of example scripts.](https://github.com/SamRothCA/Today-Scripts/wiki) -###Features +### Features * [Colorized Output](http://i.imgur.com/Yvj2ePG.png). Today Scripts supports colorized terminal output from your scripts, as well as bold and underline. * [Custom Labels](http://i.imgur.com/LL4s6Ao.png). Today Scripts has a form for setting up scripts, which gives you the option of picking a label to display instead of the script itself. @@ -26,9 +23,9 @@ Original links and text preserved: * Manually Run Scripts: Scripts may be run on command by clicking on their label. You may also specify that scripts not be run automatically when Notification Center is opened. * Output text selection: You may highlight the output of your scripts, allowing you to copy it to the clipboard or drag it where you please. -##Usage +## Usage -After building, simply copy "Today Scripts.app" wherever you'd like to store it, then open it. In Notification Center, you will see "1 New" appear on the edit button, and you may use that to add Today Scripts to your Today View in order to begin using it. +Simply copy "Today Scripts.app" wherever you'd like to store it, then open it. In Notification Center, you will see "1 New" appear on the edit button, and you may use that to add Today Scripts to your Today View in order to begin using it. To begin editing your list of scripts, click the "Info" symbol in the title of the widget. @@ -36,9 +33,16 @@ To start or stop a given script on demand, click its label in your list. To edit an existing script, click the "action" button to the right of its label. -##Technical Details +## Technical Details * An interpreter can be speficied using a path to any valid executable (it need not be an "interpreter" at all). The provided script is piped to the interpreter via its standard input. * Today Scripts emulates a 40-column terminal. When running a script, a pseudo-TTY is opened for it, and the standard output and standard error of it is set to that. The `COLUMNS` environment variable for scripts is set to `40`, and `PAGER` is set to `/bin/cat`. * Today Scripts supports all ANSI color sequences; both standard and bright, as well as both foreground and background. The `TERM` environment variable for scripts is set to `ansi`. +## 中文简介 + +Today Scripts 是一个在 macOS 通知中心中运行脚本的小工具,你可以在其中运行 Bash、Python 等各种类型的脚本,从而可以做到诸如查看系统硬件状态(替代 iStats Menu);使用 curl 等命令方便的查询各种网站上的信息(如收入情况);等非常实用的功能。高级用户还可以自己开发更多的玩法。 + +详细使用介绍可以参见我在少数派发表的文章:[让你的 Mac 通知中心变得更实用:Today Scripts](https://sspai.com/post/40169) + + diff --git a/Today Scripts.xcodeproj/project.pbxproj b/Today Scripts.xcodeproj/project.pbxproj index c67e91f..b4434e3 100644 --- a/Today Scripts.xcodeproj/project.pbxproj +++ b/Today Scripts.xcodeproj/project.pbxproj @@ -23,7 +23,6 @@ 223F9A7219F8963C000802FB /* TodayViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 223F9A6A19F8963C000802FB /* TodayViewController.m */; }; 223F9A7319F8963C000802FB /* TodayViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 223F9A6B19F8963C000802FB /* TodayViewController.xib */; }; 223F9A7719F896BF000802FB /* XPCHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 223F9A7419F896BF000802FB /* XPCHelper.m */; }; - 223F9A7819F896BF000802FB /* XPCMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 223F9A7619F896BF000802FB /* XPCMain.m */; }; 2265B37619FC519C000802FB /* AppIcon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 2265B37519FC519C000802FB /* AppIcon.icns */; }; 2265B37819FC51DF000802FB /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2265B37719FC51DF000802FB /* Images.xcassets */; }; 2265CC7319F89D18000802FB /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2265CC7219F89D18000802FB /* MainMenu.xib */; }; @@ -119,8 +118,7 @@ 223F9A6A19F8963C000802FB /* TodayViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TodayViewController.m; sourceTree = ""; }; 223F9A6B19F8963C000802FB /* TodayViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = TodayViewController.xib; sourceTree = ""; }; 223F9A7419F896BF000802FB /* XPCHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XPCHelper.m; sourceTree = ""; }; - 223F9A7519F896BF000802FB /* XPCMain.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XPCMain.h; sourceTree = ""; }; - 223F9A7619F896BF000802FB /* XPCMain.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XPCMain.m; sourceTree = ""; }; + 223F9A7519F896BF000802FB /* XPCHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XPCHelper.h; sourceTree = ""; }; 2265B37519FC519C000802FB /* AppIcon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = AppIcon.icns; sourceTree = ""; }; 2265B37719FC51DF000802FB /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 2265B37A19FC53CA000802FB /* readme.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = readme.txt; sourceTree = ""; }; @@ -242,8 +240,7 @@ 223F9A4B19F89532000802FB /* XPC */ = { isa = PBXGroup; children = ( - 223F9A7519F896BF000802FB /* XPCMain.h */, - 223F9A7619F896BF000802FB /* XPCMain.m */, + 223F9A7519F896BF000802FB /* XPCHelper.h */, 223F9A7419F896BF000802FB /* XPCHelper.m */, 223F9A4C19F89532000802FB /* Supporting Files */, ); @@ -334,17 +331,23 @@ 223F99FB19F894AE000802FB /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0710; + LastUpgradeCheck = 1100; ORGANIZATIONNAME = "Sam Rothenberg"; TargetAttributes = { 223F9A0219F894AE000802FB = { CreatedOnToolsVersion = 6.1; + DevelopmentTeam = QJN4A73F8D; + ProvisioningStyle = Automatic; }; 223F9A2919F894DB000802FB = { CreatedOnToolsVersion = 6.1; + DevelopmentTeam = QJN4A73F8D; + ProvisioningStyle = Automatic; }; 223F9A4919F89532000802FB = { CreatedOnToolsVersion = 6.1; + DevelopmentTeam = QJN4A73F8D; + ProvisioningStyle = Automatic; SystemCapabilities = { com.apple.Sandbox = { enabled = 0; @@ -355,7 +358,7 @@ }; buildConfigurationList = 223F99FE19F894AE000802FB /* Build configuration list for PBXProject "Today Scripts" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, @@ -433,7 +436,6 @@ buildActionMask = 2147483647; files = ( 223F9A5E19F895AF000802FB /* TodayScripts.m in Sources */, - 223F9A7819F896BF000802FB /* XPCMain.m in Sources */, 223F9A7719F896BF000802FB /* XPCHelper.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -474,17 +476,28 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "-"; @@ -493,6 +506,7 @@ ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", @@ -516,17 +530,28 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "-"; @@ -535,6 +560,7 @@ ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; @@ -551,11 +577,16 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "Apple Development"; COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = QJN4A73F8D; + ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = "Today Scripts/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "org.samroth.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; }; name = Debug; }; @@ -563,11 +594,16 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "Apple Development"; COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = QJN4A73F8D; + ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = "Today Scripts/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "org.samroth.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; }; name = Release; }; @@ -576,16 +612,20 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = Widget/Widget.entitlements; - CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_IDENTITY = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = QJN4A73F8D; + ENABLE_HARDENED_RUNTIME = YES; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); INFOPLIST_FILE = Widget/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @executable_path/../../../../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "org.samroth.Today-Scripts.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SKIP_INSTALL = YES; }; name = Debug; @@ -595,12 +635,16 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = Widget/Widget.entitlements; - CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_IDENTITY = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = QJN4A73F8D; + ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = Widget/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @executable_path/../../../../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "org.samroth.Today-Scripts.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SKIP_INSTALL = YES; }; name = Release; @@ -608,14 +652,19 @@ 223F9A5819F89532000802FB /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + CODE_SIGN_IDENTITY = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = QJN4A73F8D; + ENABLE_HARDENED_RUNTIME = YES; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); INFOPLIST_FILE = XPC/Info.plist; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "org.samroth.Today-Scripts.Widget.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SKIP_INSTALL = YES; }; name = Debug; @@ -623,10 +672,15 @@ 223F9A5919F89532000802FB /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + CODE_SIGN_IDENTITY = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = QJN4A73F8D; + ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = XPC/Info.plist; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "org.samroth.Today-Scripts.Widget.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SKIP_INSTALL = YES; }; name = Release; diff --git a/Today Scripts.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Today Scripts.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Today Scripts.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Today Scripts.xcodeproj/project.xcworkspace/xcuserdata/Megabits.xcuserdatad/UserInterfaceState.xcuserstate b/Today Scripts.xcodeproj/project.xcworkspace/xcuserdata/Megabits.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..37f6ebf Binary files /dev/null and b/Today Scripts.xcodeproj/project.xcworkspace/xcuserdata/Megabits.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Today Scripts.xcodeproj/xcuserdata/Megabits.xcuserdatad/xcschemes/Today Scripts.xcscheme b/Today Scripts.xcodeproj/xcuserdata/Megabits.xcuserdatad/xcschemes/Today Scripts.xcscheme new file mode 100644 index 0000000..feb5f4e --- /dev/null +++ b/Today Scripts.xcodeproj/xcuserdata/Megabits.xcuserdatad/xcschemes/Today Scripts.xcscheme @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Today Scripts.xcodeproj/xcuserdata/Megabits.xcuserdatad/xcschemes/Widget.xcscheme b/Today Scripts.xcodeproj/xcuserdata/Megabits.xcuserdatad/xcschemes/Widget.xcscheme new file mode 100644 index 0000000..762e543 --- /dev/null +++ b/Today Scripts.xcodeproj/xcuserdata/Megabits.xcuserdatad/xcschemes/Widget.xcscheme @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Today Scripts.xcodeproj/xcuserdata/Megabits.xcuserdatad/xcschemes/XPC.xcscheme b/Today Scripts.xcodeproj/xcuserdata/Megabits.xcuserdatad/xcschemes/XPC.xcscheme new file mode 100644 index 0000000..c24e505 --- /dev/null +++ b/Today Scripts.xcodeproj/xcuserdata/Megabits.xcuserdatad/xcschemes/XPC.xcscheme @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Today Scripts.xcodeproj/xcuserdata/Megabits.xcuserdatad/xcschemes/xcschememanagement.plist b/Today Scripts.xcodeproj/xcuserdata/Megabits.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..482bc28 --- /dev/null +++ b/Today Scripts.xcodeproj/xcuserdata/Megabits.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,42 @@ + + + + + SchemeUserState + + Today Scripts.xcscheme + + orderHint + 0 + + Widget.xcscheme + + orderHint + 1 + + XPC.xcscheme + + orderHint + 2 + + + SuppressBuildableAutocreation + + 223F9A0219F894AE000802FB + + primary + + + 223F9A2919F894DB000802FB + + primary + + + 223F9A4919F89532000802FB + + primary + + + + + diff --git a/Today Scripts/AppIcon.icns b/Today Scripts/AppIcon.icns index 303965c..1563e20 100644 Binary files a/Today Scripts/AppIcon.icns and b/Today Scripts/AppIcon.icns differ diff --git a/Today Scripts/Info.plist b/Today Scripts/Info.plist index ff9838b..044952d 100644 --- a/Today Scripts/Info.plist +++ b/Today Scripts/Info.plist @@ -17,9 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.1 - CFBundleSignature - ???? + 1.4 CFBundleVersion 1 LSMinimumSystemVersion diff --git a/Widget/EditViewController.m b/Widget/EditViewController.m index a07e92e..cd6f18e 100644 --- a/Widget/EditViewController.m +++ b/Widget/EditViewController.m @@ -267,7 +267,7 @@ - (void)keyDown:(NSEvent *)theEvent } // If option and tab were typed, we will be moving forward. - else if (character == NSTabCharacter && (theEvent.modifierFlags & NSAlternateKeyMask)) + else if (character == NSTabCharacter && (theEvent.modifierFlags & NSEventModifierFlagOption)) { // If full keyboard navigation is enabled, move on to the auto-run box. if (self.editViewController.autoRunButton.canBecomeKeyView) @@ -366,4 +366,4 @@ - (void)keyDown:(NSEvent *)theEvent [super keyDown:theEvent]; } -@end \ No newline at end of file +@end diff --git a/Widget/EditViewController.xib b/Widget/EditViewController.xib index c7ad3ea..7e4c6c9 100644 --- a/Widget/EditViewController.xib +++ b/Widget/EditViewController.xib @@ -1,7 +1,9 @@ - - + + - + + + @@ -21,7 +23,7 @@ - + @@ -32,18 +34,16 @@ - + - - + + - - @@ -59,11 +59,11 @@ - + - + @@ -74,18 +74,16 @@ - + - - + + - - @@ -101,25 +99,23 @@ - + - + - - + + - - @@ -136,12 +132,12 @@ - +