Second File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
choose application | |
set theApp to the result | |
set myId to "app://" & (the id of theApp) | |
set the clipboard to myId | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xcodebuild -workspace glass.xcworkspace -scheme glass -showBuildSettings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface Observer : NSObject | |
+ (id)sharedInstance; | |
- (void)didFinishLaunching:(NSNotification *)notification; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Finder" | |
set myFile to selection | |
set myClass to the class of myFile | |
if myClass is not folder then | |
set myFile to container of (myFile as alias) | |
end if | |
end tell | |
set myFile to quoted form of (POSIX path of (myFile as string)) |