Thanks @xtra, Bobo
Do want to close the potplayer not the timer. If successful writing this, I do want to turn it off at the week days though . Any idea what command I need for the tasks.
Search found 24 matches
- 03 Jan 2018, 18:31
- Forum: Ask for Help (v1)
- Topic: Open .mp3 at certain time and close after play
- Replies: 10
- Views: 1853
- 03 Jan 2018, 07:50
- Forum: Ask for Help (v1)
- Topic: Open .mp3 at certain time and close after play
- Replies: 10
- Views: 1853
Re: Open .mp3 at certain time and close after play
@Bobo, now with this code, the script will only run once.The only reason I think it run multiple time is the checktime is 1000. #persistent ppPath := "C:\(programme file)" SetTimer, CheckTime, 1000*60 Return CheckTime: FormatTime, CurrentTime,, HH:mm If (CurrentTime = "20:41") { Runwait, %ppPath% "D...
- 03 Jan 2018, 07:01
- Forum: Ask for Help (v1)
- Topic: Open .mp3 at certain time and close after play
- Replies: 10
- Views: 1853
Re: Open .mp3 at certain time and close after play
Thank you. Will check it later.Xtra wrote:You can use SoundPlay to play .mp3
- 03 Jan 2018, 02:23
- Forum: Ask for Help (v1)
- Topic: Open .mp3 at certain time and close after play
- Replies: 10
- Views: 1853
Re: Open .mp3 at certain time and close after play
Since I can open the mp3 directly. Not going to include ppPath. Below is the code I currently using but it will continuously open the same file until the script is stopped. #persistent SetTimer, CheckTime, 1000 Return CheckTime: FormatTime, CurrentTime,, HH:mm If (CurrentTime = "06:00") { Run, "C:\(...
- 02 Jan 2018, 08:24
- Forum: Ask for Help (v1)
- Topic: Open .mp3 at certain time and close after play
- Replies: 10
- Views: 1853
Open .mp3 at certain time and close after play
Hi,
I would like to open .mp3 file, "Play my song", which is located in my D:\ drive. Currently using Potplayer to open all my media player. This song will be my alarm clock at 6:00am. When done, close the Potplayer. The song is about 3 minutes long.
Thank you.
I would like to open .mp3 file, "Play my song", which is located in my D:\ drive. Currently using Potplayer to open all my media player. This song will be my alarm clock at 6:00am. When done, close the Potplayer. The song is about 3 minutes long.
Thank you.
- 28 Oct 2015, 07:21
- Forum: Ask for Help (v1)
- Topic: Get text from status bar
- Replies: 15
- Views: 9773
Get text from status bar
Hi, Would like to learn to use command StatusBarGetText and import to excel. However it doesnt seem to work. I could be missing something big here. Tried other software but result is the same. StatusBarGetText, test1, 1, 1b.xlsb - Excel Msgbox %test1% Is this the correct way or is the other way? Tha...
- 27 Aug 2015, 23:58
- Forum: Ask for Help (v1)
- Topic: What is the best way to insert data into box?
- Replies: 3
- Views: 1037
Re: What is the best way to insert data into box?
Have downloaded the Java Access Bridge but not sure how to install it.
I tried all the .exe but only window pop up.
Did I do anything wrong?
I tried all the .exe but only window pop up.
Did I do anything wrong?
- 27 Aug 2015, 08:17
- Forum: Ask for Help (v1)
- Topic: What is the best way to insert data into box?
- Replies: 3
- Views: 1037
What is the best way to insert data into box?
Hi, I am working with REW Tone Generator. I try to create a script to insert the data automatically so I dont have to enter manually every time. The date I need to insert is RMS Level dB FS and Frequency Hz. Currently I have tried using the {tab} and click on the box to enter the data but no data in...
- 20 Jul 2015, 23:26
- Forum: Ask for Help (v1)
- Topic: Loop time with increment of 5min
- Replies: 5
- Views: 2050
Re: Loop time with increment of 5min
Maybe? I'm not sure what you're after: #NoEnv target_time = 1100 ; for testing target_time = %A_Now% ; current date-time EnvAdd, target_time, 5, Minutes ; add 5 minutes StringMid, target_time, target_time, 9, 4 ; get the HH24MI part of the date-time stamp ; end of test code target = %A_YYYY%%A_MM%%...
- 20 Jul 2015, 20:59
- Forum: Ask for Help (v1)
- Topic: Loop time with increment of 5min
- Replies: 5
- Views: 2050
Re: Loop time with increment of 5min
Im not really sure what your asking for if i run your script modified like this target_time = 1100 target = %A_YYYY%%A_MM%%A_DD%%target_time%00 EnvSub, target, %A_Now%, Seconds sum := target * 1000 + 25000 ; milliseconds + delay msgbox,,, % sum I get a negative number ( don't think you can sleep ne...
- 20 Jul 2015, 05:27
- Forum: Ask for Help (v1)
- Topic: Loop time with increment of 5min
- Replies: 5
- Views: 2050
Re: Loop time with increment of 5min
Am I asking question that is easy to figure out or hard to figure out?
- 20 Jul 2015, 04:05
- Forum: Ask for Help (v1)
- Topic: Loop time with increment of 5min
- Replies: 5
- Views: 2050
Loop time with increment of 5min
Hi, I have below code that I would like to do loop with increment of 5min to avoid a long list. The target_time is the part that need 5min increment. target_time = 1100 target = %A_YYYY%%A_MM%%A_DD%%target_time%00 EnvSub, target, %A_Now%, Seconds Sleep, % target * 1000 + 25000 ; milliseconds + delay
- 19 Jul 2015, 08:28
- Forum: Ask for Help (v1)
- Topic: Ammend Count Sleep code to count run time code
- Replies: 7
- Views: 2782
Re: Ammend Count Sleep code to count run time code
Thank you T_Lube.
- 19 Jul 2015, 03:19
- Forum: Ask for Help (v1)
- Topic: Ammend Count Sleep code to count run time code
- Replies: 7
- Views: 2782
Re: Ammend Count Sleep code to count run time code
What your suggested is what am I looking for. Thank you.
- 18 Jul 2015, 06:59
- Forum: Ask for Help (v1)
- Topic: Ammend Count Sleep code to count run time code
- Replies: 7
- Views: 2782
Re: Ammend Count Sleep code to count run time code
Hi T_Lube,
Is my post not clear?
Is my post not clear?
- 18 Jul 2015, 01:55
- Forum: Ask for Help (v1)
- Topic: Ammend Count Sleep code to count run time code
- Replies: 7
- Views: 2782
Ammend Count Sleep code to count run time code
Hi, Posted under http://www.autohotkey.com/board/topic/145533-trying-something-different-with-sleepcount/. I have this code that I wanted to used it to count run time of the script. It was used to count Sleep time. target_time = 1000 target = %A_YYYY%%A_MM%%A_DD%%target_time%00 EnvSub, target, %A_No...
- 06 Jul 2015, 19:46
- Forum: Ask for Help (v1)
- Topic: Unable to startup Task Manager in Windows 10
- Replies: 1
- Views: 1062
Re: Unable to startup Task Manager in Windows 10
Also I just upgraded AHK from 112200 to 112202.
- 06 Jul 2015, 19:45
- Forum: Ask for Help (v1)
- Topic: Unable to startup Task Manager in Windows 10
- Replies: 1
- Views: 1062
Unable to startup Task Manager in Windows 10
HI, I have this code. It run on later build of Windows 10 but not running in the latest build 10162. #NoEnv #Warn SendMode Input SetWorkingDir %A_ScriptDir% SetBatchLines -1 #SingleInstance Force CoordMode, Mouse, Screen #Persistent winwait Where am I? winclose sleep 10000 run C:\Windows\System32\Ta...
- 21 Nov 2014, 09:40
- Forum: Ask for Help (v1)
- Topic: SciTE4AHK gone berserk!
- Replies: 4
- Views: 2450
SciTE4AHK gone berserk!
Hi all, Every time I run script on SciTE4AHK, it gone berserk. It also affected the .ahk. It start to delete itself or adding ;~ in front in the script. Could someone have a look? #NoEnv #SingleInstance force #NoTrayIcon SetBatchLines -1 SendMode Input SetWorkingDir %A_ScriptDir% SetWinDelay 0 SetMo...
- 09 Nov 2014, 18:49
- Forum: Ask for Help (v1)
- Topic: Creating wait process with A_Cursor
- Replies: 2
- Views: 1454
Re: Creating wait process with A_Cursor
I want to use when MS Excel is waiting for my VBA to finish it tasks.
If you have better solution, please suggest.
If you have better solution, please suggest.