Command line parameters to open Skype for Business chat room - skype-for-business

We use a persistent Skype for Business chat room and use it to broadcast daily the work done on particular projects. I'd like to launch Skype for Business each weekday morning and have it opened to this chat room. I thought to use Windows Task Scheduler and Skype for Business's command-line options to do this. The command for a specific contact is clear, e.g.:
"C:\Program Files\Microsoft Office\root\Office16\lync.exe" sip:jsmith
...but how is this done for a chat room instead of a contact?

According to the Microsoft Docs, you could try something like:
"C:\Program Files\Microsoft Office\root\Office16\lync.exe" im:<sip:user1#host><sip:user2#host>
Source: Starting Lync from another application

You probably won't like the answer but you can't do that simply via Lync's command line.
What you are looking for is called Persistent Chat Room. For that you need to use the Persistent Chat SDK.
What you could do is use a C# program e..g How to: Send a message to a chat room to send messages to the persistent room.
You could have a silverlight plugin for the persistent room.

conf:sip:https://meet.contoso.com/kazuto/7322994
Opens a Conversation window and displays meeting audio join options.

Related

Load old saved conversation for bot emulator with Node.js

I am trying to load the past bot conversation for bot emulator when user triggers in the beginning using Node.js. How can I do it?
I have already saved the conversation in SQL server.
The emulator does not natively support this. It is, however, it is an open source project in which you can customize it to do this. I have written an example of how to do this in webchat. The emulator uses a build of webchat so i'm confident this could be accomplished in the emulator as well. You can find the example forn web chat I was talking about in this repo

Detect if a user logged in or logged out

I have a launch daemon that will need to spawn a tray icon in a users session on OSX. My current problem is: is there a way to get an event whenever a user logs in or logs out? Similar to using logind or consolekit on linux.
The tool you want is a LaunchAgent. LaunchAgents are automatically launched when a user logs in, and shut down when the log out. If you also have a LaunchDaemon, you can use a LaunchAgent to communicate to it from the user context. See Creating Launch Daemons and Agents for full details and how to set it up. Make sure to look at XPC services as well (in the same doc) to understand one way to communicate between processes. You can also use loopback networking, but XPC is more powerful and preferred when appropriate.
If you're building this kind of thing, you definitely want to read the entire Daemons and Services Programming Guide and also TN2083: Daemons and Agents. That tech note is probably the most important document you'll read for this kind of problem. OS X is not like Linux (or BSD) in this regard.

QuickBooks Desktop SDK - Is it possible to always open a new company file when making a call with the QuickBooks SDK?

Is it possible to always open a new instance of QuickBooks when making a call to a specific company file using the desktop SDK?
I am trying to use a server that is shared by many people to interact with QuickBooks, so it typically has a number of qb32 processes open. When I make a connection using that server, it tries to use one of those to process the request (which I don't want).
Best case is that my SDK request opens a new primary QuickBooks instance in a specific user session on the server, or that it opens it in no user session, so that it can run like a windows service.
Thanks!
No you can't able to open company file without quick books instant (QB32.exe) installed in local machine. and also we cant able to open two instance on different company file at a time in same machine.

Accessing application's documents from device through USB?

I'm working with a Windows Phone 8 application that writes logs to a file on the device. Is there a way to get access to that file? If not, what are my alternatives to seeing log information outside of using Visual Studio?
Yes you can read the file from isolated storage as long as it's a developer app installed on a developer unlocked phone. I use the Windows Phone Power Tools to do this, and there is a command line tool that comes with the SDK itself as well called IseTool.exe.
For your own access you can just use the advice in Paul's answer. If you want to get the files from other users you can use the Email Task and attach the log file to the email and have it sent to you or use some form of server logging.

There's already an instance of AddressBookSync running. How to resolve this error?

I am deleting contacts from addressbook programmatically. I got error "There's already an instance of AddressBookSync running" on console and my application is not responding. There are 5000 contacts in addressbook.
When iSync preferences option "Enable Syncing on this computer" is unchecked then all is working well.
But when it is checked, then got that error. So what to do for deleting contacts with "Enable Syncing on this computer" option checked.
or any other way for that is acceptable...
Are you using Sync Services in your app?.
Found this warning in the Sync Services Programming Guide.
Important: If your application uses the Sync Services and Address Book frameworks together, then you should not use Sync Services to sync data shared with the Address Book Framework. The Address Book Framework already syncs its records with Sync Services, so applications sharing the Address Book data do not have to (and should not) sync those records. The results are unpredictable and may result in data loss, if you attempt to sync the same data as the Address Book Framework.
Tell user to disable syncing on this computer from iSync. It should be not done by programmatically.