Search found 9 matches

by spotticus
Nov 15th, ’19, 17:11
Forum: General Discussion
Topic: Bring window to front
Replies: 6
Views: 625

Re: Bring window to front

Hmmm.. it still is not bringing up the window:
Run, "C:\Program Files (x86)\Dentrix\Office.exe",,, OutputVarPID
WinWait, ahk_pid %OutputVarPID%
WinActivate, ahk_pid %OutputVarPID%
by spotticus
Nov 12th, ’19, 16:39
Forum: General Discussion
Topic: Bring window to front
Replies: 6
Views: 625

Re: Bring window to front

Sorry I'm a noob! Thanks!!
by spotticus
Nov 11th, ’19, 17:53
Forum: General Discussion
Topic: Bring window to front
Replies: 6
Views: 625

Re: Bring window to front

The shortcut I am using is the F6 function key. I am trying to have it open C:\Program Files (x86)\Dentrix\Office.exe - I tried to implement your code but I must be doing something wrong because it is giving me an error and won't even let me save it.
by spotticus
Nov 8th, ’19, 18:39
Forum: General Discussion
Topic: Bring window to front
Replies: 6
Views: 625

Bring window to front

I created a shortcut to open a program. It does cause the program to open, but it doesn't bring its window to the front. How do I make the shortcut open the program and bring it to the front (i.e. make it the active window)? Also, in general, how do you tell the computer to make a particular window ...
by spotticus
Oct 25th, ’19, 22:37
Forum: General Discussion
Topic: Conditional Open App
Replies: 8
Views: 783

Re: Conditional Open App

That worked!!! Thank you!!!!!!
by spotticus
Oct 23rd, ’19, 19:00
Forum: General Discussion
Topic: Conditional Open App
Replies: 8
Views: 783

Re: Conditional Open App

I am very sorry, but I don't understand what you mean.
by spotticus
Oct 18th, ’19, 21:57
Forum: General Discussion
Topic: Conditional Open App
Replies: 8
Views: 783

Re: Conditional Open App

That still creates a new instance of Outlook when I run it.
by spotticus
Oct 17th, ’19, 15:11
Forum: General Discussion
Topic: Conditional Open App
Replies: 8
Views: 783

Re: Conditional Open App

That works great. I tried to run the same script for Outlook (using F10):

If Not WinExist("ahk_exe outlook.exe")
Run, outlook.exe
Else
WinActivate, ahk_exe outlook.exe

BUT it still opens a new instance of Outlook everytime I hit F10. What did I do wrong?
by spotticus
Oct 15th, ’19, 18:44
Forum: General Discussion
Topic: Conditional Open App
Replies: 8
Views: 783

Conditional Open App

How do I make it so that if I hit F11 it will open Chrome, BUT if Chrome is already open it will just make it pop up and be the active window? Thanks!