Re: Date entry

2018-07-05 Thread Chip Scheide via 4D_Tech
I am not using anything near v16... but have you tried to explicitly set the display format for the date areas during On Load, using code? set object format(*"object_name";Date_format) On Thu, 5 Jul 2018 12:43:55 +0100, Pat Bensky via 4D_Tech wrote: > Thanks Wayne. > I'm using v16r6 and it won't

Re: Quitting without IP var?

2018-07-03 Thread Chip Scheide via 4D_Tech
hod >> <>f_Quit:=true >> for ($i;1;count processes) >> resume process($i) >> call process($i) >> end for >> >> >> On Tue, 3 Jul 2018 13:27:14 -0600, Dani Beaubien wrote: >>> Have you looked at the 4d command "Process aborted”? &

Re: Quitting without IP var?

2018-07-03 Thread Chip Scheide via 4D_Tech
; Until (Storage.base.FQUIT) > > Keith - CDI > > > >> On Jul 3, 2018, at 2:27 PM, Dani Beaubien via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> Have you looked at the 4d command "Process aborted”? >> >> >>> On Jul 3,

Re: Quitting without IP var?

2018-07-03 Thread Chip Scheide via 4D_Tech
Quit_method <>f_Quit:=true for ($i;1;count processes) resume process($i) call process($i) end for On Tue, 3 Jul 2018 13:27:14 -0600, Dani Beaubien wrote: > Have you looked at the 4d command "Process aborted”? > > >> On Jul 3, 2018, at 1:18 PM, Chip Scheide via 4D_

Quitting without IP var?

2018-07-03 Thread Chip Scheide via 4D_Tech
My Question is: How are you signaling to your stored procedures (Deamons) that the user is existing, without using an IP var? Currently I am using an IP Var which is set in the Quit method. This IP var is referenced in all of my 'Deamons' in a repeat loop Repeat // do deamon stuff until

Re: problems with SEND RECORD

2018-07-03 Thread Chip Scheide via 4D_Tech
as noted elsewhere: for Send Record to do anything (and not give the error your have mentioned) you have to have opened/created a file on disk with Set Channel. However, it is possible that there was a typo somewhere, and what you are trying to do is to manipulate the record (do something with

Re: v13 - Text entry area, Returns, and Filters

2018-07-02 Thread Chip Scheide via 4D_Tech
) uppercase A thru Z; and > 2) space; and > 3) carriage return. > > Call on form load event: > --- > C_TEXT($filter_t) > $filter_t:="~\"A-Z; ;"+Char(Carriage return)+"\"" > OBJECT SET FILTER(*;"objNameOfTextBox";$filter_t) > ― > &

Re: Components and Execute Formula

2018-06-29 Thread Chip Scheide via 4D_Tech
eference a host method. All you need is to > ensure your host method is set as “Shared between host and components > ”. > > hth > >> On Jun 29, 2018, at 12:35 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> I have some

Re: v13 - Text entry area, Returns, and Filters

2018-06-29 Thread Chip Scheide via 4D_Tech
filter > command. > $Filter_txt:="&"+*Char*(Double quote)+" -~;|"+*Char*(13)+*Char*(Double quote > )) > > $Filter_txt:="&"+*Char*(Double quote)+*Char*(13)+"A-Z;a-z;0-9; > ;.;,;(;);*;%;$;#;@;!;?;<;>;:;';-;+;_;=;^;[;];/;\\;|;{;};~;`&

Re: Components and Execute Formula [followup]

2018-06-29 Thread Chip Scheide via 4D_Tech
t name passed to the component? Thanks Chip On Fri, 29 Jun 2018 11:35:08 -0400, Chip Scheide via 4D_Tech wrote: > I have some code I would like to put into a component.. but... > I am uncertain how it will interact with the host. > > The method, uses Execute Formula. > The method

Components and Execute Formula

2018-06-29 Thread Chip Scheide via 4D_Tech
I have some code I would like to put into a component.. but... I am uncertain how it will interact with the host. The method, uses Execute Formula. The method takes a text parameter which is a bit of code to execute. In it's current use (in the host) the text is most often a an apply to

Re: Moving Files With cURL FTP

2018-06-28 Thread Chip Scheide via 4D_Tech
Cannon, my Fileutl component has a command Fileut_Move which (can) take an array of paths as source with a single destination so you could do something like this: Document List($Directory_contents_to_Move;$File_path_array;absolute paths)

Re: v13 - Text entry area, Returns, and Filters

