How to find out javascript application pathname?

Hi all,
I need to find out the javascript(.js) fileName and pathName via scripting. For example if i run the script from the outside of the illustrator location (c:\script\sample.js).  I need to find out the location of the scripting file(application path). Kindly share with me the possibilities. This is for "illustrator cs3".
Thanks for looking into this...

Hi,
I am not aware of any spec defined way of finding out such info. There may be vendor specific APIs or mechanisms.
But you can use environment entries in your deployment descriptors to specify the information and make use of the entries inside your j2ee component. That will make your code platform neutral.
Sahoo

Similar Messages

  • How to find out the application server info

    Hi, I am wondering how to find out the application server info in Java code, just like how to find out the db platform being used. Thanks

    Hi,
    I am not aware of any spec defined way of finding out such info. There may be vendor specific APIs or mechanisms.
    But you can use environment entries in your deployment descriptors to specify the information and make use of the entries inside your j2ee component. That will make your code platform neutral.
    Sahoo

  • How to find out wich application is used

    Hi,
    I would like to know is it possible to find out which application is used at the moment for example SD,MM,FI,CO ?
    Regards,
    Stefan

    find out which application is used at the moment ?
    Use these transactions.
    SM04  -  Currently active users running which transaction.
    SM50  -   work process running for that transactions

  • How to find out what applications are consuming a service in SR

    Hi,
    How can one find out what or which all applications are consuming a particular service from Service Registry?
    There is tab called Used By when we select a service from service registry. But it always shows empty.
    Any help is much appreciated.
    Best Regards,
    Shiva

    Problem got resolved by myself.
    It will be reflected in Used By tab once an application is consumed from SR,
    Thanks.
    Best Regards,
    Shiva

  • How to find out which application uses how many Web containers?

    Hi everybody,
    we are monitoring several JAVA engines via sapccmsr and often get a threshold overflow for SID\Server\...\Web Container\AllRequestsCount
    The SAP online documentation tells me how to set a threshold for any web application. But befor that I should know, which application uses up all the Web Containers. How can I find out?
    btw: Does the Threshold (1.000.000) make any sense, or is this just a number that may be changed without the fear for any consequences? Is there a serious performance impact?
    Thank you in advance
    Ralf

    Ralf,
    I have an opinion, that you can take a trace messages from Web Container service, which might give you some more details.
    I am not completely sure if that serves your purpose. Still you can have a look in the below document, if it looks helpful.
    http://wiki.sdn.sap.com/wiki/display/JSTSG/%28JSTSG%29%28Web%29Trace+locations
    Regards,
    Sujit.

  • How to find out the application server instance name?

    Hi,
    I installed an Oracle application server a long long while ago and completely forgot the things about the installation, including the name of the instance (I installed single instance, not cluster). Now I am trying to create a connection to the application server and I am prompted to fill in the instance name. Where in the installation can I find out the instance name?
    The version of the server as displayed when the server is started:
    $ ./oc4j -start
    Starting OC4J from /oraInventory/j2ee/home ...
    09/10/08 16:04:39 Oracle Containers for J2EE 10g (10.1.3.2.0)  initializedThis 10.1.3.2.0 number is somewhat confusing. As I understand it, right now if you download a copy of the Application server from Oracle web site, the current version is 10.1.3.1.0.
    I am also reading the installation guide now and when looking at the server starting messages on the screen, I realize that installing the server in the oraInventory directory is not quite right. Does that interfere with the correct functioning of the server? I installed it but have never tried to use it until now.
    Many thanks for your help!
    Newman

    J. Newman wrote:
    Hi,
    I installed an Oracle application server a long long while ago and completely forgot the things about the installation, including the name of the instance (I installed single instance, not cluster). Now I am trying to create a connection to the application server and I am prompted to fill in the instance name. Where in the installation can I find out the instance name?If you have access to that server, then the following should give the instance name.
    grep 'IASname' $ORACLE_HOME/config/ias.properties
    you should also see it in the AS Control Console page.
    The version of the server as displayed when the server is started:
    $ ./oc4j -start
    Starting OC4J from /oraInventory/j2ee/home ...
    09/10/08 16:04:39 Oracle Containers for J2EE 10g (10.1.3.2.0)  initializedThis 10.1.3.2.0 number is somewhat confusing. As I understand it, right now if you download a copy of the Application server from Oracle web site, the current version is 10.1.3.1.0.
    Regarding the version numbers, this fourth digit refers to the Component-specific release number. The OAS documentation says this about it.
    "This digit identifies a release level specific to a component. Different components can have different numbers in this position depending upon, for example, component patch sets or interim releases."
    I am also reading the installation guide now and when looking at the server starting messages on the screen, I realize that installing the server in the oraInventory directory is not quite right. Does that interfere with the correct functioning of the server? I installed it but have never tried to use it until now.
    Many thanks for your help!
    NewmanI think Oracle software should always be installed in a separate directory. I think it may also generate errors in its functioning but it will certainly create a whole lot confusion and mess in later administration and configurations.
    hope that helps!
    AMN
    Edited by: AMN on Oct 8, 2009 5:14 PM

  • How to find out which application the code is running in?

    Hi,
    I am trying to develop a common code which will be part of various different applications.
    But I need to be able to figure out within the Java application which process is calling me.
    For example: one of the applications may be invoked as:
    java /opt/app1_dir/app1 ... (various command line options)
    I need the ability to access the String "/opt/app1_dir/app1" in the above call. I think String array from main method args[0,...] will give me the ability to access the command line parameters but not the actual command string.
    Due to legacy reasons, it is not possible to change the calling string.
    Can anyone please help me to figure out how I can access the above in my java application.
    Thanks,
    Amol

    amol_dev wrote:
    Thank you for your reply Brynjar.
    However, I was trying to figure out a way to do this without having to change the calling command line, because due to legacy reasons, it is not possible to change the command line calling the parent applications of this common code.You cannot change the command line, but you can change the applications?
    In main() do this:
    System.setProperty("whoami",(new Throwable().getStackTrace()[0].getClassName()));Elsewhere:
    String whoami = System.getProperty("whoami");

  • How to find out which type of the driver is used in our application?

    Hi all,
    can anyone tell me how to find out which type of the driver is used in our application?
    Thanks in advance,
    Phoeniox

    Hi,
    Check out this...
    Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
    List drivers = Collections.list(DriverManager.getDrivers());
                   for(int i=0;i<drivers.size();i++)
                        Driver driver = (Driver)drivers.get(i);
                        String driverName = driver.getClass().getName();
                        System.out.println("Driver "+i+":::"+driverName);
    you need to load the driver and display in the same program.
    Then only you'l get the required result.
    prakhyath

  • How to find out total of number of users accessing Hyperion Planning applications ?

    Hi All,
    Could someone help me with the details of how to find out total number of users who are accessing Hyperion Planning application in Env.?
    This is with regard to licenses so wanted accurate and unique information,
    Thanks
    Amith

    Hello Amith,
    I think you should have a look at the blog of Cameron Lackpour http://camerons-blog-for-essbase-hackers.blogspot.be/
    In the "Shared Services Stupid Trick" blogs, he shows how to find the real access to an application. The side benefit is that it is amusing to read.
    In how far this is OK for the licenses is written on another page. You likely need to use the same method as Oracle does. Ask the Salesperson how to do this. (I am curious what his/her reply is).
    Regards,
    Philip Hulsebosch.

  • 2d Direct draw, and how to find out if the application is a java apps

    I am running a banner application that was written in java. And in some instances, we are seeing the banner flicker every 5 seconds or 10 seconds. The banner application is written by some other government branch and on their documentation they say that the flickering is due to java's 2D directdraw used by some other java application (not their banner application). I personally haven't seen this on our test VMs but it is being seen on some physical workstation at the client site.
    I am trying to find out the application that is using java's 2D directdraw in our environment. Some of the question I have is
    1) Is there anyway to find out what application is using java 2D directdraw? ( I know how to disabled it globally for java but don't want to do that, I would rather just disable it for one application than disabling it on all java application)
    2) Is there anyway to find out what applications are depended in JVM on a machine? So that I can narrow the list of application to test.
    3) Is there anyway to find out if a application is written in java. Our environments have a lot of applications installed on them and I'm not sure which one use JVM and which one don't. If there is a way to know that then I can narrow down my issue and try to solve it.
    Thank you for your help, I really appreciate it,
    Sudeep.

    Hi,
    if the database is running, start a sqlplus session. You will see in the banner something like '64Bit Production' (for 64-bit) or only 'Production' for 32-bit. Alternatively, especially if the database is not running, go to $ORACLE_HOME/bin and type 'file oracle'. The returning strings shows either 32-bit or 64-bit.
    Best regards
    Werner

  • How do you find out what application is generating a plist file in your preference folder?

    I have had two similar warnings come up in Drive Genius 3, a program that I use to manage my drives.  The warnings occur during a daily verification of preferences on my main drive, a 256GB SSD. 
    They state:
    "The preference file at '/Users/me/Library/Preferences/com.analogsolutions.Football.plist' may be corrupted."
    "The preference file at '/Users/me/Library/Preferences/org.machinedevelop.National.plist' may be corrupted."
    Per Drive Genius' advisement, "Corrupted files can cause appplication crashes and should be moved to the Trash." I delete the files, however they are regenerated each day. 
    Q: How do you figure out what application is generating a preference file?  And is there a way to tell if this is a OS generated preference file? 
    I have searched online and cannot find any information about either Analog Solutions or Machine Develop nor am I able to discern what these particular .plist files are for... 
    Q: Are these two .plist files truly potentially harmful?
    Thanks for the Help!
    iMac
    model iMac12,2
    3.4 GHz Intel Core i7
    8 GB 1333 MHz DDR3

    Hi Everyone, sorry for the late response.  I have been monitoring my Preferences Folder; every moment I am on my computer trying to catch what application/process generates these files.  I was hoping to try your suggestions, but oddly enough the offensive .plist files have not returned since the last time I deleted them about a week ago.... strange...
    In any case, I have responded to some of your suggestions and questions that I have information on:
    X423424X wrote: Ok, can you double click the .plist file?  If so it should attempt to launch the Property List Editor (in your Utilities folder).  That way you can look at stuff in the plist.  Maybe (hopefully) there's something in there that can shed some light on who is creating it.   If Property List Editor cannot open the file (some apps create files that have the .plist extension but don't actually create the proper XML format -- probably what ProSoft was alluding to) then try opening it with a text editor.
    The .plist file when opened in text editor contains a string of (what to me seems to be) an arbitrary list of numbers.
    Linc Davis wrote: Those files have been given obfuscated names so you won't know what created them. They must contain encrypted registration data for some third-party commercial software that you use.
    Yes, seems likely...
    Linc Davis wrote: It should be fairly easy to find out what application is creating them, if you really care. Move the files to the Desktop, then log out. Log back in while holding the shift key as you click the "Log In" button. That will prevent your login items from loading, among other things. Open your account preferences and launch the login items one at a time by double-clicking them in the list. After each one, check to see whether the files have been recreated.
    Ran through login, one by one, no luck in identifying the application(s). 
    X423424X wrote: Another thought, lock the plists on the hope that whatever is using them will "choke" and complain about it (no guarantee that will work but worth a try).
    Thanks, the lock idea is the one I will try next if they ever reappear...
    X423424X wrote: Also, I don't recall if I asked this but if those plists are deleted while logged in will they be recreated during that same login session.  Or do they only appear after you deleted them and then and then logged out and back in?  Or do you have to reboot to recreate them?
    Unfortunately I do not know for certain.  Though from all my login/startup/reboot tests I believe that they are not directly linked to starting up the machine or loging in either.
    I'm not really certain why the .plist have not returned.  I haven't uninstalled any programs, though I did run a couple updates for some widgets within the last week; however that was about 3 days after I deleted the last set of .plist files and usually they reappered everyday.  In any case, given that they have not been regenerated I guess my problem is solved per se, at least I am no longer getting that annoying warning everyday.   Still, it's a bit of a mystery  
    Thanks again for all the help!

  • How to find out how many concurrent users using web application?

    Hi all,
    I have a web application deployed using 9iAS. I am trying to find out how to find out how many concurrent users are using this application at any one time. According to Oracle there is no way to see this information using the enterprise manager interface.
    Does anybody out there know how I can find out this information in real time? Failing that, are there any good analysis tools out there that display usage to the minute (all the tools I have found show usage by hour which is not sufficent for my needs).
    Any help would be much appreciated,
    Caroline

    I know I haven't heard of any software to do this, but this also sounds like a really hard problem to try and really analyze well.
    The trick is, you might "infer" how long a user is using an application based on when cookies are set and when they're set to expire. If that's a long time, though, that could count far more "concurrent" users than are actually there. A user could simply close the application at any time and stop using the application; you can't really detect that because the server isn't "told" when the user closes their browser or goes somewhere else.
    A good perl script might be able to read the Apache access log and tell you how many unique IPs asked for a given directory in which various applications are stored in any 5 minute span of time... that could be something like an indicator of "concurrent" users.
    If you don't know Perl, I'd suggest getting the O'Reilly & Associates book on Perl and learning it, because the more I think about this, the more this sounds like a textbook example for applying a Perl script.

  • How to find out Db name of perticular web application in sharepoint 2010

    how to find out Db name of perticular web application in sharepoint 2010 to take a backup from sql

    1.  Open the SharePoint 2010 Central Admin application.
    2.  On the SharePoint central administration website, click Application Management.
    3.  In the Databases section, click Manage Content Databases.
    4.  On the Manage Content Databases page, select a web application by clicking the Web Applications drop-down list and choosing a web application.
    5.  Can notice the  available database names for the webapplication. ******************************************************************************************
    Please remember to mark your question as answered &Vote helpful, if this solves/helps your problem
    s p kumar

  • How can we find out which application is runing UDP port 69?

    Whenever I run Cisco Network Assistant on my Windows 7 computer, I receive "The embedded TFTP server cannot start".
     netstat -an|more shows “udp 0 0 0.0.0.0:69 ...” How can we find out which application is runing UDP port 69?
    Bob Lin, MCSE &amp; CNE Networking, Internet, Routing, VPN Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com

    These ones may help.
    Have you ever wanted to see which Windows
    process sends a certain packet out to network?
    Process
    Monitor v3.1
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • How to find out Application from Component

    Hi Experts,
    I have a component called FITV_VT_TRIP_DOCUMENT which is called from two applicatons FITV_POWL_TRIP and another one say ABC.
    Now i need to know which application is calling the component.
    Is there any Class->Method to find out the application name from component.
    Or Is there any method to get the browsers URL from that component.
    Thannks,
    chandra

    Hi,
    When you pass the Application name you can get the URL (But this can be mapped to external alias also).
    * Generate the url for the component
      CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = 'ZWDC_SALES_REPORT'  "Application name
        IMPORTING
          out_absolute_url = lv_url.    "String
       "This can be an internal alias
    Refer these links -
    To get Component name from Application -
    How to get Component name from Application
    Get the Calling WD component name -
    The name of calling WebDynpro
    Regards,
    Lekha.

Maybe you are looking for

  • Enhancements is not active and cannot be transported

    Hi All, We are getting following error message when releasing a Transport request in CRM system which is on 7.0 version on MaxDB. "Enhancements is not active and cannot be transported". The strange thing is that the Tasks underneath are all released

  • Closed Lid use with Internal Microphone

    Is it possible to configure the internal microphone so that I can use it when I'm running my MacBook Pro with the lid closed? I close the lid and attach the MacBook to a large external monitor and still want to use Skype.

  • Start itune is very slowly

    I update my itune then it does not work well. I want to start it which response very very long time. I uninstalled the itune and download it again in 18/9/2012. Installing is finish. it still respones slowly when i want to start it. my OS is windows

  • Sldieshow pforlem on Verizon hosted sites.

    Revisiting a problem not reviewed since 2006 I wondered if anyone has found a workaround for the slideshow problem on verizon hosted websites. With earlier versions of iWeb it was found that the slide show did not work because the iWeb software had a

  • AddChild and removeChild (AS 3)

    Hi If I load an external swf (located in the same dir as the one loading it) with addChild. It looks something like this var url:String = "patfinder_extra1.swf"; var urlReq:URLRequest = new URLRequest(url); ldr.load(urlReq); addChild(ldr); Now, I wan