I need to write a Gnome extension which can browse through the Evolution Calender events. User will select multiple dates in the calender, and by using the extension - a meeting chain will be created using a same universal ID. I have no prior experience with Gnome, and there is a lack of documentation/ help with this. My progress so far is generation an extension.js file from this article and getting to know about the fucntions.
Any help with how to get started with the task and how to access the events?
Related
I am trying add a custom tab in office 365 Word in the ribbon. There are countless examples of how to do this in VSTO that I can find, but no code example of this in Office 365 AddIn web project.
Closest thing I found is this documentation below. This is also lacking any proper coding sample. Also, this was writting in July 2022.
https://learn.microsoft.com/en-us/javascript/api/manifest/customtab?view=powerpoint-js-preview
From this link below, I can tell that adding a tab is allowed in Office 365, but the coding samples are from 6 to 7 years ago.
https://github.com/OfficeDev/Office-Add-in-Commands
There is also this video tutorial and similar ones like this - but this doesn't show adding new tab.
https://www.youtube.com/watch?v=ZWw-fJ7eldU
There are samples that show how to make Task Pane project. But not for add a custom tab in the ribbon and then add a menu inside it.
Am I missing something? Does office 365 web project allow for adding custom tab? If so, can someone point me to a sample coding project or a video tutorial that shows this?
The ribbon UI extensibility features in web add-ins are still limited comparing to Office COM add-ins, but with a time MS adds features such as contextual tabs support, position on the ribbon (preview), enabled/disabled state, integration of built-in controls. Read more about all that features in the Add-in commands for Excel, PowerPoint, and Word article.
There are two types of add-in commands, based on the kind of action that the command triggers.
Task pane commands: The button or menu item opens the add-in's task pane. You add this kind of add-in command with markup in the manifest. The "code behind" the command is provided by Office.
Function commands: The button or menu item runs any arbitrary JavaScript. The code almost always calls APIs in the Office JavaScript Library, but it doesn't have to. This type of add-in typically displays no UI other than the button or menu item itself. Note the following about function commands:
The function that is triggered can call the displayDialogAsync method to show a dialog, which is a good way to display an error, show progress, or prompt for input from the user. If the add-in is configured to use a shared runtime, the function can also call the showAsTaskpane method.
The runtime in which the function command runs is a full browser-based runtime. It can render HTML and call out to the Internet to send or get data.
Use VersionOverrides in your manifest to define add-in commands for Excel, PowerPoint, and Word. Add-in commands provide an easy way to customize the default Office user interface (UI) with specified UI elements that perform actions. See Create add-in commands in your manifest for Excel, PowerPoint, and Word.
I wanted to create buttons for "add to calendar" for various calendars like gmail, outlook , and apple calendar. I know we can create the .ics file and insert those into button links. is there a script or better way to create these ics files ?
I had the same issue and packed all of my learning in one open-source repository at https://github.com/jekuer/add-to-calendar-button
The code is quite well documented and since this is a quite open question, I would recommend to check the following function in https://github.com/jekuer/add-to-calendar-button/blob/main/assets/js/atcb.js :
atcb_generate_google
atcb_generate_yahoo
atcb_generate_microsoft
atcb_generate_teams
atcb_generate_ical
Or use the package as it is :)
I would like to pull the data from a site like this. The idea is to build a Google Chrome extension that can pull the data and maybe inject some javascript into the browser with statistics of each players action frequencies while the table is open.
I have noticed that if you use the Google devtools and 'inspect' a table while it is running, that the data changes with every players action. This is the data that would be useful to retrieve. What is the best way to do accomplish this task? Would it be to build a Javascript Chrome extension? Is this project too complicated for someone beginning in Javascript but has a few months in Python?
Thanks in advance!
Currently I am trying to develop a little Firefox extension.
In detail: i want to display users from the site dota2lounge.com the current prize of their steam items on the steam community market. My idea was to do this via a Firefox extension which reads the item names from the HTML code on dota2lounge.com . Via JS i would like to search the steam community market for the item names and parse the current prize. This should happen without any further action from the user and without opening extra tabs/windows.
In java i would just load the site into a variable and work with it. How could i do this with JS (or Jquery)? Or maybe there is an even better way in the addon-sdk from firefox which could solve this issue.
Any thoughts and hints are welcome.
This should be pretty simple to do using the Add-on SDK. Here is a list of modules you should look at:
the request module will allow you to make requests to other sites: https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/request
while the request module is fine, what you may want to do instead to get info from the steam site is use the page-worker module to load the site and easily extract info from it using jQuery. This is much nicer than using regex. The code would look something like this gist:
https://gist.github.com/canuckistani/6c299c812bbe582d9efb
tI am using rally developer (www.rallydev.com) and would like to use a date picker to insert date and time. However, I do not have the ability to upload any zip or images files into the website. I am constrained to using just one html page with css and javascript on it. In other words, I would like to find a way to use a date picker without having all the code for it with what I am developing.
Edit: Someone asked what the date picker will be used for. Obviously, the answer is to get the date and time. I would like to use the date and time as an input to do further processing in my code.
AppSDK 1.0 unfortunately does not include a DatePicker component. I don't believe there are plans to add a DatePicker component to AppSDK 1.0. Rally's recommendation for AppSDK 1.0 developers has typically been to use a calendar/picker component from JQuery or similar. Of course, as you note, since you don't have the ability to host such a component on rally1, you would end up referencing javascript libs external to the host, which could wind up generating security warnings in many browsers.
Rally's preview of AppSDK2, which is built on ExtJS 4, includes a fully-incorporated DatePicker component:
https://rally1.rallydev.com/apps/2.0p2/doc/#!/api/Rally.ui.DateField
You may be interested in starting to develop your App on the AppSDK2 framework, as this will soon be Rally's preferred platform for Javascript development, once it's out of preview. You can find more information here:
https://rally1.rallydev.com/apps/2.0p2/doc/
Here's some example, http://www.bitrepository.com/a-collection-of-free-javascript-date-pickers.html