Announcement

Collapse
No announcement yet.

How to Shell.CreateShortcut on start menu?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Shell.CreateShortcut on start menu?

    How to Shell.CreateShortcut on start menu?

  • #2
    I understand that this is not possible? with AMS8.5.

    Comment


    • #3
      Maybe you should read some documentation, it is very well possible within the powers of AMS... I just think admin privileges are required to be able to do this
      Code:
      local dir = Shell.GetFolder(SHF_STARTMENUPROGRAMS);
      if(dir ~= "")then
      	local target = dir.."\\".."MyProgramName\\";
      	if(not Folder.DoesExist(target))then
      		Folder.Create(target);
      	end
      	
      	Shell.CreateShortcut(target, "Start MyProgram", _SourceFolder.."\\autorun.exe");
      end
      Bas Groothedde
      Imagine Programming :: Blog

      AMS8 Plugins
      IMXLH Compiler

      Comment


      • #4
        Problem with shortcuts is that windows 8 has 3 places to pin/place a short cut
        Plugins or Sources MokoX
        BunnyHop Here

        Comment


        • #5
          Originally posted by kingzooly View Post
          Problem with shortcuts is that windows 8 has 3 places to pin/place a short cut
          He asked specifically for the start menu, Windows 8 does not have a start menu, but simply that weird block interface Also, when IMXLH installs on Windows 8, the shortcut is properly added and visible in the metro interface.
          Bas Groothedde
          Imagine Programming :: Blog

          AMS8 Plugins
          IMXLH Compiler

          Comment


          • #6
            Originally posted by Imagine Programming View Post
            He asked specifically for the start menu, Windows 8 does not have a start menu, but simply that weird block interface Also, when IMXLH installs on Windows 8, the shortcut is properly added and visible in the metro interface.
            Ya I don't understand Windows 8's shortcut stuff lol the start menu folders and stuff are still in place and same with the reg so I not sure if the overlay piggy backs off that or not
            Plugins or Sources MokoX
            BunnyHop Here

            Comment

            Working...
            X