Search found 7 matches

by Fleco
10 Jan 2021, 12:53
Forum: Ask for Help (v1)
Topic: Adding a timestamp to a file's name Topic is solved
Replies: 6
Views: 300

Re: Adding a timestamp to a file's name Topic is solved

Hi, I found the solution in this forum, the next line recovers the focus on my app's windows.

Code: Select all

WinActivate, ahk_exe iwmain.exe
Only one comment, iwmain.exe is the name of my app in the Windows Task Manager processes list.
by Fleco
10 Jan 2021, 10:12
Forum: Ask for Help (v1)
Topic: Adding a timestamp to a file's name Topic is solved
Replies: 6
Views: 300

Re: Adding a timestamp to a file's name Topic is solved

Hi, one more question regarding this script How can avoid losing focus on the windows I am interested in? If during this sleep time Sleep, %time% ; Exposes for %time% miliseconds. someone open another app, let say notepad.exe, the next line Send {F3} ; Stop will not work on the windows I want to. I ...
by Fleco
09 Jan 2021, 22:49
Forum: Ask for Help (v1)
Topic: Adding a timestamp to a file's name Topic is solved
Replies: 6
Views: 300

Re: Adding a timestamp to a file's name Topic is solved

I modified my code taking into account your comments and, although it is still not very well written, it makes what I need. Thanks a lot! #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode...
by Fleco
09 Jan 2021, 20:18
Forum: Ask for Help (v1)
Topic: Adding a timestamp to a file's name Topic is solved
Replies: 6
Views: 300

Adding a timestamp to a file's name Topic is solved

Hi I am trying to use the following code to save files with a timestamp in its name, but I get a "This variable has not been assigned a value" error due to the line: file :="D:\RUN_"+%A_Index%+"_"+showTime(A_now) Thanks in advance! Cheers proc := "C:\InterWinner\BIN\InterWinner.exe", wTitle := "Inte...
by Fleco
31 Dec 2020, 12:50
Forum: Ask for Help (v1)
Topic: Just "press"Alt to activate a toolbar Topic is solved
Replies: 7
Views: 480

Re: Just "press"Alt to activate a toolbar Topic is solved

Thanks for your prompt answer! Yes, I wanted to activate the "Save as" menu option and your code makes that job perfectly. I was wonder how it changes if instead of Alt I need to press F1. Looking at the help for "Send" command you share with me I see that I must use Send {F1} in that case. So that,...
by Fleco
31 Dec 2020, 12:10
Forum: Ask for Help (v1)
Topic: Just "press"Alt to activate a toolbar Topic is solved
Replies: 7
Views: 480

Re: Just "press"Alt to activate a toolbar Topic is solved

Thanks so much for this piece of very well written code!
There is still something that I can not figure out.
When I must use Alt and when !?,
For instance, if instead of Alt I would press F1 or cursor down, what should I put instead of !?
Cheers
Dario
by Fleco
30 Dec 2020, 18:56
Forum: Ask for Help (v1)
Topic: Just "press"Alt to activate a toolbar Topic is solved
Replies: 7
Views: 480

Just "press"Alt to activate a toolbar Topic is solved

Hi, I would like to open the notepad and then press "Alt" to activate the toolbar. After that, I am going to send a couple of letters to choose to "Save as" and write a file name. However, I could not find how to simply "press" Alt using AutoHotkey script. Here is my code #n:: Run Notepad Send This ...

Go to advanced search