shortcut

Click-Once Alternative Icon Locations

Is there any features inside click-once to push multiple shortcuts? (Such as to desktop, Startup Menu, etc) In the past I've always done that as part of the form load event of my deployed application (installation triggers the application to launch--thus I can use form load to complete the setup process). I'm wondering however if that...

Creating Shortcut using VB script

Hi, I would like to create a shortcut on the desktop using VBScript code. I have a virtual Drive in my computer. (Virtual Drive is like G drive) I want this shortcut to explore that Drive directly. For this I find out that Shortcut with following string as a TargetPath would work for me: C:\WINDOWS\explorer.exe /n,::{20D04FE0-3AEA-1069...

Programatically get/set Mac OSX default system keyboard shortcut

I'm trying to find a way to programatically get/set the default OSX system keyboard shortcuts (hotkeys) found in the System Preferences -> Keyboard & Mouse -> Keyboard Shortcuts tab. I need to be able to do this in the background, so GUI scripting is not a solution. I'm unable to find a plist or anything where this info might be stored...

Can StyleCop automatically fix anything?

I've decided to start running StyleCop on a medium sized project and am getting over 1000 warnings. Is there a quick easy way to fix most of these warnings? Most of the warnings could easily have been automated to resolve and would save me a lot of time. ...

c# one liner for .ToString() across entire array

I feel stupid for asking, but there must be a one liner that does the equivalent or near equivalent of the code below in c#... so can you tell me what it is? public static string[] ToStringArray(int[] i) { if (i==null) return null; string[] result = new string[i.Length]; for (int n= 0; n< result.Length; n...

Eclipse keyboard shortcuts for compare/diff view?

When I am comparing two files in Eclipse (using, for example, "Compare With" --> "Local History"), what keyboard shortcuts are available? I would like to be able to go to the next/previous diff and copy the selected diff left without having to click the tiny little buttons. Thanks! ...

How to have a URL Icon in a Visual Studio Setup Project?

I have a winforms application which is deployed with a standard windows installer (MSI), created in visual studio. I would like to create a custom shortcut which launches a specific URL. The shortcut needs to have a custom icon associated with it too. All I can find is the ability to add a shortcut to an item in the project files (out...

How to create a shortcut to some page and forcing it to be opened with Internet Explorer (not default browser)

Easy. I have 2 gmails accounts and I want to open both at the same time. I have Firefox as the default browser and of course, Internet Explorer. So I want 2 desktop shorcuts to point to gmail. So if I made a shortcut to http://gmail.com, it will be opened with Firefox (because it's the default browser), so that's ok for one account. Bu...

How do you make an Android "Home" shortcut bypass the app it's point to's history?

I have an app that allows you to create Home "shortcuts" to a specific Activity. It turns out that some of my users will use the app, hit the home key to go do something else, then use one of the shortcuts to jump back to that Activity. Since the app is still in memory it just opens the new Activity on top of the others and the "Back" ke...

Python shortcuts

Python is filled with little neat shortcuts. For example: self.data = map(lambda x: list(x), data) and (although not so pretty) tuple(t[0] for t in self.result if t[0] != 'mysql' and t[0] != 'information_schema') among countless others. In the irc channel, they said "too many to know them all". I think we should list some here,...

How to remap "Context Menu" key in Mac OS X?

I have a Logitech keyboard (Ultra-Flat Keyboard Dark Shine to be exact), which has the context menu key in the middle of the windows and alt key, which is quite annoying. Here's a screenshot of where the key is: http://freshlog.com/grabs/ff532-How_do_I_remap_the_context_menu_key_in_Mac_OS_X I can remap the windows and alt keys under t...

how do i open my documents, my computer from c#

currently i have used guid to open mycomputer and my documents Process.Start("iexplore.exe", "::{20d04fe0-3aea-1069-a2d8-08002b30309d}"); Process.Start("iexplore.exe", "::{450d8fba-ad25-11d0-98a8-0800361b1103}"); but it opens ie then opens my computer and my documents ...

Visual Studio 2005 Setup Wizard - creating desktop shortcuts for all users

I'm using the setup wizard project to create an msi installer for a Windows Forms application. I've configured it to install a desktop shortcut, but unfortunately it only puts a shortcut on the desktop of user running the installer. Is there any way to configure it to put shortcuts on the desktops of all users? ...

Portable Way To Create Desktop Shortcuts for Your Web Site?

I'd like to be able to give our users an option to create a desktop shortcut to our web site. I've done some research and found a number of articles using ActiveX to access the Shell API for Windows to perform this activity, but I'm curious as to whether there is a way to do it that is built into the browser that I might be missing tha...

Closing Flash Player in Flash Shortcut

Is there a shortcut for closing Flash Player in Flash? It frustrates me to the death when I have to click every time ...

VS2008 Setup project

I have a VS2008 Setup project that installs my app nicely. I want to be able to specify the name of the shortcut it creates on the desktop. I have added an extra screen in the install where you can type the shortcut name. How do I get this typed text into the name of the Shortcut that gets created? ...

"Wrong" app gets pinned to taskbar (Windows 7)

I have an application that gets started via a shortcut. This application than starts a Java GUI application with CreateProcess(). When the Java application gets pinned to the taskbar the javaw.exe gets pinned to the taskbar instead of the "expected" shortcut. Only the native executable which launches Java can be modified - the shortcut ...

Shortcut/Link to another folder in TFS

We have a service written in one of our Team Projects. It's in "Project A". This service was modified to work not only for "Project A", but also for "Project B" which of course, is another Team Project. Now, if a dev sees it running, it will be with a name that would make them look in Team Project B... but of course, the code isn't th...

Why is the target disabled in dot net shortcuts after setup?

go to any dotnet application shortcut made by dotnet setup and click property, in the screen that's come up, why find target button is disabled?! this just happened to the shortcut produced by dotnet Setup, why? and how to enable it? ...

"Click to execute" in Mac OS X

I have a short script to start my application (it invokes java with some parameters). The application needs a grannny-proof launcher for Mac OS X. The application is not installed, it is not even copied to the host disk, it is instead delivered on USB sticks. When the user inserts the stick and opens it up, she should be able to click a...