deploy grasshopper plugin from programfiles location
quick question. is it possible to deploy a grasshopper plugin from a location that is not inside of grasshopper’s components/libraries folders? meaning, can i create a location in programfiles for my plugin, and then tell grasshopper to look for it there?

it appears to be possible with rhino plugin…
yes, you have several options:

install your plugin using an rhi package (that probably doesn’t give you the freedom you’re after)

edit the xml settings to include the folder you’ve installed your plugin in. this can be done via the ui using the \_grasshopperdevelopersettings command, but it’s just …
you pretty much cannot. or at least, you can (and should) use an ide to edit scripts and script modules in the python libs folder of your install, but the shared and project scripts in the gateway are stored as serialized resources, not as plain text.

you simply cannot execute scripts outside of i… hey [@web2033](/u/web2033), you can see more about how to correctly configure functions here:

[image]

[configure and deploy functions](https://docs.netlify.com/functions/configure-and-deploy/)

netlify builds, deploys, and hosts your front end.

learn how to get started, see examples, and view documentation for the modern web platform.

… This is indeed something of a problem. It is always difficult to jump into a new and large code-base. You should concentrate on any available overview documentation (e.g., explaining how it works or is structured), tutorials (e.g., showing how to make mods), and reference documentation (e.g., class references).


If you need to really dig into the source code of the library / application, then you need to find a relevant starting point. This could be something that is similar to what you want to do or modify. When you find a decent starting point, just look it up and try to understand what it does and how it works, and work your way out from there, by looking up related code (e.g., that is called within that code you are looking at, etc.). The "find in files" is definitely a central tool when exploring a code-base because it gives you an instant snapshot of where certain things are used and declared. For example, if you want to modify the behavior of class A, then there is a good chance that you will want to look at all the places where class A is used so that you can assess if your modified version will work or if you need to modify other things.


There is no doubt that doing this is hard and takes a lot of patience. I've done this several times with different code bases (some small ( < 50,000 LOCs ), some big ( > 1,000,000 LOCs )), and it's always a tedious process, especially if documentation is lacking (which it very often is). my legendary persistence has paid off!

from looking at other dockerfiles in the repo, i discovered that the js files needed were not being copied to the image in the original dockerfile i used to base this on. no wonder it was looking everywhere and not finding anything!

:point\_right: copy ./build… hi,

by default we have x11 and certain plugins are implemented for rendering frames through x11. also wayland is supported in nveglglessink plugin. in headless mode you would still need the prebuilt libs although don’t use them. please use the default libgstnveglglessink.so and include the libs:

n… Program installation methods differ depending on the type of program you are trying to install. Redhat uses the RPM utility to manage .rpm programs, but if you have a .tar, [tar.gz](/posts/bad_link/36792?url=http%3A%2F%2Ftar.gz%2F), .tgz, or similar install file, the steps for installing are entirely different.



From an old post of mine at the *cough!**shameless plug**cough!* [other forum](http://www.justlinux.com) I moderate:



> 
>  In general, RPM (Redhat Package Manager) files contain pre-compiled, ready-to-run programs and associated files such as instalation/usage documentation, etc.  
> 
> .[tar.gz](/posts/bad_link/36792?url=http%3A%2F%2Ftar.gz%2F) files, on the other hand, often contain the source code for a given program. This isn't always true; but it often is. If that's the case, you'll have to compile the progam yourself; instructions on how to do so are usually included. The .[tar.gz](/posts/bad_link/36792?url=http%3A%2F%2Ftar.gz%2F) extension comes from the following:
> 
> 
> 
> The .tar part indicates that the file actually consists of multiple files combined into one large archive file using the "tar" (Tape ARchive) program. The .gz part means that the resulting .tar archive has been compressed using the "gzip" program (similar to zip or Winzip). tar does not, by itself, compress; it only "wraps" multiple files into a single archive file, hence the subsequent use of gzip to actually compress that archive.
> 
> 
> 
> If your distro supports the use of RPMs (Redhat and Mandrake do),you have a couple of choices:
> 
> 
> 
> - Your distro will include one or more installation program which you can use from within the GUI. These can vary depending on the desktop environment you use, but GnoRPM, KPackage, Software Manager and Package Manager are a few.
> 
> 
> 
> - Any rpm package can be installed from the command line using the "rpm" command. If you're not at the command line, open a terminal window and type "rpm -ivh *filename*" (no quotes). This will install the package and give you some on-screen feedback as the intallation progresses. Read the rpm man pages for more info on usage.
> 
> 
> 
> For .[tar.gz](/posts/bad_link/36792?url=http%3A%2F%2Ftar.gz%2F) or .tgz files, you can accomplish both the decompression and the extraction of the tarball (a common term for a .tar, .[tar.gz](/posts/bad_link/36792?url=http%3A%2F%2Ftar.gz%2F), or .tgz file) using the GNU version of the "tar" command (which is probably the version included with your distro). For example, to uncompress and extract a file, type the following at a prompt:  
> 
> tar xzvf *filename*. The "z" option will run the file through gzip/gunzip first (assuming you've installed gzip), and then extract the files in the tar archive. Once you've done that, look for a README or some instruction file which should tell you how to proceed from there.
> 
> 
> 


Read the following link from RH's support site for more RH 9-specific info on the subject and repost if you have further questions:



<http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-graphical-rpm.html> 3 ways u could do it:



1) make a shortcut and place it in the cab file generated, then edit the setup file and add the path to it and it will unzipp to the desktop. Drawbacks: if they choose to install your app in another folder, the shortcut wont work.



2) When the program is run make it add a shortcut to the desktop (i lost the code but if i find it ilol post it.



3) dont use the pakaging and deployment sytem, use another install creator eg Install Creator Pro. Drawbacks: you will probably have to use the pakage and deployment wizard to find out where the files need to go and then put them into the install creator manually.



hope that helps. more information: [c++ friend functions](http://www.tutorialspoint.com/cplusplus/cpp_friend_functions.htm) > Hi pliz assist me, I need a code that can allow the login form to search for pin number stored in another form example when a customer enters the pin number and clicks ok button the login form searches if the pin number exists in the bank details form ..thanx in advance
> 
> 


post code Hi Jan,


years ago John Hawkinson did a script that would invoke the place options on an already placed PDF, InDesign page or AI file, I think. Hope, I can find the old thread or the ExtendScript code. You could build on this. But be warned: Not all PDFs would show how many pages are inside. At least you cannot see this by scripting.


 


Ah. Found the extended script I did, based on John's original one:


 


 



```
// PlaceAgain-PlaceOptionsShowing-SELECTION.jsx
// Uwe Laubender

//DESCRIPTION:Select a placed image, PDF or InDesign document to replace it with itself getting options

/**
* @@@BUILDINFO@@@ PlaceAgain-PlaceOptionsShowing-SELECTION.jsx !Version! Fri Sep 09 2016 14:09:53 GMT+0200
*/

/*
	Posted in this thread at Adobe InDesign Forum:
	"Toggle pages of a linked Indesign document inside Indesign?"
	mmackinven | Sep 9, 2016
	https://forums.adobe.com/message/8993859#8993859
	
	You can either select the placed file directly or its container frame.
	Or, if its part of a group, the group itself.
	Or, if the container frame is pasted inside another object, that object.
	
*/

placeAgainSelection();

function placeAgainSelection()
{
	if(app.documents.length == 0){alert("ERROR"+"\r"+"No document is open."); return};
	if(app.selection.length != 1){alert("ERROR"+"\r"+"Select one single item containing a placed file."); return};

	// The placed object is selected:
	if
	(
		app.selection[0].constructor.name == "ImportedPage" || 
		app.selection[0].constructor.name == "PDF" ||
		app.selection[0].constructor.name == "EPS" ||
		app.selection[0].constructor.name == "Image" ||
		app.selection[0].constructor.name == "PICT" ||
		app.selection[0].constructor.name == "WMF"
	)
	{	
		var graphic = app.selection[0];
	};
	
	else if(app.selection[0].allGraphics.length == 0){return};
	
	// The container of the placed object is selected:
	else{var graphic = app.selection[0].allGraphics[0]};

	// Two important checks:
	// Case 1: Graphic was pasted on the page from e.g. PhotoShop:
	if(graphic.itemLink == null){alert("ERROR"+"\r"+"The graphic was pasted on the page. The original file cannot be found.");return};
	// Case 2: Link is not available, because placed graphic was renamed, removed or otherwise is not available:
	var file = File(graphic.itemLink.filePath);
	if(!file.exists){alert("ERROR"+"\r"+"\""+file.name+"\""+"\r"+"File cannot be found."); return};
	
	// If you cancel the place options dialog, no error will be thrown:
	try{
	graphic.place(file,true);
	}catch(e){};
};
```

 


 


**Important Note:**


The original thread from 2016 where I posted the script code did not make it to the new InDesign forum.


 


Because of that this thread where I mentioned my script is rendered useless:


[https://community.adobe.com/t5/indesign/swapping-pages-of-a-linked-file-indesign-file-without-replac...](https://community.adobe.com/t5/indesign/swapping-pages-of-a-linked-file-indesign-file-without-replacing-the-file-and-choosing-the-page/m-p/10403771?page=1)


 


This one as well, but there is also a link to a script by Roland Dreger that could be useful:


<https://community.adobe.com/t5/indesign/linked-ai-file-change-artboard/m-p/10444575?page=1>


 


Regards,  
Uwe Laubender


( ACP )