2018-06-28 Thread Chip Scheide via 4D_Tech
t;&"+*Char*(Double quote)+*Char*(13)+"A-Z;a-z;0-9; > ;.;,;(;);*;%;$;#;@;!;?;<;>;:;';-;+;_;=;^;[;];/;\\;|;{;};~;`"+*Char*(Double > quote) > object set filter > > Regards > > Chuck > > > On Thu, Jun 28, 2018 at 1:06 PM Chip Scheide via 4D_T

RE: v13+ Select folder/document memorized pathname

2018-06-28 Thread Chip Scheide via 4D_Tech
thanks! I read over that page - never saw it... On Thu, 28 Jun 2018 17:13:02 +, Timothy Penner wrote: > Oops, I meant to type out SELECT FOLDER instead: > >> Have a look at the documentation for SELECT DOCUMENT instead: >> http://doc.4d.com/4Dv17/4D/17/Select-folder.301-3729561.en.html > >

v13 - Text entry area, Returns, and Filters

2018-06-28 Thread Chip Scheide via 4D_Tech
Is there a way to allow the user to type a return character (char(13)) in a text area when there is an entry filter in place?? I suppose another way of looking at this is: Is there a way to include a return in an entry filter?? ex: a company address, this is something that is highly likely to

v13+ Select folder/document memorized pathname

2018-06-28 Thread Chip Scheide via 4D_Tech
From the documentation: Select folder ( {message }{;}{ defaultPath {; options}} ) -> Function result Where: defaultPath String, Longint • Default pathname or • Empty string to display the default user folder (“My documents” under Windows, “Documents” under Mac OS), or • Number of memorized

Re: 4Dv16R6: Object on form still active when another object is on top

2018-06-28 Thread Chip Scheide via 4D_Tech
Rudy, I think you really need to disable the object(s) by code Object set enabled(*;"object name";true/false) or Object set enterable(*;"object name";true/false) to get the behavior you want. and you won't need the .png :) Chip On Thu, 28 Jun 2018 11:08:39 +0200, Two Way Communications via

UUIDs internal ID with 4DPop

2018-06-27 Thread Chip Scheide via 4D_Tech
In the source code for 4DPop in the method: CONSTANT_Save_file change the code at line 104 : from: CONSTANT_NEW_CONSTANT ($Dom_constants;$Txt_value;"k_"+String($Lon_constantId);$Txt_label) to: CONSTANT_NEW_CONSTANT ($Dom_constants;$Txt_value;Generate UUID;$Txt_label) This will allow you to use

Re: v13 - Konstants [Solved]

2018-06-27 Thread Chip Scheide via 4D_Tech
Jody, if you use a text editor (I am using TextWrangler) you can see that 4DPop assigns a simple ID, in numerical, order from top to bottom of the xlif file. While I have not yet tried to (manually) reassign a UUID to constants, I expect that 4DPop would reset this to it's own ID. I also have

Re: v13 - Konstants [Solved]

2018-06-27 Thread Chip Scheide via 4D_Tech
Keisuke, I see what you are saying, however, how is this accomplished? Do you just generate a UUID, and manually assign it? 4DPop does not do this sort of assignment (UUIDs) for the IDs. Yesterday, while trying to diagnose and resolve the problems I was having, I did try to see if there were

v13 - Konstants [Solved]

2018-06-26 Thread Chip Scheide via 4D_Tech
I was finding Konstants are not behaving consistently. Sometimes, they work as expected, at others I am getting runtime errors regarding type comparison problems. Some of the constants were behaving as if they and not been initialized, yet the debugger shows that they have the expected value.

[NOT Solved] v13 - Konstant problem

2018-06-26 Thread Chip Scheide via 4D_Tech
already exchanged for Konstants. Chip On Tue, 26 Jun 2018 08:11:13 -0600, Jody Bevan via 4D_Tech wrote: > Chip: > > Hate those kinds of things. Hours to learn, it seems like hours > wasted. Thanks for letting us know the solution. > > Jody > > >> On Jun 26

v13 - Konstant problem

2018-06-25 Thread Chip Scheide via 4D_Tech
I have been using 4DPOP constants editor to create Konstants for my system. One set of Konstants is: Main_Menu : 1 : Listing_Menu : 2 Entry_Menu : 3 Edit_Only_Menu : 4 in my start up code I have this line of code utl_menu_Set_Menu_Bar (Listing_Menu) The Konstant tokenizes, and in the

Re: v13+ open multiple methods windows stacked

