Someone to write Macros

Post user created macros to share with others here.

Moderator: Moderators

Someone to write Macros

Postby CharlesW on Fri Jan 30, 2009 9:17 pm

I have 4 or 5 (simple) "Find and Replace" macros which I would like some help with.

Is there anyone who would do this for a small fee?
I am happy to call and discuss this. (I am in the UK.)
I can call e.g. the US without any problem.

I have ME2008

Thanks


Charles W
CharlesW
Registered User
 
Posts: 1
Joined: Fri Jan 30, 2009 9:10 pm
Location: UK

Postby deleyd on Mon Feb 02, 2009 9:53 am

Post the details. Is this a "replace all occurrences of X with Y" in the current file?
User avatar
deleyd
Developer
 
Posts: 1023
Joined: Tue Jul 29, 2003 4:27 pm
Location: Santa Barbara, CA

Search and Replace Help

Postby Jonathan on Thu Feb 05, 2009 5:01 pm

Charles W,

Below is a small macro I use for searching and replacing. I might be interested or able to help with your request. You can e-mail me at
jonathan.rayy[the at symbol]gmail.com.

Jonathan


Code: Select all
void
@swap_all_occurrences_in_file(str search_Criterion, str replace_String_Regex)
{
//Function Purpose: Swap all occurrences of a particular search criterion in a file.

int Number_of_Replacements = 0;
tof;
while(!at_eof)
{
  if(find_text(search_Criterion, 0, _regexp))
  {
    Replace(replace_String_Regex);
    Number_of_Replacements++;
    left;
    left;
  }
  else
  {
    break;
  }
}

make_message('Swap. Number of replacements: ' + str(Number_of_Replacements));
}
Jonathan
Registered User
 
Posts: 15
Joined: Sun Mar 20, 2005 5:37 am
Location: Falls Church, Virginia

Font Problems

Postby BradA on Tue Apr 03, 2012 6:58 pm

Since I did a clean install of XP, I lost a bunch of fonts I had downloaded. Now I am in the need for this particular font: Agency FB Regular

Does anyone of you got it ? I dont want to pay the 40,- it costs to dl that sucker.
BradA
Registered User
 
Posts: 9
Joined: Sun Apr 01, 2012 9:05 am


Return to User Created Macros

Who is online

Users browsing this forum: No registered users and 1 guest

cron