This code snippet puts the contents of a LiveCode field into a text file on the desktop of a Mac or Windows system, referring to the file by a file URL. How can I restrict an answer file dialog to just applications? For example, using 'answer file "somePrompt" with specialFolderPath Applications ' or 'answer file "somePrompt" with specialFolderPath 'apps' ' will open the dialog in whatever directory the application issuing this command is in, be it the Revolution IDE or your standalone. How do I Create a Modal Dialog? How do I Search an Array?
Directory path conventions
This “magic application starting thingy” works because of a little-known Windows feature based on the “App Paths” registry key. Both the App Paths and Applications registry subkeys are used to register SOFTWARE Microsoft Windows CurrentVersion App Paths The Windows System PATH tells your PC where it can find specific directories that contain executable files.for example, is found.
References The original version of this lesson was based on the stack "How to work with Files" by Ken Ray.
Last Updated Feb 09, Print Article.
Video: App path windows Change Default Program Files Installation Directory Location
How do I Search an Array? The first several steps of the process are the same for Windows 7, 8, and How do I add Motion to Animated Overlays?
How do I rename the headers on a text file?
CUPID ONLINE DATING SITE FREE YAHTZEE
|How do I Edge Detect an Image?
Two notes; Apple has available a long list of four-letter shortcuts to standard directory locations which may be usable and this does NOT work to navigate to the Applications directory in OS X. The below code snippet, which writes data from a LiveCode field to a text file on the desktop of a Mac or Windows system, serves as an example of using the specialFolderPath function using.
The Best Tech Newsletter Anywhere Joinsubscribers and get a daily digest of news, geek trivia, and our feature articles. Windows Mac iPhone Android. The first several steps of the process are the same for Windows 7, 8, and
You need to make sure that the exe is in a folder that's on the PATH environment HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App. Normal program installation changes this path to include the program's installation path.
How to Edit Your System PATH for Easy Command Line Access in Windows
See also, "How do I add a folder to the Windows.
Add your location— C: Joinsubscribers and get a daily digest of news, comics, trivia, reviews, and more.
How do I add keys to or delete keys from an array? Smarthome Office Security Linux. How can I search delimited data for a matching string?
Video: App path windows How To Find the Absolute Path of an Application
Add that exact line at the end of the variable value make sure not to delete any of the existing text in the value!