2018-06-25 Thread Chip Scheide via 4D_Tech
THANKS! On Mon, 25 Jun 2018 02:59:34 -0700 (MST), 4dialog via 4D_Tech wrote: > I use this Sort Windows method. > > > C_LONGINT($Start_Left;$Start_Top;$Left;$Top;$Right;$Bottom) > ARRAY LONGINT($VinduAr;0) > WINDOW LIST($VinduAr) > $Start_Left:=10 > $Start_Top:=80 // Leave enough room for the

Re: v13+ open multiple methods windows stacked

2018-06-22 Thread Chip Scheide via 4D_Tech
ymore. >> >> We control the opening position of every window so writing this is not >> that hard (likely you know that already - sorry). >> >> Jody >> >> >>> On Jun 22, 2018, at 3:19 PM, Chip Scheide via 4D_Tech < >> 4d_tech@lists.4d.com&g

v13+ open multiple methods windows stacked

2018-06-22 Thread Chip Scheide via 4D_Tech
is there a way to open multiple method windows, and have them stack, one over the over (plus a small offset) Mac version if it matters Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: Uppercase Lowercase

2018-06-20 Thread Chip Scheide via 4D_Tech
that is the only way. a method - something like (all code written in email so ...): // Method: Are_They_Equal //$1 - text - first value to compare //$2 - text - second value to compare // RETURNS - boolean - are the 2 texts identical (character for character) c_text($1;$2;$First;$Second)

v13+ Increasing size of Recently opened

2018-06-19 Thread Chip Scheide via 4D_Tech
is there a way to increase the size (length/number of) of the "Open Recent Databases" menu? specifically the local portion. Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

[ANN] Fileutl & Mover_ReNamer components now available

2018-06-19 Thread Chip Scheide via 4D_Tech
Filutl and Mover_ReNamer are 2 new (built/compiled) c4D components created with 4C v13. Both are offered as Shareware (see Read me), with source code available for nominal costs. ** Fileutl is a collection of file manipulation commands including copy, move, rename. ** Mover_ReNamer is a user

Re: Adding dates (sync) from 4D to Google Calendar

2018-06-18 Thread Chip Scheide via 4D_Tech
On Mon, 18 Jun 2018 16:30:23 +, Keisuke Miyako via 4D_Tech wrote: > you need to > > 1. create a Google account > 2. study the Google Calendar API > 3. use HTTP request to send and receive JSON > 4. and pay Google for using their API. > > the hardest part is 2. Disagree : ) hoarsest part :

RE: Objects without Stylesheets suddenly displayed as Wingdings!

2018-06-15 Thread Chip Scheide via 4D_Tech
does this requirement go away which the ability (v17?) to export/import forms? On Fri, 15 Jun 2018 19:26:06 +, Timothy Penner via 4D_Tech wrote: > Hi Jim, > >> How about: >> >> OBJECT SET STYLE SHEET >> Created: 4D v14 >> Modified: 4D v15 R3 > > That command only applies to the current

Re: Updating a structure - data goes AWOL

2018-06-15 Thread Chip Scheide via 4D_Tech
you might not have to do "special programming" a simple loop over the tables might suffice i.e. // open a document referenced by $Doc_Ref For ($i; 1; Size of array($Bad_Tables)) $Current_Table:=$Bad_Tables{$i} all records($Current_Table->) $Record_Count:=records in

Re: issue on windows 10 and 4D 15

2018-06-15 Thread Chip Scheide via 4D_Tech
how do they not display properly? are they the wrong size? the wrong resolution? etc On Fri, 15 Jun 2018 08:09:19 -0400, Chuck Miller via 4D_Tech wrote: > Hi All, > > I have one windows ten machine where pictures of buttons do not > display properly. They do on all other instances. We have

Re: Updating a structure - data goes AWOL

2018-06-15 Thread Chip Scheide via 4D_Tech
I think this is due to UUIDs for each table. even though you renamed table [Data_61] to [Data_61_x] the uuid is the same, and probably the upgrade processes the table(s) by uuid not table name. the only solution I can think of (off the top) would be to: - export from the old system the data in

Re: v13 - Windows, DOS, LEP, Virtual environments, attrib command

2018-06-12 Thread Chip Scheide via 4D_Tech
I found a actual PC, and moved everything over there to try. the answer is : YES the virtual environment was causing the hide/show attributes of the files to be wonky, and folders not to work at all. On Tue, 12 Jun 2018 20:19:11 +, Keisuke Miyako via 4D_Tech wrote: > to rule out virtual

v13 - Windows, DOS, LEP, Virtual environments, attrib command

