help with adobe connect code

Get help with using AutoHotkey and its commands and hotkeys
telepbarobach
Posts: 5
Joined: 24 Nov 2020, 12:04

help with adobe connect code

24 Nov 2020, 12:17

Hi
I should teach my student with adobe connect. in the teaching process I should select pen or figures in drawing pannel and also select their thickness and color.
is there any Coad for this purpose?
telepbarobach
Posts: 5
Joined: 24 Nov 2020, 12:04

Re: help with adobe connect code

25 Nov 2020, 04:21

Thanks for your answer
But these are for Photoshop and dose not work on "adobe Connect". I need a script for autohotkey which I could assign shortcut keys for selecting color, choosing thickness and etc. in adobe connect.
User avatar
mikeyww
Posts: 3965
Joined: 09 Sep 2014, 18:38

Re: help with adobe connect code

25 Nov 2020, 06:26

Sorry to give you some unhelpful information!
malcev
Posts: 829
Joined: 12 Aug 2014, 12:37

Re: help with adobe connect code

25 Nov 2020, 07:47

If Microsoft UI Automation works with this software, then I think it can be done.
If not, then You can use imagesearch.
telepbarobach
Posts: 5
Joined: 24 Nov 2020, 12:04

Re: help with adobe connect code

25 Nov 2020, 10:01

malcev wrote:
25 Nov 2020, 07:47
If Microsoft UI Automation works with this software, then I think it can be done.
If not, then You can use imagesearch.
I do not understand what you say.
for more information I should say that:
I am a teacher and because of the COVID-19 I should teach online. I use Microsoft power point and adobe connect. in Microsoft power point there is no shortcut keys for pen color in presentation mode and with the help of autohotkey and a script which I found online I made a shortcut key for changing color which is a very hard work with mouse or pen. I need something like that for adobe connect.
here is the script for PowerPoint.

Code: Select all

#SingleInstance, force
#NoEnv
SetBatchLines -1

Aqua=0xFFFF00
Black=0x000000
Blue=0xF0B000
Blue_2=0xFF0000
Blue_Dark=0x8B0000
Brown=0x2A2AA5
Crimson=0x3C14DC
Fuchsia=0xFF00FF
Gold=0x00D7FF
Green=0x008000
Green_Dark=0x006400
Grey=0x808080
Indigo=0x82004B
Magenta=0xFF00FF
Maroon=0x000080
Navy=0x800000
Orange=0x00A5FF
OrangeRed=0x0045FF
Pink=0xCBC0FF
Pink_Deep=0x9314FF
Purple=0x800080
Red=0x0000FF
RoyalBlue=0xE16941
Sienna=0x2D52A0
Tan=0x8CB4D2
Teal=0x808000
Turquoise=0xD0E040
White=0xFFFFFF
Yellow=0x00FFFF
 

#IfWinActive ahk_class screenClass ahk_exe POWERPNT.EXE

^+1::PenColor(Black)
^+2::PenColor(Blue)
^+3::PenColor(Red)
^+4::PenColor(Green)
^+5::PenColor(Gold)
^+6::PenColor(Aqua)
^+7::PenColor(Pink)
^+8::PenColor(Purple)

 

#IfWinActive

PenColor(Color){
; Activate the slideshow
WinActivate, ahk_class screenClass ahk_exe POWERPNT.EXE
  
Try
 {
    ppt := ComObjActive("PowerPoint.Application")
    MyView := ppt.ActivePresentation.SlideShowWindow.View
    
    MyView.PointerType := 1
    ; Get color code and transform it from string to numerical value
    Color_Num := Color , Color_Num += 0
     
    ; Set pen color  
    MyView.PointerColor.RGB := Color_Num
        
    ; Set pointer as pen
    MyView.PointerType := 2
    
    ppt:=""
 }
}
[Mod edit: [code][/code] tags added.]
malcev
Posts: 829
Joined: 12 Aug 2014, 12:37

Re: help with adobe connect code

25 Nov 2020, 10:16

I do not understand what you say.
Read manual.
telepbarobach
Posts: 5
Joined: 24 Nov 2020, 12:04

Re: help with adobe connect code

29 Nov 2020, 08:01

malcev wrote:
25 Nov 2020, 10:16
I do not understand what you say.
Read manual.
which manual. I do not know anything about coad writing
malcev
Posts: 829
Joined: 12 Aug 2014, 12:37

Re: help with adobe connect code

29 Nov 2020, 10:23

Ahk manual. If You dont want or cannot do it then hire teacher or freelancer.
telepbarobach
Posts: 5
Joined: 24 Nov 2020, 12:04

Re: help with adobe connect code

30 Nov 2020, 00:53

malcev wrote:
29 Nov 2020, 10:23
Ahk manual. If You dont want or cannot do it then hire teacher or freelancer.
thanks for your answer. but i want to khnow if anyone could send me a free coad. I think maybe someone have a coad like above coad for powerpoint (but for adobe connect)

Return to “Ask For Help”

Who is online

Users browsing this forum: AHKStudent, Albireo, Bing [Bot], effel, Google [Bot], RyantheCoder and 50 guests