How can I write an installer for filter plugin ?

Hi,
My filter works with several files.
I should take some files in different folders (Actions, Filters, Styles, Textures...)
Which installer can I use? Which installer knows the Photoshop directory?
Thnx for any help
Felix

You can also use this to find the photoshop executable:
RegQueryStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Photoshp.exe', 'Path', sPath);
("HKEY_LOCA_MACHINE\SOftware\Microsoft\Windows\CurrentVersion\App Paths\Photoshop.exe")
The problem with the plugin path is that its named differently depending on your os language, e.g. "Zusatzmodule" in german. Now, since you do not know wich version is installed, you can't query the reg-key I stated first and without it you can never be sure how the plugin folder is named on the target platform.
Now either you try a reg-key for each version 1.0 to 10.0 until you get a valid entry or you can use the reg-key from above and put your plugin directly into photoshops root folder - it will be found there too. Of course that's a bit messy, but you don't have to worry about plugin-folder name and/or ps version that way.

Similar Messages

  • How can we write the code for opening the command prompt and closing the

    how can we write the code in java for opening the command prompt and closing the cmd prompt from eclipse (cmd prompt should close when click on the turminate button in eclipse)

    rakeshsikha wrote:
    how can we write the code for opening the command prompt and closing theBy typing in Eclipse (which you seemingly have)?

  • How can i write the trigger for Global Temporary Table

    Hi Grus,
    How can i write the trigger for Global Temporary Table.
    I was created the GTT with trigger using the below script .
    CREATE GLOBAL TEMPORARY TABLE GLOBAL_TEMP
    EMP_C_NAME VARCHAR2(20 BYTE)
    ON COMMIT PRESERVE ROWS;
    CREATE OR REPLACE TRIGGER TRI_GLOBAL_TEMP
    BEFORE DELETE OR UPDATE OR INSERT
    ON GLOBAL_TEMP
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    INSERT INTO EMPNAME VALUES (:OLD.EMP_C_NAME);
    END;
    trigger was create successfully, but the wouldn't insert into to EMPNAME Table..
    Please guide whether am correct or not? if not kindly give a correct syntax with example
    Thanks in Advance,
    Arun M M

    BEGIN
    INSERT INTO EMPNAME VALUES (:OLD.EMP_C_NAME);
    END;
    you are referencing old value in insert stmt.
    BEGIN
    INSERT INTO EMPNAME VALUES (:new.EMP_C_NAME);
    END;then run ur application it works fine...
    CREATE GLOBAL TEMPORARY TABLE GLOBAL_TEMP
    EMP_C_NAME VARCHAR2(20 BYTE)
    ON COMMIT PRESERVE ROWS;
    CREATE OR REPLACE TRIGGER TRI_GLOBAL_TEMP
    BEFORE DELETE OR UPDATE OR INSERT
    ON GLOBAL_TEMP
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    dbms_output.put_line(:OLD.EMP_C_NAME||'yahoo');
    INSERT INTO EMPNAME VALUES (:new.EMP_C_NAME);
    dbms_output.put_line(:OLD.EMP_C_NAME);
    END;
    create table EMPNAME as select * from GLOBAL_TEMP where 1=2
    insert into GLOBAL_TEMP values('fgfdgd');
    commit;
    select * from GLOBAL_TEMP;
    select * from EMPNAME;
    output:
    1 rows inserted
    commit succeeded.
    EMP_C_NAME          
    fgfdgd              
    1 rows selected
    EMP_C_NAME          
    fgfdgd              
    1 rows selectedgot it Arun
    Edited by: OraclePLSQL on Dec 28, 2010 6:07 PM

  • How can I create an installer for my project that can work on 32-bit Windows if I have 64-bit Windows Vista?

    Hi, 
    I made a LabVIEW project that works perfectly and made an installer for it. I tested the installer on my own computer and everything worked well. The goal for my installer was to put it on multiple computers. So I tried to do this on another computer that has Vista 32-bit and it told me that the installer can only run on 64-bit computers. I tried to choose to install run-time 32bit and it did not change anything, there was still a message to tell me that this installer only can be ran on 64-bit computers. How can I make an installer that works on 32-bit computers? 
    Thank you. 
    Solved!
    Go to Solution.

    Langelier wrote:
    Will my project work on 32-bit version even if created on 64-bit version?
    The code will have to recompile, but yes it should work.  I recommend making a backup before proceeding just in case.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can I write a script for set left indent?

    In three cases as below:
    for example:
    left indent:8mm; first indent:0mm
    left indent:0mm; first indent:8mm
    left indent:8mm; first indent:-8mm
    How can I write a script to tell Indesign, wherever the text indent is, each time when I run the script once, the text can put just a step rightward, and “one step = 8mm”.
    Please!

    Hi, Trevor
    I use change by list as below:
    grep {leftIndent:48mm} {leftIndent:56mm}
    grep {leftIndent:40mm} {leftIndent:48mm}
    grep {leftIndent:32mm} {leftIndent:40mm}
    grep {leftIndent:24mm} {leftIndent:32mm}
    grep {leftIndent:16mm} {leftIndent:24mm}
    grep {leftIndent:8mm} {leftIndent:16mm}
    grep {firstLineIndent:8mm, leftIndent:48mm} {firstLineIndent:8mm, leftIndent:56mm}
    grep {firstLineIndent:8mm, leftIndent:32mm} {firstLineIndent:8mm, leftIndent:48mm}
    grep {firstLineIndent:8mm, leftIndent:24mm} {firstLineIndent:8mm, leftIndent:32mm}
    grep {firstLineIndent:8mm, leftIndent:16mm} {firstLineIndent:8mm, leftIndent:24mm}
    grep {firstLineIndent:8mm, leftIndent:8mm} {firstLineIndent:8mm, leftIndent:16mm}
    grep {firstLineIndent:-8mm, leftIndent:48mm} {firstLineIndent:-8mm, leftIndent:56mm}
    grep {firstLineIndent:-8mm, leftIndent:32mm} {firstLineIndent:-8mm, leftIndent:48mm}
    grep {firstLineIndent:-8mm, leftIndent:24mm} {firstLineIndent:-8mm, leftIndent:32mm}
    grep {firstLineIndent:-8mm, leftIndent:16mm} {firstLineIndent:-8mm, leftIndent:24mm}
    grep {firstLineIndent:-8mm, leftIndent:8mm} {firstLineIndent:-8mm, leftIndent:16mm}
    but not that perfect,
    I want to useing jave "if{}" or "for{}" to write this script, but I don't kown the syntext.

  • How can i write properties file for Hindi font

    Hi All,
    i'm using jdev 11.1.1.5.0
    in my use case i have worked on internationalization where i want to use hindi font
    like this link -
    Majid Hussain: Internationalization of ADF 11.1.1.3 Applications
    as in above post majid used german language and write properties file for german language(which is using english character).
    but my problem is that i want to use hindi language
    so how can i write propery file which support hindi font.
    Manish

    Hi Manish,
    We also had same requirement where we need to show indian local language(Hindi ,Bengali and many more ).
    We had implemented following approach and perhaps it will helpful for you.
    1-First we changed the encoding value in jdeveloper.
       go to jdeveloper --> tools --->preference-->encoding , select to UTF8
    2-We used to get the properties and it's translated value from business and then we were manually put these pair into related resource bundle.
    And using this we were able to implemented multilanguage support.
    Thanks
    Prateek

  • How Can I write a script for change first indent?

    How can I write a java script to tell indesign:
    what ever the text first indent is, I want to change first indent =
    1) 8mm
    2) 0mm
    3)-8mm (if left indent is 0, change the first indent to 8mm, and then change first indent = -8)
    3 scripts
    Please someone help me, please!

    Hi hasive, thank you for your responses, thank you very much,
    I need three scripts
    1st script, I want to set the first indent to 8mm;
    2nd script, I want to set the first indent to -8 mm, but if the left indent is 0, please set the left indent to >8mm then set the first indent to -8mm;
    3rd, I want to set the first to 0mm, if the first indent is 8mm or -8mm;
    thank you
    Harvey

  • How can I download 1 installer for multiple computers (creative cloud)

    Hello,
    we are an educational institution. We have in total 20 computers in our classrooms. I can't download the creative cloud for every computer seperately because we only have a 2 Mbit connection. So how can I download one installer which I can use for all computers.

    Refer to this:
    Direct Download Links for Adobe Software
    Mylenium

  • How can I download the installer for my Acrobat Pro 10

    I am from a school in Costa Rica, the last IT Manager buy a licence for Acrobat Pro 10.0 but he doesn't gives me the id to download the installer, can you help me?

    Hi there,
    Welcome to the Community!
    Please go to http://prodesigntools.com/adobe-cs5-5-direct-download-links.html and choose Acrobat X pro from the list.
    Before downloading please read Very Important instructions as it talks about a small step needs to be performed.
    Thanks!
    Ankit

  • How can i write sql query for this result ?

    Hello Dear,
    Here is the script first.
    CREATE TABLE ACC_TEST(
    AD_ID NUMBER,
    AD_NAME VARCHAR2(50),
    AD_SPM_ID NUMBER);
    /data are
    Insert into ACC_TEST (AD_ID,AD_NAME,AD_SPM_ID) values (136,'Saleh Ahmed',129);
    Insert into ACC_TEST (AD_ID,AD_NAME,AD_SPM_ID) values (142,'Hamidur Rahman',136);
    Insert into ACC_TEST (AD_ID,AD_NAME,AD_SPM_ID) values (124,'Jasim Uddin',null);
    INSERT INTO ACC_TEST (AD_ID,AD_NAME,AD_SPM_ID) VALUES (129,'Sazib',124);I Need The Following Result When I Pass A Value Of Ad_Id. For Example I Pass 142 Then Result Should Be
    Select Ad_Id,Ad_Name
    From..
    where ad_id=142
    Ad_Id   Ad_Name
    136     Saleh Ahmed
    129     Sazib
    124     Jasim Uddin
    If I Pass Ad_Id=136 Then Result Should Be
    Ad_Id   Ad_Name
    129     Sazib
    124     Jasim Uddin
    If I Pass Ad_Id=129 Then Result Should Be
    Ad_Id   Ad_Name
    124     Jasim Uddin Database 10G XE
    Any help will be helpful

    Hi,
    HamidHelal wrote:
    WoW ! you acutely got my point. How did you understand that ? lLuck guess. Guessing is usually not the best way to solve problems. It's usually faster and more reliable to say exactly what you want, as well as give an example.
    ittle bit more i want to know, if i want to restrict the output not more then 2, what would be sql ?Now you're not even giviing an example!
    Maybe you want something like this:
    SELECT     ad_id
    ,     ad_name
    FROM     acc_test
    WHERE     LEVEL     BETWEEN 2 AND 3          -- Changed
    START WITH     ad_id     = :target_ad_id
    CONNECT BY     ad_id     = PRIOR ad_spm_id
    ;which will show jsut the parent and the grandparent of the given row.
    I do work with forms developer very much. Sql knowledge is as oracle sql book(cerfitication 9i). But this type of sql isn't available there.
    where can i learn this type of sql ? Different sql then ordinary ?Certification is a different topic entirely.
    There are books and web sites dealing with more advanced techniques. Sorry, I don't know any well enough to recommend them. Some authors (such as Tom Kyte) are consistently good.
    Here are a couple of sites that explain CONNECT BY queries:
    http://www.adp-gmbh.ch/ora/sql/connect_by.html
    http://www.oradev.com/connect_by.jsp

  • How can i write the code for make calendar in sap abap

    hi this aditya  from ongc trainee
    i want design the calendar which is editadle only at present date for tik is it present or not.

    Hi Ajay ,
              You can have Calender in your webdynpro Application by creating Element " DateNavigator" .

  • How can I write unit tests for BizTalk Maps with multipe inputs?

    I want to bring all my maps under unit test coverage, but can't seem to find a way to test maps with multiple inputs. Maps with multiple inputs are first merged into a single schema by biztalk and then the map actually uses that inline schema as source.
    What I tried is- produced a generated instance of source schema by clicking "Test Map", and then modified the skeletal instance by stitching together the multiple input files into it. There are two problems I am facing going forward that way- 1#
    It takes a lot of time to craft a mock input of inline schema and 2# the mock input fails input validation although the input works just fine in the orchestration.
    So is there a better or standard way to test such Maps?

    For testing maps with multiple inputs, follow the below steps-
    Lets assume you have a map with two input schemas A and B and output as C.
    1) To create the required schema just reverse the inputs i.e. make a map with C as input and A & B as output. Later do a test map. This will generate an XML File with schemas A & B. 
    2) Now you just to need to replace OutputMessagePart_0 to InputMessagePart_0
    and OutputMessagePart_1 to InputMessagePart_1
    Later you can use this xml for testing your original map.
    Refer the below article
    Developing and Testing Maps which have Multiple Source and Destination Schemas
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • How can I write a query for this table?

    Dear friends
    I have a table with the following structur and data
    ID Name Value
    1 book 100
    2 book 200
    3 car 25
    4 car 35
    5 book 300
    now I would like write a query with following out put
    Name value
    book 100 , 200 , 300
    car 25 , 35
    (with , Separator) (my oracle version is 10g)
    thanks

    Try this,
    SQL> WITH t AS(SELECT 'book' NAME, 100 VALUE FROM dual UNION ALL
      2  SELECT 'book', 200 FROM dual UNION ALL
      3  SELECT 'car', 25 FROM dual UNION ALL
      4  SELECT 'car', 35 FROM dual UNION ALL
      5  SELECT 'book', 300 FROM dual)
      6      SELECT NAME, LTRIM (MAX (SYS_CONNECT_BY_PATH (VALUE, ',')), ',') VALUE
      7        FROM (SELECT NAME, VALUE, ROW_NUMBER () OVER (PARTITION BY NAME ORDER BY VALUE) rn FROM t)
      8  START WITH rn = 1
      9  CONNECT BY PRIOR rn + 1 = rn
    10             AND PRIOR NAME = NAME
    11    GROUP BY NAME;
    NAME VALUE
    book 100,200,300
    car  25,35
    2 rows selected.
    SQL> G.

  • How can i write the query for the below output

    Hi,
    I need this kind of output for my report.Please suggest me asap.It's urgent.
    Item Description category subinvcode A B C D....................(All Subinventories)
    1 AAAA FFF 5 8 (Quantity Values for the corresponding subinventories)
    Plz help.

    I still don't have a clue what you're going on about, but here's an example of pivoting that I've knocked up based on your scatty bit of data which may give some hint to you as to what to do....
    SQL> create table inventory as
      2  select 1 as item_id, '0016K8731' as item_desc from dual union
      3  select 2, '0014R0181' from dual;
    Table created.
    SQL>
    SQL> create table sub_inventory as
      2  select 1 as item_id, 'FG_IBM' as sub_item_id, 5 as quantity from dual union
      3  select 1, 'FG_HUN', 4 from dual union
      4  select 1, 'FG_PSA', 12 from dual union
      5  select 2, 'FG_IBM', 1 from dual union
      6  select 2, 'FG_HUN', 17 from dual union
      7  select 2, 'FG_PSA', 3 from dual;
    Table created.
    SQL>
    SQL> select item_desc, max(fg_ibm) as fg_ibm, max(fg_hun) as fg_hun, max(fg_psa) as fg_psa
      2  from (
      3    select i.item_desc,
      4           decode(s.sub_item_id, 'FG_IBM', quantity, null) as fg_ibm,
      5           decode(s.sub_item_id, 'FG_HUN', quantity, null) as fg_hun,
      6           decode(s.sub_item_id, 'FG_PSA', quantity, null) as fg_psa
      7    from inventory i, sub_inventory s
      8    where s.item_id = i.item_id
      9    )
    10  group by item_desc
    11  /
    ITEM_DESC     FG_IBM     FG_HUN     FG_PSA
    0014R0181          1         17          3
    0016K8731          5          4         12
    SQL>

  • How can I write the loop for this?

    public void currentConnectedPlayers (String[ ] connectedPLayers)
    //connectedPlayers contains the names of players connected to the server.
    //Display the list of connected players, but SELF is not included in the display list
    how will I be able to identify "self" within the loop, in order to exclude myself from beig listed....

    but in coding... i should use "this" instead of
    "self"
    shoudlnt I?!Never "this" is not a string it is a class, only if it extends String Class,
    Since the users are stored in a String array, we need to know what is the information you put in that array is it name, id .
    >
    otherwise got error

Maybe you are looking for