2018-06-12 Thread Chip Scheide via 4D_Tech
I have run across a situation where I *think* the problem is a virtual environment. Using LEP I am trying to set files &/or folders (in)visible. The base attrib command is: attrib [+/-]H [/S /D] Path where [+/-] = make hidden/ make visible where [/S /D] = switches to apply to all files &

Re: v13+ Progress component, and other components

2018-06-12 Thread Chip Scheide via 4D_Tech
eminder, > the progress component is open-source since v16, > partners have ways to customise and distribute them. > >> 2018/06/11 23:21、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> の >> メール: >&g

Re: v13 - [Warning] **Compiler** misses syntax problem

2018-06-11 Thread Chip Scheide via 4D_Tech
sorry fixed title :) On Mon, 11 Jun 2018 12:29:27 -0400, Chip Scheide via 4D_Tech wrote: > given: > C_Boolean(;$My_Local_Var_Name) > > Compiler fails to find the syntax error in the above. During execution > (nterp) this results in My_Local_Var_Name being undefined. > >

Re: v13+ Progress component, and other components

2018-06-11 Thread Chip Scheide via 4D_Tech
ry > space with the host db. > > > On Fri, Jun 8, 2018 at 3:27 PM Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> I am referencing Progress (4D natively installed component), in a >> component. >> I wrap Progress calls in my own methods, inc

Re: __Orphan___xxxx methods

2018-06-09 Thread Chip Scheide via 4D_Tech
I believe that mostly they are object methods from deleted forms, > Usually that happens after a repair on the structure. I delete them > and then compact the structure again. > >> On Jun 9, 2018, at 3:50 AM, JOHN BAUGHMAN via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> After doing a

Re: Tab Control Issue

2018-06-08 Thread Chip Scheide via 4D_Tech
you have what appears to be the right code, but maybe not in the right place(s) In the form method: Case of :(form event = on load) // populate the tab control ARRAY TEXT(arrPages;7) LIST TO ARRAY(“Tabs”;arrPages) end case Tab control method: case of :(form event = on clicked) goto

v13+ Progress component, and other components

2018-06-08 Thread Chip Scheide via 4D_Tech
I am referencing Progress (4D natively installed component), in a component. I wrap Progress calls in my own methods, including the call to New Progress where I install my own callback method to execute on user close of the progress thermometer. I am getting an error when the user tries to

Re: query issue

2018-06-07 Thread Chip Scheide via 4D_Tech
Chuck, My suggestion would be: The primary query loads the index, and does the query from the index, only the first [Invoice item] record found will be loaded, and there happens not to be a relational loop (see below). The QSxF will need to load each record. Since you have a lot of auto

Re: How does one detect that Cookies are disabled?

2018-06-05 Thread Chip Scheide via 4D_Tech
you may never be able to detect such a cookie on this configuration. On Tue, 5 Jun 2018 09:43:24 -0700 (MST), Jim Labos - infobase via 4D_Tech wrote: > > I just want to be able to "detect" if c --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: How does one detect that Cookies are disabled?

2018-06-05 Thread Chip Scheide via 4D_Tech
regardless of what other info you get back there is one more thing to consider... People like me :) I go into the (on Mac) Library folder and locate cookie, history, cache, and other web related directories. I empty them, the lock them, i.e. the soft are can NOT write into that/those

Re: Drag from outside of 4D into a 4D Form

2018-06-04 Thread Chip Scheide via 4D_Tech
Jody, some code snippets in the OBJECT method (of the object(s) where the drag and drop will be allowed) on Drag Over event has to return a Zero to accept or -1 to reject the drag over. On drop does the actual processing, I have always combined these to actions into one method, passing the

Re: v13 - Null values

2018-06-04 Thread Chip Scheide via 4D_Tech
> ON ERR CALL("") > > On 2 June 2018 at 15:02, Arnaud de Montard via 4D_Tech <4d_tech@lists.4d.com >> wrote: > >> >>> Le 1 juin 2018 à 20:39, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> >> a écrit : >>> >>> I meant - I

RE: v13 - Null values

2018-06-01 Thread Chip Scheide via 4D_Tech
I meant - I was looking for a command which behaved like Nil(), but for Null. :) On Fri, 1 Jun 2018 17:26:26 +, Timothy Penner via 4D_Tech wrote: >> I was looking (in v13) for a boolean test like Nil(). > > Oh yeah, not sure how I missed that. Keep in mind that the Nil > command was

RE: v13 - Null values

