Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

[WIN8] Custom Tile

$
0
0
Hi all
I'm searching a way to add a custom tile to my application. I have found several software but i don't want to make an editor, just use it for mine app

For who don't now what i mean:
Posted Image

Ok, let's start what i have understood
1) They create in a folder ( whaterver ) this:
Main Folder ( 00000000 or whatever )
3) Inside there is a "Image" Folder ( with 2 .PNGs 200x200 - 30x30 )
4) A vbs script for launch the app ( can be replaced with a real autoit .exe but is the same )
Set WshShell = CreateObject("Shell.Application")
Set FSO = CreateObject("Scripting.FileSystemObject")
On Error Resume Next
strFile = "C:\Windows\notepad.exe"
WshShell.ShellExecute "C:\Windows\notepad.exe"

4) a file named resources.pri <-- This is the secret? MSDN
I don't know if we can create this file in autoit, but we can edit it?

At the end, we have in this folder:
C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs

A shortcut .lnk to the .vbs
This shortcut has the icon of a powershell script, i don't know why because the destination file is a .vbs

Someone can help me to resolve this?
Thanks

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>