Comments on existing version & Suggestions for future versions. If you want a new feature suggest it here. Discussions about beta versions also come in this section.
program c_test;
var
Value : string;
begin
Value := GetCookies('http://www.moviemeter.nl');
ShowMessage(Value);
Value := GetCookies('http://www.filmstarts.de');
ShowMessage(Value);
end.
returns both an empty string. Am I'm doing something wrong?
You have to send a request to the server before to get cookies .
When you close scripting window, all cookies are deleted and you need to reconnect at least one time to the server to get cookies.
program c_test;
var
Value : string;
begin
// Send a request to the server
Value := GetPage('http://www.moviemeter.nl');
// Now you can show cookies send by the server
Value := GetCookies('http://www.moviemeter.nl');
ShowMessage(Value);
// Send a request to the server
Value := GetPage('http://www.filmstarts.de');
// Now you can show cookies send by the server
Value := GetCookies('http://www.filmstarts.de');
ShowMessage(Value);
end.
But there are still some cookies set in the browser which are not shown by AMC, e.g. cok=1 for moviemeter and a POPUPCHECK-cookie sent by filmstarts.
These seem to be special cookies, only set after using Javascript in the browser. If JS is turned off, the cookies are also not set in the browser.
guess not, but is there a way to get these cookies as well in AMC?
As you said, it is the web browser which set this cookies using Javascript and not the server so AMC can not see them.
You have to add them manually using function AddCookie or SetCookies or GetPage3.
It seems you configure your computers without a 'My documents' folder ?
Maybe it is possible on Windows 10, or it is the default configuration ?
I don't know how to solve this problem but you can use portable version of AMC for now to avoid this problem.
2.8.26 is outdated, there were changes posted on the forum, which required the latest AMC 4.2.1 beta.
So I updated the script on the server, as version 2.8.27, as it will be easier for people (and anyway the old one for AMC 4.2.0 wasn't working anymore).
well, you can do this yourself for pictures very easy.
for example just use for importing actors the IMDB (actors) script and set preference/picture import in AMC to save extra pictures on your HD (eg. picture folder).
use as naming scheme:
prefix:none; movie information:none; extra information:title
Change the IMDB actor script to set "nm0000000.jpg" as title first, do a check if picture already exists, then import pic and then set back real name as title.
you should get all the actor pictures with their IMDB-numbers on your HD.
This is not a full database, but you can use just one pic for all movies.
If you leave the "'Find" tool displayed on your ribbon, there are 3 options - "Whole Field Only", "Reverse Results", and "Display Results".
For whatever reason, the first two are sticky across sessions (when closing and reopening the program).
I would like to request that "Display Results" also become sticky across sessions like the other two. Whenever I open the program that is the first thing that I find I have to do prior to searching for a movie.
This is currently the same as the previous stable 4.2.0 release - I am hoping that it can be corrected prior to the release of 4.2.1.
I'm not sure if this would be considered a bug or a feature request, but since the first 2 work that way, I'd consider it a bug.
In such case the search term should be remembered too, then.
The problem with "display results" is that by default it may prevent anything to be displayed, depending on the options in the other fields.
And then I'll get people asking me by e-mail why the program does not work anymore, forgetting they clicked that
It is kind of an action (filtering) in addition of an option; the two others have no effect until you actually do a search.
One possible solution: if it was checked in the last session, when starting the program having the checkbox greyed (3rd possible state of the checkbox) instead of checked or unchecked, and automatically check it when one of the items of the search toolbar gets the focus (i.e. when using the toolbar).
I really like your idea of a "gray checkmark" to automatically start searching when you type something.
I'm not in favor of keeping the search terms across sessions - when I search for something I'll watch it, and probably not have to search for the exact same thing again.
What would be nice, though, would to have an "X" in the right-hand end of the box (like Microsoft's file explorer's search) to clear out whatever was typed in the search box.
Bonjour,
Comment ajouter un champs personnalisé ? je me met dans l'onglet champs personnalisé, bouton droit je sélectionne "ajouter un champs" je ne peux renseigner que "Tag". Il est évident que j'oublie une chose.
Merci de votre aide.