Debugging a Photoshop panel with FB4
Hello,
I'm trying to get my environment set up to debug a Photoshop panel I'm working, since the include AIR debuggers is apparently no longer supported. I've followed all the steps in the CS5 sdk guide, like setting the PlayerDebugMode to 1, and adding the Contents/debug file to Photoshop.
In the documentation it then says in FB to:
1. Open your project in Flash Builder and select it in the Package Explorer.
2. Choose Run > Debug > Other.
Getting Started with the Adobe Creative Suite SDK Packaging and signing your extension for deployment 19
3. Select Web Application and click New to create a configuration for Web Application.
4. Enter "Debug <extension_name>" in the Name box, and the name of your project in the Project box.
5. Deselect the "Use defaults" option.
6. Replace the values in the Debug, Profile, and Run boxes with about:blank.
7. Click Apply and close the dialog.
In the dialogue that comes up under Run > Debug > Other, there are no such "Debug, Profile, and Run boxes." The only place I can see to enter "about:blank" is under "URL or path to launch." That doesn't really make sense to me, since I'm not trying to launch about:blank.
What should I be doing here?
Also, once all of this is done, Nothing shows up under "Run > Debug > your_debug_config_name" as the guide suggests. I have to go back to "Run > Debug > Other" to select my profile again.
Ha, fantastic! Your post prompted me to go back and look at all the debug flags to see why it wasn't working. I had the debug file in Photoshop and the PlayerDebugMode set in ~/.../com.adobe.CSXS2Preferences.plist but that wasn't working. It occurred to me to check /.../com.adobe.CSXS2Preferences.plist as well, which hadn't been set. When I set that it started working for me.
I'm curious why having it in my ~/ directory didn't activate it. Is that some sort of global only setting, or is it possible I have some kind of problem elsewhere? I've noticed a number of debug related things (like which version of flash player is used) have issues when I try to do them in the user rather than globally.
Similar Messages
-
Sending photos from Lightroom to Photoshop - covered with colours? Opening from Bridge they are fine. Does anyone know how to set up the monitor from advanced to basic? Someone said that might be the issue but I can't find any area in control panel where it has the option?
You need to supply more information and screen shots of the problem would also be useful.
-
PixelBender + Flash in Photoshop panel
Dear all,
I've posted something similar in Configurator forum with no
luck, so here I am with my question: any hint or comment will be
greatly appreciated.
Is it possible for a SWF that contains a PixelBender shader to
be embedded in a Photoshop CS4 panel?
I'd like to exploit some built-in function of Flash (like
blur and other filters) without the need to write custom code, and
build a complex PixelBender shader concatenating several pbj files:
the Photoshop panel should contain only the sliders of course, and
the effect have to be applied to the opened image. The Photoshop
panel developer's guide explains that, for the project to be
working and besides the swf, it's needed a javascript that
communicate with Photoshop through its DOM, and it seems that there
happens all the Photoshop commands. Currently I'm stuck and it
seems to me there's no way to make it works.
Why all this pain? Because it would mean to be able to have
complex shaders in form of sort-of-binary plugin-like easy to use
Photoshop panel; it would open a world of wonders.
Thanks in advance for any comment or thoughts
Davide Barranca
Bologna, ItalyHi Davide,
I have to apologize. I misread your first email and
misunderstood what you were trying to achieve. I thought you were
simply asking whether you could use Pixel Bender filters in the
Panels at all (the answer to which I didn't know until I tried it
yesterday). I see now that you are trying to write your own
Photoshop filter with the Panel APIs.
I'm not sure what you want to achieve is possible with the
current Photoshop panel model, and even if it is possible, I don't
think it will be very fast. The Photoshop Panel functionality is to
provide an easy way to add a new workflow UI to Photoshop, but I
don't think it was intended to add new image processing features to
Photoshop. In general, if you are adding any new image processing
to Photoshop, you have to go through the Photoshop Plug-in SDK. I
did look at the documentation for the Panel API. I'm no expert on
Photoshop scripting, but it looks like the exported properties of
the DOM are purely descriptive with little chance to access the
actual data. The only bit of promise is to use the ColorSampler
tool to pull the image data from the foreground window, but that
would be extremely painful and very slow. Even if that did work, I
didn't see any way to actually update the pixels in the document.
That being said, I believe there might be an indirect way to
achieve what you are trying to do. The basic workflow would be:
1. Use Panel API + Javascript to have Photoshop write out the
image to a known location
2. Load the image from the saved location in the SWF
3. Process the image in the SWF
4. Save the resultant image back out to the file
5. Use the Panel API + Javascript to have Photoshop load the
file
I'm not 100% sure that this will work, and it definitely does
have some side effects like leaving an image on disk and opening up
another document in Photoshop for the results. But, I believe it
will do the job. I'll see if I can whip up a tutorial on this if it
works, but since it is not an easy example, it might take some
time.
As I said, I'm definitely no expert on Photoshop scripting,
so I would strongly recommend contacting the
Photoshop
scripting forums to see if there is a way acquire the image
data directly from the DOM. Judging from what the Panel API is
trying to achieve, it's not likely that this is possible or will be
well supported. Trying to track down the pbk versions of the
filters to put into the Pixel Bender Photoshop Plug-in is always an
option.
Again, I apologize for the misunderstanding. My eyes simply
stuck to the question in bold. Good luck with your search.
Thanks,
Brian -
The actions panel is perfect at what it does; however, if you have a few action sets and, in order to eliminate scrolling, you need to expand them into a double row of buttons, it quickly becomes difficult to maintain. As soon as you delete an action or add an action to it, it disorders the others and you have to reorganize again, which becomes a vicious cycle. I like to keep things organised and neat with all that I do and pretty much the only way to have this feature is to expand it on the back end of the software or, if possible, create a script that loads a second Actions panel with the same functionality as the first but completely independent from it. I assume that the SDK will not allow us to expand on the software in this particular way, as Photoshop is not open source; however, maybe this suggestion will be taken into account for future updates or versions since I have yet to find a suitable way to do this.
Thank you in advance.
Kind regardsThat would depend on the links on the page. Some pages have links that refer to different areas on the same page. If you want to force a link to open in a new tab, you can middle-click it.
-
Command-line Compilation of Photoshop Panels
Hello,
I'm attempting to create a Photoshop Panel using the Flex SDK and the mxmlc compiler. I'd really love to avoid Flash Builder. Here is the compilation line and the resulting error:
~/dev/shared/flex/bin/mxmlc --show-actionscript-warnings=true --strict=true -include-libraries=CSXSLibrary-2.0-sdk-3.4.swc -load-config=config.xml gridpanel.mxml
Loading configuration file /Users/justin/dev/me/photoshop/gridpanel/config.xml
/Users/justin/dev/me/photoshop/gridpanel/CSXSLibrary-2.0-sdk-3.4.swc(mx.core:IWindow)
Error: Type was not found or was not a compile-time constant: NativeWindow.
/Users/justin/dev/me/photoshop/gridpanel/CSXSLibrary-2.0-sdk-3.4.swc(mx.events:FlexNativeMenuEvent)
Error: Type was not found or was not a compile-time constant: NativeMenu.
/Users/justin/dev/me/photoshop/gridpanel/CSXSLibrary-2.0-sdk-3.4.swc(mx.events:FlexNativeMenuEvent)
Error: Type was not found or was not a compile-time constant: NativeMenuItem.
/Users/justin/dev/me/photoshop/gridpanel/CSXSLibrary-2.0-sdk-3.4.swc(mx.controls:HTML)
Error: Type was not found or was not a compile-time constant: HTMLHistoryItem.
/Users/justin/dev/me/photoshop/gridpanel/CSXSLibrary-2.0-sdk-3.4.swc(mx.controls:HTML)
Error: Type was not found or was not a compile-time constant: HTMLUncaughtScriptExceptionEvent.
/Users/justin/dev/me/photoshop/gridpanel/CSXSLibrary-2.0-sdk-3.4.swc(mx.controls:HTML)
Error: Type was not found or was not a compile-time constant: HTMLHost.
/Users/justin/dev/me/photoshop/gridpanel/CSXSLibrary-2.0-sdk-3.4.swc(mx.controls:HTML)
Error: Type was not found or was not a compile-time constant: HTMLHost.
/Users/justin/dev/me/photoshop/gridpanel/CSXSLibrary-2.0-sdk-3.4.swc(mx.managers:NativeDragManagerImpl)
Error: Type was not found or was not a compile-time constant: NativeDragEvent.
I don't have too much experience with Flex, but I'm guessing the CSXS library is using mx.* components that I haven't linked against.
Here is the config file I'm using. My flex SDK is located at "/Users/justin/dev/shared/flex/", hence the absolute paths in the config file.
Out of desperation, I downloaded Flash Builder to see if I could inspect what compilation command it was running. I had it dump the config file it was generating, and attempted to use it (it looks almost identical) and I ended up with the same error when trying to compile from the command line.
For the sake of completness, I have a super basic MXML file.
<?xml version="1.0" encoding="UTF-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<!-- Copyright 2010 __MyCompanyName__. -->
</mx:Application>
Have any idea what I might be missing?
- ThanksI had an HTML Class instantiated on my code, which is part of air framework. Removing it, all works.
-
Photoshop panel scrollbars and size
Hi,
If you take a look at some of the included Photoshop panels, like the kuler panel, it has a minimum size you can scale the panel. When you do this with a panel you created in Flex, even with the samples that are included with the developer guide, you can always scale the panel down as much as you want and the panel gets the flesh scrollbars.
How can I make a panel to acts more like the kuler panel and the built in photoshop panels? Is there a way in Flex to tall the photoshop panel what is the minimum size?
Thanks...Hi,
If you take a look at some of the included Photoshop panels, like the kuler panel, it has a minimum size you can scale the panel. When you do this with a panel you created in Flex, even with the samples that are included with the developer guide, you can always scale the panel down as much as you want and the panel gets the flesh scrollbars.
How can I make a panel to acts more like the kuler panel and the built in photoshop panels? Is there a way in Flex to tall the photoshop panel what is the minimum size?
Thanks... -
Pixel bender filters in Photoshop Panel
Hello,
I'm writing a suite of Photoshop filters with PixelBender and would like to know if there is a way to call them from a Photoshop Panel built with Configurator without embedding these filters in a flash panel.
I tried to build a panel with configurator, but in the filters menu, PIXEL BENDER doesn't show. So, I guess I will have to build a flash panel which is close to Chinese for me (read http://forums.adobe.com/message/37408).
Am I out of luck?
Thanks!
EnriqueUse a 'Run JavaScript' button from ACTIONS/SCRIPTS section of Configurator.
Then use/modify the following code:
try{
var idPbPl = charIDToTypeID( "PbPl" );
var desc636 = new ActionDescriptor();
var idKnNm = charIDToTypeID( "KnNm" );
desc636.putString( idKnNm, "Kaleidoscope" ); /*modify the name of your pixel bender filter*/
var idGpuY = charIDToTypeID( "GpuY" );
desc636.putBoolean( idGpuY, true );
var idFPth = charIDToTypeID( "FPth" );
desc636.putString( idFPth, "/Applications/Adobe Photoshop CS4/Pixel Bender Files/kaleidoscope.pbk" ) /*modify the path to your filter*/
executeAction( idPbPl, desc636, DialogModes.ALL );
}catch(e){
/* catch user cancellations */
I have it so the default settings are populated and the Pixel Bender dialog is shown (DialogModes.ALL). You could use the scripting listener plug-in to populate specific settings and/or not show the dialog (DialogModes.NO) -
Custom XMP Panel with "pulldowns" in Bridge
Hello,
I have a custom XMP panel built that is visible in Photoshop, InDesign, Illustrator, which is nice.
I can view this custom XMP panel in Bridge as well, however the fields with pulldown menus don't show in Bridge. Being able to use pulldowns is critical for our workflow...AND I want people to be able to use Bridge for metadata entry. Does anyone have a solution for this?
I want fields with pulldowns in my custom XMP panel to be viewable and editable in Bridge. Help!!
Thanks
RobBridge's metadata panel only supports plain-text fields for custom metadata. See the following article on how to submit and feature request to Adobe via the feature request form:
http://kb2.adobe.com/cps/800/e8008c68.html
I assume you already know that you can open the File Info dialog itself directly within Bridge for a selection of one or more files, yes? The same custom File Info panel that appears in Photoshop's File Info panel will appear in Bridge. To open File Info in Bridge, use the File or thumbnail-contextual menus or the keyboard shortcut Cmd+Opt+Shift+I.
If you really require a highly customized metadata UI right inside the Bridge window (File Info is a modal dialog box), and you are willing to invest some coding effort, then I suggest using Flex Builder to create a custom Flash Panel for Bridge. You will have to take on some non-trivial work to sync up what's displayed/edited in your custom panel with the current selection of Thumbnails, etc., but such a solution should be technically possible. The Bridge Scripting SDK includes example for how to add a Flash panel, how to get your Flash ActionScript and Bridge JavaScript to talk to each other via the Flash External Interface, and how to use the XMPScript API to modify metadata for files. Again, I think the effort required is non-rivial, but Bridge does provide a platform upon which you can build a highly customized solution.
-David -
Rants: Easier way of creating SWF panels with CS5?
Last week I got a fairly advanced SWF panel in Photoshop CS4 running executing JSX scripts. But when I started to look into developing for CS5 everything changed and former SWF panels and their scripts do not work anymore in Photoshop CS5. And honestly I think there are way to many complicated little steps in the way to just get started. I am probably stuck on this for several weeks just to get a hello world demo running- and I am not sure If I want that. Getting the CS4 version running was a matter of 3 nights, even though back then the documentation was really hard to find and often incomplete.
So upon studying the SDK and the tutorials that adobe provides I noticed a few annoying blockers in my way
Adobe Flash builder dictation, some things are very restrictive and shown only for just that IDE platform. My choice of scripting environment is FlashBuilder however for various reasons (free and coding speed are 2 of them). The documentations and Tutorials however hide many important steps that are going on in the background. If the compiler gets certain arguments I need to know that, same if some ANT scripts or alike deploy files to certain folders.
upon configuring my computer before scripting I had to change a windows registry key (HKEY_CURRENT_USER\Softwarea\Adobe\CSXS2Preferences, playerDebugMode = 1). However that key entry doesn't even exist to begin with on my Windows 7 computer even though Photoshop CS5, Extention Manager and ExtendScript Toolkit are present and installed.
I need a special SDK compiler instead of the latest FlexSDK, this makes things only more complicated and confusing. I have it now but to figure that out took a while, as this is completely different from how things used to work with CS4.
Everything is flex focused it would be nice if some tutorials could have a focus on pure AS3 as well, for those who don't like the Flex framework or GUI.
CS4 and CS5 (Photoshop) seem to be incompatible in the way one can deploy or create SWF panels, this is a major down for any developer that is interested in supporting booth applications. I happen to work in a environment where still a majority of people work with CS4. Also the CS4 documentation (Photoshop) for the SWF panels seem to have vanished, this makes this issue even worse.
So what I want is:
The most minimalistic working example straight to the point just to get a SWF panel in Photoshop CS5 running executing some JSX script using eval for example. This is easy in CS4 but very restricted and complicated in CS5 .
dropping a SWF file in the Photoshop/plugins/panel folder works but it resizes wrong (even though stage.scaleMode is set to noScale), and any CSXSInterface methods seem to be ignored (CSXSLibrary-2.0-sdk-3.4-public.swc used).
I think I gave up for now on CS5, to restrictive, complex and incompatible with CS4 are my main complaints- I hope this gets through as some feedback - or maybe there is a answer on all my questions?Hello,
one answer to your last question could be this cookbook, then as you probably already know there's the Photoshop panel developer's guide (the CS5 isn't that different from CS4...)
As the #1 messy coder around (and not that much skilled), I understand your complaints. I'm focused on Photoshop only, and the panel guide for CS4 was more than enough. My learning curve with CS SDK is, to put it mildly, steep (since I've not really any previous experience with Flex - and I agree, using 3.4 SDK and not 4.0 may lead to some confusion), but I'm optimistically confident that CS SDK for CS6 will be far more usable.
I find particularly annoying that to make life easier Adobe created CS Extension Builder, but to get it is nearly impossible (at least for me: I don't know if Gmail can't get thru Adobe mail server spam control, but in the last 4 months I wrote several emails to Roger Risdal, the "Partner Product and Business Developer Manager" in order to get info about the developer partnership required, and I got as the only answer a couple of out-of-office autoreply) Rumors say that Adobe's DevNet will undergo some robust changes (when, I don't know) - I hope they will change their mind about the way Extension Builder will be (or not be) distributed.
One last optimistic consideration is that the tools needed to deploy an extension (the ucf.jar for instance) and the general workflow (write the manifest.xml, pack everything with that java command line utility into a zip-like file, the .zxp, then write an .mxi to access features like auto-update and re-pack again into *another* .zxp) are far from having a good usability and being straightforward... so far that in my opinion the newer releases will surely be better than this one.
That said, I understand that experienced developers are happily plunging into CS SDK while I'm having hard times keeping my head above waters, and I'm sure CS SDK will lead to a very interesting future.
By the way, to drop the SWF in the panel's folder isn't a good idea if you want the extension to have the right dimensions (this is something I've learnt) - the manifest.xml is the right place.
Ciao,
Davide -
Creating applications does not include the debug and back panel.
I create quite a few .exe's for distribution and generally have no problems. But recently I have a had problem on one that is mysterious so I decided add the debugging features which are supposed to give me the back panel and allow tracing. As far as I can see, all the proper switches are set in the application builder for debugging, but I never get the items I expect either in the Operate, Tools or Window menus and can't pull up the back panel.
Has anyone been able to make this work correctly and do you have any tips for me?
Thanks,
DaveRimfire wrote:
Thanks Ton.
I had missed that you could debug only from a remote machine. I understand you can truly only debug from a machine with Labview on board, but tracing ability would be nice.
Thanks again,
Dave
Message Edited by Rimfire on 02-24-2009 09:47 AM
Hi Dave,
You can debug an executable on the local machine as well, just put 'localhost' as computer name from LabVIEW.
The only important thing to remember is that you need LabVIEW to debug.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
Get search criteria from query panel with table
hi guys,
i have a query panel with table that i created from a VO.
i use the all queryable attribute in the generated DataControl.
i hv a requirement to update the database value with the same search criteria with the query panel.
but i want the submitted search criteria, not only written in the query panel criteria.
i'm using JDEV & BPM 11.1.1.6
i've already tried to get the criteria using
QueryModel queryModel = getQueryPanel().getModel();
QueryDescriptor queryDescriptor = queryModel.getSystemQueries().get(0);
ConjunctionCriterion cc = queryDescriptor.getConjunctionCriterion();
for(int i=0;i<cc.getCriterionList().size();i++){
AttributeCriterion ac = (AttributeCriterion)cc.getCriterionList().get(i);
System.out.println("DEBUG LABEL : " + ac.getAttribute().getLabel());
System.out.println("DEBUG VALUE : " + ac.getValues().get(0));
} but it only get the value that filled in the search criteria input text, not the criteria that already been searched and viewed in the table
my other question is, can i override the search button function ? so i can add a custom method to save the search criteria to my temporary variable.
thanks
Edited by: Juw on May 29, 2013 2:05 AMIs this https://blogs.oracle.com/jdevotnharvest/entry/how-to_tell_the_viewcriteria_a_user_chose_in_an_afquery_component or http://www.learnoracleadf.com/2013/05/programatic-handle-to-adf-query.html what you are looking for?
Timo -
Debugging AS3 - watch panel?
Hi,
I'm pretty new to AS3 so sorry if I ask anything dumb!
Basically I'm trying to debug a game I'm developing, I always used
the 'watch' panel to track the value of variables as the movie
plays, but I can't find it in AS3. All I have is a 'variables'
panel with absolutely everything in it which doesn't make it
particularly usable. I must be missing something, but I can't see
what!
Regards
KevinCan you ensure that the SWF your are debugging is a release SWF?
I've recently fixed a bug (which is not publicly available) where the same stacktrace was visible:
A release SWF loads a debug SWF via SWFLoader/ModuleLoader, etc.
Making sure the main container SWF is a debug one. That should fix this problem.
(You can check whether a SWF is debug or not by opening it in nemo440 (google for that) and looking for debugfile / debugline opcodes.)
Let me know how it works out.
Cheers,
Anirudh -
Hello, i edit software video tutorials on the Photoshop timeline*. Sometimes i want to zoom into a screen area and show the action there enlarged.
Let's say my tutorial explains Photoshop's layer techniques. The screen cast shows the whole Photoshop workspace including the layer panel. Now in the tutorial, i want to zoom into the layer panel with 200 %, so that viewers see the mouse action and thumbnails there better, while still a good part of the workspace including the image is visible (so you get the enlarged layer panel and see how it affects the image). To zoom smoothly into the layer panel area,
i make a smart object of the footage,
duplicate it into a new video group,
create a vector mask around the layer panel (my area of interest),
start the Transform stop watch on the time line
move the timeline cursor half a second further and
transform the layer to 200 % (using pixel replication)
In the result, the screencast itself is nicely zoomed into. But the mask is never zoomed – it is either one size or the other, and there's no difference whether using vector masks or layer masks (i prefer vector masks of course).
I see that there are more stop watches for
- vector mask position
- vector mask active
But they don't help and i don't fully understand them. I read a lot and saw some tutorials, but still don't understand the situation.
Is it possible or not that the mask is contuinuously scaled larger and smaller together with the footage itself?
By the way, i know how to show an enlarged screen area without the zooming-in. I can simply fade in. That works nicely. But i would love to show the zooming-in.
Or should i do that kind of work in another application altogether?
Thanks for any clues (or links) you might give me!
*aware that there are other solutions, but usually works well for meYou did not look down far enough. Below them are some layers in blue (or other solid color) Twirl down the one that says 3D Meshes. Click on the small stopwatch for the object move your playhead ahead in time then rotate your mesh. The easiest way to rotate the mesh is using the text fields in the mesh's properties.
-
Adobe Creative Cloud - Photoshop CC / Photoshop CC (2014) i had first install Photoshop CC with some actualizations , I have install now Photoshop CC (2014) without desinstalling Photoshop CC... I would like stay only with the 2014 version but i don´t find more the desinstaller of old CC version and the 2 versions takes a lopt of space on my disk... is it normal or is there a necessity to stay with the 2 versions... Now I use only the 2014 version but the old version is always there ????
Topic or subject titles should be clear, pertinent and concise so that individual users can tell at a glance if they can help or not.
That field is not for attempting to fit your entire question in there.
Please keep this in mind next time you post. Thank you. -
I bought the wrong app, I should exchange Photoshop app with AI app
I should cancel Photoshop and should buy AI app.
Thank you a lot...^^
2015. 3. 19. 오후 10:23에 "Sheena Kaul" <[email protected]>님이 작성:
today i bought wrong app, i should exchange Photoshop app with AI app
created by Sheena Kaul <https://forums.adobe.com/people/Sheena+Kaul> in *Creative
Cloud Download & Install* - View the full discussion
<https://forums.adobe.com/message/7315839#7315839>
Maybe you are looking for
-
Hey all, Long post here, but I hope you'll bear with me, as I reckon this is something of a new fault with iTunes 7. Found a bug with iTunes 7 on my iPod Video which I don't see any references to from anyone else. (I presume I'm not alone, but I've G
-
Converting Non-Leading Ledger to Leading ledger...
Hi All Please let me know if there is a possibilty to convert a non-leading ledger to a leading ledger? If yes, please let me know the conversion process. Regards Kavitha
-
Hi I am a new iPad user and would like to know how to ensure I am using wifi instead of my network provider. At the top of my screen it is showing my providers name and a signal strength. I have a router at home that I want it to use. I will also be
-
Tabbed Navigation List Session State
I converted regular tabs to a tabbed navigation list because the user wanted the tabs on the left side, on a region, not on the top of a page. Now when I navigate between pages using the tabbed navigation list the session state is not saved. For exam
-
Beautiful ClassLoader Deserialization
Dear All, I want to register a ClassLoader of mine so as to use it for a remote object deserialization. Normally, I get this object by RMI, as a Stub, and this Stub class is not locally in my classpath. So I decide to download the class by itself fro