Search found 8 matches
- Tue Nov 02, 2010 3:10 pm
- Forum: Scripting
- Topic: Using data from MySQL via ODBC
- Replies: 5
- Views: 8377
Using data from MySQL via ODBC
Hi Mario, to access the result of a database query you have to use the suitable methods of the Statement class. Your code line var name = dbStat; simply assignes the Statement object itself to the variable name. What you actually want is to read a column value of a record/row found by the query. A s...
- Tue Nov 02, 2010 3:07 pm
- Forum: Scripting
- Topic: Using data from MySQL via ODBC
- Replies: 5
- Views: 8377
Using data from MySQL via ODBC
Hi all, I'm having troubles trying to use data from MySql database into Powerswitch 8. I had been able to establish a good connection ("Database connection succes") to my MySql database [cfr also Zegwaard 2008-06-13 07:18:00 ] But I'm not able to use data from database! I always get from t...
- Tue Nov 02, 2010 3:04 pm
- Forum: Flows
- Topic: How to inject a file into a folder?
- Replies: 1
- Views: 6509
How to inject a file into a folder?
Enfocus created a Switch flow which enables you to add a file into a folder.
You can download the flow using the link below:
http://www.crossroads-world.com/en/Get% ... older.aspx
You can download the flow using the link below:
http://www.crossroads-world.com/en/Get% ... older.aspx
- Tue Nov 02, 2010 3:01 pm
- Forum: Flows
- Topic: How to inject a file into a folder?
- Replies: 1
- Views: 6509
How to inject a file into a folder?
Hello, I want to add a file into a folder. Situation: I input a jobfolder with some PDF files into a switchflow. The jobfolder is not flattened. On output i want the folder to contain 1 extra file (upload.done) Currently: When i use the Switch inject tool i have this extra file added, but then its a...
- Tue Nov 02, 2010 11:44 am
- Forum: Scripting
- Topic: Ask Switch to launch a specific Applescript
- Replies: 3
- Views: 10187
Ask Switch to launch a specific Applescript
Hi Dimitri, The Switch scripting API allows to access the JavaScript core classes File and Dir. So there's no need to make use of an external (apple)script. It might be interesting for you to hear that we already developed a script element named "File Remover" which allows to watch any fol...
- Tue Nov 02, 2010 11:42 am
- Forum: Scripting
- Topic: Ask Switch to launch a specific Applescript
- Replies: 3
- Views: 10187
Ask Switch to launch a specific Applescript
Hello everybody, I'm new to the forum and new to scripting, and I need help to configure Switch so that he can "pick" a specific Applescript (I'm using Applescript because I need a "delete task", and if I'm not wrong the internal scripting feature is intended to work only with Sw...
- Tue Nov 02, 2010 9:54 am
- Forum: PDF Creation
- Topic: Get integer from metadata variable
- Replies: 4
- Views: 10800
Get integer from metadata variable
I have this line taken from PDFspy metadata; [Metadata.Text:Path="/pdfattrs/page[1]/boxes/TrimBox/@height * 0.352777778",Dataset="Pdf",Model="XML"] mm x [Metadata.Text:Path="/pdfattrs/page[1]/boxes/TrimBox/@width * 0.352777778",Dataset="Pdf",Model=&q...
- Fri Sep 10, 2010 11:26 am
- Forum: Applications
- Topic: Ignore folders in PowerSwitch
- Replies: 1
- Views: 8326
Ignore folders in PowerSwitch
Hi Stephen, This can be achieved using the restyled Submit Hierarchy tool in Switch 09, using the following settings: - Subfolder levels: 1 - Process these folders: All folders - Adjusted by (rule 1): Excluding folders named * Folder name: Regular expression (being .* (dot-star) which matches all fo...