How to Find Tool ID Names?
Hi
I have started experimenting with the Photoshop Connection SDK so I can interact with Photoshop from my iPad and am having some troubles.
I've seen at a very simple level how I could select say the move tool or quick select tool.
The IDs for these tools are simple, 'moveTool', 'quickSelectTool'. But how am I supposed to discover those of other tools?
I have trawlled all the docs I can find, CS5 Javascripting doc, Connection SDK Doc, discussion online and not been able to find an answer.
So I hope you can help, I'm new to the Photoshop SDK, so any great resources or tips in general regarding it would be greatly appreciated.
Thanks.
Here is an ActionScript routine I have. Not sure if this is 100 % complete. And it is not doing localized names (bad programmer)
private function toolIDToToolName(inID:String):String {
var selectedTool:String = "Move"; // default to something
switch (inID) {
case "moveTool": selectedTool = "Move"; break;
case "marqueeRectTool": selectedTool = "Marquee"; break;
case "marqueeEllipTool": selectedTool = "Marquee Ellipse"; break;
case "marqueeSingleRowTool": selectedTool = "Marquee Single Row"; break;
case "marqueeSingleColumnTool": selectedTool = "MarqueeSingleColumn"; break;
case "lassoTool": selectedTool = "Lasso"; break;
case "polySelTool": selectedTool = "Polygon Select"; break;
case "magneticLassoTool": selectedTool = "Magnetic Lasso"; break;
case "quickSelectTool": selectedTool = "Quick Select"; break;
case "magicWandTool": selectedTool = "Magic Wand"; break;
case "cropTool": selectedTool = "Crop"; break;
case "sliceTool": selectedTool = "Slice"; break;
case "sliceSelectTool": selectedTool = "Slice Select"; break;
case "spotHealingBrushTool": selectedTool = "Spot Healing Brush"; break;
case "magicStampTool": selectedTool = "Magic Stamp"; break;
case "patchSelection": selectedTool = "Patch Selection"; break;
case "redEyeTool": selectedTool = "Red Eye"; break;
case "paintbrushTool": selectedTool = "Paint Brush"; break;
case "pencilTool": selectedTool = "Pencil"; break;
case "colorReplacementBrushTool": selectedTool = "Color Replacement Brush"; break;
case "cloneStampTool": selectedTool = "Clone Stamp"; break;
case "patternStampTool": selectedTool = "Pattern Stamp"; break;
case "historyBrushTool": selectedTool = "History Brush"; break;
case "artBrushTool": selectedTool = "Art Brush"; break;
case "eraserTool": selectedTool = "Eraser"; break;
case "backgroundEraserTool": selectedTool = "Background Eraser"; break;
case "magicEraserTool": selectedTool = "Magic Eraser"; break;
case "gradientTool": selectedTool = "Gradient"; break;
case "bucketTool": selectedTool = "Bucket"; break;
case "blurTool": selectedTool = "Blur"; break;
case "sharpenTool": selectedTool = "Sharpen"; break;
case "smudgeTool": selectedTool = "Smudge"; break;
case "dodgeTool": selectedTool = "Dodge"; break;
case "burnInTool": selectedTool = "Burn"; break;
case "saturationTool": selectedTool = "Saturation"; break;
case "penTool": selectedTool = "Pen"; break;
case "freeformPenTool": selectedTool = "Freeform Pen"; break;
case "addKnotTool": selectedTool = "Add Knot"; break;
case "deleteKnotTool": selectedTool = "Delete Knot"; break;
case "convertKnotTool": selectedTool = "Convert Knot"; break;
case "typeCreateOrEditTool": selectedTool = "Type Horizontal"; break;
case "typeVerticalCreateOrEditTool": selectedTool = "Type Vertical"; break;
case "typeCreateMaskTool": selectedTool = "Type Horizontal Mask"; break;
case "typeVerticalCreateMaskTool": selectedTool = "Type Vertical Mask"; break;
case "pathComponentSelectTool": selectedTool = "Path Select"; break;
case "directSelectTool": selectedTool = "Direct Select"; break;
case "rectangleTool": selectedTool = "Rectangle"; break;
case "roundedRectangleTool": selectedTool = "Rounded Rectangle"; break;
case "ellipseTool": selectedTool = "Ellipse"; break;
case "polygonTool": selectedTool = "Polygon"; break;
case "lineTool": selectedTool = "Line"; break;
case "customShapeTool": selectedTool = "Custom Shape"; break;
case "textAnnotTool": selectedTool = "Text Annotation"; break;
case "soundAnnotTool": selectedTool = "Sound Annotation"; break;
case "eyedropperTool": selectedTool = "Eye Dropper"; break;
case "colorSamplerTool": selectedTool = "Color Sampler"; break;
case "rulerTool": selectedTool = "Ruler"; break;
case "countTool": selectedTool = "Count"; break;
case "set3DState": selectedTool = "3D"; break;
case "handTool": selectedTool = "Hand"; break;
case "zoomTool": selectedTool = "Zoom"; break;
return selectedTool;
Similar Messages
-
Discoverer Report: How to find Business Area name from Report Name.
Hi
I opened a report in Disco Desktop 4 -> Resonsibiolity --> Report Name.
So I know Report name but don’t know which Business Area it belongs to.
How to find Business Area Name from Report Name?
Cheers
VijayHi,
There is no relationship between reports and business areas. Each report can be built from many folders. Each folder can be in many business areas.
However you can try the following SQL which may give you the result you want for an v5 EUL. You will have to modify for Discoverer 4 EUL:
select distinct doc_name, obj.obj_name folder_name, bas.ba_name
from eul_us.eul5_documents doc
, eul_us.eul5_elem_xrefs xref
, eul_us.eul5_expressions exp
, eul_us.eul5_objs obj
, eul_us.eul5_ba_obj_links bol
, eul_us.eul5_bas bas
where xref.ex_from_id = doc.doc_id
and doc.doc_name = &your_report
and xref.ex_to_id = exp.exp_id
and obj.obj_id = exp.it_obj_id
and bol.bol_obj_id = obj.obj_id
and bas.ba_id = bol.bol_ba_id
Rod West -
How to find out server name in reports9i
hi all
how to find out server name in reports9i
i need the report server name to call a report
thanks
Edited by: vikas singhal on Nov 5, 2008 1:02 AMYou do not need to do anything, if your Report server is on the same machine as the Forms server (which is usually the case) you simply use the url as
/reports/rwservlet?report=myreport' and the server will automatically use the default report server.
then you simply use
web.show_document('/reports/rwservlet?userid=scott/tiger@orcl&report=myreport&desformat=htmlcss&desname=test.html'Tony
Try it now
Edited by: Tony Garabedian on Nov 5, 2008 2:00 PM -
How to find the screen name in a screen?
Hello experts
I am using loop at screen to make my selection screen dynamic
please tell me how to find all screen-name of a screen.
thanks in advance.
Chitta Ranjan Mahato
Moderator message: please think about it before asking, you are naming the selection fields yourself in your program, if still in doubt, just debug your "loop at screen"
Edited by: Thomas Zloch on Nov 9, 2010 12:57 PMI am writing a program where in selection screen there will be two radio button named application server and presentation server when user choose application server screen changes dynamically and the block containg related to appliction server will be displayed in selection screen. to achieve this i have write code like
at selection-screen output.
if <radiobutton-name> = 'X'.
loop at screen.
{color:green}
if screen-name = 'radiobutton-name'.
{color}
if scree
thanks
chitta ranjan mahato -
How to find out query name using Elements of the query builder.
Hi SDNers,
how to find out query name using Elements of the query .
thanks,
satyaaHi,
For having a look at the relation between BEx tables,check the link below:
http://wiki.sdn.sap.com/wiki/display/BI/ExploretherelationbetweenBEx+Tables
-Vikram -
How to find the File name using the FTP Adapter
hi all,
how to find the File name using the FTP Adapter with BPEL.
RegardsFound the solution for this.
First In the mediator's routing rule use assign property $in.property.jca.file.FileName to $out.property.jca.file.FileName
In the BPEL's receive activity go to the properties tab and get the property to a BPEL variable. That should do it.
Thanks for the posts -
How to find the column name and table name with a value
Hi All
How to find the column name and table name with "Value".
For Example i have value named "Srikkanth" This value will be stored in one table and in one column i we dont know the table how to find the table name and column name
Any help is highly appricatable
Thanks & Regards
Srikkanth.M2 solutions by Michaels (the latter is 11g upwards only)...
michaels> var val varchar2(5)
michaels> exec :val := 'as'
PL/SQL procedure successfully completed.
michaels> select distinct substr (:val, 1, 11) "Searchword",
substr (table_name, 1, 14) "Table",
substr (t.column_value.getstringval (), 1, 50) "Column/Value"
from cols,
table
(xmlsequence
(dbms_xmlgen.getxmltype ('select ' || column_name
|| ' from ' || table_name
|| ' where upper('
|| column_name
|| ') like upper(''%' || :val
|| '%'')'
).extract ('ROWSET/ROW/*')
) t
-- where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
order by "Table"or
SQL> select table_name,
column_name,
:search_string search_string,
result
from cols,
xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
columns result varchar2(10) path '.'
where table_name in ('EMP', 'DEPT')
TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
DEPT DNAME ES RESEARCH
DEPT DNAME ES SALES
EMP ENAME ES JONES
EMP ENAME ES JAMES
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES PRESIDENT
EMP JOB ES SALESMAN
9 rows selected. -
How to find the technical name
Hai,
How to find the technical name of a data source for General Ledger: Balances Period Breakdown
ThanksHai
my question is in General Ledger: Balances Period Breakdown
the link is showing General Ledger : Balances , Leadingledger
I got this link in queries for General Ledger: Balances Period Breakdown
http://help.sap.com/saphelp_nw70/helpdata/en/2d/955a73da4d6d41a0a6128caf274ce8/frameset.htm
But here technical name of info cube is given.But i dont know how to find the technical name of the data source.This might be simple question i think but i am new to SAP
Thanks -
How to find the program name of the smart form?
How to find the program name of the smart form if output type is not known?
thanks in advance...How to find the program name of the smart form if output type is not known?
thanks in advance...
T-code SE16
Enter table name: TNAPR -> Press enter key
Enter smartform name in input field(SFORM): Z_your_smartform_name
Execute
you can find program name under the column PGNAM/Program name.
Regards
sudheer -
How to find the form name attached to AR Open item list
How to find the form name attached to AR Open item list
FBL5N -> Correspondance
Thanks
GaneshYou can find out in SPRO.
Go to tcode SPRO
Financial Accounting (New)
Financial Accounting Basic Settings (New)
Correspondence
Define Form Name for Correspondence Print
Here you will find the form attached to the program.
To find the attached program to the Correspondence type.
Go to tcode SPRO
Financial Accounting (New)
Financial Accounting Basic Settings (New)
Correspondence
Assign programs for the Correspondence Types
Regards,
Naimesh Patel -
How to find the form name from VA02 T.code
how to find the form name from VA02 T.code
Hi Rajyam,
I guess you are looking out for the formname which prints sales related documents.
If this is what you want,then go to the T-code NACE and select the option K1Sales activities and click on the Output Types button on the top.The new window has all the types of Output types listed.Select the most appropriate and double click on the Processing routines button in the left side screen.
The new window lists the program names and the forms associated with that output type.
In case you have any further clarifications,do let me know.
Regards,
Puneet Jhari. -
How to find the program name of the created sap query ?
how to find the program name of the created sap query ?
Hi avinash,
Try in this way..
Go to SE16 and then go to table TSTC.
in that give program name as <b>*followed by your query name</b>
(for example *TESTQUERY)
and run , that will give progname======queryname.
this way you can find program name.
vijay -
How to find the machine name from which the table is created ?
YogeshTurn on DDL auditing.
http://www.oracle-base.com/articles/10g/Auditing_10gR2.php outlines some uses ... i'm sure you can find more with a google search. -
How to find the query name using infoset name
Hi Experts
Iam new to the sap queries(SQ01,SQ02), some queries already created.
now i want to do some modification, my problem is i am not able to find the query name.
I know the infoset name, can you tell me how to find the query name using the infoset name, is ther any table for this.
i tried in sq01 also, but its confusion, pls advice me on this.
thanks in advance.
regards
rajaramHi
try like this..
SQ02 --> go to --> Query Directory..
from there you can get all the queries belong to a Infoset. -
How to find current user name on a LAN machine....
how to find current user name in a remote machine in LAN .
how to find current user name on a local machine in LAN .how to find current user name in a remote machine in
LAN .Many users may be logged on concurrently on the remote machine.
how to find current user name on a local machine in
LAN .The user who is running the code in the process would be obtainable via:
System.getProperty("some property goes here");
I leave it to you to look at the API documentation for System.getProperties() to see what property name you would retrieve.
Maybe you are looking for
-
Signature in PDF appears too heavy (line weight)
Hello, I have excel documents which need to have an actual signature. I have scanned in my signature and have it as a TIF file amongst others. I have the full Adobe CS3 suite so I have cleaned up the sig in PS and saved it in various formats. When I
-
Incoming Email not showing up in business context
Hi, We route incoming emails through ERMS to a service org. Then through the inbox, we select email and click on 'interact' button to create a service ticket manually. We notice that email does not show in the business context during the interaction
-
ADF deployment Cach expiration
Hi, I have an ADF application and to improve performance I am testing improving the use of local web browser cash. I have deployed the application with following additional settings in the deployment plan: <expiration-setting expires="never" url-patt
-
Have had Elements 9 on a laptop for several years, would like to install on a new laptop. Have no account info other than my Adobe ID. How do I do this?
-
Fiscal periods and skf PCA MSLnn fields
Hello SDN, In GLPCT table, there are 16 MSL fields for 16 periods quantity values. Could you explain to me why 16 periods are needed? And I need to load this into BW into fiscper level. Does this mean 16 periods also in BW for fiscper? Thanks in adva