shortcut

VB.NET call desktop application from 2 shortcuts - supply different parameters

I have a desktop application which reads files from a specified folder, then deposits the files to a folder in a third party document management system based on criteria that the user provides. My question is: is it possible to somehow provide different parameters to the code, depending on which shortcut of the application the user cli...

How do I create a shortcut (.lnk) with a relative target?

Hi, I have an executable on my disk-on-key in dir\program\prog.exe I'd like to have a shortcut to the executable on the DoK's root directory, that is, prog.lnk would refer to dir\program\prog.exe. However, it seems that prog.lnk can't have a relative target. This is a problem when the DoK will have different drive letters assigned to ...

How can I set dynamically created bitmap as livefolder icon in android?

How can I set dynamically created bitmap as livefolder icon in android? LiveFolder takes EXTRA_LIVE_FOLDER_ICON as ShortcutIconResource. Is there a way to reference dynamically created bitmap as shortcuticonresource? In the following code segment instead of using icon as int value I would like to set the file path for the newly created ...

General approach to reading lnk files

Several frameworks and languages seem to have lnk file parsers (C#, Java, Python, certainly countless others), to get to their targets, properties, etc. I'd like to know what is the general approach to reading lnk files, if I want to parse the lnk in another language that does not have said feature. Is there a Windows API for this? ...

Creating shortcut links (.lnk) from Java

I am writing an installer (launcher) in Java and require the ability to be able to create a shortcut on the users desktop during the process. I am interested in any ideas as the best way to do this. My one option I have considered is using a VB Script on windows and using the native 'shortcut.exe' to do it for me, however a third party...

How can I specify an icon with a RELATIVE path for a Linux desktop entry file?

For one of my Linux applications, I have the application binary, a launcher.sh script (for the LD_LIBRARY_PATH) and a .desktop file, all in the same folder. I'd like to use a relative path rather than an absolute path for the icon. I've tried: Icon=app.svg Icon=./app.svg Icon=$PWD/app.svg Icon=$(dirname %k)/app.svg but none of these...

Trying to UNINSTALL_SHORTCUT but shortcut won't go away

I created a test Activity that installs a shortcut of itself on the Android Home screen. When you click a button, the Activity is supposed to remove the same shortcut it just created. However, nothing I do seems to delete the shortcut. Here is the Java code (ShortcutTest.java): import java.net.URISyntaxException; import android.app.A...

Are there any shortcuts in L2S Projection with lots of mismatched fields?

Help! My fingers are falling off from typing so much. I have a lot of objects that have sane names to them. The Database names are not so sane, and i'm stuck defining my property names in all my projections. For example: from f in foo select new MyClass() {MyID = f.ID, MyName = f.f, MyTime = f.t} Etc.. now, multiply this by hundr...

How can I add my view to specific perspective?

Hi Everybody! I had implemented two plugins. One is for perspective and the other is for view. The class for the perspective MyPerspectiveFactory which id is my.MyPerspective. And my view plugin xml is the following. It means add my view short cut to the my perspective. <extension point="org.eclipse.ui.perspectiveExtensions"> <perspe...

WPF Richtextbox and keyboard shortcuts

Hello, I'm implementing a WPF application with a richtextbox for German users. They want to use their "normal" keyboard shortcuts to do some basic formatting: bold, italic, underline. In English, the shortcuts CTRL+B, CTRL+I, and CTRL+U are working in the Richtextbox. However the "normal" German shortcuts are CTRL+SHIFT+F (Fett = Bol...

Vim ex knowing number typed before

I'm making a shortcut that places a # at the front of each line, in the next x lines. x is a number I type before entering the shortcut, like typing 11dd deletes the next eleven lines. The command is .,+10 s/^/#/g. Here the number ten should really be whatever was typed before the shortcut. How do I make the shortcut change according to...

Write Git commit message in new Vim window, then commit all within Vim

I have these Vim mappings for Git. Most of the commands below work, but the last one, gm, doesn't work at all. I want to open a new Vim (preferrably with my git commit message template already loaded, as per the default terminal behavior), edit and save my message, then commit. Any ideas for another way to approach this? " git shortc...

InstallShield display uninstall user interface

I have an application that can be uninstalled via a shortcut, which executes msiexec.exe /x {ProductCode}. When I click the shortcut it launches the Execute phase of the uninstall, however, it skips the preceding phase where user interface dialogs are displayed. If I run from the MSI file directly to uninstall it displays these dialogs. ...

Shortcut to open Firefox instead of Internet Explorer

Hi All, We're presenting a site that we've done for a client and put this all on a flash drive. I have installed Firefox portable because I'd like for the site to open in Firefox. I've then created a shortcut which points to the index.html page on the flash drive but I would like for the shortcut to open the site in Firefox on that fla...

Swing: show accelerator in tooltip

How do I make a tooltip of a toolbar button (which is based on the same Action as a menu item) show the accelerator at the right? ...

What is the most useful Python Trick/Shortcut?

Possible Duplicate: Hidden features of Python What trick or shortcut is the most useful when you code in Python and why? Please post one item per post so that the readers can rate. ...

How to find forward reference in eclipse?

Is there any way by which I can find out all classes which implement a particular interface? For example, if I have a interface as follows: public interface myIntFac{} I want to find all classes inside current project that implement this interface. How can I find it out in Eclipse? ...

Automatically creating shortcuts on any Windows computer

I'd like to create some sort of script that will create a particular shortcut on the desktop of any Windows computer. The idea is to make the script available (to students in a course) so that they can download it to their computer and run it just by clicking it (i.e. not running it at the command-line). The script will have to check for...

CF - Shortcut in Programs folder on device

Hi. On my CAB project i have added a Programs folder and created a shortcut for it. Can i add a icon for the shortcut and how can i do it if so. thanx ! ...

Vim travel to pathfile determined in vimrc

How do I open a file specified in vimrc, with a key combination? ...