AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 16 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Stop Start Services
SytnerIT

Replies: 1
Views: 363

PostForum: Ask for Help   Posted: Fri May 08, 2009 8:42 am   Subject: Stop Start Services
Is there a function to allow me to stop/start services without using 'net use' in conjunction with 'ComSpec'.

Cheers

Rob
  Topic: Embed VBScript
SytnerIT

Replies: 1
Views: 293

PostForum: Ask for Help   Posted: Tue Mar 24, 2009 10:45 am   Subject: Embed VBScript
Is there any way I can embed VBScript into the AHK script.

I would like to have a procedure I can call that starts then stops a windows service.
The VBScript is:

strComputer = "."
Se ...
  Topic: Using the AND Operator
SytnerIT

Replies: 2
Views: 282

PostForum: Ask for Help   Posted: Fri Mar 20, 2009 12:40 pm   Subject: Using the AND Operator
Thanks, worked a treat, I was unaware if the need for brackets.

Much appreciated

Rob
  Topic: Using the AND Operator
SytnerIT

Replies: 2
Views: 282

PostForum: Ask for Help   Posted: Fri Mar 20, 2009 11:48 am   Subject: Using the AND Operator
Hi

I am struggling to use the AND operator in conjunction with If.

All I want to do is detect whether the time is between 9 and 17.00.

My script is below:
If A_Hour >= 09 AND A_Hour <= ...
  Topic: Screen Capture with Transparent Windows and Mouse Cursor
SytnerIT

Replies: 173
Views: 86352

PostForum: Scripts & Functions   Posted: Thu Feb 12, 2009 12:15 pm   Subject: ScreenCapture
Hi

I have downloaded the ScreenCapture.ahk. But am confused to how to run it i.e. where do I set the values (file path etc.).

Cheers
Rob
  Topic: RunAs Command
SytnerIT

Replies: 1
Views: 410

PostForum: Ask for Help   Posted: Thu Jan 22, 2009 4:29 pm   Subject: RunAs Command
I am struggling to use the RunAs command. I would like to run a batch file with it, which will map a network drive. Then once mapped I would like to run an executable. However when the second executab ...
  Topic: Running Command Prompt Commands
SytnerIT

Replies: 1
Views: 350

PostForum: Ask for Help   Posted: Tue Aug 26, 2008 2:50 pm   Subject: Running Command Prompt Commands
Is it possible for me to run this using a script created in AutoHotKey:

net use G: \\gb006810s00001\ELSAWin 681Elsa /user:btac-uk\elsa681 /persistent:no

Yours hopefully Rob
SytnerIT
  Topic: Running Executables with Runas that Include Arguements
SytnerIT

Replies: 5
Views: 437

PostForum: Ask for Help   Posted: Thu Aug 14, 2008 3:42 pm   Subject: Thanks again
Cheers guys I now have them both working as required.

As I only use the first one once I will keep it as a literal value and the second I will store in a variable.

All the help is much appreciat ...
  Topic: Pasting Text
SytnerIT

Replies: 1
Views: 340

PostForum: Ask for Help   Posted: Thu Aug 14, 2008 3:13 pm   Subject: Pasting Text
Apologies, I have found the solution to this.

Sorry for time wasting.

Rob
  Topic: Pasting Text
SytnerIT

Replies: 1
Views: 340

PostForum: Ask for Help   Posted: Thu Aug 14, 2008 3:07 pm   Subject: Pasting Text
Is it possible to paste a string of text from a variable into the Runline.

What I am trying to do is run:

"C:\Program Files\BHPS\CYPI\Instlr\bin\update.exe" CYPI

from the runline, b ...
  Topic: Running Executables with Runas that Include Arguements
SytnerIT

Replies: 5
Views: 437

PostForum: Ask for Help   Posted: Thu Aug 14, 2008 2:33 pm   Subject: Thanks
The first solution worked perfectly, many thanks for that, however the second failed. Do you have any other suggestions, if not, I'm sure there will be more input from other users.

Thanks again for ...
  Topic: Running Executables with Runas that Include Arguements
SytnerIT

Replies: 5
Views: 437

PostForum: Ask for Help   Posted: Thu Aug 14, 2008 9:04 am   Subject: Running Executables with Runas that Include Arguements
I am designing automated software installers which allow users without admin rights to install program updates without the need to log calls with our helpdesk.

Most of the updaters are started by r ...
  Topic: If statements
SytnerIT

Replies: 4
Views: 510

PostForum: Ask for Help   Posted: Mon Aug 04, 2008 2:58 pm   Subject: If statements
Many thanks, this was successful.

Much appreciated

Rob
SytnerIT
  Topic: If statements
SytnerIT

Replies: 4
Views: 510

PostForum: Ask for Help   Posted: Mon Aug 04, 2008 9:04 am   Subject: If statements
Thanks for the tip, but unfortunately it does not work.

If I have _AppName = AIC this works but when you set the variable to be equal to more than one eg. _AppName = AIC || STM it fails.

Does an ...
  Topic: Setting Date and Time from Domain Controller
SytnerIT

Replies: 1
Views: 478

PostForum: Ask for Help   Posted: Mon Aug 04, 2008 8:58 am   Subject: Setting Date and Time from Domain Controller
Hello

I am using AHK to automate software installs.

Every script I use utilises the Runas command.

Authentication for the Runas command is done with my domain controller.

The script theref ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group