|
|
#1 |
|
Forum King
|
using FileFunc in a macro
i'm currently polishing up a macro to get the name of a Type1 font and to install it. as my current code requires a macro from FileFunc.nsh, i was wondering if anything speaks against the usage of the following inside my macro
PHP Code:
|
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
|
If FileFunc was included, but the 2 macros weren't, then you might still have problem.
Because of how FileFunc.nsh is structured, included it more than once shouldn't cause a problem. Here's a method I'd used in a few of my scripts: PHP Code:
PHP Code:
|
|
|
|
|
|
#3 |
|
Major Dude
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
|
oops... I should have used !ifndef. So the first code should be like this:
PHP Code:
|
|
|
|
|
|
#4 |
|
Forum King
|
oh thanks, didn't think of that. also good to know there's no problem working like that.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|