Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Next
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
Twitch
YouTube
Facebook (EN Publishing)
Facebook (EN World)
Twitter
Instagram
TikTok
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
The
VOIDRUNNER'S CODEX
is coming! Explore new worlds, fight oppressive empires, fend off fearsome aliens, and wield deadly psionics with this comprehensive boxed set expansion for 5E and A5E!
Community
General Tabletop Discussion
*Dungeons & Dragons
MPMB's D&D 5e Character Tools
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="morepurplemorebetter" data-source="post: 6967042" data-attributes="member: 6788192"><p>Hi vlysses, it seems more people have trouble understanding the "Add a JavaScript File" dialogue you get when using the 'Direct Import' functionality. Unfortunately it is about as comprehensive as I can get it, but I'll try to explain it better here (and in the FAQ in the future).</p><p></p><p>First things first: the sheet has two ways of importing information:</p><ol> <li data-xf-list-type="ol">You export an .xfdf file from the old sheet and import this into the new sheet. All the options for exporting and importing .xfdf files are found in the Import/Export menu. </li> <li data-xf-list-type="ol">Or you just open the new sheet you want to import to, and use the 'Direct Import' functionality to extract all the information from the old sheet directly. This is the one you have been using, as that is the one that asks to add a JavaScript file to your installation. </li> </ol><p></p><p>The first time you use the 'Direct Import' function, you will see the following dialogue (or a slight variation on it, based on your OS and Adobe Acrobat version):</p><p>[ATTACH]79047[/ATTACH]</p><p></p><p>Here you see that you have two options to use the Direct Import function, you only have to do one.</p><ol> <li data-xf-list-type="ol">You either add a JavaScript file to your installation (option 1). This refers to your installation of Adobe Acrobat and is independent of your new or old sheet or any other PDF, this has to do with Adobe Acrobat. The file you will be adding is included in the PDF, and you will be asked to save it somewhere as soon as you press the button called "Click here to save the JavaScript file". </li> <li data-xf-list-type="ol">Or you run the code from the console (option 2). This is the fastest solution. However, if you select option 1, you will never have to see this dialogue with the two options again. Option 1 is a one-time solution, while option 2 is more of a quick fix. </li> </ol><p></p><p>[h3]Option 1: Add a JavaScript file to the installation[/h3]</p><ul> <li data-xf-list-type="ul">Click the button that says "Click here to save the JavaScript file" and save the file somewhere in your document where you can find it, on your desktop for example. Don't change the name or extension of the file! (this is allowed in Pro, but not in Reader). </li> <li data-xf-list-type="ul">Go to where you saved this file, and rename the extension to ".js" instead of ".txt". </li> <li data-xf-list-type="ul">Move this file to the folder that is shown in the dialogue. (If you are on Windows 10 x64 with Adobe Acrobat Reader DC, this folder is "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\Javascripts\"). If the folder doesn't exist, create it. Know that this folder is determined by your operating system and Adobe Acrobat installation, so I can't actually tell you which one you need to use exactly unless I know more about your system. </li> <li data-xf-list-type="ul">Close Adobe Acrobat and restart it. </li> <li data-xf-list-type="ul">Start the 'Direct Import' function again, and you should now no longer get the dialogue asking you to add a JavaScript file. </li> </ul><p></p><p>[h3]Option 2: Run the Code in the Console[/h3]</p><ul> <li data-xf-list-type="ul">Click the button that says "Click here to Open the Console" </li> <li data-xf-list-type="ul">The dialogue should close itself and the console should be opened by itself. </li> <li data-xf-list-type="ul">Click on the line of text that says "StartDirectImport();" and press Ctrl+ENTER (Or Command+Enter on Mac). </li> </ul><p></p><p>I hope this explains it all clearly enough.</p><p></p><p><span style="color: #642481"><strong><u>Do note that if you import from a very old version of the sheet (as you will be doing with a year-old sheet), that not everything might be imported.</u></strong></span></p><p>This is due to the simple fact that the sheet has gotten a lot more complex since the early versions and a lot of fields have changed since then.</p></blockquote><p></p>
[QUOTE="morepurplemorebetter, post: 6967042, member: 6788192"] Hi vlysses, it seems more people have trouble understanding the "Add a JavaScript File" dialogue you get when using the 'Direct Import' functionality. Unfortunately it is about as comprehensive as I can get it, but I'll try to explain it better here (and in the FAQ in the future). First things first: the sheet has two ways of importing information: [LIST=1] [*]You export an .xfdf file from the old sheet and import this into the new sheet. All the options for exporting and importing .xfdf files are found in the Import/Export menu. [*]Or you just open the new sheet you want to import to, and use the 'Direct Import' functionality to extract all the information from the old sheet directly. This is the one you have been using, as that is the one that asks to add a JavaScript file to your installation. [/LIST] The first time you use the 'Direct Import' function, you will see the following dialogue (or a slight variation on it, based on your OS and Adobe Acrobat version): [ATTACH=CONFIG]79047._xfImport[/ATTACH] Here you see that you have two options to use the Direct Import function, you only have to do one. [LIST=1] [*]You either add a JavaScript file to your installation (option 1). This refers to your installation of Adobe Acrobat and is independent of your new or old sheet or any other PDF, this has to do with Adobe Acrobat. The file you will be adding is included in the PDF, and you will be asked to save it somewhere as soon as you press the button called "Click here to save the JavaScript file". [*]Or you run the code from the console (option 2). This is the fastest solution. However, if you select option 1, you will never have to see this dialogue with the two options again. Option 1 is a one-time solution, while option 2 is more of a quick fix. [/LIST] [h3]Option 1: Add a JavaScript file to the installation[/h3] [LIST=i] [*]Click the button that says "Click here to save the JavaScript file" and save the file somewhere in your document where you can find it, on your desktop for example. Don't change the name or extension of the file! (this is allowed in Pro, but not in Reader). [*]Go to where you saved this file, and rename the extension to ".js" instead of ".txt". [*]Move this file to the folder that is shown in the dialogue. (If you are on Windows 10 x64 with Adobe Acrobat Reader DC, this folder is "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\Javascripts\"). If the folder doesn't exist, create it. Know that this folder is determined by your operating system and Adobe Acrobat installation, so I can't actually tell you which one you need to use exactly unless I know more about your system. [*]Close Adobe Acrobat and restart it. [*]Start the 'Direct Import' function again, and you should now no longer get the dialogue asking you to add a JavaScript file. [/LIST] [h3]Option 2: Run the Code in the Console[/h3] [LIST=i] [*]Click the button that says "Click here to Open the Console" [*]The dialogue should close itself and the console should be opened by itself. [*]Click on the line of text that says "StartDirectImport();" and press Ctrl+ENTER (Or Command+Enter on Mac). [/LIST] I hope this explains it all clearly enough. [COLOR=#642481][B][U]Do note that if you import from a very old version of the sheet (as you will be doing with a year-old sheet), that not everything might be imported.[/U][/B][/COLOR] This is due to the simple fact that the sheet has gotten a lot more complex since the early versions and a lot of fields have changed since then. [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Dungeons & Dragons
MPMB's D&D 5e Character Tools
Top