This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Macro title: Recent Updates Table | |
| ## Description: Displays recently updated content in a table with optional filters and pageId-based scope handling. | |
| ## Body processing: No macro body | |
| ## Output format: HTML | |
| ## @param scope:title=Scope|type=string|required=false|default=@currentspace|desc=Comma-separated: @currentpage, @currentspace, @all, SPACEKEY, or PAGEID:123456789 | |
| ## @param labels:title=Filter Labels|type=string|required=false|default=|desc=Optional comma-separated labels; content must contain at least one | |
| ## @param authors:title=Authors|type=string|required=false|default=|desc=Optional comma-separated creators; supports @current | |
| ## @param lastModifiers:title=Last Modifiers|type=string|required=false|default=|desc=Optional comma-separated last modifiers; supports @current | |
| ## @param types:title=Types|type=string|required=false|default=page|desc=Comma-separated list: page, blog, blogpost, post, @all | |
| ## @param limit:title=Max Results|type=int|required=false|default=20|desc=Number of content items to show |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Source https://community.atlassian.com/forums/Confluence-questions/Can-quot-Current-Page-quot-be-used-in-a-Task-Report/qaq-p/1375109?referer=https://community.atlassian.com/forums/Confluence-questions/Can-quot-Current-Page-quot-be-used-in-a-Task-Report/qaq-p/1375109 | |
| ## Developed by: Davin Studer | |
| ## Date created: 05/12/2020 | |
| ## @param Label:title=Label(s)|type=string|required=false|desc=Only show tasks on pages with this label | |
| ## @param Assignees:title=Assigned to|type=username|required=false|multiple=true|desc=Only show tasks assigned to these people | |
| ## @param Creators:title=Created by|type=username|required=false|multiple=true|desc=Only show tasks created by these people | |
| ## @param Created:title=Created after|type=string|required=false|desc=Only show tasks created on or after this date. Dates must be entered as dd-mm-yyyy. | |
| ## @param Status:title=Task status|type=enum|enumValues=complete,incomplete|default=incomplete|desc= | |
| ## @param PageSize:title=Number of tasks per page|type=enum|enumValues=10,20,40|defaul |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Requires AutoHotkey v1 | |
| #NoEnv | |
| #NoTrayIcon | |
| #SingleInstance Force | |
| SetTitleMatchMode, 1 | |
| Names := ["Sharing control bar", "Freigabesteuerungsleiste"] | |
| for _, Name in Names | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sub OpenTeamsMeetingChat() | |
| Dim Item As Object | |
| Set Item = GetCurrentItem() | |
| If Item Is Nothing Then | |
| MsgBox "No Item selected" | |
| Exit Sub | |
| End If | |
| If Not TypeOf Item Is Outlook.AppointmentItem Then | |
| Exit Sub |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Private pLocalPath As String | |
| Public Property Get LocalPath() As String | |
| If pLocalPath = "" Then | |
| pLocalPath = GetLocalPath(ThisWorkbook.Path) | |
| End If | |
| LocalPath = pLocalPath | |
| End Property | |
| ' Using Property somewhere else in VBA - example |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sub Duplicate() | |
| Dim Item As Object | |
| Set Item = GetCurrentItem() | |
| If Item Is Nothing Then | |
| MsgBox "No Item selected" | |
| Exit Sub | |
| End If | |
| If Not TypeOf Item Is Outlook.AppointmentItem Then | |
| Exit Sub |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Confluence_GetVerLink(url:="") { ; @fun_Confluence_GetVerLink@ | |
| ; Get Link information from current page Url | |
| ; sHtml := Confluence_GetVerLink(url:="") | |
| If (url="") | |
| url := Browser_GetUrl() | |
| If (url="") | |
| return | |
| ; Get current pageId | |
| pageId := Confluence_GetPageId(url) | |
| rootUrl := Confluence_GetRootUrl() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function addIndex() { | |
| var indices = []; | |
| jQuery(".ak-editor-content-area .ProseMirror").find("h1,h2,h3,h4,h5,h6").each(function(i,e) { | |
| var hIndex = parseInt(this.nodeName.substring(1)) - 1; | |
| if (indices.length - 1 > hIndex) { | |
| indices= indices.slice(0, hIndex + 1 ); | |
| } | |
| if (indices[hIndex] == undefined) { | |
| indices[hIndex] = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| If Confluence_IsWinActive() { | |
| If RegExMatch(Clipboard, "^http.*\.(png|jpg|jpeg|gif)$") { | |
| imglink =  | |
| Clip_Paste(imglink) | |
| return | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Teams_Mute(State := 2,showInfo:=true,restoreWin:=true){ | |
| ; State: | |
| ; 0: mute off, unmute | |
| ; 1: mute on | |
| ; 2*: (Default): Toggle mute state | |
| WinId := Teams_GetMeetingWindow() | |
| If !WinId ; empty | |
| return |
NewerOlder