[FR/EN] Modifier script IMDb : destination URL
Posted: 2013-10-01 10:02:49
Bonjour à tous !
Tout d'abord merci aux auteurs du script IMDb, c'est un outil vraiment pratique, qui m'économise beaucoup de temps et me permet de faire de nouvelles choses.
Je souhaite modifier le script afin d'envoyer l'URL de la page du film vers un champ personnalisé, "URLWeb".
(Le but est de pouvoir lancer un film avec le raccourci Ctrl+M, tout en gardant la page IMDb à portée de main ; donc je libère le champ "URL", et après j'importerai dedans le chemin du fichier vidéo.)
Donc j'ai benoîtement essayé avec le mode éditeur de remplacer tous les "fieldURL" par "fieldURLWeb", puis d'enregistrer ce script modifié à part. Quand je l'ai testé, le processus a planté en pointant la première occurrence de mon "fieldURLWeb".
Des idées ? Merci pour votre aide.
===
Hi everyone!
First, thanks to the authors of the IMDb script, which is very useful to me: it allows me to gain time while doing things I couldn't do before.
I'm trying to modify the script in order to direct the URL of the page to a custom field, "URLWeb", instead of the default field "URL". (In the end, I'd like to be able to launch a film right from AMC with a Ctrl+M shortcut, while keeping the IMDb page at hand. So I empty the URL field, and will import in it the path to video file.)
So, dummy as I am, I tried to edit the script to replace all "fieldURL" with "fieldURLWeb". I saved this script aside from the original one, and tested it: the process crashed and showed the exact first line where I had written "field URLWeb".
Any ideas? Thx for your help.
Tout d'abord merci aux auteurs du script IMDb, c'est un outil vraiment pratique, qui m'économise beaucoup de temps et me permet de faire de nouvelles choses.
Je souhaite modifier le script afin d'envoyer l'URL de la page du film vers un champ personnalisé, "URLWeb".
(Le but est de pouvoir lancer un film avec le raccourci Ctrl+M, tout en gardant la page IMDb à portée de main ; donc je libère le champ "URL", et après j'importerai dedans le chemin du fichier vidéo.)
Donc j'ai benoîtement essayé avec le mode éditeur de remplacer tous les "fieldURL" par "fieldURLWeb", puis d'enregistrer ce script modifié à part. Quand je l'ai testé, le processus a planté en pointant la première occurrence de mon "fieldURLWeb".
Des idées ? Merci pour votre aide.
===
Hi everyone!
First, thanks to the authors of the IMDb script, which is very useful to me: it allows me to gain time while doing things I couldn't do before.
I'm trying to modify the script in order to direct the URL of the page to a custom field, "URLWeb", instead of the default field "URL". (In the end, I'd like to be able to launch a film right from AMC with a Ctrl+M shortcut, while keeping the IMDb page at hand. So I empty the URL field, and will import in it the path to video file.)
So, dummy as I am, I tried to edit the script to replace all "fieldURL" with "fieldURLWeb". I saved this script aside from the original one, and tested it: the process crashed and showed the exact first line where I had written "field URLWeb".
Any ideas? Thx for your help.