Creating file shortcuts / aliases like installer

The AIR installer creates shortcuts to the app in the Start
menu and optionally on the Desktop on Windows... our app needs this
same functionality to create shortcuts (Win) or aliases (Mac) and
set the parameters for the shortcut/alias. Ideally there would be a
platform-independent API for this....? Could you expose the code or
API used by the AIR installer for this purpose? Or pointers to
existing code written to do this?
Thanks,
K.

That's completely missing the point of his question! He knows
there's no way to write a shortcut/alias and asked whether you
could expose the code which does it. Or point to examples of how to
do it.
This is a HUUGE shortcoming of AIR!!!
The AIR Installer manages to write a shortcut/alias to the
desktop so why doesnt the API offer this?
I've got the opposite problem, trying to read an alias. We
get File::isSymbolicLink but how many "average" users knowingly
create symbolic links? Their filesystems are far more likely to be
littered with alias/shortcuts, which is a complete headache when
displaying a custom directory tree (only certain filetypes
visible).

Similar Messages

  • Can we create a shortcut key like ctr1+1 to cal a new form from the existin

    can we create a shortcut key like ctr1+1 to cal a new form from the existing form,i created using alt key by alloting a letter in access key of a button so it worked with alt button(alt+1) ,but i want a shortcut key which works with control button, i mean the shortcut key must be like ctrl+1 or ctrl+anyletter. On pressing ctrl+1 BUTTON or CTRL+ANY LETTER A NEW FORM must be called from the existing form.so please guide me how this can be achieved..
    i AM USING FORMS 5i

    EdStevens Wrote:
    And what is wrong with using a remote connection?
    Ideally I would like to implement it in an API tool that would create Oracle Databases for an API with specific prescriptions once give DBName and Password .
    Thus I think for an API tool to create remote shell connection maybe is an anti-pattern from Software Architecture
    e.g. I already red from Microsoft Doc that PSEXEC is sometime blocked from antiviruses
    But it was just a question, I may not do it, as informed, that companies having Oracle DB, usually have an Oracle DBA, and an Oracle DBA some times may not let anyone touch the Databases on the Server. Also Oracle DB Server might be on different Operating Systems while the API tool will always be Windows
    The method you use will necessarily be somewhat dependent on the OS of the server.  If Windows, what's wrong with using Windows Remote Desktop?  If *nix, as explained in your several other threads swirling around this question, use a putty session to connect ... then, if needed for a GUI utility like dbca, runInstaller, etc, just set up an x-server on your local machine and enable x-11 port forwarding in your putty session.
    You really are trying to make all of this much more difficult than it need be.
    Hmm... so in Windows a remote seems the only solution, except the one RichardHarisson proposed if you already have a Database set up. For Unix I can promote the port forwarding method you recomended. Thank you.
    Sorry I just finished my University and make my 1st internship on the Oracle DB Layer of Applications in Western Europe.
    P.S.
    There is no such a need but I would find it a personal good exercise in understanind these connections-administration issues under different OS to try create an API tool that creates DB on other PC of different OS once you chosen the OS of the Server.
    + I promess not to follow it with a flood of threads agains : P I already became better in finding what I need through docs, lol

  • How to create a WAR File for an IDM installation?

    I have a IDM 7.1.1 test instance installed on a server which uses a local mySQL.
    Is there a way I can create war file of the IDM installation? I would like to migrate the IDM to another server.
    I know how to create a IDM war through Netbean; this particulart instance is not hooked to NetBeans.

    i think it should be jar -cf /path/to/warfile/idm.war *Edited by: Amit_Bansal on Sep 30, 2008 9:49 AM

  • I would like to know how do you create a shortcut for a webpage for your desktop?

    I would like to how if possible, how do you put a "shortcut" on your desktop when using Firefox?
    Thank you for your time.

    ''how do you create a shortcut for a webpage for your desktop?:''
    Drag the favicon at the left side of the location bar to the desktop
    Reference: (you can also do from bookmarks)
    * https://support.mozilla.com/kb/Creating+a+desktop+shortcut+to+a+web+page

  • Creating a Shortcut on a Mac Desktop

    Hi everyone. I'm sure this has a very simple answer, but me being a newbie to using a
    Mac computer, I need some help.  I've set up a server for my home network with a
    Static IP of 192.168.2.10 .
    It was simple to create shortcuts for my computer and my sister's, because I've used
    Microsoft since it was DOS, and my sister's is Windows XP.  I simply created a shortcut
    and then typed in the network address, it being "\\192.168.2.10\Music" in Windows.
    But my mom has a Mac, and I need to create an alias (I think it's called) that would lead
    to the server from it.  I've searched all through the internet, and all I can find is something
    to the effect of this:
    1. Launch your Finder and look for the program that you want to create the alias for.
    2. Highlight this file and select "Make Alias".
    3. Drag the Alias to the desktop.
    My problem is that there is not an icon displayed that links to the server.
    Is there some kind of Properties box where I can manually enter the network path?

    Hi,
    First off, putting stuff (links/aliases, files, folders) on a Mac Desktop is not good practice, because it leads to some extra work on the CPU, since the Desktop is a folder like others, OS X will index all its content every time your Mom starts her Mac.
    This said, the best way to make an alias easy to use is to place it in the Dock via drag-n-drop, not on the Desktop. If placed in the Dock, your alias will always be within reach. All you have to do is locate the server folder you want to share in the Finder, and drag it to rightmost part of the Dock, where there are already some folders such as Applications, Documents, Downloads, etc...
    Alternately, you can also create a new Shared item in the left pane of your main Finder window. In the Finder preferences, you can also choose to show all connected servers on the Desktop, which can come in handy too.
    You may have to restart the Finder (or reboot the Mac, or just log out and back in) for the latter to take effect.
    Oh, I almost forgot: you can also copy and paste the folder in question in the Desktop folder (left pane in the Finder main window), and it'll appear on the Desktop itself.

  • Cant create Application for Reflections - Windows installer

    i am trying to make a application for WRQ Reflections.
    I have done the administrator install etc for reflections.
    It has created me a MST file. (Test.MST)
    It also has created a ini file which sets how the install is done. (Test.ini)
    the INI contains.
    [Settings]
    Description=
    Type=I
    Reboot=2
    Language=
    Logging=/l*v+ %tmp%msiwrq.txt
    Display=/qb
    Properties=
    [MSI1]
    path=Z:APPS\Reflections12\ud12oilc.msi
    SourcePath=
    Transform=Test.MST
    The reflections admin tool also created a shortcut which properties are
    z:\APPS\Reflection12\WRQdeploy.exe z:\APPS\Reflection12\test.ini
    Which when runs installs reflections with the MST file
    If I go to CMD and typ WRQdeploy.exe test.ini it also installs properly
    If I create a file called install.cmd and put WRQdeploy.exe test.ini
    i can run the file and it installs
    My question is how do I turn that into an APP
    when I just create a manual app and select the Path to executable file: to
    z:\APPS\Reflection12\install.cmd
    When I run the app from my NAL it launches the cmd prompt and the Windows Installer box comes up and the install never starts.
    ive tried creating a MSI app object and selecting the MSI as the package and then in path to executable I put z:\APPS\Reflection12\setup.exe and under common - Transform I point it to Test.MST
    How can I Deploy this app?
    Thanks

    Bparton,
    > WRQdeploy.exe test.ini
    >
    Then just create a simple app object that runs WRQdeploy.exe and put
    test.ini under parameters. Make sure you have the correct working
    directory.
    - Anders Gustafsson (Sysop)
    The Aaland Islands (N60 E20)
    Novell has a new enhancement request system,
    or what is now known as the requirement portal.
    If customers would like to give input in the upcoming
    releases of Novell products then they should go to
    http://www.novell.com/rms

  • UCCX 8 - Dramatic change in the Create File Document step that is used by the Create XML Document step in order to read an XML file

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    For the last 5 years (and in IPCC3.x/4.x,UCCX/5.x/7.x) I've used the same basic subflow to read a XML document that contains holiday dates where the queue should be closed.  I've re-used this script on 20+ client installs and it's always worked.  The structure of the script allows you to pass the path and filename of the XML document as parameters to the subflow. (The document is in the repository)
    I loaded this script in UCCX 8.0.2 recently and it crashed with a Java.IO error.  It looked like it was trying to read the file system directly and not the repository. (In the Linux appliance model this kind of makes sense but why is the step trying to read the file system directly?)
    So I open a TAC case (SR# 615243125) and TAC tells me that the method of using the Create File Document step is not supported anymore and that I should specify the filename directly in the Create XML Document step
    The problem that I see (aside from having to edit all my scripts that use XML files) is that the Create XML Document step is looking for the input to be a type DOCUMENT and not a type STRING.  This seems to imply that I have to hardcode the document in each script that I deploy for a customer.  When it was a string it was easy to construct the full file path from parameters and pass to the subflow.
    Questions to the group
    #1 Am I missing something here?
    #2  Do you assume that you'll be able to load a script that worked fine in UCCX 7 into UCCX 8 and that it should completely function when you're doing everything according to the step reference documentation.
    #3 Cisco didn’t document this in any way that I can find.
    #4 How can you use the Create XML Document step in a fashion that would let you construct the path of the file and the filename previously in the script so you could pass it to a subflow ?  It would seem this functionality has been killed in UCCX 8
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    (Background)
    Create File Document Step
    The input filename is a STRING, could be an explicit path and filename in the repository or a variable that represents that path and string
    The output of this step is a DOCUMENT to be used in the Create XML Document step
    The string FILE_FullPathHolidayFiles references  en_us\folderName\documentName.xml
    The document was properly uploaded into the repository only, NOT trying to directly read c:\foo\blah…
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    The create XML document input can only be a type DOCUMENT

    #1 Am I missing something here?
    You are mixing two different issues together here.
    The Create File Document step is indeed not needed or supported for creating an XML document. That is why there is a unique step; to trigger XML parsing within the MIVR subsystem.
    Accessing the file system is restricted to a single folder within the VOS model (i.e. 8.0+). This folder is not backed up, replicated, or cleaned up automatically. It was intended to give developers some FS access as a temporary swap location only.
    #2  Do you assume that you'll be able to load a script that
    worked fine in UCCX 7 into UCCX 8 and that it should completely
    function when you're doing everything according to the step reference
    documentation.
    Assume nothing; read the documentation and attend one of the dozens of partner training sessions that CCBU put on advising of the upcoming changes.
    #3 Cisco didn’t document this in any way that I can find.
    You're right, I guess, on the Create File vs. XML Document step. AFAIK Cisco never wrote a notice into the Step Reference Guide explicitly stating that you cannot use the Create File Document although the documentation seemed pretty clear to me without it. File system restrictions are documented in the 8.0 release notes.
    Scripting and Development Series: Volume 2, Editor Step ReferenceUse the Create XML Document step to create a logical document that maps a document to another document variable (where the document has already been pre-parsed as an XML document and is ready to be accessed by the Get XML Document Data step).Use this step before the Get XML Document Data step to obtain data from a document formatted using the Extensible Markup Language (XML).
    #4 How can you use the Create XML Document step in a fashion that would
    let you construct the path of the file and the filename previously in
    the script so you could pass it to a subflow ?  It would seem this functionality has been killed in UCCX 8
    No it hasn't; just concatinate a string to build the Source Document parameter the step needs. Example:  "DOC[" + myFilePath + "]"

  • Run java program in task bar and create a shortcut

    Hi all,
    Do you have any idea about how to run a Java task in taskbar on windows. I am writing a application in Java and it needs to monitor mouse movements. I need to collect the file paths it selects and then drag and drop on Shortcut Icon on Desktop which finally triggers the actual GUI application written in Java where again these files are fed as input. If you have any Idea or suggessions about how to do this.
    Thanks,
    Regards,
    Ravikiran

    Ok..
    To create a shortcut on your desktop w2k/xp:
    1. right click on desktop, select new: Shortcut
    2. in "Type location of item" type:
       "javaw -classpath C:\ebjava\ DragTest"
       (Replace c:\ebjava\ with location of your Java app and DragTest with name of your app)
    3. Click next, and enter a name for your shortcut and click finishFor your Java app.. do something like this.
    import javax.swing.*;
    public class DragTest extends JFrame {
       JTextArea area;
       public DragTest () { 
          area = new JTextArea();
          getContentPane().add(area, "Center");
          setBounds(0, 0, 400, 400);
          setDefaultCloseOperation(EXIT_ON_CLOSE);
       public void append(String s) {
          area.append(s);
       public static void main(String[] args) {
          DragTest test  = new DragTest(); 
          test.setVisible(true);
          if(args.length > 0) {
             for(int i = 0; i < args.length; i++) {
                test.append(args);
    test.append("\n");
    else {
    test.append("No args were supplied");
    When you drag files, or other shortcuts onto your shortcut the app will start and the full file name (including full path) will show up as a string argument. This is the best you're going to get.
    Hope this helps.
    Eric

  • Procedure  to create file system in AIX  or HP-UX

    hi gurus
    i have to install SAP BI on one HP-UX server. unfortunately the OS admin is not available and i have to cretae file systems too.
    can any one tell me how  to create file systems in HP-UX which are required for SAP installation on Oracle. i know the all the directories required for the installation but i just wonder is it like just create directory like
    /usr/sap/<SID>  and  mount on to any logical volume.  or the procedure is different from what i am thinking
    please help

    thanks kishore.
    such a genious . grt.

  • Can I create a shortcut for Notes in my Dock?

    I love the Apple Notes App on my iPhone because it has the ability to sync seamlessly with my MacBook Pro.
    I prefer to use the Apple Notes App cause they sync seamlessly for me between devices (I don't want to use another program like Sticky Notes or such.)
    I was wondering if it is possible to create a shortcut on my Dock (or desktop or keyboard shortcut to launch?) to these notes directly so I don't have to keep opening up the Apple Mail Client (Which I do not use)? 
    Thanks!

    Hi!  I don't seem to have a Notes application in my Applications folder.  Is there a way to search my computer for it?
    I also looked in the Package Contents of my Mail Application but I couldn't figure out if one of those would work to drag into my Dock (They all seem to be image files)

  • Creating Directory Shortcuts

    I need to create directory shortcuts as part of as CFM
    business management application that I am working on. Can this be
    done with ColdFusion? It doesn't look like CFFILE has an option for
    this.
    Thanks.

    > I need to create directory shortcuts as part of as CFM
    business management
    > application that I am working on. Can this be done with
    ColdFusion? It doesn't
    > look like CFFILE has an option for this.
    A shortcut is just a file. So provided you can track down
    what the file
    format for it is, you can write one with <cffile>.
    Although why do you want to create directory shortcuts on
    your CF server,
    though? Seems quite a strange thing to want to do.
    Adam

  • Error: "Unable to create a shortcut for MyApp" on Windows 2008

    When I try to install my JAVA app on windows 2008 via Java Web Start, it pop up a error message "Unable to create a shortcut for MyApp". The app can startup and work correctly after clicking "ok" on error message. BUT, there is no shortcut created on Desktop or Start Menu.
    This problem occured on Windows 2008 ONLY. I have test the installation process on different OS with JRE 6u14 and 6u20:
    Windows XP PASS
    Windows 7 PASS
    Windows 2003 PASS
    Windows 2008 FAIL, can't create shortcut on Desktop and Start Menu
    And I have test the demos on http://pscode.org/jws/api.html, the problem is same.
    Does any one has any idea on this?

    AndrewThompson64 wrote:
    - Menu items do not work on Ubuntu Linux at all.
    - As a result of that, I am thinking to declare neither desktop shortcuts nor menu items in the JNLP file, but instead using the IntegrationService(1) to perform more specific tests, and offer the end user whatever is available.
    - This is probably a better strategy overall, because if you automatically create desk-top shortcuts (or menu items) for the user, you will discover there is always someone who considers them an unnecessary bother.
    1) BTW - I have been meaning to do a demo. of the IntegrationService and add it to the other examples at PSCode, but have not yet found the time. ;-)Thanks for reply.
    But I don't understand very clear. I'm focus on the windows platform not Linux. Do you suggest to create shortcuts and menu items manually by coding in Applet?
    I prefer to use the JNLP file cause it works good on the other OS than to change my code.
    What I want to know is:
    1. Is it a bug for JRE on Windows 2008?
    2. If NO, how can I make it work on Windows 2008? Do I need change some System Setting or Browser Setting?
    3. If YES, maybe I can try to change my code, but why there is no bug filed in the Bug Database?
    BTW, I use the IE browser.

  • Option to not create a shortcut when installing an AIR application

    Hello Adobe AIR community,
    Does anyone know if there is an option to not create a shortcut for an AIR application?
    Currently, all I have found is an option to choose the location of the shortcut from within the start menu (in the application descriptor file, using the programMenuFolder option).
    Thanks,
    Mauricio

    I figured it out.  The AIR installer was stripping out my query parameters.  I made the URL use slashes for the parameters with a rewrite instead of ? and & it worked.

  • Create a shortcut in Java

    I need to make a shortcut for a MS-DOS program(bat file) and put it on the desktop. How to do it in Java? Is it possible?

    I take it this is to be used on the Windows platform.
    One solution is to use the shortcut.exe from the Windows Resource Kit - it is fairly easy to find the tool using http://www.google.com/. This utility enables you to create a lnk-file for the desktop.
    Next you make a batch file like this - my own install.bat only works on Win NT / 2K (but this you can refine for Win 9x):
    @Echo off
    shortcut -f -s -t MyProg.exe -d . -n "My Program" -i myicon.ico -l
    if exist "%USERPROFILE%\Desktop" copy "My Program.lnk" "%USERPROFILE%\Desktop"The batch file creates a shortcut and copies it to the desktop on a Windows NT / 2K machine.
    Finally you start up the batch file from within you java program:
    // For Win NT / 2K use:
    Runtime.getRuntime().exec("cmd /C install.bat");
    // For Win 9x use:
    Runtime.getRuntime().exec("command /C install.bat");Hope this helps you.

  • Finder creating unwanted shortcuts

    Whenever I try to move a file from Finder to Desktop, it creates a shortcut for it, even though I just need to move the document.  I have tried going through the preferences, but nothing's working.  I would like to know how I can prevent Finder from always creating a shortcut for something that I try to move.

    From where are you moving? By default, it now creates an Alias when you try to drag out of the Applications folder.
    Other than that, I don't know when it would create an alias. If you don't have write permissions on the source folder, you will only be able to copy the file.
    You can alter the Move/Copy behavior by holding down cmd when you drop. Cmd+option makes an Alias.

Maybe you are looking for