2018-06-01 Thread Chip Scheide via 4D_Tech
Thanks I was looking (in v13) for a boolean test like Nil(). On Fri, 1 Jun 2018 17:10:32 +, Timothy Penner via 4D_Tech wrote: > Hi Chip, > >> Is there a means to test for a 'Null' value in v13? >> By 'Null' do not mean the default (type appropriate) value of an >> unassigned field or

v13 - Null values

2018-06-01 Thread Chip Scheide via 4D_Tech
Is there a means to test for a 'Null' value in v13? By 'Null' do not mean the default (type appropriate) value of an unassigned field or variable. If not, at what version does this capability exist? Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is

Re: Backup Settings window

2018-06-01 Thread Chip Scheide via 4D_Tech
Pat, Mac (sound like a permissions issue): The backup settings file is saved inside the database (Show package contents on a Mac) If the stand alone app is in the Applications folder it is likely the user does not have permission to write to this area. one solution might be to create an

Re: Auto-update and restart 4D Server?

2018-05-24 Thread Chip Scheide via 4D_Tech
disclaimer: never done this. - trigger the update in 4D, to send the message to all connected user (4D code) -- the above trigger starts a timer event/deamon which eventually shuts down the server - in the On Shut Down database method, use LEP to trigger a .bat file which copies the need

Re: "Your password does not allow you to use this form"

2018-05-24 Thread Chip Scheide via 4D_Tech
Pat, assuming you are accessing the label editor via a custom menu only place I can see that access privs can be set are : in the menu editor, for the menu item itself On Thu, 24 May 2018 12:29:44 +0100, Pat Bensky via 4D_Tech wrote: > Hi Alan, > Tried that - it doesn't make any difference. >

Re: Auto Positioning Print Forms

2018-05-21 Thread Chip Scheide via 4D_Tech
I know this is not "the way" any more, but I always found using print form and a 1 pixel form to fill worked pretty well to get the footer in the ight place Chip > Sorry, I said MOVE OBJECT instead of the new name OBJECT MOVE. I'm > not using it to deal with different printer settings. Mainly

RE: v13+ - Picture library going forward

2018-05-18 Thread Chip Scheide via 4D_Tech
Thanks On Fri, 18 May 2018 17:08:11 +, Timothy Penner via 4D_Tech wrote: > I forgot to mention, you may want to preserve your transparency > during the conversion with this: > > TRANSFORM PICTURE($Pict_G;Transparency;0x00FF) //0x00FF is white > > This is discussed in the later

v13+ - Picture library going forward

2018-05-18 Thread Chip Scheide via 4D_Tech
I have pictures in the picture library I have not converted to v16 or v17 but expect that the pictures are in PICT format what can I do in v13 to not have to convert the pictures when moving to v16+ Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is

Re: v13+ Constants (xlif) and Components, followup

2018-05-18 Thread Chip Scheide via 4D_Tech
when the host uses 'My_Constant' which value is retrieved? Thanks On Fri, 18 May 2018 12:03:15 -0400, Chip Scheide via 4D_Tech wrote: > If I have a constants defined in an xlif file in a component (in the > resource folder), can the host 'see' and/or access those constants? > > T

v13+ Constants (xlif) and Components

2018-05-18 Thread Chip Scheide via 4D_Tech
If I have a constants defined in an xlif file in a component (in the resource folder), can the host 'see' and/or access those constants? Thanks --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: Pointer to field using field name

2018-05-17 Thread Chip Scheide via 4D_Tech
that approach will break if you change the field name, assuming the field name is hardcoded. depending on your needs you can do this (code written in email so...): this code can be run as needed, at process startup (use process vars), or it can be run at database startup (use Interprocess

Re: Analyzing .4BL Files

2018-05-16 Thread Chip Scheide via 4D_Tech
i never done this with 4bl files, just a suggestion open with a text editor and examine the a 'real' log fuel and one of the 4bl files usually the first few characters will determine the file type. on a copy you could try changing the first few characters to match a 'real' log file ex: opening

Re: v13+ LEP permision issues.

2018-05-10 Thread Chip Scheide via 4D_Tech
That is great .. I have always understood On Err Call to be a separate process Thanks for the clarification Chip On Thu, 10 May 2018 15:29:11 +, Keisuke Miyako via 4D_Tech wrote: > perhaps my comments about logging was unwarranted. > > but I think my main points stand: > > 1. no, method

Re: v13+ LEP permision issues.

2018-05-10 Thread Chip Scheide via 4D_Tech
Keisuke, > isn't "Method called on error" executed in the same process as the > invoking method? > > normally the code would only be interested in basic information such as OK, > which changes the course of action (ignore, abort, retry). > > even if more details were available, > there is

RE: v13+ LEP permision issues.

2018-05-09 Thread Chip Scheide via 4D_Tech
Tim, a bit late but... There are other reasons, but one is: Thread safety :) And while this is NOT an issue in v13, I am writing this code now, I might as well make as much of the code thread safe, and future proof, as is reasonable. Using 4D functions requires wrapping an On Err

