AutoHotkey Community

It is currently May 24th, 2012, 7:49 am

All times are UTC [ DST ]


Search found 42 matches
Search these results:

Author Message

 Forum: Support   Topic: using wildcard in path

Posted: October 14th, 2011, 7:00 pm 

Replies: 4
Views: 111


[quote="sinkfaze"]Can't you just do this? [code]Run winword.exe[/code][/quote] Oh look, I learn something new everyday. I didn't know you could do that with programs outside of C:\Windows\System32. But what about other non-Office programs? jpjazzy, I don't understand what you are trying to...

 Forum: Support   Topic: using wildcard in path

 Post subject: using wildcard in path
Posted: October 14th, 2011, 6:31 pm 

Replies: 4
Views: 111


I honestly though this would work, so the solution is probably something very simple. I go between computers, each of them with their own version of Office, so I wanted to use this statement to open Word, for instance, no matter what version of Office is on the machine. Run "%A_ProgramFiles%\Mi...

 Forum: Suggestions   Topic: Process Exist Function

 Post subject: Process Exist Function
Posted: April 17th, 2011, 4:49 pm 

Replies: 4
Views: 924


My apologies if this is already done, but I couldn't find it in the Help file. I hoping for a ProcessExist() function, so I can use it as #IF or just IF conditions. I mean I can write my own, but I think people would find it useful. It'll be like WinExist(), but for programs that don't have windows....

 Forum: Support   Topic: ilegal character error

Posted: April 11th, 2011, 3:24 pm 

Replies: 13
Views: 294


I didn't know SplitPath handles URLs. This could work.

 Forum: Support   Topic: ilegal character error

Posted: April 9th, 2011, 6:38 pm 

Replies: 13
Views: 294


It never enters the if structure at all. I'm confused. It really should have worked. I'll try it again tmw, maybe i messed up something when adapting my script. I'll let you know.

 Forum: Support   Topic: ilegal character error

Posted: April 9th, 2011, 3:53 am 

Replies: 13
Views: 294


I will try that. Thanks. But should I report this, because it seems like it should have worked all the time.

Oh and that actually doesn't work for some reason. Just thought you should know. Although it looks like it should.

 Forum: Support   Topic: ilegal character error

Posted: April 8th, 2011, 8:59 pm 

Replies: 13
Views: 294


I would like to get you guys' opinion on this. I used MatcList as suggested above, but occasionally, a string that clearly contains mp4 slips though the condition on the if statement (I am using contain). By slip though I mean, if I were to rerun it, it would work properly. Is this a bug? It's not a...

 Forum: Support   Topic: taskkill equivalent for ahk

Posted: April 8th, 2011, 8:47 pm 

Replies: 16
Views: 646


Thanks everyone, it took me some time to understand everything, but I got it working.

 Forum: Support   Topic: taskkill equivalent for ahk

Posted: April 4th, 2011, 11:47 pm 

Replies: 16
Views: 646


My apologies. I actually have seen some of those pages already. It's just that I was hoping for more of a one/two line solution, instead of having to use a full fledge algorithm (to go though the registry) for a program that I only run from a couple of directories. Although, base on how many threads...

 Forum: Support   Topic: taskkill equivalent for ahk

Posted: April 4th, 2011, 10:17 pm 

Replies: 16
Views: 646


Thanks everyone for the input. It seems nimda's suggestion worked the best. However, I though the hide at the end of the line of code was supose to prevent the showing of the command prompt windows, and you can still see it for an instant, but that really doesn't matter to me. I do have a second que...

 Forum: Support   Topic: taskkill equivalent for ahk

Posted: April 3rd, 2011, 9:35 pm 

Replies: 16
Views: 646


I was under the impression that Process Close is more similar to "takskill /f /im program.exe" as oppose to "taskkill /im program.exe". Is this not true? There is no need for me to make things more complicated if I do't have to? I would be glad to use Process Close, but from what...

 Forum: Support   Topic: taskkill equivalent for ahk

Posted: April 3rd, 2011, 8:51 pm 

Replies: 16
Views: 646


And what if I have multiple lines of code i want command prompt handle? Is it better to have multiple lines of this with different program names or to use the & symbol in one long command that gets passed? Just wanted an opinion.

thanks for the quick response.

 Forum: Support   Topic: taskkill equivalent for ahk

 Post subject: taskkill equivalent for ahk
Posted: April 3rd, 2011, 8:07 pm 

Replies: 16
Views: 646


In Windows Command prompt, there is a taskkill command when used int he form: taskkill /im [process name].exe will genitally close the program with [process name].exe. I am aware of WinClose, but that only works if [process name].exe has a window so it doesn't work for background apps that usually o...

 Forum: Support   Topic: is this a bug or maybe I could have writen it better

Posted: March 23rd, 2011, 11:16 pm 

Replies: 4
Views: 170


Thanks for the info. I shall switch, less code the better.

 Forum: Support   Topic: I guess this is a working directory bug...?

Posted: March 23rd, 2011, 11:00 pm 

Replies: 2
Views: 139


My apologies. My concern is that script never specify a file path, which should have defaulted to the working directory. That's why I posted in this section as well as the Script Thread (I did post to the script thread first). I want to know if it's the way AutoHotkey determines the Working director...
Sort by:  
Page 1 of 3 [ Search found 42 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group