Search found 221 matches
- 28 Aug 2017, 05:48
- Forum: Ask for Help (v1)
- Topic: Opening folders
- Replies: 36
- Views: 5632
Re: Opening folders
Can you check the history of lines executed via the traymenu > Open? Hopefully you find something there.
- 28 Aug 2017, 03:20
- Forum: Ask for Help (v1)
- Topic: Need help with scripting.
- Replies: 5
- Views: 1346
Re: Need help with scripting.
I haven't worked with RegEx functions yet. Is this the script how it should be or do you need help with it?
- 25 Aug 2017, 09:09
- Forum: Ask for Help (v1)
- Topic: file Redirection (request)
- Replies: 18
- Views: 3351
Re: file Redirection (request)
I wrote it so it will only work in the Original folder. Don't know if you tested them both? However the way I wrote it is a bit clumsy because it expects the system to respond on a simulated Delete key stroke. But this way I hope to prevent deleting files which can't be retreived via the recycle bin...
- 25 Aug 2017, 02:19
- Forum: Ask for Help (v1)
- Topic: mouseposition and keyremaping
- Replies: 3
- Views: 724
Re: mouseposition and keyremaping
@obeeb
Is the use of #InputLevel prefered over forcing the keyboard hook with the $ prefix?
Is the use of #InputLevel prefered over forcing the keyboard hook with the $ prefix?
- 24 Aug 2017, 08:16
- Forum: Ask for Help (v1)
- Topic: Catch Event with Selenium
- Replies: 1
- Views: 591
Re: Catch Event with Selenium
The OnMessage(MsgNumber [, Function, MaxThreads]) function creates the message listener. Hope this helps your search.
- 24 Aug 2017, 07:50
- Forum: Ask for Help (v1)
- Topic: sum values in an array
- Replies: 1
- Views: 741
Re: sum values in an array
This could be it. Let me know, the program has no lines in the ListView on my pc so a value of 0KB is understandable. Hope it is a bit more dynamic on your system. I added the lines with the EditDT comment. SetBatchLines -1 ProcessPrivilege(DllCall("Kernel32.dll\GetCurrentProcessId"), "SeDebugPrivil...
- 24 Aug 2017, 07:24
- Forum: Ask for Help (v1)
- Topic: hi im a noob need some help here :)
- Replies: 9
- Views: 1734
Re: hi im a noob need some help here :)
There seems to be a lot more you want then just w::l. The loop you wrote, does it need to run indefinedly, when should it stop?
- 24 Aug 2017, 07:14
- Forum: Ask for Help (v1)
- Topic: About BlockInput and KeyHistory
- Replies: 2
- Views: 598
Re: About BlockInput and KeyHistory
With SetTimer you can check the time the user did nothig. This includes mouse movements. ; In the AutoexecuteSection: TimeToBeIdle := 60000 * 2 ; Set the requiered idle time to 2 minutes. SetTimer, CheckIdleTime, % TimeToBeIdle Return ; End of AutoexecuteSection CheckIdleTime: If (A_TimeIdle > TimeT...
- 24 Aug 2017, 06:26
- Forum: Ask for Help (v1)
- Topic: Remapping Up key does not work in Microsoft Onenote
- Replies: 2
- Views: 846
Re: Remapping Up key does not work in Microsoft Onenote
You can try to specify the up and down events of the key {Up} seperately: Up::RShift *RShift:: Send {Blind}{Up down} ; Send the button Up down-event. The button is now pressed untill a up event is send. SetTimer, AutoRepeatUpArrows, 400 return AutoRepeatUpArrows: While GetKeyState("RShift", "P") { S...
- 23 Aug 2017, 04:46
- Forum: Ask for Help (v1)
- Topic: Opening folders
- Replies: 36
- Views: 5632
Re: Opening folders
It sometimes occurs to me too with other Run commands. I worte a safety like "is it active > No > Activate > Is it active? > No Return, or Yes > continue."
If the problem returns you can try this.
Code: Select all
Run ...
WinWait, Documents, , 2
If !ErrorLevel
WinActivate, Documents
- 23 Aug 2017, 03:02
- Forum: Ask for Help (v1)
- Topic: Opening folders
- Replies: 36
- Views: 5632
Re: Opening folders
It does show the textbox on my pc. Is the window centered anyway? Also try this code, it will show the ErrorLevel evaluated by ‘If ErrorLevel’. ^!d:: { Run C:\Documents\ WinWaitActive, F,,1 Gosub, CheckErrorLevel Gosub, Center Return } Center: { WinGetPos, , , WinW, WinH, A WinMove, A, , A_ScreenWid...
- 23 Aug 2017, 02:48
- Forum: Ask for Help (v1)
- Topic: file Redirection (request)
- Replies: 18
- Views: 3351
Re: file Redirection (request)
Ill put everything in one script. OriginalFolder = D:\ebookscanner\17-7-21\teckthought\experiment\original ShortcutFolder = D:\ebookscanner\17-7-21\teckthought\experiment\shortcutsoriginal Return ; End of the autoexecute section. #IfWinActive, shortcutsoriginal ahk_exe Explorer.exe ^0:: ; Press Ctrl...
- 22 Aug 2017, 12:42
- Forum: Ask for Help (v1)
- Topic: file Redirection (request)
- Replies: 18
- Views: 3351
Re: file Redirection (request)
I changed the hotkey to Ctrl + 0 (its a zero now). This can be changed to anykey desired. Let me know if this works. #SingleInstance Force OriginalFolder = D:\ebookscanner\17-7-21\teckthought\experiment\original ;ShortcutFolder = D:\ebookscanner\17-7-21\teckthought\experiment\shortcutsoriginal ; Thi...
- 22 Aug 2017, 08:51
- Forum: Ask for Help (v1)
- Topic: file Redirection (request)
- Replies: 18
- Views: 3351
Re: file Redirection (request)
This is working on my machine now. Make sure the filepath after ‘OriginalFolder = ’ is correct and the name ShortcutOriginal after ‘#IfWinActive, ’ is correct, dont put the full path here. #SingleInstance Force OriginalFolder = C:\Experiment\Original ;ShortcutFolder = C:\Experiment\ShortcutOriginal ...
- 22 Aug 2017, 08:31
- Forum: Ask for Help (v1)
- Topic: file Redirection (request)
- Replies: 18
- Views: 3351
Re: file Redirection (request)
The filepath should then be entered in the script. This can always be extended with a browse function.
Ill start writing right away.
Ill start writing right away.
- 22 Aug 2017, 08:29
- Forum: Ask for Help (v1)
- Topic: Opening folders
- Replies: 36
- Views: 5632
Re: Opening folders
To reproduce the glitch you can change toe WinTitle form Documents to ‘Nonexisitingswindowsorsomethinglikethis’.
You last post will only return to the lines under the ‘GoSub, CheckErrorLevel’ command.
What you want is accomplished with just
You last post will only return to the lines under the ‘GoSub, CheckErrorLevel’ command.
What you want is accomplished with just
Code: Select all
WinWaitActive, , , 2
If ErrorLevel
Return
- 22 Aug 2017, 08:17
- Forum: Ask for Help (v1)
- Topic: Opening folders
- Replies: 36
- Views: 5632
Re: Opening folders
Like
?
Yes, that is possible.
Code: Select all
; ...
WinWaitActive, Documents, , 2 ; Wait 2 seconds for the window to activate.
GoSub, CheckErrorLevel
Return
CheckErrorLevel:
If ErrorLevel
{
; Something to do on error.
} Else {
; Something to do on succes.
}
Return
Yes, that is possible.
- 22 Aug 2017, 08:13
- Forum: Ask for Help (v1)
- Topic: file Redirection (request)
- Replies: 18
- Views: 3351
Re: file Redirection (request)
This, whithout the buttons is 15 min work.
- 22 Aug 2017, 08:12
- Forum: Ask for Help (v1)
- Topic: file Redirection (request)
- Replies: 18
- Views: 3351
Re: file Redirection (request)
The window you show is the most time consuming I think. https://www.imageupload.co.uk/images/2017/08/22/2017-08-2208_43_29-ProjectFiles.png Do you want to write it yourself or just have the code and see if it is what you want? I would start by making a hotkey that does this instead of using the doub...
- 22 Aug 2017, 07:43
- Forum: Ask for Help (v1)
- Topic: Opening folders
- Replies: 36
- Views: 5632
Re: Opening folders
You can use the timeout feature of WinWaitActive: WinWaitActive, Documents, , 2 This waits only 1 second to activate the window, when the window is still not active ErrorLevel is set to 1. Following the command with a ‘If ErrorLevel’ line allows to take action when something is wrong. WinWaitActive,...