Re: v13+ - method comments (the Explorer Pane)

2018-05-08 Thread Chip Scheide via 4D_Tech
rent method > name;$MethodName_t;0;*) > >RESUME PROCESS($ProcessID_i) >SHOW PROCESS($ProcessID_i) >BRING TO FRONT($ProcessID_i) > End if > > > Regards, > > Wayne > > > Wayne Stewart > about.me/waynestewart > > > >

Re: Google Authenticator Integration

2018-05-08 Thread Chip Scheide via 4D_Tech
personally, I do not believe anything from Google can be considered to be 'secure'... YMMV I would try a different 2FA app. My Wife's employer uses something called Duo On Tue, 08 May 2018 12:21:41 +0100, Douglas Cryer via 4D_Tech wrote: > Hi folks, > > In my quest for building better

v13+ - method comments (the Explorer Pane)

2018-05-07 Thread Chip Scheide via 4D_Tech
I have not looked into this much... Is there a way in code to access the method comments (form the Explorer Pane)? I would like to be able to, as a start, copy the actual method header comments into this area. any info appreciated. Thanks Chip --- Gas is for washing parts Alcohol

Re: v13+ Plugin List issue

2018-05-06 Thread Chip Scheide via 4D_Tech
Thanks for the detailed explanation. In this case, I just need to make sure that a specific plugin, that my component is using, is available. I am/can reasonably assume that if I can not find the plugin in the plugin folder it is not installed. But... since you point out the plugin could be

Re: Access to Runtime Explorer

2018-05-05 Thread Chip Scheide via 4D_Tech
Thanks > Here is the LAUNCH EXTERNAL PROCESS line for command-shift-F9 > > osascript -e 'tell application "System Events"' -e 'key code 101 > using {shift down, command down}' -e 'end tell' > > > If the current user needs to be reset, I use the loop below to wait > until the Runtime Explorer

Re: v13+ Plugin List issue

2018-05-05 Thread Chip Scheide via 4D_Tech
t's context. > I guess it should the responsibility of the host to check for plugin > availability, not the component. > > 2018/05/05 4:16、Chip Scheide via 4D_Tech > <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>> のメール: > Ideas as

Re: Access to Runtime Explorer

2018-05-05 Thread Chip Scheide via 4D_Tech
Jphn, care to post the code for the external key posting? > Hi Jody, > > I had a case where I wanted non-admin users to be able to open > runtime explorer. I was able to do this by temporarily switching > their access to designer, opening runtime explorer, then switching > back their access.

v13+ Plugin List issue

2018-05-04 Thread Chip Scheide via 4D_Tech
so.. I have a component which needs a plugin. The host system needs to have the plugin available to it (in the host plugin folder) I wrote some code to check and copy the needed plugin from the component's plugin folder to the host's. To check whether or not the host has the plugin I use PLUGIN

Re: List form for reporting

2018-05-03 Thread Chip Scheide via 4D_Tech
Print Form - I create a master form, which looks like a print selection form. - Duplicate, it for each part I need to print (header, break, footer, detail etc), - set the break lines according to the section being printed (Print Form prints everything between header line and detail line) - I

Re: Testing for Null is superior to OB is defined

2018-05-01 Thread Chip Scheide via 4D_Tech
Kirk, go pull a copy of my component Txtutl there are a methods there which can parse any text. They include the term "parse" https://www.dropbox.com/sh/ntmvl7k6mt7czv7/AAB2bl8vu6RqFdJHCqF_2VHma?dl=0 On Tue, 01 May 2018 20:31:26 +, Kirk Brooks via 4D_Tech wrote: > Hi Julio, > I was asking

Re: Constants - Can I make a Date Constant?

2018-05-01 Thread Chip Scheide via 4D_Tech
well... that works... but is not quite what I had in mind :) On Tue, 1 May 2018 21:22:38 +0200, Arnaud de Montard via 4D_Tech wrote: > >> Le 30 avr. 2018 à 21:33, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> a écrit : >> >> for example : !00/00/

Re: v13 - Retokenize entire database

