Search found 956 matches
- Mon Apr 16, 2007 11:57 am
- Forum: Talking LiveCode
- Topic: How to reduce the size of the stack?
- Replies: 3
- Views: 4605
Hi Pradeep, The Revolution IDE will add a number of custom properties to your controls as you edit scripts and make other modifications. These IDE-specific data chunks help the IDE remember what text was selected when you last saved the script, etc. Chipp Walters of Altuit has created a plugin to he...
- Sun Apr 15, 2007 4:45 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Interactive launch or open process?
- Replies: 1
- Views: 3711
Where you can 'read', you can usually 'write' - look at the 'write to process' command to send keystrokes to the stdIn of the previously opened process. on mouseUp put "telnet" && server_ip into tProcess open process tProcess read from process tProcess for 10 in 10 seconds put it into some_variable ...
- Sat Apr 14, 2007 6:39 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Quartam Reports Help
- Replies: 2
- Views: 4023
Hi Kathir, While it's possible to do this with Quartam Reports 1.0.5, it's a not-so-obvious workaround requiring the Professional Edition. In a nutshell, you have to script a data broker that will feed the detail data one line at a time, flagging the type of data that is displayed (a complete line o...
- Sun Apr 08, 2007 4:53 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: movie command
- Replies: 4
- Views: 5837
Do you just want to hide the player after the movies has ended while allowing the user to continue clicking around - or is your goal to prevent the user from doing anything until the movie has ended? Case 1. Just hide the player at the end of the movie: - handle the 'playStopped' message to hide the...
- Wed Apr 04, 2007 12:37 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: altNTLM.dll error
- Replies: 14
- Views: 12987
Hi Kathir, Try the 'grab' command instead of the 'drag' command: on mouseDown grab me end mouseDown Unfortunately, you can't constrain the end location of the grabbed control. If you want to do that, you'll have to script the mouse tracking yourself: local sTrackingFlag, sTrackingOffsets on mouseDow...
- Mon Apr 02, 2007 12:08 pm
- Forum: Talking LiveCode
- Topic: how to exclude cards/stacks from recentcards?
- Replies: 4
- Views: 5016
Hi Horst, Upon revisiting this problem, things do seem to act strange: - I created a new mainstack "mainie" - I added two substacks "subbie1" and "subbie2" - I went back to the mainstack and added a button on mouseUp -- first display the current situation for later reference answer the recentCards -...
- Fri Mar 30, 2007 8:41 am
- Forum: Talking LiveCode
- Topic: how to exclude cards/stacks from recentcards?
- Replies: 4
- Views: 5016
Hi Horst, The only way to excluse cards from being added, is explicitly setting the global lockRecent property to true before going to the card. By default, this property is set to false, and it will automatically be reset to false when all running handlers are finished - so you can't set it once an...
- Mon Mar 26, 2007 3:22 pm
- Forum: Internet
- Topic: Ftp - Getting a file
- Replies: 4
- Views: 7465
In addition to Klaus' suggestions, check out the 'URL' keyword. Basically, it can be as easy as: on mouseUp ask file "Save as:" if it is empty then exit mouseUp put "binfile:" & it into tLocalPath put "ftp://user:password@example.net/dir/file.ext" into tRemotePath put URL tRemotePath into URL tLocal...
- Fri Mar 23, 2007 7:08 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Newbie: Trim?
- Replies: 4
- Views: 6466
Hi Kai, A library stack is a stack that is loaded as a library by means of the 'start using' command. if "MyLibraryStack" is not among the lines of the stacksInUse then start using stack "MyLibraryStack" end if This can be a substack of your project stack, or it can be a mainstack by itself. The adv...
- Fri Mar 23, 2007 6:35 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Newbie: Trim?
- Replies: 4
- Views: 6466
Hi Kai, There are two approaches: you either use Revolution's chunking abilities, or write a small function to fullfill your needs. Approach 1: Revolution chunks on mouseUp put " It's fun to be a lunatic! " into tOriginalText put word 1 to -1 of tOriginalText into tTtrimmedText answer tOriginalText ...
- Thu Mar 22, 2007 6:38 am
- Forum: Using Externals
- Topic: Print logo
- Replies: 1
- Views: 4568
Hi Katir, To print a logo in the topleft on each page of a report, do the following: - in the Document Settings, turn on 'Header section' if it isn't on yet - ensure the page header section has enough room for the logo - use the image tool to create an image item in the page header section - use the...
- Tue Mar 20, 2007 7:35 am
- Forum: Multimedia
- Topic: Installers?
- Replies: 14
- Views: 15182
InstallGadget
Hi Bidge,
Here's the installer builder that I've been using for my projects. It was built using Revolution and creates .MSI files for Windows and .DMG files for MacOSX.
http://www.sweattechnologies.com/InstallGadget/
Best regards,
Jan Schenkel.
Here's the installer builder that I've been using for my projects. It was built using Revolution and creates .MSI files for Windows and .DMG files for MacOSX.
http://www.sweattechnologies.com/InstallGadget/
Best regards,
Jan Schenkel.
- Tue Feb 06, 2007 12:42 pm
- Forum: Mac OS
- Topic: revURLftpUpload
- Replies: 1
- Views: 4425
Hi TR-i, Don't you mean 'libURLFTPUpload' and 'libURLFTPUploadFile' ? Regardless, it depends on the server and protocol. The fact that you get a 500 error indicates that you're attempting to upload files to an HTTP server. The URL library therefore assumes you're trying to upload the data or the fil...
- Mon Dec 18, 2006 11:32 pm
- Forum: Databases
- Topic: UPDATE or INSERT Pictures in MySQL
- Replies: 3
- Views: 35728
Try base64 encoding
Hi Horst, One way to ensure nothing messes up the query is by encoding the image data in a safe format on the way to the database, and decoding it when ypu get it back out of the database. The easiest solution for that is undoubtedly 'base64' encoding. See the 'base64encode' and 'base64decode' funct...
- Tue Aug 01, 2006 4:11 am
- Forum: Databases
- Topic: Linking to MS Access Database on Local Drive
- Replies: 14
- Views: 30523
Hi Steve, "Can't find handler" means exactly that: the interpreter cannot find a command (aka 'message handler') by the name of 'revexecutesql' To execute SQL queries that modify the database contents (such as INSERT, UPDATE and DELETE), you can use either the 'revdb_execute' function or the 'revSQL...