Search found 299 matches
- 03 Jun 2017, 08:50
- Forum: Ask for Help (v1)
- Topic: Can someone create a script for me
- Replies: 13
- Views: 2364
Re: Can someone create a script for me
Since you bumped repeatedly, I try to help. 1) The script is perfect. I do have XButton1 and XButton2 on my mouse, and I tested the script by Rohwedder . Perfect. 2) Next step: Either I explain exactly what I did to test, or you explain exactly what you did to test. What do you prefer? Your reply i...
- 31 May 2017, 04:29
- Forum: Ask for Help (v1)
- Topic: access to Windows 10 settings
- Replies: 6
- Views: 3569
Re: access to Windows 10 settings
You are asking for two different things. but I'm looking for a script that could easily hide / unhide the taskbar #NoEnv #NoTrayIcon #SingleInstance force DetectHiddenWindows, Off ; Run this script then use WINDOWS KEY + Y to toggle the taskbar #y:: if toggle := !toggle { WinHide ahk_class Shell_Tra...
- 30 May 2017, 05:46
- Forum: Ask for Help (v1)
- Topic: ShutUp10 Automation
- Replies: 9
- Views: 6433
Re: ShutUp10 Automation
ShutUp10 is a GUI to the changes made primarily to the registry but also to 'services' and 'scheduled tasks'. It appears to be benign (i.e. I can't see any contra-indications or any 'phone home' functionality) but there's no reason for you not to (re-)create the changes made using AHK, thus staying...
- 23 May 2017, 18:59
- Forum: Ask for Help (v1)
- Topic: Help with COM/WMI Computer Info
- Replies: 9
- Views: 1961
Re: Help with COM/WMI Computer Info
^^^^Anyone know how I can dump all the fields (Manufacturer, model, name, etc.) without listing them out one by one. Example: ;http://msdn.microsoft.com/en-us/library/aa394068(VS.85).aspx PropertyList := "ProductName,Accesses,Attributes,Caption,Description,IdentifyingNumber," . "InstallDate,Install...
- 20 May 2017, 15:22
- Forum: Ask for Help (v1)
- Topic: Quick question regarding FileAppend
- Replies: 12
- Views: 1803
Re: Quick question regarding FileAppend
I now understand what I was doing wrong- I was using an apostrophe instead of a backtick-- i honestly didn't understand what I was doing wrong there. I would have picked up on this right away had IMEime expained my error to me instead of merely eluding to it - but I do thank him for his help anyway...
- 03 May 2017, 21:04
- Forum: Ask for Help (v1)
- Topic: pls help me with this...
- Replies: 5
- Views: 1412
Re: pls help me with this...
someone pls help me? i am using windows 7 Your first post said the location was a sub-key of HKEY_LOCAL_MACHINE . It's not in the LOCAL_MACHINE (system-wide) hive. Your second post got the correct hive, HKEY_CURRENT_USER , but indicated the setting was a string ( REG_SZ ). It's not, it's a DWORD va...
- 29 Apr 2017, 13:53
- Forum: Ask for Help (v1)
- Topic: AHK (PowerShell) - turn on System Protection
- Replies: 10
- Views: 2395
Re: AHK (PowerShell) - turn on System Protection
Oh. Does Run *runas %comspec% /k "%A_WinDir%\Sysnative\vssadmin.exe" resize shadowstorage /on=c: /for=c: /maxsize=5`% work? YES! It works perfectly! Thank you! I didn't understand the significance of adding Sysnative to the filepath for vssadmin.exe at first but a search showed this is used as a fi...
- 29 Apr 2017, 13:33
- Forum: Ask for Help (v1)
- Topic: AHK (PowerShell) - turn on System Protection
- Replies: 10
- Views: 2395
Re: AHK (PowerShell) - turn on System Protection
Run *runas %comspec% /k "%A_WinDir%\System32\vssadmin.exe" resize shadowstorage /on=c: /for=c: /maxsize=5`% works for me over here - if I run vssadmin list shadowstorage in the same command prompt, I get "Maximum Shadow Copy Storage space: 11.7 GB (5%)". Change the /k to a /c if you want cmd to clo...
- 29 Apr 2017, 12:29
- Forum: Ask for Help (v1)
- Topic: AHK (PowerShell) - turn on System Protection
- Replies: 10
- Views: 2395
Re: AHK (PowerShell) - turn on System Protection
[quote="qwerty12"This might work - at least my task manager seems to show a valid-looking command line:
[/quote]
Unfortunately, no... it wasn't successful.
Code: Select all
ToRun := A_WinDir . "\System32\vssadmin.exe resize shadowstorage /on=c: /for=c: /maxsize=10%"
Run % ToRun,, UseErrorLevel
Unfortunately, no... it wasn't successful.
- 29 Apr 2017, 11:54
- Forum: Ask for Help (v1)
- Topic: AHK (PowerShell) - turn on System Protection
- Replies: 10
- Views: 2395
Re: AHK (PowerShell) - turn on System Protection
Enable-ComputerRestore hits up WMI to enable System Protection for the given drive. You can do the same in AutoHotkey with just a single line and avoid the PowerShell overhead: ComObjGet("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:SystemRestore").Enable("C:\") Thank you... that work...
- 23 Apr 2017, 11:20
- Forum: Ask for Help (v1)
- Topic: AHK (PowerShell) - turn on System Protection
- Replies: 10
- Views: 2395
Re: AHK (PowerShell) - turn on System Protection
Escape the % with a backtick: psScript = ( Enable-ComputerRestore -drive "C:\" vssadmin resize shadowstorage /on=c: /for=c: /maxsize=10`% ) HTH My apologies, I should have mentioned that I had already tried escaping the % sign using a backtick, only to get a different error of "This parameter conta...
- 23 Apr 2017, 09:50
- Forum: Ask for Help (v1)
- Topic: AHK (PowerShell) - turn on System Protection
- Replies: 10
- Views: 2395
AHK (PowerShell) - turn on System Protection
There are times when PowerShell can do 'stuff' that AHK can't (or not easily) and I've successfully wrapped PowerShell code in AHK many times before. However, I've run into a problem which, on the face of it, should be very easy but I just can't understand why it's not working. Background: Windows 1...
- 02 Mar 2017, 04:04
- Forum: Ask for Help (v1)
- Topic: is exe file x64 or x86? Howto? Topic is solved
- Replies: 10
- Views: 4432
Re: is exe file x64 or x86? Howto? Topic is solved
Thank you Ovg for the explanation; thank you jNizM for the MSDN link and revised example... it was all very helpful.
- 01 Mar 2017, 19:32
- Forum: Ask for Help (v1)
- Topic: is exe file x64 or x86? Howto? Topic is solved
- Replies: 10
- Views: 4432
Re: is exe file x64 or x86? Howto? Topic is solved
Hmmm... I've just seen Ovg's last post and changed the DllCall in line 8 as follows: MsgBox % GetBinaryType("C:\Program Files\AutoHotkey\AutoHotkeyU64.exe") ; Shows as 32BIT MsgBox % GetBinaryType("C:\Program Files\Calibre2\calibre.exe") ; Shows as 32BIT MsgBox % GetBinaryType("C:\This\is a\fictitio...
- 01 Mar 2017, 19:22
- Forum: Ask for Help (v1)
- Topic: is exe file x64 or x86? Howto? Topic is solved
- Replies: 10
- Views: 4432
Re: is exe file x64 or x86? Howto? Topic is solved
I'm using AHK 1.1.24.4 in Windows 7 Pro x64 and I'm a bit confused. In the code below, both of the first two supposedly 64-bit exes show as 32-bit and I don't understand why. I thought at first that it was because I have the 32-bit Unicode version of AHK installed. To test this I installed the 64-bi...
- 06 Feb 2017, 14:09
- Forum: Ask for Help (v1)
- Topic: Need help to simplify the code Topic is solved
- Replies: 4
- Views: 1384
Re: Need help to simplify the code Topic is solved
mrdon - jNizM's code includes a reference to #Include ping4.ahk on line 7.
You can download ping4.ahk from the first post here: https://autohotkey.com/boards/viewtopic ... .ahk#p4652
Hope this helps...
You can download ping4.ahk from the first post here: https://autohotkey.com/boards/viewtopic ... .ahk#p4652
Hope this helps...
- 04 Feb 2017, 05:25
- Forum: Ask for Help (v1)
- Topic: I don't know anything but hope someone can help me get started Topic is solved
- Replies: 1
- Views: 528
Re: I don't know anything but hope someone can help me get started Topic is solved
1. Look at Clipboard and ClipboardAll in the docs. ( https://autohotkey.com/docs/misc/Clipboard.htm ) 2. Look at Peek Inside Windows Clipboard (Beginning AutoHotkey Tip) ( https://jacksautohotkeyblog.wordpress.com/2016/08/13/peek-inside-windows-clipboard-beginning-autohotkey-tip/ ) for info about us...
- 21 Jan 2017, 21:08
- Forum: Ask for Help (v1)
- Topic: How to automate pressing Q for 5 seconds then holding Z for 5 seconds
- Replies: 4
- Views: 764
Re: How to automate pressing Q for 5 seconds then holding Z for 5 seconds
Did you check the documentation at all? For example, Send (and the info further down the page for Repeating or Holding Down a Key)? Or did you expect to make no effort at all and have someone write the script for you?
- 05 Jan 2017, 14:20
- Forum: Ask for Help (v1)
- Topic: Run and Read Powershell from AHK
- Replies: 6
- Views: 3855
Re: Run and Read Powershell from AHK
Not like you are. I just tend to wrap PowerShell one-liners in AHK when there's no pure/easy AHK equivalent... and I do tend to hide the PowerShell console and pipe the results to a file.Guest wrote:So nobody is really using Powershell with AHK?
- 05 Jan 2017, 11:33
- Forum: Ask for Help (v1)
- Topic: SoundPlay doesn't work Topic is solved
- Replies: 7
- Views: 2633
Re: SoundPlay doesn't work Topic is solved
I got this script, but for some reason the SoundPlay command doesn't do anything F1:: Suspend,Toggle return F3::run C:\Users\Alessio\Desktop\disable.exe, C:\Users\Alessio\Desktop, SoundPlay, C:\Windows\Media\Windows - Error.wav return F4::run C:\Users\Alessio\Desktop\enable.exe, C:\Users\Alessio\De...