2018-04-30 Thread Chip Scheide via 4D_Tech
method_path:=$method_paths_at{$path_index} > > Progress_Update($progress_id;$method_path;$path_index/$paths_count) > > C_TEXT($method_text) > METHOD GET CODE($method_path;$method_text;*) > METHOD SET CODE($method_path;$method_text;*) > End for > > Progress_Close($progre

v13 - Retokenize entire database

2018-04-30 Thread Chip Scheide via 4D_Tech
Other then opening each method individually, is there a way to re-tokenize the entire database? I replaced a bunch of IP 'Konstnats' with xlif defined constants and in some instances the new xliv constants did not tokenize so I get execution errors. THanks --- Gas is for washing

Constants - Can I make a Date Constant?

2018-04-30 Thread Chip Scheide via 4D_Tech
for example : !00/00/00! Thanks --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: Collection.orderBy()

2018-04-27 Thread Chip Scheide via 4D_Tech
I **KNOW** I am going to hate this when I start using collections etc. B vs b ARGH! :) On Fri, 27 Apr 2018 21:39:46 +, Julio Carneiro via 4D_Tech wrote: > > The collection member function is ‘orderBy’, capital B. That’s why you get > a runtime error, because ‘orderby’ does not exist.

Re: Picture resources Related Question

2018-04-27 Thread Chip Scheide via 4D_Tech
Is the Picture library depreciated? On Fri, 27 Apr 2018 15:09:43 -0400, Dave Tenen via 4D_Tech wrote: > I know this has probably been covered here but I searched and found > no clear answer to this and any direction would be appreciated!. > I am trying to upgrade some older dbs to

[Tip?] Test path name and Posix

2018-04-27 Thread Chip Scheide via 4D_Tech
Test Path Name FAILS (file/folder does not exist) if given a POSIX formatted path. --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) FAQ:

RAID pricing [was]re-indexing

2018-04-23 Thread Chip Scheide via 4D_Tech
External, non-rack mount, RAID boxes: you can pick up a decent RAID box for about $300 (5 drives, hardware RAID 5) https://oyendigital.com/hard-drives/store/3R5-EB3-M.html you can pick up a Very Nice raid box for about $1500 (8 bays, RAID 5 or RAID 6)

Re: v13+ setting the current (working) directory

2018-04-23 Thread Chip Scheide via 4D_Tech
pr 23, 2018, at 12:56 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> the 'default' directory (on a Mac) for LEP is root. >> >> Can someone point out the command(s) needed to set/change the current >> working (default) directory.

v13+ setting the current (working) directory

2018-04-23 Thread Chip Scheide via 4D_Tech
while playing with LEP file operations, it came to the my attention that the 'default' directory (on a Mac) for LEP is root. I looked through the 4D environment, and document commands, but do not see a way to change the current working directory. Can someone point out the command(s) needed to

Re: v13+ LEP permision issues.

2018-04-23 Thread Chip Scheide via 4D_Tech
PM, Chip Scheide via 4D_Tech > <4d_tech@lists.4d.com> wrote: > >> Trying to rename a file. > [snip] >> when I execute the below line of (LEP) code I get a permissions error >> mv /Volumes/Macintosh\ HD/Users/chip/Desktop/_Test\ File\ >> move/Some_Win_Name.txt2

Re: v13+ LEP permision issues.

2018-04-22 Thread Chip Scheide via 4D_Tech
thanks Jim, I think I did that, but I will try again. > On Apr 20, 2018, at 5:45 PM, Chip Scheide via 4D_Tech > <4d_tech@lists.4d.com> wrote: > >> Trying to rename a file. > [snip] >> when I execute the below line of (LEP) code I get a permissions error >>

Re: Downloading files via FTP

2018-04-21 Thread Chip Scheide via 4D_Tech
do you need time stamps? if it makes the process simpler could you use an MD5, or other hash to compare the files. > In my project this now works just fine (so far ... limited testing ...) - I > get the timestamps, which I need so that the files in the folder can be > compared against files

RE: v13+ LEP permision issues.

2018-04-20 Thread Chip Scheide via 4D_Tech
Ive written the code to do most of these actions in 4D. 4D's file/folder manipulation functions are FAR slower then the native OS commands. In addition to do some actions (rename a folder for example) requires coding though hoops to the job done. I'll revisit this issue next week... maybe it is

RE: v13+ LEP permision issues.

