Questions tagged [spotlight]

Spotlight on Mac OS X is a fast desktop search technology that allows users to organize and search for files based on metadata. Spotlight is extensible, allowing developers to provide metadata importers for their application’s documents.

259 questions
0
votes
1 answer

Spotlight index issue after migration to Swift 3

Recently I converted my Xcode project to Swift 3.0 and now I have problem with Spotlight indexing. I'm using those final indexing of my values: var searchableItems: [CSSearchableItem] = [] let nameDays = ND.allnames() for (key, item) in…
kecinzer
  • 3
  • 2
0
votes
1 answer

Three.js - Flash Light "Ring" Effect

I'm just wondering if anyone knows if it's possible to get a flash light effect with a THREE.SpotLight. // Line 110 spotLight = new THREE.SpotLight(0xffffff, 0.5, 150); spotLight.power = 6000; spotLight.angle = 0.5; spotLight.decay =…
user973259
  • 77
  • 1
  • 7
0
votes
1 answer

NSMetadataQuery end of search

Is there a way to know whether or not the NSMetadataQuery is still gathering metadata (or is still running)? In my program I set the search scope to a single directory; now, the query is simple so it takes a few time to collect all the data. How…
alfred
  • 217
  • 1
  • 6
0
votes
0 answers

Spotlight on middle of picture hover

I am using some widget to show spotlight on image, this is link to plugin https://github.com/emn178/jquery-animations-spotlight Only problem I have is that spotlight is moving all around, is it possible to make it just on hover to stay i the middle…
Miomir Dancevic
  • 6,726
  • 15
  • 74
  • 142
0
votes
1 answer

iOS: How to Push to DetailView

I'm trying to use spotlight results to guide the user to the appropriate section within my app. The MainView has a few button allowing to go to different areas of the app, one of them being a phone directory, which is inside it's own…
RoLYroLLs
  • 3,113
  • 4
  • 38
  • 57
0
votes
1 answer

ios 9 core spotlight search not working for certain strings CSSearchableItemAttributeSet

I have successfully (sort of) implemented spotlight indexing in my iPhone app but certain search strings do not seem to be able to be searched. I create each CSSearchableItemAttributeSet as type kUTTypeText, I set the display name, title as "D0010".…
0
votes
1 answer

How to create a Projector with shadows in Unity?

I would like to simulate a real life projector that acts as a spotLigt, with a tinted texture. The spotlight cookie property only affects the intensity of the light and not the color, while the Projector shader has no shadows. Do I have to implement…
zalavari
  • 819
  • 9
  • 21
0
votes
0 answers

Older XCode, CoreSpotlight indexes successfully, but Spotlight search fails

I have a project created with version 6.2 of XCode. After adding indexing for CoreSpotlight (indexSearchableItems reports success), no results are found in Spotlight search. I then recreated the same project (with, to the best of my knowledge, the…
Agreensh
  • 1,305
  • 1
  • 12
  • 15
0
votes
1 answer

Where is the Spotlight icon being used?

There is a Spotlight search results icon entry in the guidelines for iOS app icons. However in the search results screen in iOS 9.3, I see that only the main app icon gets displayed in the search result – not the spotlight icon. Question is, where…
adib
  • 8,285
  • 6
  • 52
  • 91
0
votes
0 answers

Is it possible to create an OS X Spotlight app?

Is it possible to create an application where the user would input something in Spotlight and the app would take action? A very simple example would be: User writes "Note: Test note" in Spotlight App grabs "Test note" string and saves it to a text…
Duck
  • 178
  • 1
  • 11
0
votes
1 answer

How can I query my Core Spotlight indices?

Is it possible to query my own app's Core Spotlight indices? I want to avoid re-indexing entries (as they require pulling thumbnails from the network), and am unsure about what assumptions I can make about the state of the index after certain events…
BricoleurDev
  • 827
  • 9
  • 14
0
votes
1 answer

Obtain kMDItemKind on files inside bundles returns nil

For some reason I cannot do this on files inside bundles and files residing on different volumes. Am I the only one experiencing this problem, and if not how do I solve it? The Finder seems not having difficulties showing spotlight properties for…
neoneye
  • 50,398
  • 25
  • 166
  • 151
0
votes
1 answer

I don't know how to use spotlight in unusual situation with extreme non-physical angle

I set spotlight angle to 150 degree. But it is not doing what I hope for in this unusual situation. It's simple. If I set spot light angle to 150 degree, then it has to lighten 150 degree area. but as you can see above, light reaches only small…
Myeong-jae Kim
  • 133
  • 3
  • 11
0
votes
1 answer

iOS Spotlight Search - show extra app information?

If you search for Pixelmator or Snapseed in iOS spotlight search. It indeed shows the Apps but also write their category which is "Photography" on the right. I am wondering how to achieve this? Nothing major but I am trying to get my head around…
philouuuu
  • 983
  • 1
  • 10
  • 19
0
votes
0 answers

iOS Spotlight search doesn't work when Siri adding its words

I'm trying to index my app products to spotlight, it's work well if I'm search one of the keywords I've set: CSSearchableItemAttributeSet *attibuteSet = [[CSSearchableItemAttributeSet alloc] initWithItemContentType:(__bridge NSString…
Lory Huz
  • 1,557
  • 2
  • 15
  • 23