Would you consider enabling scripted Photoshop to run headless?

Is there ANY chance of having Photoshop run headless?
The Application.visible and Application.displayDialogs properties do not provide airtight control over photoshop's interaction with the desktop.
Even when they are set to false and No, Ps still shows the splash screen and puts up progress bar pop-ups like Reading Photoshop Format and Rasterizing.
Any chance the Application constructor could be overloaded as shown below?
     Application(bool runInBackground)
Eg.
     // Manipulate a file COMPLETELY in the background...
     // ...and it is acceptible if only one thread can be active on Application at once;
     // client application will be responsible for preventing concurrent callers
     Application app = new Application(false);
     app,Open( someDocument );
     app, doSomething;
     app.ActiveDocument.Close(psSaveBehavior.psAlwaysSave);
[An alternative design would be to have photoshop.exe honor the /Automation switch by going UI-less--setting Application.visible to true would turn on the UI.]
Regards,
Pete
(phone number available upon request)

I'm very much willing to be corrected by someone with inside knowledge and I may be completely off here, but I think a big part of the cross-platform aspect of Photoshop is to a large extent still handled simply by having duplicate code for interface elements like dialog boxes for each platform and things like that. The newer parts seem to be different, but especially the older portions of the code and many of the filters still seem to contain a lot of that (just look at the Displace effect). Maintainig a codebase that has historically grown and been subjected to tight deadlines countless times is a bigger challenge than most people realize.
Reading between the lines of what Adobe has communicated over the last years would indicate that they initially set out to really modernize everything during the Cocoa transition (which was planned to span several release cycles), to do a clean separation between the internals and the interface and to create a cross-platform widget toolkit abstraction layer (at some point, I think they considered to transition to the interface toolkit used in the digital video applications like After Effects and Premiere), but basically, halfway into the process, Apple changed course with the discontinuation of 64-Bit Carbon and thus left Adobe in the cold. Lack of a 64-Bit version for OS X had been generating a significant amount of bad press at that point, too (largely based on misinformed assumptions of what magic and amazing things 64-Bit would offer). The Photoshop engineering team then attempted the impossible and initially tried to implement all the modernizations in one cycle, but halfway through they realized there was no way they were going to make it and decided to go with more or less a direct port of the old Carbon code to Cocoa for the time being. If they hadn't done that, there would have been no Photoshop CS5.
The introduction of the unified panel docking system in CS3 (they are referring to it as "Adobe OWL" I think) and later the application frame was the first step of many towards modernizing the entire interface code and unifying the UI of all the suite applications (before, each application had its own separate implementation of the panel system, and suddenly owning a bunch of former Macromedia products probably didn't improve that situation either). The new dark interface and the new panel-based filters in CS6 seems to be their next logical step. Right now each application appears to still be using its own toolkit for dialog boxes and such, some of them possibly even a lot more than one, and some seem to even use the OS APIs directly (I'm not sure I really want to know all the gory details). Then there is ScriptUI, way too many of those awful Flash/Flex dialog boxes/panels and apparently even the toolbar in the Flash IDE itself, toolkits used by shared libraries that are used in more than one application, the installer and licensing system (I think those are using HTML/WebKit for some reason), then plug-ins and so on. I think someone on the internet once made a list with all the different types of sliders in Photoshop's UI, and there were quite a few of them.
I'm sure the folks at Adobe are doing their very best to modernize and unify all the applications within the constraints of the resources they can afford to dedicate to that kind of task, but I imagine it is quite hard to sell upgrades and pay the bills by telling users "brand new version: nothing new, but now using much more elegant code to do exactly the same thing as before, and you only had to wait six years, and we only killed five engineers in the process! buy now!".

