Jump to content

Running a shortcut via autoit.


Gift3d
 Share

Recommended Posts

I've tried both the help in AutoIt, and the search function here, but oddly enough i got nothing.

I'm trying to run a shortcut.

Here's what my script looks like, it's pretty simple.

EDIT:: I need to run a shortcut, because i'm trying to run Mouse properties in the Control Panel. Putting in Control Panel/Mouse doesn't work, and i'm not sure how i'd get that to work either.

HotKeySet("{DEL}", "sixbit")

While 1
    Sleep(100)
WEnd


Func sixbit()
Run("C:\mouse.lnk", "")
EndFunc

I've tried the OpenFile just for kicks, no luck.

I've tried all different variations of run (C:/, C:\, mouse, Mouse, MOUSE.LNK, everything.)

Either if i can run this from [control panel/mouse] sort-of-way, or run a shortcut, either would be great.

Thanks!

Edited by Gift3d
Link to comment
Share on other sites

HotKeySet("{DEL}", "sixbit")
While 1
    Sleep(100)
WEnd
Func sixbit()
ShellExecute("C:\Mouse.lnk")
EndFunc

is this what you need?

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...