Is there a way to package a MS Word macro together with the associated toolbar icon - ms-word

I have developed two MS Word macros and assigned each an icon. I have also added a custom toolbar, named after the project, and added the two macro icons to that toolbar. Now, how do I package the whole thing (macros, icons, and custom toolbar) to send it to my customer?

You'll want to move the toolbar definition and the macros to a template, then save the template (a DOT file) to the word autoload templates location on the users machine (the template will contain the icon images, and macro code, so the DOT file is all you should have to distribute).
For details on where see http://office.microsoft.com/en-us/word-help/load-or-unload-a-template-or-add-in-program-HA010105537.aspx

Related

Excel Add In not show in the Macros list to be added in Quick Access Toolbar

I created a macro and i saved the file as xlam, then I've activate it from the Add in box but when i'm trying to create an shorcut in toolbar my macro didn’t shows up in the macro list to be added to the QAT. My others old macros stored as xlam are there but this one not.Why?
L.E:The macro contains an user form
i need to know if i made something wrong

Is there any way to automatize file export operation?

Recently I'm using CorelDraw to create icons for my android application, and I have a little problem. Each icon has to be exported as a png to 6 different sizes, and it is quite annoying to export each icon 6 times. Is there any way to create a macro or other automation stuff that will do for example 6 exports of a file to a dedicated location? All the export settings besides the width and height are the same.
Uses the ActiveDocument.ExportBitmap command to export something as a PNG.
Here is someone over at the corel draw community calling it.
The resolutions are passed as arguments to ExportBitmap. Make a macro that hard codes 6 sizes and exports them to slightly different filenames.
You may not find a free macro as your request on the net. You should ask it to macro developer as it's custom macro.
I got idea for this request.
Macro interface loaded :
a text box for entering png name (or auto numbering)
text boxes for prefix and suffix name (6x)
auto filled file path for each of 6
a button for execute
Select Icon, then click the button. The selected icon will exported to predefined folder with specific name.
i.e :
Prefix_Icon1_48x48.png
Prefix_Icon1_72x72.png
Prefix_Icon1_96x96.png
and so on.
If all your ison is as ONE PAGE only, the macro will available exported each icon as 6 sizes png, WITH auto filenaming function.
Yup, I think it would be as commercial macro.

Adding custom fonts to the keyboard extension ios 8

How can I add custom fonts to ios 8 Keyboard extenstion like this.Can anyone have a tutorial or example from which I can refer.Like this example https://itunes.apple.com/us/app/fontkeyboard-for-ios-8-use/id914787397?mt=8
1.In the above link they have the special characters as letters, Please refer below URL
http://fsymbols.com/letters/
2.In Your Extension,You have to maintain the two arrays one is with regular letter (A,B,C,D….)to show on your Keyboard
3.Second one is the Special character that you want to display in your target E.g..,(Ⓐ,Ⓑ,Ⓒ,Ⓓ..) (⒜,⒝,⒞,⒟….)
4.Use can directly copy the special characters from the above reference URL,and then you return the value of selected letter
5.If you want to give an options like the referred app,you need to maintain the array of those letters and return the value that you wanted to display for that selected letter.
Here is the keyboard button action,the insertText method used to insert your text to the target.
Please find my blog on how to creating third-party keyboards :Here's a link
Please find my sample project on github : Simple Custom Keyboard Sample
This is an old question but incase new people need the answer I will add mine. Gagan's answer (above) is quite elaborate and +1 for the github code; however, to my understanding the question is how to add font to custom keyboard, which could mean more than adding special characters to the keyboard keys (Gagan's answer), for example adding letters of languages not supported by apple.
In any case, to add a custom font to iOS keyboard extension, do the following steps:
Step 1. Drag/Add your ttf font to the Keyboard extension folder
(NOT to the host app) of your project in xcode.
Step 2. While importing make sure to check "Copy items if needed" and finish.
Step 3. Select Info.plist under Supporting Files section of the Keyboard extension folder
Step 4. At the end of the list add a string array
called "Fonts provided by the Application" xcode will autocomplete it
for you.
Step 5. Extend the newly added array and add the name of your
font/fonts eg. "Example.ttf"
Step 6. Now to make sure the font is copied to the final binary app, go to project properties and in the Targets section select the keyboard extension, then in the "Build Phases" tab and the "Copy Bundle Resources" subsection add/link the custom font.
That should get you a custom font in your keyboard extension!
Notice that in the steps the Keyboard extension is mentioned repeatedly on purpose, because thats the catching point when adding custom font to the extension compared to adding font to normal applications and it should not be confused with host app of the extension. iOS Custom Keyboard project in xcode usually comprises a host app which is pretty much a normal iOS app and the actual keyboard extension, both are displayed as folders in the Project Navigator.
If the custom font is needed to be used in the host app, then the steps are similar, only then make sure the destination is the host app folder and once again select the host app Target in the project properties when adding to the Bundle resources.

