Jump to content

Recommended Posts

Posted

This man is not a programmer and has no time to read large programming manuals. So excuse ignorance in this field, there is only so much time in the day and I have used enough on this particular issue.

Local laptop + Skype + AutoItv3 is using the modified 'script to place calls' which had been converted previously by a forum member to autoit format. Thank you.

There is a need to make a special function to change the audio output device prior to dialing. This should be simple for you.

Tried many different locations for previous assistance on similar topics: Google seems intent on bringing me useless links. Skype's own forum seems to be a frequent place for discussion, however it has been rendered useless as all links previously discussing the API go to a dead-end page created by some changes those paper-cut-out suits made to their API page. They want you to download a zip file now? Instead of having an online hypertext reference? What the hell, is this 1984 thinking or what? Next they'll want a money-order in a foil-wrapped envelope so they can send out a floppy disk. Remember those?

Anyway /I am assured/ there are competent people here based on that prior script conversion. The script as converted basically worked and I've had to make some small additions to the copy of it I use.

The local laptop has a Logitech USB headset used normally for Skype. For the automated call-out, what is the function which changes the audio output to a 'Realtek AC97 Audio' (the onboard audio on the laptop so I can hear it calling out). It's a very early morning conference call (4 am) and the laptop would normally wake me up when dialing in, however normally the headset is the primary audio device.

I have figured out this much:

Skype.Settings.AudioOut or SET AUDIO_OUT but haven't gotten any further. Clisk is a program for blind people and it can be used to test out API commands but there has been no success here with this particular command. Can issue the command to 'get' the current audio device however have no luck setting it. Here is the test script:

$oSkype = ObjCreate("Skype4COM.Skype")
$oSkypeEvent = ObjEvent($oSkype,"Skype_")
$oError = ObjEvent("AutoIt.Error","MyErrFunc")
$oSkype.Attach()

Func MyErrFunc()
    ;Do Nothing
EndFunc

$AudioOutputDevice = "Realtek AC97 Audio"
$oSkypeSettings.Audio_Out = $AudioOutputDevice ; got to test this

PLEASE HELP THANK YOU!!!!

don't think i'm a freeloader. your help has been effective! here's the script contributed - thank you creator and thank you members and thank you authors of autoit!Call Conference Dial-in Script updated from time to time.

Posted

Hello.

Welcome to the forum. ;)

That's not the part of windows I work with regularly.

WMI might be your friend, at least to read the available sound output devices, google->scriptomatic, then have a look at "Win32_SoundDevice", just as a start.

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Posted (edited)

Thanks Rudi for your response.

It seems like you are suggesting using WMI (windows) commands to change the default windows audio output.

That's not the most effective step for at least two reasons; Skype's audio out alone, can be switched through the Skype4COM or other Skype API interface; no need to study-up on a WHOLE additional set of commands (WMI).

And the issue is probably my lack of knowledge of proper AutoIt programming syntax; it's not with the specific commands of the Skype API. It seems to put the question on the AutoIt side of the ledger instead of the Skype forums.

As I remember writing earlier, the essential problem with this type of Q&A on the Skype forum is the once-active API commands page has been replaced with an Error page, with a link to another page, ending in an unfriendly zip file (which has dead links). So I'm not even going to go that route. I'm only using Skype because the conference provider is freeconferencing.com, and they have a Skype-bridge, and the call is overseas for several hours several times a week, otherwise I'd use a standard SIP protocol (which they don't have yet..). I don't think the conferencing provider records the calls, either; that may be a fee feature the host is not willing to pay for. Skype recordings are excellent quality with mp3 skype recorder set to 32kb/s, though.

Thanks again, and your engrish is eggsellent!

Edited by scriptstopper

don't think i'm a freeloader. your help has been effective! here's the script contributed - thank you creator and thank you members and thank you authors of autoit!Call Conference Dial-in Script updated from time to time.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...