Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I execute script-fu from batch mode?

GIMP - Documentation
Invoke the script as non-interactive and add a pair of escaped quotes around each string just like you do in (script-fu-register). You DO NOT need to replace '-' with '_' in any names or registrations.
Related Questions

What is Script-Fu?

GIMP - Documentation
Script-Fu is the first GIMP scripting extension. Extensions are separate processes that communicate with the GIMP in the same way that plug-ins do. The distinction is that extensions don't require an active image to operate on, instead extending GIMP's functionality. GIMP internals for version 1.0 have been completely overhauled from version 0.54. In particular, the plug-in API has been made far more general with the advent of the procedural database (PDB).
Related Questions

How do I call one script-fu script from another?

GIMP - Documentation
The trick to calling script-fu-scripts from another script is to just reference the main define for the script and not to try to use the pdb call. All the scripts in script-fu share a common name space; you call other scripts just like a regular function / define / whatever you call those those things in_scheme.
Related Questions

Where can I learn about Script-Fu?

GIMP - Documentation
with plug-ins, web pages, COBOL, or anything else, one of the best things you can do is look at other peoples' code, and play with it. But it helps a lot if you know Scheme. S&P's Script-Fu pages at http://www.xcf.berkeley.edu/~gimp/script-fu/script-fu.html = Mike Terry's Black Belt School of Script-Fu at http://manual.gimp.org/manual/GUM/write_scriptfu3.html
Related Questions

How do I call a plug-in from script-fu?

