10 posts in this topic
I have a Razer Blackwidow Ultimate keyboard that has 5 extra keys marked M1 - M5. I was wondering if I would be able to setup Macros in AutoIt using these.
I saw that Fn key is not possible.
I am also aware that the M1 keys work with razor snyapse. However, I am at work and can't download that program.
If someone could let me know and point me in the right direction if it is possible I would be grateful.
How can you get the downloads folder in AutoIT?
As far as i know there isn't a macro for it right? like @Downloads or something?
The ugly solution would be typing in the whole path but what if the user has chosen another location?
Need to clear that folder regularly on my work and on different accounts..
I am using Autoit to automate another software. I am looking to create a piece of code which can select the option from a combo box. I know what option I want to select and I have stored it in a string but nothing seems to be working for me.
I am able to click on the Control by using this code.
ControlClick("Import/Export Table Name", "","[NAME:cmbTableName]"); This is what I was thinking but doesn't work for me.
ControlCommand("Import/Export Table Name", "", "[NAME:cmbTableName]", "SelectString", $MyOptionName)
If it helps: The option name that I want to select is also stored in clipboard.
Any comments on what am I missing here will be appreciated.
I wrote a macro for outlook to send an email.
Till yesterday it worked, don't know why it is not working today
I am getting below error when I ran the macro.
I'm writing a tool that will help my technician adding a user in the local admin group.
1- As the user, at first, is not part of the group, launching the .exe file ask for admin credentials. Thing is, whereas I'm using
RunWait(@ComSpec & ' /c ' & 'Net LocalGroup Administrators' & @username & ' /add' ,"") The @username macro is taking the admin user account in the variable instead of the current logged user one.
Do you know how can I face this and have the "real" username value returned?
2- do you guys think it's possible to give the admin access temporary? Maybe something to write in the reg? task scheduler? compare dates and execute a .exe? etc...?
Thanks in advance