Emerogork Posted April 22, 2014 Share Posted April 22, 2014 This may take a bit of conversation on what I am doing but in short: I want to take information from a cell in Excel and send it to the present track in Audacity in order to name that track. I have the Task Scheduler set up to start and stop recording sessions and those batch files are working quite well. With each start, a new track is created. I want to name the new track and that name is to come form an Excel file that shows the schedule. Manually, I can name the track even when it is recording so I feel safe doing it automatically. Some of the code I am using is: WinAcivate("Audacity") SendKeepActive("Audacity") Send("!^+rr")". {and rs} I have, somewhere around here, the key strokes to open the dialogue box but don't know how to send the track name other than actually typing it. I guess if I use this method then I need to know how to close that dialogue box without disturbing the recording session. I guess that I can send the name of the track just before starting a new one. This may be a two phase question, - At first, can someone here tell me how to send a name into Audacity to name the track. - Second, how might I look into Excel to pull information from a cell relative to the time indicated in another cell. Should I start another discussion for that second question? Suggestions appreciated. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 22, 2014 Moderators Share Posted April 22, 2014 Have you used the AutoIt Window Info tool (in the same directory where you installed AutoIt) on the dialog box? If you can obtain the window info, you should be able to ControlSend the data you scrape from Excel. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Emerogork Posted April 25, 2014 Author Share Posted April 25, 2014 Have you used the AutoIt Window Info tool (in the same directory where you installed AutoIt) on the dialog box? If you can obtain the window info, you should be able to ControlSend the data you scrape from Excel. Forgive me for not responding sooner. I guess I an not enabled to receive notification for post responses. How do I check this? Thanks for the encouragement that this might work. I do not see the "AutoIt Windows Info Tool" in my system. Maybe I don't have a full set up. Am I just not seeing it or is it missing? Thoughts and suggestions for either point? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 25, 2014 Moderators Share Posted April 25, 2014 Emerogork, I guess I an not enabled to receive notification for post responses.How do I check this?Go to your user name at top-right and open the dropdown. Select <My Settings> - when the new window opens choose <Notification Options> and look for the <Topics & Posts - Auto follow topics I reply to> section. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now