2018-04-20 Thread Chip Scheide via 4D_Tech
also - rename is not the only thing I am trying to do, it just happens to be the one that came to the fore during testing. On Fri, 20 Apr 2018 22:01:32 +, Timothy Penner via 4D_Tech wrote: > Why use LEP for something that has been built into 4D since v6? >

RE: v13+ LEP permision issues.

2018-04-20 Thread Chip Scheide via 4D_Tech
does work for folders On Fri, 20 Apr 2018 22:01:32 +, Timothy Penner via 4D_Tech wrote: > Why use LEP for something that has been built into 4D since v6? > http://doc.4d.com/4Dv15/4D/15.5/MOVE-DOCUMENT.301-3576481.en.html > > -Tim > > > >

v13+ LEP permision issues.

2018-04-20 Thread Chip Scheide via 4D_Tech
Trying to rename a file. I can manually rename the file. I have set permissions (via finder) to 'read write' for : me, staff, evenyone then I tried setting permissions via terminal, and set permissions for the file to : 777 (RWX) regardless of permission setting I still get a permission error

Re: Simple Popup with multiple selection option?

2018-04-20 Thread Chip Scheide via 4D_Tech
Dialog & (array) listbox - populate the listbox with the needed data - display using dialog on accept, process selected items selected items are TRUE for the list box row (see below code to count how many selected) //(m) arylstbx_How_Many_Selected // $1 - pointer - to listbox

Re: Downloading files via FTP

2018-04-20 Thread Chip Scheide via 4D_Tech
Pat, a few things: - posix format your mac file path that might be the (or part) of the issue - check that a forward slash is the correct delimiter for the source path (PCs use backslash '\') - I would examine the source path and look for a colon (':' or '\') as the directory marker. -- if you

Re: v13+ On Err Call - overhead?

2018-04-18 Thread Chip Scheide via 4D_Tech
Thanks On Wed, 18 Apr 2018 14:17:29 +0200, Arnaud de Montard via 4D_Tech wrote: > >> Le 16 avr. 2018 à 18:38, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> a écrit : >> >> What kind of over head is there on setting and clearing On Err Call? >> >

Re: v13+ On Err Call - overhead?

2018-04-17 Thread Chip Scheide via 4D_Tech
Thanks! that was sort of my thinking, but... then I over thought, and figured maybe there was some sort of overhead which would make this an issue. > even if the time difference were significant (say, 0.0005 second per > install/uninstall) I would not consider is an over head. in fact I >

v13+ On Err Call - overhead?

2018-04-16 Thread Chip Scheide via 4D_Tech
What kind of over head is there on setting and clearing On Err Call? If On Err Call is being set and cleared in a loop, is there a significant overhead issue? ex: For($i;1;Some_Integer_Value) on err call("Error_Handler") do stuff which could generate error on err call ("") do other

Re: v13 - Custom Constants & 4D Pop

2018-04-15 Thread Chip Scheide via 4D_Tech
content searching took <1 sec to show all (at least I think all) .xlf files inside packages (not just 4D's) > I don't think Finder searches inside packages. > >> 2018/04/13 0:08、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール: >> however, the Finder was not finding

Re: windows script issue

2018-04-13 Thread Chip Scheide via 4D_Tech
On Fri, 13 Apr 2018 15:02:57 -0400, Chuck Miller via 4D_Tech wrote: > Hi All, > > I need to run a command line script on windows to retrieve a password. > > I have filled a text variable to use with launch external process and > set to pasteboard. When I run from cmd prompt. I get expected

Re: v13 - Custom Constants & 4D Pop

2018-04-12 Thread Chip Scheide via 4D_Tech
can indeed move this file to other databases, just like any other > ‘Resources' file. Translation xlf files inside language (.lproj) > directories or images. > > HTH > Koen > >> Op 11 apr. 2018, om 19:19 heeft Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> he

Re: v13+ LEP - What is sent to OS

2018-04-12 Thread Chip Scheide via 4D_Tech
2018 15:50:39 -0600, Kenneth Geiger via 4D_Tech wrote: > Have you tried ROBOCOPY instead of XCOPY? > >> On Apr 11, 2018, at 1:38 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> I think the problem is in escaping the file path. >> I'm

Re: v13 - Custom Constants & 4D Pop [solved!]

2018-04-12 Thread Chip Scheide via 4D_Tech
Thanks, I figured out the HTML encoding based on something I entered through the 4DPop constants editor. For Cr, Lf, CrLf, and Tab there appears to be no way to add these values through 4DPop constants editor, which is why I was looking for a work around, and why I posted this info. On Wed,

<    2   3   4   5   6   7   8   9   10   11   >