IOS: Add languages as Localizable.strings

I want to localize my app, and I add French and Spanish to the target properties other than English
But, those languages are not showing inside the file inspector to select. Only 'English' and Something called 'Base'.
Any Help?
If you go to the "Info" pane of your project, you'll see a panel that shows your Deployment Target, Configurations and also the current localizations that you support (including a checkmark for "Use Base Internationalization"). Base Internationalization, b.t.w., allows you to have a single storyboard file that has different string files populating the string fields in the storyboard. It works for iOS 6 and newer.
When you start, it might look like this:
Here I've added Hindi as a language possibility:
And when you're done, you have the checkbox to choose from:
You need to add in your Info Project the localizations (I can't add image sorry).
And next you need to create a new file in your project named "Localizable.strings" and Localize this file in your identity menu.
++
Just click on your project in "Info" panel , where you can see "Localizations" and add the languages you want.

ms-word template named-styles conversion

In MS Word 2010, when I apply a dotx template to a docx files and different styles exist in the two docs, how can I map a list of styles from the former to a list of differently-named styles from the latter?
Let me clarify the issue.
I have a dotx style file with a few standard styles (ex. heading1, caption etc.) and a few other styles (ex. blockquote, superfigure etc.). I must use this template and cannot change nor add any names there.
I have a document preparation system (ex. pandoc, orgmode) that outputs a docx file. When I compare some of the styles used in this docx I see they have a different name compared to the previous dotx, yet the "meaning" is the same. For example the "blockquote" of the dotx should be applied to the parts of the docx that are marked as "quotedtext".
SO, how can I tell MS Word 2010 to apply the dotx style to my docx mapping "blockquote" to "quotedtext"? Any alternative solution using different tecnologies like xls transform or similar stuff?
Any hint would be really appreciated
In the Home tab, click the widget (little arrow in the corner) of the Styles group to display the Styles pane. Click the Manage Styles icon at the bottom, then the Import/Export button at the bottom-left.
In this dialog you can Copy styles across documents or templates, Rename and Delete them. If the other document or template is not open, click Close File (the right button) then Open File (the button-text changes to this).
Unfortunately, you cannot just switch one style for another (at least, not from here; see below). However, I believe the process of Copy, Rename and Delete could achieve the same effect.
Alternatively, press Ctrl-H for the Replace dialog and press the More>> button. Place the cursor in the 'Find What' box, then Format at the bottom-left, and Style... Choose the style you want to replace. Do the same in the 'Replace with' box. However, the style you want to replace with needs to be available in the current document. Use the sequence outlined above to first bring across the styles you need into the current document. A quick way to bring in all the styles from the other document or template is to copy content from this doc/template to the bottom of the current document, deleting it later.
It is also possible to use the Styles dialog (mentioned above) to modify styles, changing the Style Based on property. However, I wouldn't recommend this approach. You will need to be very thorough and be fully aware of the consequences of the cascade; that is, how each modification affects other styles in the document.
If you need to go through this process for a large number of styles then use the macro recorder. You'll then need to modify the generated code, putting it in a loop.