Posts by luis ricardo • 79 points
10 posts
-
0
votes1
answer65
viewsA: How to save an image obtained with: pyautogui.hotkey('Alt','printscreen')?
I solved partially using pyautogui.screenshot(region=(418,193, 531, 469)); #captured the dimension of the window regiao=win32gui.GetWindowRect(win32gui.GetForegroundWindow()); #I tried to print the…
pythonanswered luis ricardo 79 -
0
votes1
answer65
viewsQ: How to save an image obtained with: pyautogui.hotkey('Alt','printscreen')?
I need to save image obtained by pyautogui.hotkey('Alt','printscreen') In the example below I used pyautogui.screenshot(), but I wanted to catch one print of active window only. time.sleep(2); foto…
pythonasked luis ricardo 79 -
0
votes1
answer835
viewsQ: B2W API REST/JSON -failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized
I’m starting an integration with B2W, they use a REST/JSON API, I am not finding where is wrong in my code, it is something related to the header, because I test with the Chrome dhc add-on and…
-
2
votes1
answer308
viewsA: mysql Trigger if not update
Solved: DELIMITER $ CREATE TRIGGER `cadastro`.`trgProdutos` BEFORE UPDATE ON `cadastro`.Produtos FOR EACH ROW BEGIN IF (new.integraProduto = old.integraProduto) THEN SET NEW.integraProduto=1; END…
-
0
votes1
answer308
viewsQ: mysql Trigger if not update
I have a question when creating a Trigger, I need it to be executed only if the field has not been updated: integraProduct, if any other field is updated it should be executed. DELIMITER $$ CREATE…
-
1
votes1
answer6999
viewsA: consume webservice wsdl with php
Fixed php code, missing the hierarchy (array inside array) $client = new SoapClient('http://motorpecas.vertical.rakuten.com.br/ikcwebservice/filterautoparts.asmx?wsdl'); $function = 'InsertFilter';…
-
1
votes1
answer6999
viewsQ: consume webservice wsdl with php
Hello, I’m having a question, I don’t know where to start to consume the webservice, I have implemented other simpler webservices, but this I have doubts about the fields that are list: ,…
-
1
votes1
answer965
viewsQ: how to validate form with ajax return
I am unable to validate the form in this field that returns from ajax, function: validateVeiculos(); How to validate the checkbox that returns from ajax? I have a main page.php where I declare the…
-
2
votes1
answer916
viewsQ: run automatically
I have a code where I will need to have a processing page, and on this page I will need to run a javascript Function automatically. Currently, I run this Function by clicking, like this: <input…
-
0
votes2
answers215
viewsQ: PHP/Ajax - return Ajax does not bring when if ==
I have the page that returns an Ajax request. When executing it by passing the parameters: grupoCategoria=1&subCat=302 in the expression: if($dados_Subcategorias[codigo_subcategoria] ==…