Search found 1259 matches
- 13 Dec 2018, 12:51
- Forum: Ask for Help (v1)
- Topic: Automating Excel from a scheduled task when NOT logged into Windows?
- Replies: 3
- Views: 1487
Re: Automating Excel from a scheduled task when NOT logged into Windows?
Is this simply not possible?
- 06 Dec 2018, 22:33
- Forum: Ask for Help (v1)
- Topic: Automating Excel from a scheduled task when NOT logged into Windows?
- Replies: 3
- Views: 1487
Automating Excel from a scheduled task when NOT logged into Windows?
I seem to have encountered bit of a problem accomplishing a task my boss has asked of me... The task is to automatically merge Excel documents that are dropped into a specific folder, and place the resulting combined document into a different folder. The folder must be checked for new files every 5 ...
- 26 Apr 2018, 13:04
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 454990
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
For some reason, I cannot seem to use Chrome.GetPageByTitle("page title") . When I try, it always fails to retrieve the page. :( Here is a version of GeekDude's InjectJS.ahk example that I modified to show what I am trying. If I use Chrome.GetPage() instead (as originally written in the example), th...
- 09 Apr 2018, 17:05
- Forum: Ask for Help (v1)
- Topic: Possible to modify context menus for applications?
- Replies: 3
- Views: 1949
Re: Possible to modify context menus for applications?
Try this... Run the script, and then right-click inside a Window that normally has a context-menu. There will be a new item. Thank you for that script. It works perfectly in some applications like Windows File Explorer and Notepad. Unfortunately, it does not work in other applications like Microsof...
- 09 Apr 2018, 15:41
- Forum: Ask for Help (v1)
- Topic: Possible to modify context menus for applications?
- Replies: 3
- Views: 1949
Possible to modify context menus for applications?
Is it possible for AutoHotkey to modify the context menu within an application? Specifically, I am wanting to add an "AHK Macros" menu option to the context menu in several different applications such as Microsoft Word, Lotus Notes, the various web browsers, etcetera that contains a list of scripts ...
- 23 Mar 2018, 00:21
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 454990
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
In the "pastebin.ahk" example that GeekDude was nice enough to include in the release package, the Tab.Call("DOM.setAttributeValue", {"nodeId": NameNode.NodeId, "name": "value", "value": "ChromeBot"}) line assigns a value to an input field. How would I go about retrieving the value after it was ass...
- 22 Mar 2018, 13:15
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 454990
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
If you have a chrome instance already running in debug mode, you can skip the initialization of the Chrome class and just call Chrome.GetTab() directly. For example: #Include Chrome.ahk TabInst := Chrome.GetTab() TabInst.Evaluate("alert('hi!');") What is the replacement for this process with v1.1? ...
- 19 Mar 2018, 15:01
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 454990
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Is there any reason everytime chrome opens, it shows something about windows defender wanting to reset my chrome preferences and adobe and google drive keep wanting to install? this is weird. :shock: This sounds like a problem with either your Chrome profile or with an extension/plugin you have ins...
- 19 Mar 2018, 12:42
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 454990
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Is there any reason everytime chrome opens, it shows something about windows defender wanting to reset my chrome preferences and adobe and google drive keep wanting to install? this is weird. :shock: This sounds like a problem with either your Chrome profile or with an extension/plugin you have ins...
- 19 Mar 2018, 12:37
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 454990
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Okay, I created a function which should help some people (noobs). It leverages GeekDude's Chrome class. You can get the function here And this is a video walking through how to use it. It isn't great, but will help some people get their feet wet. :D https://www.youtube.com/watch?v=vm8QYdm_PE8 This ...
- 16 Mar 2018, 18:23
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 454990
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
In the "pastebin.ahk" example that GeekDude was nice enough to include in the release package, the Tab.Call("DOM.setAttributeValue", {"nodeId": NameNode.NodeId, "name": "value", "value": "ChromeBot"}) line assigns a value to an input field. How would I go about retrieving the value after it was ass...
- 08 Mar 2018, 19:41
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 454990
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
In the "pastebin.ahk" example that GeekDude was nice enough to include in the release package, the Tab.Call("DOM.setAttributeValue", {"nodeId": NameNode.NodeId, "name": "value", "value": "ChromeBot"}) line assigns a value to an input field. How would I go about retrieving the value after it was assi...
- 11 May 2017, 08:50
- Forum: Ask for Help (v1)
- Topic: Key to play sound while pressed
- Replies: 3
- Views: 1962
Re: Key to play sound while pressed
Hello @Shadowpheonix can I use only to notify on cntl key when pressed? I tried, but it just work on combination with ! or ^ or +, but they alone it does not work. e.g; ^d:: is ok but ^:: alone does't work and give the sound!, it considered that as the letter '^' instead of cntl (because I had a pr...
- 04 Nov 2016, 09:33
- Forum: Ask for Help (v1)
- Topic: General Question: Thread, No Timers Topic is solved
- Replies: 2
- Views: 1249
Re: General Question: Thread, No Timers Topic is solved
This is easy enough to test. Here's some quick code I created to do so... SetTimer, Test1, 1000 Return f12:: Thread, NoTimers Sleep 4000 ; Gives you time to confirm the original timer has stopped triggering. SetTimer, Test2, -1 Sleep 4000 ; Gives you time to confirm the new timer did NOT trigger. Th...
- 31 Oct 2016, 17:49
- Forum: Ask for Help (v1)
- Topic: How can I check the state, did not press any key
- Replies: 2
- Views: 1266
Re: How can I check the state, did not press any key
A_TimeIdlePhysical may be the answer you are looking for. Something like this (untested)... #InstallKeybdHook ; Put this line in the Auto-execute section of your script. F1:: loop,{ if(A_TimeIdlePhysical > 100){ BlockInput, on ;it's to block interrupt during next send command, for a while send,a Bl...
- 27 Oct 2016, 12:46
- Forum: Ask for Help (v1)
- Topic: [REQUEST] SplashTextOn/Off if script use
- Replies: 3
- Views: 1938
Re: [REQUEST] SplashTextOn/Off if script use
Something like this is probably your best option...
Code: Select all
F1::
Gosub SplashToggle
Sleep 10000
Gosub SplashToggle
Return
SplashToggle:
SplashOn := !SplashOn
If SplashOn
SplashTextOn, 200, 25, , Script is running!
Else
SplashTextOff
Return
- 26 Oct 2016, 13:35
- Forum: Ask for Help (v1)
- Topic: Need Basic help
- Replies: 2
- Views: 1414
Re: Need Basic help
Here's what I use (I need to strip formatting when pasting into several different applications, not just Microsoft Word)... ^+v:: ; Press Ctrl+Shift+V to paste unformatted text into any application. OldClip := ClipboardAll ; Stores the original clipboard contents (with formatting). Clipboard = %Clip...
- 25 Oct 2016, 09:46
- Forum: Ask for Help (v1)
- Topic: Script sometimes doesn't work
- Replies: 1
- Views: 1561
Re: Script sometimes doesn't work
The behavior you are describing is usually the result of problems in the code (such as a missing Return, or a typo somewhere, etcetera). If the code you posted is your entire script, then I see no reason for you to be having this type of trouble - however, since the code you posted does not mention ...
- 24 Oct 2016, 17:45
- Forum: Ask for Help (v1)
- Topic: Why are clipboard functions so unreliable in AHK?
- Replies: 4
- Views: 1862
Re: Why are clipboard functions so unreliable in AHK?
Make sure you are giving your computer time to actually copy or paste. For example... f12:: WinGetTitle, CurrentWindow Send ^c WinActivate, Ahk_exe Notepad.exe Send ^v WinActivate, %CurrentWindow% Return With the above code, pressing F12 will often result in something like the following sequence on ...
- 24 Oct 2016, 12:26
- Forum: Ask for Help (v1)
- Topic: Ignore alt press
- Replies: 1
- Views: 955
Re: Ignore alt press
Try this...
Code: Select all
!a::Send {Left Down}
!a Up::Send {Left Up}