View Filter Presets - Yes, they can be iterated, and set, but...
Anybody know how to create a view filter?
For example, my first use case would be to filter on PV2003 - anybody know how to do that?
(Back in the good ol' days I would just run a plugin to set custom metadata, then filter on the custom metadata (like Jeffrey Friedl's Focal Length Sort did), but isn't there a better way in SDK3.0? - Even if undocumented, for example, create a view-filter preset file that accesses unexposed fields... - Lightroom would probably have to be restarted to use it though, hmmm..
Any help?
Thanks,
Rob
John,
I do have a few more cores but I think the big difference is LR3 vs LR2. I am still in 2.5 awaiting some performance fixes before switching to v3. I continue to test LR3 on both my desktop (8 cores) and laptop (2 cores). Here is what I am finding:
In version 2.5, it takes approximately 4 times longer to fill the shadow field if all are empty than simply checking. So my rate of 2-3,000 per second is primarily checking - but that is what it will be doing most of the time once the initial fill is complete. I see very little difference between my laptop and the desktop for this test.
Running v 3.0 it much, much longer to fill the fields than in v 2.5 - maybe a slow as 25/second. Again, I see very little difference between the laptop and the desktop. The worst part is that in 3.0 the incremental fill takes just as long as the initial fill - this might be related to the issue whereby issuing a Ctrl-S is not longer incremental but updates all images (hopefully an error on Adobe's part that will be corrected soon).
Conclusion, I think what you are seeing is primarily a difference between v2 and v3 of Lightroom; however, you seem to be getting much of that performance back by using the batch commands which, as a side note, I have not yet implemented since those commands just came out with v3. I just loop through the catalog and read metadata one image at a time. The relevant code (not pretty so don't laugh) is basically:
--###################### task code ###########################################
LrTasks.startAsyncTask( function()
-- get a reference to all the photos in the entire catalog
local cat_photos = nil
catalog:withReadAccessDo( function()
cat_photos = catalog.allPhotos
end )
-- determine number of photos to be processed
local ncat_photos = #cat_photos
-- confirm the action since it can be massive on large number of photos
local message = "Are you sure you want to create the duplicate field for the folder name and set the Metadata errors field of the " .. ncat_photos .. " selected images?"
local returnbutton = di.confirm( message,nil,"Yes")
if returnbutton == "cancel" then
progressScope:done()
return
end
-- get access to the current catalog
catalog:withWriteAccessDo("Construct Captions", function()
--di.message("Jeff Dialog",tostring(#cat_photos),"info")
local cap_string = "Checking/Updating " .. tostring(ncat_photos) .. " images "
progressScope:setCaption(cap_string)
-- loop through each of the photos selected
local indexnum = 0
for i, photo in ipairs(cat_photos) do
indexnum = indexnum + 1
local fold = trim(photo:getFormattedMetadata('folderName'))
local kws = photo:getFormattedMetadata('keywordTags') -- retrieves keywordes ENTERED
local sfold = photo:getPropertyForPlugin(_PLUGIN, 'shadowFolder' )
-- remove blanks that don't work for filter bar purposes
local shadfold = string.gsub(fold, " ", "")
shadfold = string.gsub(shadfold, "_", "")
local firstchar = string.find(shadfold,"%a") -- finds first alpha character
if firstchar == nil then firstchar = #shadfold+1 end
shadfold = string.sub(shadfold,1,firstchar-1) .. "|" .. string.sub(shadfold,firstchar,#shadfold)
-- if in year/mo format, then insert dash between year and month
if firstchar == 7 then
shadfold = string.sub(shadfold,1,4) .. "-" .. string.sub(shadfold,5,#shadfold)
end
-- COPY folder without blanks or _ to duplicate field
if shadfold ~= sfold then
photo:setPropertyForPlugin(_PLUGIN, 'shadowFolder', shadfold )
end
end -- of looping through selected photos
end ) -- of catalog:withWriteAccessDo
end) -- of task
--###################### end of task code ###########################################
Here's to hoping 3.1 brings our performance back!
Jeff
Similar Messages
-
and it doesnt work and it keeps crashing and i sent a report to itunes so they can refunde my money back but they wont answer me back please help me
We are all itunes users just like you. We cannot refund anything.
There are no refunds, but you can try contacting itunes support. Click "Support" at the top of this page, then click the link under "Contact Us" -
Form fields in LiveCycle. I want to allow users to add URLs to a form so that they can be clicked and opened on the web by form reviewers (users). what is the best way to achieve this?
Once the user has entered the URL they want to add to the form. You can use the loadXML function to implement some special text in a label...
var linkValue = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><exData contentType=\"text/html\" xmlns=\"http://www.xfa.org/schema/xfa-template/2.8/\"><body xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:xfa=\"http://www.xfa.org/schema/xfa-data/1.0/\" xfa:APIVersion=\"Acroform:2.7.0.0\" xfa:spec=\"2.1\"><p style=\"font-weight:bold;text-decoration:none;letter-spacing:0in\">The new link the user have entered is:<a href=\"" + textfield.rawValue + "\">textfield.rawValue</a></p></body></exData>";
this.resolveNode("lblURL").value.exData.loadXML(linkValue, 1, 1); -
Questions regarding FaceTime: When I call someone, it rings but they can't answer and when someone calls me via FaceTime it won't even ring.
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
http://tinyurl.com/32drz3d
Cheers, Tom -
My iphone 4 was working good until IOS6 update, now I can't hear anything, my ear phone donot response ...Speaker are ok..if some one call me...they can hear me ...but I can't hear them.....please desperately need help...plz suggest...all reset is done...except restore ...
Anyone? . . . :S
-
I came to Apple Store fix my iPad and they told me the only thing they can replace it for $254 but I forgot to ask Wich iPad they would replace it with I have the iPad 1
I concur with Ralph; while you can get your iPad replaced, I likewise suggest you consider putting the money toward a newer iPad. Apple has some good deals on refurbished iPads in the online Apple Store you could check out. Depending on what is wrong with your current iPad, you might be able to sell it to someone for parts - eBay is the most likely venue - and recoup some additional money to put toward a newer iPad. I'd recommend a 3rd-generation iPad if you can afford it, though the iPad 2 will still run the most recent version of iOS.
Regards. -
i got ipod in a public toilet but no one is there to ask who owns it. it has passcode so i cant access her/his info. so i decided to keep it and want to use it. i want to reset the passcode so that i can change the settings. do you think they can track it and know whos using it?
Hand it to the police and if nobody claims it maybe they will let you have it. The person who loss it will be grateful.
-
When I download photos from a flash drive,everything is fine and they show in Events and Pictures, but when I click on the individual pic I get an error message saying that it cannot locate the JPG. Any thoughts?
It sounds like your iPhoto Advanced preferences are set to not copy photos during import, i.e. a Referenced library:
Check your Advanced preferences to see if that's the case. If it is the best solution would be to select the checkbox to copy the photos and reimport the photos from the flash drive. Then check the new import. It it was OK you can delete the previous event with the "missing" photos.
OT -
WHY on the 4s we can't Move and Set pictures
WHY on the 4s we can't Move and Set pictures
ok...I think i solved the issue. You have to scaled it first than move the wallpaper. You can not just move it.
This is what I did.
First I turn the phone upside down. Tried moving the wallpaper that way and nothing happned.
Next I turn it right side up again and zoomed in and out.
Then I was able to move the wallpaper.
You don't have to turn the phone upside down to move it. You just need to zoom in than out (go in really close. than see it full view), than move the wallpaper.
If you let the phone go on standby (black screen) while you move the wallpaper you will have to repeat the steps (zoom in and out, than move) again. -
My MacBook Pro stated that it needed to be updated. I clicked yes to restart the computer and update but when it restarted it stays on the gray screen with the apple logo and then pops up, stating "unable to find driver for this platform." What do I do?
Boot into Recovery by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.
Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with networks that require any kind of authentication other than a WPA or WPA2 Personal password.
When the Mac OS X Utilities screen appears, follow the prompts to reinstall the Mac OS. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac didn’t ship with Lion, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.
Don't install the Thunderbolt update -- it's defective. -
I just got my Ipad and I can not download apps. I get a message saying my Apple ID has been disabled. I have reset my password, I can access itunes and icloud but still can not download apps. Can someone please tell me how to get my ID activated? TY
Depending on why it's been disabled you might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
Or you might need to contact Apple : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page
If it then works on your computer's iTunes but not your phone/iPad then try logging out of your account on the phone/iPad by tapping on your id in Settings > Store (Settings > iTunes & App Stores on iOS 6) and then log back in and see if that 'refreshes' the account on it -
I have changed my iPad and reset the settings. I can buy apps and songs but when I come to buy gems for clash of clans it isn't working and saying not connected to itunes? Please help
Pyramid Mac wrote:
... it says contact apple for support, what should I do??...t
Contact iTunes Customer Service and request assistance
Use this Link > Apple Support iTunes Store Contact -
Ipod nano 5th is unrecognized and rejected after downloading new itunes on Windows 8. Everything works on both- can use ipod and charge, but no recognition, no sync. Whassup? Did something get lost in the itunes update?
I'm having the same problem. I wish someone could respond with a solution for this! I've paid money for new songs and can't listen to them because of this! WTH APPLE?!?!?!?!
-
I have an iphone 5 with ATT and sometimes (very randomly) when making a call, it does not make a ringing sound (like it is not connecting), but it has connected and the other person can hear me but I can't hear them at all. When I do try and say "hello" to see if they can hear me all I hear is my own voice echoing back. Other times the phone conncts and rings immediately and I know then that the call is working.
I actually got it to do this while on the phone on my landline with applecare. I did all of the resets with Apple and they determined it was a hardware problem and I received a new phone. It seemed to be ok, but three days after activating it, the same thing happened. There does not seem to be any common factor. It happens with landlines, cell phones, inside, outside and it does not always do it to the same number twice. It is a complete crap shoot. I have noticed that is it much more likely to happen if I go through "contacts" or "recents" to make the call. It has also happened a few times when using Siri to call. I never know until I don't hear the ringing sound that the call is messed up. This is awful when trying to contact a business and you have to keep calling them back. Anyone else?Thank you for taking the time to reply! Yes. I did back up the first phone in itunes and updated the new phone with that information. During the diagnostics with apple on the first phone, I did completely wipe the phone clean and it still had the same problem --- again randomly. The technician today did want to do a complete factory reset on this phone but my question is if it is something that I am re-loading on the phone, how do we know what it is?! Also, if the other phone acted up without anything on it before I was hesistant to do it again. It is a lengthy process! I was to try and use the phone without the case (otterbox defender) and see if it would mess up --- which it did. So it's not the case. I am still wondering if it is an ATT/iphone issue. Again - thanks for your help!
-
How can I send a jpg of a photograph to someone so that they can download the file and use it to put into an article? I can send it in an Email, but there doesn't seem to be a way for the recipient to extract the jpg from the Email
If the person is using a pc, make sure the picture has the suffix .jpg
Example: your picture.jpg
Maybe you are looking for
-
Resizing images within Mail not working in Snow Leopard
Hi, I recently upgraded to Snow Leopard on both my desktop (iMAC Quad Core) and my MacBook Pro. I'm now experiencing an issue when I attach images within the Mail application. In the past, if I attached an image I could resize it by selecting the opt
-
Hi, Up until now, I had my ATV directly connected to my TV. Now I want a surround system, but the problem is that it gets too complex to use with all the attached devices (ATV, Cable setup box, DVD player, etc...). To manage that with 4+ remotes, mul
-
When I am doing my internet banking I need to have the setting option for 'Open new window in a new Tab instead' Un-checked (disabled). Problem is this setting is not being saved the next time I open Firefox. That is every time I close Firefox (all o
-
HT204053 Can I merge downloads from two seperate Apple ID's
Can you merge two Apple ID's so the apps purchased on one can be transferred to just one ID?
-
BEx Query RRI with authorization object
Hi, I have two queries linked using RRI (Sender and Receiver). Queries have authorization object. Both queries work fine with authorized user if I use them separately. (Query Sender works fine with authorized user, Query Receiver works fine with auth