Jump to content

Antoine Chalons

Members
  • Posts

    955
  • Joined

  • Last visited

  • Days Won

    34

Posts posted by Antoine Chalons

  1. QUOTE (hooovahh @ Jan 5 2009, 05:32 PM)

    Just here to add my 2 cents, this won't work for all situations (like other operating systems) but could you use a windows DLL to act like you are pressing keys on the keyboard? Like in your LabVIEW program ask for the user name and password, then call Skype, wait for the login dialog to be active, and send the user name and password as keyboard keys (with tab in between) then return.

    This doesn't use any kind of API, and is very prone to problems (like if Skype happens to change the login dialog) but for a quick and dirty solution I think this should work.

    Hmmm... well... I'm not sure there is a method to launch the login dialogue in the skype4com API, which would just close the debate.

    That said I know I've once use a windows dll to set the cursor position, I image it's also possible to "fake" a clic and some keystroke - so technically you're probably right - but all that is kind of ugly and really unsafe :o .

    Not sure I'd pass the LAVAcr requirements if I do that :D

  2. QUOTE (rolfk @ Dec 18 2008, 11:25 AM)

    There is probably no way to disable this completely. At least the first time you really do want to have this security check as otherwise every virus could connect to Skype and (ab)use it for whatever it wants. MS had this in the past that any application could conenct to Outlook over ActiveX and that was a perfect way for a Virus to harvest the entire email address list as well as using the Outlook credentials to send out tons of spam mails. So they had to disable unnoticed connection to Outlook over ActiveX with a security patch.

    Maybe that Skype will cache a once given acknowledgement for a specific application somehow so it won't prompt each time again but the first prompt you do not want to give up ever!

    Rolf Kalbermatter

    That makes a lot of sense indeed. And (more than) probably for the same reason there is no method to pass in username and password.

    I'll have to document that in the API :yes:

  3. QUOTE (rolfk @ Dec 18 2008, 10:04 AM)

    I tried this method but in fact it does open the login dialogue, it opens the dialogue that lets you ask another skype user to be added to your contact list.

    QUOTE (rolfk @ Dec 18 2008, 10:04 AM)

    The IApplication.Connect method doesn't seem better.

    I'm not really sure but it seems to me that this is to allow an application to connect to Skype using ActiveX.

    This is a point I really want to dig in before I post my code to LAVAcr because currently when using my skype API in LV, skype prompts the user to allow LabVIEW.exe (or mylabiewapp.exe) to connect to skype.

  4. QUOTE (LV_FPGA_SE @ Dec 18 2008, 05:01 AM)

    Have you looked at the Skype4COM documentation?

    https://developer.skype.com/Docs/Skype4COMLib

    It has a complete list of the classes and methods/interfaces.

    Yes, that's exactly where I started from. I didn't find a way pass in the username and password to login with the account I want :unsure:

    Dunno if I missed it or if it's not possible with Skype4COM..

    QUOTE

    I know programs like AIM store the last used screenname in the registry - you might do well to look there.

    If you're terribly desperately, you could use some of the user32 DLL calls to try and manipulate the controls within the Skype window.

    I don't feel comfortable enough with the registry to go dig that way. thanks for the idea anyway :)

    As I said here, I'll soon post the small skype API I've come up with to LAVAcr, then anyone will be very welcome to help improve it.

  5. QUOTE (abhisha @ Dec 17 2008, 06:56 AM)

    [...] or can u tell me where i can get starting examples of labvie visa uses???

    Go to Help >> Find examples >> Search tab and search for "visa" there are some examples that ship with LabVIEW.

    If you start with LabVIEW, I think the example finder has to be the first place you look for ;)

    Hope this helps

  6. QUOTE (jeffwass @ Mar 2 2005, 08:10 PM)

    Does anybody know how to add new controls to a tab pane? I am working on a test-executive, and I'd like to have LabVIEW choose which graph to display, depending on what kind of data the user is taking. Ie, either chart or 2-D color graph, etc.

    Also anybody know how to add/delete tab panes dynamically? There don't seem to be these options w/ the properties/methods of the tab. thanks.

    I don't think you can dynamically add/remove pages on a tab control.

    However, you can create as much pages as you'll need a edit time and then at run time choose which of these are visible ; that would also do the trick for the data type : instead of creating the desired type of graph dynamically (which I think is not possible) just select and display the appropriate tab.

    Hope this helps.

    QUOTE

    I haven't tried this, but the Tab Control reference has a property called Pages[], and methods called Add Page, Dup Page, and Remove Page.

    I have scripting enabled but I never saw these methods for Pages[] :blink:

    Could you post a screen-shot of that ?

  7. QUOTE (hossain00 @ Dec 16 2008, 11:46 AM)

    Dear

    I have design a labview program for RF probe calibration but it show some error, can anyone help me in this regard to solve this error?

    Thanks a lot

    Hi,

    There are some mistakes in your MathScript node :

    - you define a for loop with i going from 0 to "N-1" but N isn't defined

    - the cvariable "k", used inside the for loop is undefined as well.

    If you correct these mistakes it should be ok.

    Hope this helps

  8. QUOTE (crelf @ Dec 12 2008, 03:50 PM)

    I thought about that but I wanted to have more functions before releasing a candidate, at the moment it's just a small handy API I use during the long test process of my applications (I mean over week-end).

    The functions I have at the moment are these :

    - Launch / shut down skype

    - Check if connected

    - Get / Set Mood (when logged on)

    - Get contact list (when logged on)

    - Send chat message to a contact (when logged on)

    - Send sms message to a contact (when logged on)

    One thing I didn't find yet is how to connect with a specific username and password, see here.

    As you can see it's pretty limited. At the moment I use it as an easy way to see from home how my week-end test are performing ; for this I created a skype account for the application and from LabVIEW I update the mood to see what's going on.

  9. QUOTE (Kumaresh @ Dec 12 2008, 09:09 AM)

    Hey dudes,

    I need ur help in sending a SMS in labview. pls help me out.

    Thanks

    I'm using my skype account to do this.

    I use Skype ActiveX in LabVIEW to send SMS, it works fine as long as skype is running on the computer and logged onto an account with some credit.

    Are you interested in that solution ?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.