Jump to content

nikivi

Member
  • Content Count

    788
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by nikivi

  1. I will try to rewrite Searchio myself with a different data model. I also wanted to include a small portion of Searchio code in my Web Searches workflow to use Google powered suggestions queries to search any website on the net. (MIT license allows me to do it if I mention where I got the code from). But rewriting Searchio should be a learning experience. Might do it in OCaml too as I've been learning it. Makes perfect sense. Thank you for your help and time.
  2. @deanishe Can you help with guiding me on how I can customize Searchio to do customized searches on modifier key presses? i.e. doing Google Lucky search on Google script filter with alt+return? I haven't touched Go in quite a bit of time and would literally do anything to get this feature working in Searchio.
  3. Going to try it. I thought about it for few minutes and tried building the workflow but had some problems developing it. p.s. I also like asking questions I guess. Bad habit.
  4. To expand on this. I believe you can get the query with {query} inside the actual script filter. But I want to get this {query} variable inside Go code in some way.
  5. I want to modify Searchio workflow so that if I press cmd key + return on any of the results, it would search what I typed into Alfred on Google/YouTube/.. So if I press cmd + return on alfred sickert result, it would instead of searching alfred sickert make a query on what I typed in Alfred (alfred is sick in this case). Thus saving me a keystroke of up arrow and return (where current fallback query is placed in Searchio). From what I understand, this is impossible to achieve due to Alfred not providing this information. Or I am wrong? If I am wrong. I would like to move this thread to feature requests as I really wish this feature existed. Thank you.
  6. I am a bit confused how do I invoke this CFBundleDocumentTypes on an app from CLI. The other strange thing is that these JS/TS/.d.ts files have the proper kind show in Get Info. But Alfred Metadata shows them to have public.folder. Although File Type is probably different to Kind.
  7. Another option that I personally use (don't have many text triggered expansions) is searching through expansions you need. I have bad memory for things that I don't use often so text expansions outside of ones like (:s or :d to expand my current Safari URL or embed URL into a markdown image) are going to be forgotten and not used. So I use Typinator's smart search which (in my experience) after few typed characters always knows the trigger I want to expand. This way I don't have to remember the triggers as I get visual feedback for what the triggers I have by typing few characters from the expanded result. Looks like this:
  8. How do I do this? I tried googling it but got no results. check if app is assigning extension macos was query I ran. My ~/Applications is empty
  9. I've done that. But got quite a lot of results. If I understand correctly, I'd have to delete Ulysses/Preview/Flume/Mail? Thank you for your help. I appreciate it.
  10. Didn't help sadly: The file types are all still public.folder. /Users/nikivi/src/orgs/learn-anything/learn-anything/frontend/node_modules/reason-apollo/lib/bs/src/ApolloClient.mlast.d Internal File Metadata ====================== Display Name: ApolloClient.mlast.d Alt Names: File Type: public.folder Comments: Keywords: Last Used: Raw mdls File Metadata ====================== Is the only other solution to format my disk?
  11. Tried that. Didn't help. I don't have LaunchServices.framework in Frameworks so I can't run the mentioned in that article command. I can try run: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user But I want to make sure that it would do the same thing. Is it safe to run?
  12. I got this (rg is ripgrep). /Applications ❯ rg com.netscape.javascript-source Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/Frameworks/DevToolsCore.framework/Versions/A/Resources/StandardFileTypes.xcspec 381: UTI = "com.netscape.javascript-source"; Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreServices.framework/Headers/UTCoreTypes.h 464: * UTI: com.netscape.javascript-source 525: * com.netscape.javascript-source Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/System/Library/Frameworks/CoreServices.framework/Headers/UTCoreTypes.h 464: * UTI: com.netscape.javascript-source 525: * com.netscape.javascript-source Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreServices.framework/Headers/UTCoreTypes.h 464: * UTI: com.netscape.javascript-source 525: * com.netscape.javascript-source Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreServices.framework/Headers/UTCoreTypes.h 464: * UTI: com.netscape.javascript-source 525: * com.netscape.javascript-source Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreServices.framework/Headers/UTCoreTypes.h 464: * UTI: com.netscape.javascript-source 525: * com.netscape.javascript-source Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/System/Library/Frameworks/CoreServices.framework/Headers/UTCoreTypes.h 464: * UTI: com.netscape.javascript-source 525: * com.netscape.javascript-source Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Headers/UTCoreTypes.h 464: * UTI: com.netscape.javascript-source 525: * com.netscape.javascript-source ``` Neither of these are apps it seems. Going to install BBEdit and open .js file .d.ts and .ts files and hope that fixes it.
  13. Forgive me for perhaps a silly question but I read through that document few times and I don't get how do I find what app defines JavaScript files? Is it the app that is set to default open the file type? So in my case I'd run: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -u /Applications/Visual\ Studio\ Code.app
  14. Oh wow. How can a JS file be of this type? ? Not sure what I can do. Perhaps my system is messed up and I need to reformat my drive. Don’t really want to do that.
  15. The file filter does specify to search only folders Thank you for any help on solving this.
  16. A JS file /Users/nikivi/src/orgs/learn-anything/learn-anything/frontend/node_modules/bs-platform/lib/amdjs/unix.js Internal File Metadata ====================== Display Name: unix.js Alt Names: File Type: public.folder Comments: Keywords: Last Used: Raw mdls File Metadata ====================== kMDItemContentCreationDate = 2018-11-06 00:46:11 +0000 kMDItemContentCreationDate_Ranking = 2018-11-06 00:00:00 +0000 kMDItemContentModificationDate = 2018-11-06 00:46:11 +0000 kMDItemContentType = "public.folder" kMDItemContentTypeTree = ( "public.item", "public.folder", "public.directory" ) kMDItemDateAdded = 2018-11-06 00:46:11 +0000 kMDItemDateAdded_Ranking = 2018-11-06 00:00:00 +0000 kMDItemDisplayName = "unix.js" kMDItemFSContentChangeDate = 2018-11-06 00:46:11 +0000 kMDItemFSCreationDate = 2018-11-06 00:46:11 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = (null) kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = (null) kMDItemFSLabel = 0 kMDItemFSName = "unix.js" kMDItemFSNodeCount = (null) kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 59031 kMDItemFSTypeCode = "" kMDItemInterestingDate_Ranking = 2018-11-06 00:00:00 +0000 kMDItemKind = "Folder" kMDItemLogicalSize = 59031 kMDItemPhysicalSize = 61440
  17. Finished rebuilding the index. I still have JS files shown when it should only show Folders. Anything I can do aside from rebuilding the index to fix this?
×
×
  • Create New...