Similar Messages

  • Why would you NOT enable Loop Guard on switch ports?

    Hello
    Why would you NOT enable Loop Guard on switch ports?
    It is disabled by default on all ports.
    Since it prevents loops, in the absence of receiving BPDUs on non-designated ports, why would it not be enabled by default?

    Ziffy wrote:
    The Galaxy S4 supports Google Wallet, but yet you block it from being used. Why exactly? This is not right. I suggest you enable it before you start losing customers. Is there anybody out there that would like to start a petition? Perhaps look into whether or not this is actually legal? Seems like unfair practices to me. Thoughts?
    Good luck with that.  FCC already did and have left it alone...  My theory is because... Google charges carriers to use allow devices to use it.  At one point Sprint paid to go exclusive for wallet.  FCC can't force you to buy your competitors product.

  • I'm looking into how apps use the cloud. Would you consider any app with social media access as uploading information to the cloud? e.g. being able to tweet through an app is the same as uploading data to the cloud

    I'm looking into how apps use the cloud. Would you consider any app with social media access as uploading information to the cloud? e.g. being able to tweet through an app is the same as uploading data to the cloud

    Most of us in this forum are users who volunteer on technical issues, and not Adobe employees although they do drop in from time to time. As users we simply have no control over activation and that's why you are not getting responses.
    If you havn't done so,you might try the Muse forums and see if you can get a staff member to look into it. Have your case numbers and phone transcripts handy.
    Last option is to keep calling customer service until you get someone who will help or ask for a supervisor.
    Hope this get resolved,
    Gene

  • Interns! Employers! What would you consider to be essential knowledge for learning Illustrator?

    Hello all,
    I'm going to be a Teaching Assistant for an introductory vector graphics class at a university. I'm currently in the sorts of creating the curriculum for my tutorial sessions, which will primarily be technical demonstrations of various features in Adobe Illustrator CS5. But before delving into that, I figured I'd ask the interns, freelancers and employers here what you are expected/expecting to know with Adobe Illustrator in the real world.
    Just a reminder that this course is supposed to be an introduction to the program. Any input received will be an enormous help to both the making of the curriculum and, most importantly, the students.
    Thanks!

    I created a syllubus for training engineers and marketing executives the basics in Illustrator.  These were people who never used the application before and thought it could easily be learned, and thus, reduce the need for a professional like me ( funny, huh? ).  I took it as part of my job.  But, what I did was create a series of lessons that involved such things as drawing by hand, creating a layout ( by hand ), how to read a layout ( i.e., measurements including white space ), how to specify type and typography ( the old way by character counting ).  This, I thought, would provide them a foundation for building documents and artwork in Illustrator.  It is a crash course on how things used to be done before the computer.  Then, I focused a number of lessons on the tool palette.  Toward the end there were a few lessons in color, color theory, and the printing process.  The key to my approach was I gave the participant student a handout of reference material to read.  There was also lab time involved where they ould apply what they read and learned.  I made it mandatory that they could not advance without completing the previous homework exercises and lab project(s).  All the while keeping everything in the "basics" category.  No need to advance into other areas of compound paths, masking, etc., if they do not understand the basic fundamentals of the application.  There is a sense out there that people believe the application can be learned in a short amount of time.  I've been using Illustrator for 16 years and there are still things to learn like scatter brushes.  I always look for job applicants that can show me a sketch or a marker comp and then present how the particular design was produced using the computer.  That involves getting to know their "thinking" behind the particular project and how they solved a particular problem.  I, personally, do not like looking at a bunch of flash in a portfolio...many, many examples of puff without showing the thinking behind them.  What were you presented with as a problem and how did you solve it?  Try to focus their early on attention in the thought process.  The sketch.  I had some lessons where the student had to duplicate a newspaper ad exactly, right down to the fonts used.  I also had them look through their local newspaper and find what they considered a bad ad, something poorly designed. Then, I had them create 3 sketch alternatives using the same ad size.  As part of the lesson, I had them choose the one they thought was their best effort and recreate it in Illustrator.  This was about half way through my curriculum.  At first, at the beginning, I had them create a basic smiley face button pin.  This required using basic shapes and basic lines.  That's what I think is part of the plan, focusing a few lessons on the basics and creating basic shapes.  Since you are involved with creating a program for beginners, focus your efforts on the basics and building a solid foundation in design.

  • Straw Poll: What would you consider an average number of transports?

    Hi All
    A third party to whom we are likely to outsource our basis work has stated that the number of transports we do is greater than average. I found this statement rather odd and wondered what you would consider to be an average for 2 ECC6 installations, one CRM, one BW and one Enterprise Portal?
    Regards
    G.

    Hi Suzanne ,  the frequency clearly depends from how fast grow the data related to the object pp_order.
    so how many orders are created in a given period but even, for examples ,  how many records are created in the RESB table and so on.
    I suggest to you a preliminary study to understand all the impacts a nd to estimate the effort to reach sensible benefit .
    the most changelling aspect is infact the effort to be done for have a high number of orders that are eligible for archiving. Maybe on the most recent orders you have a 'clean' situation but for the oldest order can require a great work  to be eligible for archiving and not always the necessary actions are possible for the impacts on controlling activities.
    in the link below the check you have to do .
    Checks (PP-SFC) - Production Planning and Control (PP) - SAP Library
    good luck!

  • Which would you buy? MBP or iMac. I need guidance 2.

    Ok, I'm heading for a replacement. I had a MBP CoreDuo 2.0/1 GB/80 GB 5400 rpm HD/X1600 128 mb/matte. It had some problems and Apple are offering me a replacement.
    I need a computer for (mobile) audio recording/mixing, graphic (Photoshop & Illustrator)and web site design (Flash), browsing, media center. This is a everyday tool that I'll use pretty intensively and maybe I could wait next year to have a notebook when I'll return to school.
    So I have the choice between the Core 2 Duo 15 inch Macbook Pro with matte screen or the Core 2 Duo iMac (20 or 24 inch). The only reason why I hesitate taking a new Macbook Pro are the issues concerning the grainyness/uneven illumination of the screen and the Airport issues.
    Would you consider it safe to take the Core 2 Duo 15 inch Macbook Pro or you would recommend me the iMac? I know the iMac doesn't have the same degree of portability as the MBP...
    Because I had my share of visits at an Apple Service Provider...
    Thank you for the advices!

    yv,
    Have you actually seen this "graininess" issue for yourself? I only ask because I was very hesitant about buying a MBP for that reason. I went into the Apple Store, compared screens between MacBook, MacBook Pro and iMac. The MacBook screen was clearly inferior. The MacBook Pro (15") and the iMac screen looked comparable in quality. I saw no graininess.
    I went to CompUSA the following week. I brought my wife with me. She's a graphic designer, works on very good quality monitors all day--in fact she makes the purchasing decisions for the graphics department of a Fortune 500 company. We compared the same three sets of monitors. She came to the same conclusion as me: the MacBook monitor is inferior. The MacBook Pro and iMac monitors are not noticeably different in quality. In fact, she even thought the MacBook Pro was every bit as good as the Apple Cinema Display they had. I bought a MacBook Pro right there.
    I've been using it for about 6 weeks now. Its the best laptop screen I've ever used-better than my daughter's PowerBook G4 (last generation), better than my wife's high-end PC laptop (I think its a Toshiba), better than my son's PowerBook G4 (second to last generation). I also compare it to my higher end 22" external monitor (more expensive Gateway version). Sure, the external is better, but it isn't designed for a laptop.
    So, maybe I got lucky, and all the MacBook Pros at the Apple Store, and the ones at CompUSA and the one I purchased all happened to be the few that don't have this problem (mine was manufactured during the last week of November or the first week of December). Or, this is a relatively rare problem with one of the earlier batches. Or it is exaggerated to begin with. Take a look for yourself.

  • API design style I've never seen before - would you use it?

    I was Googling for examples of a "Bean Comparator" and came across this strange API design I've never seen before (is it just me?). I'm curious if you have seen it before and what you think about it?
    [http://cojen.sourceforge.net/apidocs/org/cojen/util/BeanComparator.html]
    The basic problem is to create a Comparator that can sort on multiple fields within a given class.
    First, a more traditional(?) API design might be something like:
    Constructor Summary:
         BeanComparator(Class theClass);
    Method Summary:
         addSortField(String fieldName, boolean isAscending, boolean isSortNullHigh);
         addSortField(String fieldName); // convenience method with default ascending and sortNullHigh
    So you could create a BeanComparator that sorts on multiple fields by using:
    BeanComparator bc = new BeanComparator(SomeClass.class);
    bc.addSortField("field1");
    bc.addSortField("field2", false, true);
    bc.addSortField("field3", true, false);Finally, without listing the API, the equivalent code for the "strange API design" would be:
    Comparator c = BeanComparator.forClass(SomeClass.class)
         .orderBy("field1")
         .orderBy("field2")
         .reverse();
         .orderBy("field3")
         .nullLow();So in this case:
    a) there is no explicit "add" method to add a new sort field. The "orderBy" is an implicit add.
    b) the reverse() and nullLow() methods only apply to the current orderBy field.
    c) the creation of the class is "sequential" in nature as each method needs to be invoked in the proper order
    In some ways this seems to simplify the API because you don't need lots of convenience methods or your don't need to use the full method and then restate the default values.
    Also you can add new sort options to the API without affecting any existing methods.
    What do you think of this type of API design?
    Have you ever used it before?
    Would you consider using this design and in what situations would you consider it?

    What part is bothering you exactly? Its not that it bothers me, its just that it is "different" and I was wondering if it is an acceptable design of a class and when you would use it, since I don't think I've seen any examples in the JDK.
    Usually the order of method invocation is not important. You can do:
    component.setFont()
    component.setBackground()or
    component.setBackground()
    component.setFont()However
    orderBy()
    orderBy()
    reverse()is not the same as
    orderBy()
    reverse()
    orderBy()So the API implies a "building" approach where you need to know you are building the components of the class in a certain order.
    Again, its not bad, its just different (to me) so I was wondering if it is common and when you would use it.
    The fact that the methods return the object itself...No, I've seen that pattern before and find it handy.
    Your example (addSortField) also depends on the order in which the methods are called.Yes, but this is normal for most APIs. For example adding items to a Vector, or components to a panel.
    In this case the orderBy() method implies a change of state because the next set of methods may or may not modify the state of the field being ordered.
    Again, I said I thought that this potentialy does simplify the API, but I have not seen it used before.
    I don't see the design as much of a problem. Me either.

  • What would you recommend as best quantity Ram. to run Lightroom and Photoshop CC?

    What would you recommend as best quantity Ram. to run Lightroom and Photoshop CC?

    Hi There,
    Kindly check the system requirement for the same.
    Photoshop: System requirements | Photoshop
    Lightroom:  System requirements | Lightroom
    Thanks,
    Atul Saini

  • Would you use scripts to take database out of archivelog mode?

    Background: we do not use RMAN for this production database and we do cold backups each night.
    I've been asked to take one of our databases out of archivelog mode for a few days and then to put it back into archivelog mode.
    Being somewhat neurotic about these things - I've only ever done it manually - so that I can make sure nothing goes wrong and to check that there was a last successful cold backup prior to the switch.
    However, management have asked that it be done automatically by scripts after the backup.
    Whilst I can create a script that will do this - the question I'd like to ask the forum is - have you and would you?

    I do not agree with taking any Oracle database out of archivelog mode and I do not approve of management's decision and have told them why and all the risks they run.
    This is not a test database - it IS a production database and other users do make changes daily.
    What I did not reveal until now is that I have also been asked to take this database out of archivelog mode for 5 days and suspend all cold back-ups for the whole server (with 3 other instances on the server - also impacted) - and have warned them accordingly.
    However, management have been swayed by someone who feels they know better - who claims to be a qualified Oracle DBA - I'm OCP but seems to have little sway since this person has convinced management that my 6 years experience and qualification is less than his application experience in GIS.
    They want to run an upload which will take around 5 days to do - I'm somewhat miffed that an upload can take that length of time and question whether a GIS system should need such an upload for such a length of time.
    Let's no go into the problem with tablespaces and space within the tablespaces - the upload will fail because they do not understand that if the tablespace fills up - the upload will fail - but despite asking - I've been told that there is no problem - there will be a problem - since I refuse to allow autoextend on this database - because of the potential to run out of disk space.
    I've explained until I'm blue in the face - never mind that even if the upload is successful - the cold backup tape won't be able to backup the data because it'll be potentially over the limit.
    I've even warned of my past experience x 3 - when a RAID controller failed - literally died in front of my eyes - I just happened to be standing next to one of the servers talking to someone - and the whole server was lost - but because we had the archivelogs - and the previous day's backup - we got it up and running after Dell replaced the RAID controller - within 1 hour.
    That's the joy of Oracle - nothing is lost other than the last archivelog - depending on the time you set the switch.
    I love this system - it's so recoverable - it such a joy to work with.
    But then when I get told to suspend cold backups and then at the same time suspend archivelog mode - I go mad.
    Don't get me started - I've gone down the usual path of why hire an OCP when you won't listen to what I say, etc.
    Management are demanding I switch it automatically out of archivelog mode etc.
    I can do it - but my question is still - have you guys?
    And why did you do it?
    All I can say is that I hope that the server has a RAID contoller failure and finally they listen to me - the chances of that are minimal - so management are saying - do it or else.
    Oh and by the way - the GIS team have asked for this to be bi-monthly - automated.
    And have said that:
    "You can not rollback or recover the loading process using the log files because it involves a far more complex operation that would most likely not be successful."
    Nice phrase that to an OCP.
    I welcome your comments - as I really am in a hole here.
    Thanks.

  • What spec Mac Mini would you recommend for running XCode 4?

    Our organisation is starting to develop apps for IOS and the first step is purchasing a Mac to run XCode 4 on.
    We are on a budget and the Mac Mini is within our price range but after some initial research we are concerned that we would need more RAM in order to run XCode 4 comfortably.
    Below is the spec of the Mac Mini we are considering using:
    2.3GHz dual-core Intel Core i5
    2GB memory
    500GB hard drive
    Intel HD Graphics 3000
    OS X Lion
    Just wondering what people use to run XCode 4 and how happy they are with the performance.
    Many Thanks
    Richard

    If your development will be iOS apps, the base model
    should be more than sufficient provided you bump
    up to at least 4 gig RAM, preferably 8.  However,
    don't purchase the RAM from Apple as it is way over
    priced.  Go to Newegg or OWC to purchase it.
    If the app requires some signifigant graphics development
    and need to use image processing software to create them,
    I would suggest bumping up to the next model with the
    discrete graphics chip.

  • Where would you check performance of webi? query is taking long time to run

    Hello All,
    In the bex query world running on portal you were able to go to sm50 and check what the query is doing and where it is taking a long time or atleast you were able to see the processes runing.
    Where would you check the running processes when you are running a webi query, we are trying to write a webi report which is on universe which is created on bex query. The report is very simple just two fields and an mandatory variable which is coming from bex query (have defined the variable in bex query). When we exeute the query it is taking a long time just spinning and I am not getting any data back, on the same query before even hitting the run query button, I am trying to put a object in query filters and set the filter as In list from Value(s) from list and it is taking forever to set that filter.
    Can we go to CMC or BW backend and check anywhere we are using sap authentication, I see the number of sessions in CMC but that is it.
    Thanks for help in advance.

    Thank you both for the replies.
    How would I get the MDX that is generated by the query, I remember there is a note for starting the MDX logging. Can you please let em know how would I get the MDX statement. Thanks.
    Gowtham - What is the optimal array fetch size that needs to set for the universes, can you explain bit more about array fetch size?
    All our universes are on BEx queries designed in SAP BW in that case does the array fetch size matter and array bind size matter? I had read this in oneof the universe designer manuals for OLAP universes The Array fetch size, Array bind size, and Login timeout parameters are not used for OLAP connections
    Thanks again for replies.

  • I have a 2009 13"MacBook pro running on OS X 10.6.8.  How do I know whether this is leopard or mountain? What would you advise that I use as I need to be running OS X 10.7?  All help appreciated.  Thank you.

    I have a 2009 13"MacBook pro running on OS X 10.6.8. 
    How do I know whether this is leopard or mountain?
    What would you advise that I use as I need to be running OS X 10.7? 
    Also can you advise how I upgrade please?
    All help appreciated.  Thank you.

    Thank you for your response Niel.
    I do run Microsoft Office 2011 - will Snow Leopard support this?
    Finally why snow leopard and not mountain lion?

  • I would like to cancel the photoshop program. Order n° AD005353543IT. Thank you

    I would like to cancel the photoshop program. Order n° AD005353543IT. Thank you

    We're not really going to be able to help you here in this user to user help forum.
    My suggestion would be to find an Adobe Sales or Customer Support number and call it ASAP.
    -Noel

  • Question:  Do I need to run and anti virus program with MAC OSX Lion? Have heard different opinions! If so what would you recommend? Was looking at Sophos. Does anyone have any experience with this? Thanks

    Question:  Do I need to run and anti virus program with MAC OSX Lion? Have heard different opinions! If so what would you recommend? Was looking at Sophos. Does anyone have any experience with this? Thanks

    Do I need to run and anti virus program with MAC OSX Lion? Have heard different opinions!
    You will continue to hear different opinions here, where thoughts range everywhere between "anti-virus software is the evil spawn of Satan" to "anyone not running anti-virus software is a fool."
    Truth is, this is still a very personal decision on a Mac. Depending on circumstances, it is still very easily possible to stay safe without using anti-virus software, but circumstances and personal preferences vary widely. Besides which, anti-virus software cannot even remotely provide you a guarantee of protection!
    To learn how to stay safe (with or without anti-virus software), and how to decide whether to use anti-virus software, see my Mac Malware Guide.

  • Can't open iTunes. When I attempt, the following message appears: You are attempting to add a new iTunes U collection but iTunes U is disabled. Would you like to enable iTunes U?

    I Can't open iTunes. When I attempt, the following message appears: You are attempting to add a new iTunes U collection but iTunes U is disabled. Would you like to enable iTunes U?  If I click either yes or no, the same box just reopens.  As far as I know, I have not done anything with iTunes U.  The software is up to date and I have also reinstalled itunes.  Any ideas?

    Since this problem, I was able to reinstall again and reboot, and then 'stop' while the library was being opened (that was another window that I could not close, that would come up before the error message, this time I chose to stop it).  Now only music I have purchased appears, none of my other >1,000 albums I manually added via my CD collection.  About 10% are in different music folders (I don't know why they aren't in the same one), but the other 90% are missing.  Any ideas??

Maybe you are looking for