shortcut

Add mstsc to shortcut target powershell

谁都会走 提交于 2019-12-12 06:48:24
问题 A little background about what I'm trying to do and why. We are slowly migrating from using a local copy of office on our end users Win7 machines to publishing office through RDS 2012. With 2012 you can have the end users machine subscribe to a webfeed which puts the shortcuts to the actual RDP files in Appdata. In order to have our image pretty much mirror before RDS, I need to pin the shortcuts to the taskbar. If you pin the shortcut as it comes from the RDS Gateway server the icon on the

create shortcut for thrid-party app, is that possible?

≯℡__Kan透↙ 提交于 2019-12-12 03:45:54
问题 I use code below to create shortcut for my own app, and I wonder if I can create a shortcut for third-party app? If that's possible, Where could I get the icon(Parcelable)? Intent shortcut = new Intent("com.android.launcher.action.INSTALL_SHORTCUT"); shortcut.putExtra("duplicate", false); shortcut.putExtra(Intent.EXTRA_SHORTCUT_NAME, name); shortcut.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, icon); shortcut.putExtra(Intent.EXTRA_SHORTCUT_INTENT, new Intent().setComponent(new ComponentName

Website Bookmark/ Shortcut Icon for Android Help. Cant get passed standard ribbon icon

大兔子大兔子 提交于 2019-12-12 02:55:54
问题 I have a website with a mobile version and I am trying to get it so that when someone chooses to Bookmark the website or 'Add to home screen' it will save an Icon to the home screen. I have an Android Samsung Galaxy S3 and no matter what I try I cannot get it to use the icon instead of the standard ribbon with tiny preview in the middle. Currently..The below code will get it to display the standard ribbon with tiny preview of favicon image but will not display the entire icon: <link rel="icon

Creating a script that creates a shortcut and then restarts the computer

匆匆过客 提交于 2019-12-12 01:58:06
问题 I need help with my code. I am trying to make a script that does 2 things: First, it creates shortcut icon on the users desktop. Second, when the user double clicks the icon a box appears asking if they want to restart their computer giving them the option to click OK to restart to CANCEL to cancel the command. When entering the script into the command prompt it just executes the restart computer option. Any help would be greatly appreciated. Here is my script: Dim answer ' ********* Main

How to remove a shortcut file in c#

霸气de小男生 提交于 2019-12-11 23:37:27
问题 How to remove the program icon from the Programs folder? 回答1: To get the start menu location, use the SpecialFolder enumeration. Something like the following should get you started: string startMenuDir = Environment.GetFolderPath(Environment.SpecialFolder.StartMenu); string shortcut = Path.Combine(startMenuDir, @"The Company\MyShortcut.lnk"); if (File.Exists(shortcut)) File.Delete(shortcut); If you don't know the exact file name, you could enumerate over all the files in the start menu folder

Cannot get my python script to run on startup/from a shortcut on raspberry pi

六月ゝ 毕业季﹏ 提交于 2019-12-11 19:35:12
问题 So I have a python script with which I would like to do at least one of these two things: Have it automatically run on boot/log in Create a shortcut which runs the script I have tried every method I could find to do each of these, but it seems the problem is more or less the same each time. Initially it looks as if the program is running, indicated by a big surge in processor activity but this only lasts for a few seconds before the pi goes back to doing nothing. If a terminal opens it shows

Excel VBA + List all mapped network drives and network shortcuts/locations

和自甴很熟 提交于 2019-12-11 18:39:33
问题 I'm creating a dropdown list on open that populates the user's mapped network drives (drive letter) and any network locations (folder shortcut). Basically what you would see in the Network Locations section of My Computer/This PC. Using VBA I know you can sift through mapped drives using the filescripting object but I've been unsuccessful getting network locations. Trying the Wscript.Network object with the Object.enumNetworkDrives appeared to work fine at work yet doesn't appear to bring in

Shortcuts vs Launcher Widgets (Android)

与世无争的帅哥 提交于 2019-12-11 15:29:18
问题 We have enabled shortcuts for two of our app screen. Using manifest, we have initialized Activity which is referring to the shortcut as below. <activity android:name=".ui.shortcuts.ShortCut1" android:screenOrientation="portrait" android:icon="@drawable/shortcut1" android:label="@string/app_shortcut_name1" android:theme="@style/AppLightTheme"> <intent-filter> <category android:name="android.intent.category.DEFAULT" /> <action android:name="android.intent.action.CREATE_SHORTCUT" /> </intent

Java JTable shortcuts not working

僤鯓⒐⒋嵵緔 提交于 2019-12-11 15:11:40
问题 It's my first time using a JTable and I'm having a problem. I have been testing my JTable with a main method like this : public static void main(String[] args) { SwingUtilities.invokeLater(new Runnable() { public void run() { JFrame f = new JFrame(APP_TITLE); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); FileManager fileManager = new FileManager(); f.setContentPane(fileManager); f.setIconImage(Icons.SOFTWARE_ICON.getImage()); f.pack(); f.setLocationByPlatform(true); f.setMinimumSize(f

Wix: How can I point `C:\Windows\hh.exe` as the source of the icon for my CHM-file shortcut?

依然范特西╮ 提交于 2019-12-11 12:56:27
问题 I need to create the shortcut to my CHM-file. Its icon are to be gotten from the C:\Windows\hh.exe file. The Icon attribute requires an Id of component, but hh.exe is absent in my MSI because it always exists in the C:\Windows\ directory. Therefore it will not work: <Component Id="Help_default" Guid="{BE58A822-637E-4B58-B2AC-690BA9FDF833}"> <File Name="ProxyTools.chm" KeyPath="yes"> <Shortcut Id="ProxyTools.exe" Directory="ProgramMenuDir" Name="ProxyTools (English)" WorkingDirectory=