Totally can't believe I figured it out!!!!!!
Thanks for the help.
Here is what I used:
program Replacename;
uses
StringUtils1;
var
s: string;
Value: string;
Value2: string;
begin
Value := TextAfter(GetField(fieldUrl), '\\tower\\Movies\\');
Value2 := TextBefore(Value, '.', '');
s ...
Search found 23 matches
- 2010-06-01 17:32:56
- Forum: Ant Movie Catalog > Scripts
- Topic: Help with simple enhancement to the replace script
- Replies: 11
- Views: 3450
- 2010-05-28 12:20:35
- Forum: Ant Movie Catalog > Scripts
- Topic: Help with simple enhancement to the replace script
- Replies: 11
- Views: 3450
- 2010-05-27 19:51:23
- Forum: Ant Movie Catalog > Scripts
- Topic: Help with simple enhancement to the replace script
- Replies: 11
- Views: 3450
- 2010-05-27 14:21:46
- Forum: Ant Movie Catalog > Scripts
- Topic: Help with simple enhancement to the replace script
- Replies: 11
- Views: 3450
- 2010-05-27 13:06:04
- Forum: Ant Movie Catalog > Scripts
- Topic: Help with simple enhancement to the replace script
- Replies: 11
- Views: 3450
- 2010-05-27 01:13:17
- Forum: Ant Movie Catalog > Scripts
- Topic: Help with simple enhancement to the replace script
- Replies: 11
- Views: 3450
- 2010-05-25 23:38:51
- Forum: Ant Movie Catalog > Scripts
- Topic: Help with simple enhancement to the replace script
- Replies: 11
- Views: 3450
Help with simple enhancement to the replace script
Here is the replace script that I use and it works:
program FindReplace;
const
WholeWord = False;
Search = '\\tower\\Movies\\';
Replace = 'c:\Movies\';
Field = fieldURL;
var
s: string;
begin
s := GetField(Field);
if WholeWord then
begin
if s = Search then
SetField(Field, Replace ...
program FindReplace;
const
WholeWord = False;
Search = '\\tower\\Movies\\';
Replace = 'c:\Movies\';
Field = fieldURL;
var
s: string;
begin
s := GetField(Field);
if WholeWord then
begin
if s = Search then
SetField(Field, Replace ...
- 2010-03-29 13:59:58
- Forum: Ant Movie Catalog > Scripts
- Topic: IMDB Release Date script fix
- Replies: 2
- Views: 1283
- 2010-03-23 19:04:46
- Forum: Ant Movie Catalog > Scripts
- Topic: IMDB Release Date script fix
- Replies: 2
- Views: 1283
IMDB Release Date script fix
I have this script to pull the release date of a movie from IMDB:
// Release Date
if CanSetField(fieldSource) then
begin
Value := TextBetween(PageText, '<h5>Release Date:</h5>', '<');
Value := TextBetween(Value, #13#10, #13#10);
Value := TextAfter(Value, ' ');
Month := TextBefore(Value ...
// Release Date
if CanSetField(fieldSource) then
begin
Value := TextBetween(PageText, '<h5>Release Date:</h5>', '<');
Value := TextBetween(Value, #13#10, #13#10);
Value := TextAfter(Value, ' ');
Month := TextBefore(Value ...
- 2009-10-13 23:29:50
- Forum: Ant Movie Catalog > Scripts
- Topic: automatically name category based on rating
- Replies: 2
- Views: 1255
- 2009-10-12 15:04:58
- Forum: Ant Movie Catalog > Scripts
- Topic: automatically name category based on rating
- Replies: 2
- Views: 1255
automatically name category based on rating
I import the movies rating (G,PG,PG-13) from DVDEmpire but would like to be able to in a script have it automatically fill in the category field with a custom category name based on the rating.
For example if the rating is G or PG name the category field "Kids"
or if the rating is R or NC-17 name ...
For example if the rating is G or PG name the category field "Kids"
or if the rating is R or NC-17 name ...
- 2009-03-18 14:12:54
- Forum: Ant Movie Catalog > Templates
- Topic: $$ITEM_CHECKED ????
- Replies: 1
- Views: 1771
$$ITEM_CHECKED ????
Is $$ITEM_CHECKED available to be used??? I can get all of the other variables to work but is there one for the movie being checked or not?
Thanks,
Scott
Thanks,
Scott
- 2009-03-09 13:55:37
- Forum: Ant Movie Catalog > Help
- Topic: Export/Import from one AMC to another
- Replies: 4
- Views: 1752
Export/Import from one AMC to another
I have a master AMC database of all of my movies. I have another AMC Database on a different computer that only has the movies that are on that computer. When I add movies to that computer I want to just be able to select the movies in my master DB and export them so I can import them into the other ...
- 2009-02-18 20:21:34
- Forum: Ant Movie Catalog > Scripts
- Topic: [REL] DVD Empire fix
- Replies: 21
- Views: 10390
- 2009-02-12 14:24:35
- Forum: Ant Movie Catalog > Scripts
- Topic: thetvdb.com???
- Replies: 0
- Views: 1258
thetvdb.com???
Does anyone have a script for thetvdb.com??
Thanks,
Scott
Thanks,
Scott
- 2008-12-23 14:00:07
- Forum: Ant Movie Catalog > Scripts
- Topic: Imdb script.. pull release month and year
- Replies: 4
- Views: 1564
- 2008-12-23 00:55:25
- Forum: Ant Movie Catalog > Scripts
- Topic: Imdb script.. pull release month and year
- Replies: 4
- Views: 1564
- 2008-12-22 15:15:00
- Forum: Ant Movie Catalog > Scripts
- Topic: Imdb script.. pull release month and year
- Replies: 4
- Views: 1564
Imdb script.. pull release month and year
I am using the IMDB script which pulls the year the film was released. How can I have it pull the month as well???
Thanks,
Scott
Thanks,
Scott
- 2006-01-30 19:17:44
- Forum: Ant Movie Catalog > Scripts
- Topic: IMdB pics worked yesterday, but now...
- Replies: 12
- Views: 4897
- 2005-06-06 17:16:39
- Forum: Ant Movie Catalog > Templates
- Topic: AMCphp - 1.0 released (bugfix + history report)
- Replies: 264
- Views: 103406