GIMP - Documentation
The following examples assume the plug-in name is "plug_in_randomize_hurl", and the plug-in has four parameters specific to it, the first two of which are floats, and the next two ints. The first parameter should always be a "1". The next two are the image number and drawable. Anything following these numbers will be plug-in parameters, which depend on the plug-in. Inside an actual script, call a plug-in like this: (define (script-fu-fred img drawable) (plug-in-randomize-hurl 1 img drawable 100.
Related Questions

How do I execute a batch file or shell script from Ant?

Apache Ant - Frequently Asked Questions
On native Unix systems, you should be able to run shell scripts directly. On systems running a Unix-type shell (for example, Cygwin on Windows) execute the (command) shell instead - cmd for batch files, sh for shell scripts - then pass the batch file or shell script (plus any arguments to the script) as a single command, using the /c or -c switch, respectively. See the above section for example <exec> tasks executing sh. For batch files, use something like: <exec dir=".
Related Questions

GIMP Developer FAQ
In the words of S&P: Script-Fu is the first GIMP scripting extension. Extensions are separate processes that communicate with the GIMP in the same way that plug-ins do. The distinction is that extensions don't require an active image to operate on, instead extending the GIMP's functionality. GIMP internals for version 1.0 have been completely overhauled from version 0.54. In particular, the plug-in API has been made far more general with the advent of the procedural database (PDB).
Related Questions

Question. How do I use the script in batch mode?

Tone Selection Script - FAQ
Assume you have 100 image files on your computer. Within Photoshop, you open two of them. Photoshop calls these open files documents. Therefore, you have two open documents. Only one of them can be active. If the documents are tiled, one on top of the other, the active document is always the one on top. The palettes that show document information, such as the Layers, Channels, History, etc palettes, show the information for the active document.
Related Questions

Do I need an X server to run in batch mode?

GIMP - Documentation
Yes, you have to have some form of X server (unless you're running Windows, of course). It needs an X server for image processing, and for font manipulation. However, if you wish to run in batch mode, you can run with a special, frame-buffer-less X server called Xvfb, which doesn't require a graphics card or mess with your screen: Xvfb :1 -screen 0 10x10x8 -pixdepths 1 & gimp --display :1.0 --no-interface --batch "commands" ..
Related Questions

Q9.8: How do I run MATLAB in batch mode?

Frequently asked questions about MATLAB
On the PC, you can use the /r flag to start your m-file immediately upon starting MATLAB. Using this in combination with the Windows Task Manager, you can set a MATLAB job to run when you want it to run, even if you are not at the computer. Please note that you will need to exit MATLAB at the end of the m-file. Alternately, if you only want a single file to run, you can name it startup.m and place it in your MATLAB directory.
Related Questions

Do I have to have an X server? Even for batch mode?

GIMP User FAQ
Yes, you have to have some form of X server - the GIMP is an X application! It needs an X server for image processing, and for font manipulation. However, if you wish to run in batch mode, you can run with a special, frame-buffer-less X server called Xvfb, which doesn't require a graphics card or mess with your screen: Xvfb :1 -screen 0 10x10x8 -pixdepths 1 & gimp --display :1.0 --no-interface --batch "commands" ..
Related Questions

Which transactions will be supported in batch mode and which will be supported in real time?

ASK: Vendors - FAQs
Answer: ASK will support transactions via their EDI System in a batch mode. Work is currently being done with payers to determine if they can support the ANSI ASC X12N 270/271, 276/277 and 278 in a real time mode.
Related Questions

How to execute a WinRunner Script in QTP?

My Journey: QTP Faqs
Ans : (a) TSLTest.RunTest TestPath, TestSet [, Parameters ] --> Used in QTP 6.0 used for backward compatibility Parameters : The test set within Quality Center, in which test runs are stored. Note that this argument is relevant only when working with a test in a Quality Center project. When the test is not saved in Quality Center, this parameter is ignored.
Related Questions

Why do some lines in my script never execute?

AutoHotkey FAQ
Any lines you want to execute immediately when the script starts should appear at the top of the script, prior to the first hotkey, hotstring, or Return. For details, see auto-execute section. Also, a hotkey that executes more than one line must list its first line beneath the hotkey, not on the same line. For example: #space:: ; Win+Spacebar Run Notepad WinWaitActive Untitled - Notepad WinMaximize return
Related Questions

What does ''procedural-database-error'' in script-fu mean?

GIMP User FAQ
Normally it means that the script is trying to use a particular font that isn't available on your system - it's either not installed or not in your X server's FONTPATH. The base script-fu package makes extensive use of the freefont package, and at least one font (AlfredDrake) from the sharefont package.
Related Questions

How do I execute a batch file when a user logs on?

Fortress FAQ
Answer: You can assign a logon batch file for users using one of the following methods. Select only one choice. Errors could occur if the batch file is assigned in multiple locations. Option 2) Enter your batch file in the Startup Program edit box under the Full Console Settings or Stream Settings tab, depending on the console mode. The location of this box depends on the version of Fortress. Check your index for these box locations. If cmd.exe or command.
Related Questions

How do I produce PNG graphics in batch mode?

R FAQ
Under Unix, the png() device uses the X11 driver, which is a problem in batch mode or for remote operation. If you have Ghostscript you can use bitmap(), which produces a PostScript file then converts it to any bitmap format supported by Ghostscript. On some installations this produces ugly output, on others it is perfectly satisfactory. In theory one could also use Xvfb from X.
Related Questions

How can I submit in batch mode?

Phenyx FAQ
To submit in batch mode, you need to purchase a local version of Phenyx or to have access to the Phenyx OnLine Server. Please contact us or read the admin documentation.
Related Questions

How do I run MrBayes in batch mode?

FAQ - MrBayes
When you become more familiar with MrBayes, you will undoubtedly want to run it in batch mode instead of typing all commands at the prompt. This is done by adding a MRBAYES block to a Nexus file, either the same file containing the DATA block or a separate Nexus file. The MRBAYES block simply contains the commands as you would have given them from the command line, with the difference that each command line is ended with a semi-colon.
Related Questions

What is Net-Fu? Where is it?

GIMP - Documentation
Net-fu is a web-based interface to a script-fu server. The work is done at a remote site. To see Net-fu, point your web browser at ftp://ftp.gimp.org/ or one of the miiror sites, and then go to "gimp/net-fu/". Any web browser can read net-fu pages; the browser must be Java-enabled to actually run Script-fu. Fonts
Related Questions

Can PurgeIE Execute in 'Stealth' mode?

Frequently Asked Questions
Beginning with Version 3.02, this is supported. Using the new Configuration Window, you can choose Disable for the Splash Screen and choose Disable for the Main Window. You can then choose to have PurgeIE execute at System Startup and/or generate a "Purge NOW" shortcut to execute with these display options.
Related Questions

Back to top What are the steps to creating a Hurricane Batch script?

Hurricane for AutoCAD - FAQ
Press the "Create Script" button, and you should see Notepad open with your "Compiled" script (you can disable this automatic display feature in the "Tools -> Options" menu and PREFS Tab) Open AutoCAD, and run the script... (you can run it using several methods... see AutoCAD Setup - Add Hurricane Button in AutoCAD)
Related Questions

How can I use a "batch script" to execute a number of AMPS models?

AMPS Technologies :: Home
The key to this is the environment variable AMPS_PROCESSEXIT. This should be set to 1 to release the AMPS runtime window, but remember to reset this to NULL. Here is an example of a batch file to run three AMPS models in sequence:
Related Questions

Is there a way to run the model in "batch mode" that would generate trajectory endpoints?

NOAA ARL Frequently Asked Questions
FAQ question under HYSPLIT in General explains how to adjust the start height to account for differences between model terrain and actual terrain. I'm assuming that it's most accurate to use actual elevation plus my desired trajectory height as a starting height, and specify the option KMSL=1 in the setup.cfg file on the PC. Is this correct? Occasionally these trajectories are wildly different f rom those with KMSL=0 and the start height specified as meters above ground level.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact