Want to select specific window (object cloning) in automation anywhere 11.2 - object

Please find the image hereI am automating a task, in that I will use a excel addin (Example addin name is AAA). While running the task it will open multiple windows but with the same name(Prompt box 1 name is AAA, Prompt box 2 name is AAA). So when I am using object cloning in Automation anywhere I need to select the window name. As all the windows name is same (three windows with the name AAA) it is not working properly.
Thanks in advance for your help.
Expected result: I need to differentiate the windows in Automation anywhere
Current result: AA will click on wrong window.

Recap: You are clicking on a button on the first window that opens another window with the same name and you need to do some action on the second window.
Therefore the solution is: Use currently active window within the select window dropdown menu in the object cloning command.

Related

is there a vba code to assign screen clipping to a command butten?

I tried commandbars codes and excutemso but they didnt work and i realized that commandbars are surpersed in newest version of office
How can i use it?
Tnx for your time
CommandBars.ExecuteMso ("ScreenClipping")
In general, to identify a control on the Ribbon:
Hover over the desired button until the name pops up and remember it > rightclick on the ribbon and click "Customise the Ribbon" > in the first column click "All Commands" (NOT All Tabs) > find the remembered name in the alphabetical list and hover over it until info pops up. The actual "Code" name for the button will be the one in brackets.
(I do not know why, but the Button ID Execute method doesn't seem to work on this command)

How do you disable the hyperlink warning in excel (Office 365)

I have tried the registry edit here: https://answers.microsoft.com/en-us/msoffice/forum/all/how-to-disable-hyperlink-warnings-for-office-365/9e96cae1-0960-4f20-898c-440cafd6cf7c
. I notice that my decimal 1 always reverts back to hexidecimal when I close. Upon restart nothing changes when I try to open the hyperlink in excel.
0 and 1 are exactly the same decimal and Hex, see here and here
The solution that is described in the link above (adding DisableHyperlinkWarning to the win registry) might not always work.
This solution should stop hyperlink warnings in Excel for Office 365:
Download Procmon (a monitoring tool for Windows that shows real-time process/thread activity):
https://technet.microsoft.com/en-us/sysinternals/processmonitor.aspx
Run Procmon.exe
Toggle Capture Events to off (File > Capture Events)
Clear the current events (Edit > Clear Display)
Toggle Capture Events on.
Click the desired hyperlink in Excel.
Turn Capture Events off.
Filter by Process=EXCEL.EXE (Filter > Filter, chose "Process" from the list, set field to "is", type "EXCEL.EXE" in the empty field, chose "Include" from the list and click "Add".)
Filter also by Operation=RegQueryValue and Result=NAME NOT FOUND
Find the first entry with "EditFlags" in the path (use the search icon to search the filtered list or CTRL+F)
Right click on that entry and select > Jump to (opens registry)
9 Add a new DWORD type named EditFlags with the hexadecimal value 10000.
In my case it was the key htmlfile_FullWindowEmbed
Modified from here
Is it changing back after restarting? if so, maybe you have some policy on your PC.
EDIT:
"The option to switch between the two is purely to allow entry in either format, it is always stored in Hex and for convenience the Decimal value is shown in brackets afterward in the field view
Selecting either option would have absolutely no effect on the program accessing the value and is the same either way."
Answer from here -> https://answers.microsoft.com/en-us/windows/forum/all/problem-with-regedit-fail-trying-to-modify-dword/c6cdf515-c517-4196-8d4a-582e942f9315
The simplest solution is to use Outlook. For example, if you want to cancel the reminder when opening the embedded pptx file, you can send yourself an email with the pptx file attachment in Outlook. After receiving it, double-click the attachment to open it, and a dialog box will pop up. The following There is a check box, "Always ask before opening this type of file", uncheck it, click Open, and there will be no warning when the embedded link of this type of file is opened in ppt or excel. This method also works for other types of files. There are some settings between office components that are related to each other.

ImageComboBox for VBA Excel

Is it possible to use images inside a ComboBox instead of strings? I've seen post regarding the ImageComboBox control but it seems that I couldn't find any resource how and where to download the said control so I could use it in my project that I'm working on.
Thanks all.
To be able to use the Image Combo Box, you have to do the following:
Insert the control from the Insert menu on the developer tools tab:
If you press the highlighted button, a new menu appears.
Search for "Microsoft ImageComboBox Control, version XX"
Then you are able to insert the desired combobox.

Excel editing command button name not changing

When I am editing command button and I go to the top left corner to change the name of the command button it allows me to edit the text and change it but when I press enter or click somewhere the name of the button keeps reverting back to the original name.
I've tried also tried making sure design mode is selected as well, and the command button and the sheet do not have any protection on either
I'm sure I'm missing something simple.
I had a very similar problem. Solved! My problem was that I would create an ACTIVEX button, and using the properties, give it a customized name (changing CommandButton1 to something much more descriptive)... then later, upon saving and re-opening the excel, some of these buttons (not all) would revert to CommandButtonX.
The whole problem was THE LENGTH OF THE NAME. My names that failed would be around 39 chars or more (somewhere around 39). Using the selection objects pane under the Excel "Find and Select" menu item, I observed the ones that would fail vs succeed.... comparing what I would change in that pane with control properties (Name) and the excel "sheet Name Box" in the upper left area of the sheet screen.
When we have to rename the command button, you can use properties and namebox. But the purpose to change the appearance of button, you have to go to
properties->caption. In caption, you can rename button's appearance.

Lotus Notes - Move email to folder quickly

I have several folders to manage emails in a Lotus Notes database.
And I want to move email(s) to a specific folder just by a few key strokes.
It would act like this:
1. Click a button (It seems one cannot create a user-defined shortcut for user command)
2. prompt an ComboEdit box, whose options are the folders in current database.
3. input a few letters and the filtered results shows.
4. Choose the folder and press {enter}, the email(s) gets filed.
Just like Launchy to start a MS Windows application.
Is it possible to do this by using the #function and #command?
I've got some info here:
#Prompt([OkCancelEditCombo]; "Select a Database"; "Select a database to open, or type a database specification."; "Schedule"; "Schedule":"Phone Book": #Subset(#MailDbName;-1))
So how can I get a list of folder and to enable step3 to work?
In my Lotus Notes client I move my mails to a folder by just doing the following:
Click Alt + 5, M
(the number and the letter depend on the version and language of your mailtemplate, 5 is the fifth Button in the action- bar and "M" is the underlined letter for the action "Move to folder")
Start typing the name of the folder where you want to put the mail
Press Enter
No need to write even one line of code... And it even searches for folders CONTAINING the text, that I typed, not only folders STARTING with that characters...
No, there's no capability in Notes formula language or even in LotusScript that could allow typing a few characters and filtering the available folder names without requiring the user to press the Enter key or click on something first.
You could mock that up in a dialogbox using the onchange event of a dialoglist field that allows new values and doesn't define any values -- you would have to calculate the matching values yourself and put them up as the choices in a second keyword field. Or you could take advantage of the typeahead of the dialogbox field and give it all the folder names as its choices, but that wouldn't work exactly as you described.
BTW did you have a look at SwiftFile for Notes?

Resources